1. What is the default access specifier for members of a class in C++? A) public B) protected C) private D) internal Answer: C) private 2. Which of the following will be called first when an object is created? A) Destructor B) Member function C) Constructor D) Copy assignment operator Answer: C) Constructor 3. Which
1. Which keyword in C++ is used to declare a virtual function? A) static B) virtual C) abstract D) override Answer: B 2. Virtual functions are primarily used to achieve: A) Compile-time polymorphism B) Run-time polymorphism C) Function overloading D) Template specialization Answer: B 3. A virtual function must be declared inside a: A) Global
1. Which parameter passing mechanism makes a copy of the argument so the called function cannot modify the caller’s original object? A) Call by value B) Call by reference C) Call by pointer D) Call by rvalue reference Answer: A 2. Which parameter type allows a function to modify the original argument and does not
1. Which of the following statements in C++ is used to exit from a loop immediately? A) continue B) goto C) break D) exit Answer: C) break 2. The continue statement in C++ causes the program to: A) Exit from the current loop B) Terminate the program C) Skip the rest of the loop body
1. Which of the following operators cannot be overloaded in C++? A) + B) C) :: D) () Answer: C) :: 2. What is the associativity of the assignment operator (=) in C++? A) Left to Right B) Right to Left C) Top to Bottom D) Undefined Answer: B) Right to Left 3. The
1. Vaivasvata Manu is considered the progenitor of which current human race according to Hindu cosmology? A) Andhaka race B) Lunar race C) Solar race D) Puru race Answer: C) Solar race 2. Vaivasvata Manu is the son of which Vedic deity? A) Agni B) Vivasvan (Surya) C) Varuna D) Mitra Answer: B) Vivasvan (Surya)
1. Satya Yuga is also known by which other name in Hindu cosmology? A) Treta Yuga B) Dvapara Yuga C) Kali Yuga D) Krita Yuga Answer: D) Krita Yuga 2. The term “Satya” in Satya Yuga primarily refers to: A) Strength B) Truth C) Wealth D) Karma Answer: B) Truth 3. According to the Puranas,
1. Lord Ganesha is widely known as the remover of which of the following? A) Illusions B) Desires C) Obstacles D) Diseases Answer: Obstacles 2. Who is considered to be the father of Lord Ganesha? A) Vishnu B) Lord Shiva C) Brahma D) Indra Answer: Lord Shiva 3. Goddess Parvati created Lord Ganesha from what
1. Which sage is traditionally named as the father (through marriage to Diti) of the Daityas? A) Atri B) Pulastya C) Kashyapa D) Vashistha Answer: Kashyapa 2. The Daityas are primarily descended from which mother figure in Hindu mythology? A) Danu B) Aditi C) Diti D) Diti’s sister, Danu Answer: Diti 3. Who among the
1. The Dravidians are generally believed to have migrated to India from the region of A) Central Asia B) Mediterranean region C) Siberia D) Africa Answer: Mediterranean region 2. The original home of the Dravidians is often associated with which ancient civilization? A) Mesopotamian B) Elamite C) Egyptian D) Greek Answer: Elamite 3. The Dravidian