1. Two trains of lengths 62 m and 190 m approach each other from opposite directions with speeds 47 km/h and 114 km/h respectively. How many seconds will they take to completely pass each other? A) 4.04 s B) 11.04 s C) 7.06 s D) 5.63 s Answer: D 2. A train runs a certain
1. The term “Rita” in the Rigvedic context primarily refers to: A) A divine sacrifice B) A form of social law C) Cosmic order and universal truth D) The ritual purity of the priest Answer: C) Cosmic order and universal truth 2. The Rigvedic people were most likely familiar with which of the following metals?
1. Which library function is used to read a single character from stdin and returns it as an int? A) getc() B) getchar_unlocked() C) getchar() D) fgets() Answer: C 2. Which function from <stdio.h> writes formatted output to a string (not to stdout)? A) printf() B) puts() C) fprintf() D) sprintf() Answer: D 3. To
1. What does the declaration int *a[5]; define? A) An array of 5 pointers to int B) A pointer to an array of 5 int C) An array of 5 pointers to int (same as A) D) A pointer to pointer to int Answer: C) An array of 5 pointers to int (same as A)
URBAN PLANNING & ARCHITECTURE 1. Which feature best exemplifies the advanced drainage planning of the Indus Valley cities? A) Open sewers connected to streets B) Randomly placed soak pits C) Covered drains with regular inspection holes D) Single outlet channels for entire neighborhoods Answer: C 2. The Great Bath of Mohenjo-daro was likely used for:
Q1. Which memory allocation type occurs automatically when a function is called? A) Static memory allocation B) Automatic memory allocation C) Dynamic memory allocation D) Register memory allocation Answer: B) Automatic memory allocation Q2. Which of the following is responsible for allocating memory at compile time? A) Static memory allocation B) Dynamic memory allocation C)
1. In C, a constant that represents a single character is known as a A) String constant B) Character constant C) Integer constant D) Symbolic constant Answer: B 2. Which of the following is a valid integer constant in C? A) 07AB B) 0x C) 0x2A D) 2H Answer: C 3. The constant ‘A’ in
1. Which of the following best describes the purpose of typedef in C? A) To allocate memory dynamically B) To create an alias for an existing data type C) To define a constant variable D) To include a header file Answer: B 2. Which of the following is the correct syntax for creating a new
Q1) Which bitwise operator in C performs a bit-by-bit logical AND between two integers? A) Bitwise OR (|) B) Bitwise XOR (^) C) Bitwise NOT (~) D) Bitwise AND (&) Answer: D) Bitwise AND (&) Q2) What does the ~ operator do in C when applied to an unsigned integer? A) Shifts bits left by
1. Which of the following functions in C is used to read a single character from the standard input device? A) gets() B) getchar() C) scanf() D) readchar() Answer: B 2. What is the correct format specifier to print a floating-point number in exponential form? A) %f B) %lf C) %e D) %g Answer: C