GS: Hindi / English · Language questions stay in their original language.
150 questions · 150 marks · 2 hours 30 minutes
Choose one option per question.
Tap an option to check it, or open “See answer”.
Correct answer: (A) केवल II
In a procedural language all function calls are resolved at compile time (statement II true), but in OOP, virtual/runtime polymorphism means this isn't the case (statement I false).
Correct answer: (E) None of the above
C++ does allow unnamed/anonymous classes, and such a class still has an implicit constructor and destructor, so all three given statements are wrong — the answer is 'None of the above'.
Correct answer: (A) template का उपयोग करके
Compile-time polymorphism in C++ can be implemented using templates (along with function/operator overloading).
Correct answer: (C) Encapsulation
Wrapping data and its functionality into a single entity is called Encapsulation.
Correct answer: (B) Modularity refers to dividing a program into small modules or independent parts
Modularity means dividing a program into small, independent modules or parts.
Correct answer: (A) Asynchronous data transfer
Asynchronous data transfer (buffering) is typically a queue application, not a stack one; string reversal and backtracking are both classic stack applications.
Correct answer: (A) +A*BC
In A+B*C, B*C is evaluated first, then added to A; in prefix notation this becomes +A*BC.
Correct answer: (B) Stack
Converting infix to prefix notation uses a Stack to hold operators during the conversion.
Correct answer: (C) Spatial locality
Spatial locality (accessing nearby memory locations) makes extensive use of an array's contiguous storage structure.
Correct answer: (B) underflow
Before deleting from a queue, it must be checked that the queue is not empty (the underflow condition).
Correct answer: (C) Balancing of symbols
Resource sharing between systems and asynchronous data transfer are both classic queue applications; balancing of symbols (bracket matching) is a stack application, not a queue one.
Correct answer: (E) None of the above
Preorder, inorder and postorder are all standard binary-tree traversal techniques, so none of the listed options is actually unused — hence 'None of the above'.
Correct answer: (B) समान प्रकार के तत्वों को संग्रहित करने वाला container
An array is best described as a container that stores elements of the same data type.
Correct answer: (C) Ring buffer
A circular queue is also known as a ring buffer.
Correct answer: (B) Avoid wastage of memory
The main purpose of a circular queue is to avoid wastage of memory left unused in a simple linear queue.
Correct answer: (C) Binary heap
A priority queue is best implemented using a binary heap, which is efficient for both insertion and extracting the highest-priority element.
Correct answer: (A) Stack
Recursion is implemented using the Stack data structure, which keeps track of each call's state.
Correct answer: (D) More than one of the above
By red-black tree rules: a new node that is the root is coloured Black, and a new node that isn't the root is Red by default — both statements hold, so the answer is 'More than one of the above'.
Correct answer: (C) O(N)
Deleting from the rear of a deque built on a singly linked list requires traversing to the second-last node (no back-pointer), so the time complexity is O(N).
Correct answer: (A) rear = MAX_SIZE−1
In an array-based linear queue, overflow occurs when rear = MAX_SIZE−1 (the array is completely full).
Correct answer: (A) Merge sort
Merge sort is an example of a divide-and-conquer algorithm, unlike bubble sort or heap sort.
Correct answer: (B) An organized collection of data or information that can be accessed, updated and managed
A database is an organized collection of data that can be accessed, updated and managed.
Correct answer: (D) More than one of the above
A database can store text, files, images, audio and video alike, so the answer is 'More than one of the above'.
Correct answer: (C) Decentralized
Network and distributed are recognised standard database models, whereas 'decentralized' is not a formally established database type.
Correct answer: (C) Google
Microsoft Access and IBM Db2 are genuine DBMS examples; Google is a search engine/company, not a DBMS.
Correct answer: (B) केवल single-user access
A DBMS is characterised by multi-user access, not 'single-user access only' — so that option is the one that is NOT a DBMS feature.
Correct answer: (C) Analysing code
Manipulating data and securing stored data are database functions; 'analysing code' is not a database function.
Correct answer: (B) Metadata
Information about data is called Metadata.
Correct answer: (B) database application, the database
A DBMS acts as an interface between the database application and the database itself.
Correct answer: (C) Superkey
A superkey is a set of one or more attributes that, taken collectively, uniquely identify a record.
Correct answer: (A) DELETE FROM teaches;
The correct command to delete all values in the relation 'teaches' is: DELETE FROM teaches;
Correct answer: (C) catalogs, schemas
At the top of the hierarchy are catalogs, each of which can contain one or more schemas.
Correct answer: (B) db_accessadmin
The db_accessadmin fixed role is used to add or remove user IDs.
Correct answer: (C) hierarchical database management system
Traditional data storage organized by customer in separate filing-cabinet folders exemplifies a hierarchical database management system.
Correct answer: (A) HAVING
After groups are formed, SQL applies predicates in the HAVING clause, which allows aggregate functions to be used.
Correct answer: (E) None of the above
None of the given three-item combinations cleanly identifies exactly which utilities are not DBMS ones (all four — backup, loading, process organization, file organization — relate to DB management in some context), so the answer is 'None of the above'.
Correct answer: (B) 3NF
3NF (Third Normal Form) is generally considered adequate for designing a normal RDBMS.
Correct answer: (A) Storage space is wasted and changing the data in one spot causes data inconsistency
Storing the same data in two places both wastes storage space and causes data inconsistency, so the answer is 'More than one of the above'.
Correct answer: (A) RAW
The RAW data type is used to store unstructured data in a column.
Correct answer: (B) X-NOR
The logic gate that gives a high output when inputs are the same is the X-NOR (XNOR) gate.
Correct answer: (D) More than one of the above
Boolean algebra is useful in designing digital computers, creating logic symbols, and circuit theory alike, so the answer is 'More than one of the above'.
Correct answer: (A) simplex
Communication between a computer and keyboard is simplex, since data flows only one way, from keyboard to computer.
Correct answer: (B) X + YZ
By absorption, (X+Y+XY) simplifies to X+Y; then (X+Y)(X+Z) = X+YZ by the standard distribution identity.
Correct answer: (B) interchanging all 0s and 1s, and all + and ‘.’ signs
The dual of a Boolean expression is found by interchanging all 0s with 1s and all + signs with '.' signs, without complementing the variables.
Correct answer: (D) More than one of the above
Wireless transmission can be done via radio waves, microwaves and infrared alike, so the answer is 'More than one of the above'.
Correct answer: (C) switched network
Using a switched network prevents sniffing, since data is sent only to the intended port rather than broadcast everywhere.
Correct answer: (A) frames
In TDM, time is divided into frames, and each frame is further divided into slots; this question's stored key states the reverse order, which appears to conflict with standard networking textbooks.
Correct answer: (D) More than one of the above
TCP is connection-oriented, uses a three-way handshake to establish connections, and receives data from the application as a single stream — all three are true, so the answer is 'More than one of the above'.
Correct answer: (A) socket
The endpoint of an inter-process communication flow in a computer network is called a socket.
Correct answer: (C) Optical fiber
Optical fiber provides the highest transmission speed among common transmission media.