Vishnu MCQ Questions and Answers

1. Who is traditionally considered the chief consort of Viṣṇu? A) Sarasvatī B) Lakṣmī C) Durgā D) Parvatī Answer: B) Lakṣmī 2. Which of the following is one of Viṣṇu’s principal weapons symbolized by a spinning disk? A) Shankha B) Gada C) Chakra (Sudarśana) D) Padma Answer: C) Chakra (Sudarśana) 3. On which serpent does

Brahma MCQ Questions and Answers

1. Who among the Trimurti is known as the Creator? A) Vishnu B) Shiva C) Indra D) Brahma Answer: Brahma 2. Who is regarded as the consort of Brahma? A) Lakshmi B) Saraswati C) Parvati D) Sita Answer: Saraswati 3. What is the traditional number of heads of Brahma? A) Two B) Four C) Three

Encapsulation in Object Oriented Programming (OOPs) MCQ Questions and Answers

1. Which of the following best describes encapsulation in object-oriented programming? A) Exposing all fields of a class for easy access B) Combining data and methods that operate on that data into a single unit and restricting access to some of the object’s components C) Inheriting behaviour from multiple parent classes D) Writing only static

Inheritance in Object Oriented Programming (OOPs) MCQ Questions and Answers

Q1. In OOP, “inheritance” primarily promotes which key concept? A) Encapsulation B) Code reusability C) Data hiding D) Overloading Answer: B) Code reusability Q2. The class that is inherited from another class is called: A) Parent class B) Base class C) Derived class D) Subclass Answer: B) Base class Q3. The class that inherits another