Q1. The Aryans are believed to have originally lived in which region before coming to India? A) Tibet B) Central Asia C) South India D) Mesopotamia Answer: B) Central Asia Q2. The term “Arya” in the Rigveda refers to: A) A particular race B) A class of warriors C) A noble person or civilized being
1. What is the output of this code? int main(){ int a = 5; if(a > 3) if(a < 10) cout << “X”; else cout << “Y”; else cout << “Z”; } A) X B) Y C) Z D) Compiler error Answer: A 2. Which statement is true about the continue statement inside a for
1. Which of the following is guaranteed by the C++ standard about the size of char? A) sizeof(char) may be greater than sizeof(int) B) sizeof(char) is always 2 bytes C) sizeof(char) is always equal to sizeof(short) D) sizeof(char) is defined to be 1 (as the unit of size) Answer: D) sizeof(char) is defined to be
1. Which of the following is a valid variable name in C++? A) 9count B) total$sum C) count_9 D) int Answer: C) count_9 2. What is the correct keyword to define a constant variable in C++? A) static B) final C) define D) const Answer: D) const 3. What is the storage class specifier that
1. Who is considered the king of the Devas in Hindu mythology? A) Varuna B) Agni C) Indra D) Vayu Answer: C) Indra 2. The word “Asura” in the Rigveda originally meant what? A) A demon B) A powerful being or lord C) A serpent D) A mortal man Answer: B) A powerful being or
1. What does the term Devasura Yuga primarily refer to in Hindu mythology? A) The age of human kings B) The period of creation C) The era of battles between gods and demons D) The time of cosmic dissolution Answer: The era of battles between gods and demons 2. Who is often considered the leader
1. Which of the following is a valid identifier in C++? A) 123name B) name@cpp C) _result D) for Answer: C) _result 2. In C++, identifiers can begin with which of the following characters? A) A digit B) A special character (#, $, @) C) An underscore or an alphabet D) A space Answer: C)
Q1. In C++, the smallest individual unit in a program is known as a: A) Identifier B) Keyword C) Token D) Character Answer: Token Q2. Which of the following is not a category of tokens in C++? A) Keywords B) Identifiers C) Literals D) Headers Answer: Headers Q3. Which of the following is a valid
1. Who is Prajapati primarily described as in the earliest Vedic layers? A) A storm god who defeats demons B) The cosmic artisan who crafts ritual implements C) The creator and progenitor of living beings D) The patron deity of trade and merchants Answer: C) The creator and progenitor of living beings 2. In many
1. Which sacred river is believed to flow from the matted locks of Lord Shiva? A) Saraswati B) Yamuna C) Ganga D) Narmada Answer: C) Ganga 2. What is the name of Lord Shiva’s bull mount? A) Airavata B) Nandi C) Garuda D) Uchhaishravas Answer: B) Nandi 3. Which form of Lord Shiva is known