← Question papers

TRE2 — Language General Studies And Computer

· Set A

GS: Hindi / English · Language questions stay in their original language.

Instructions

150 questions · 150 marks · 2 hours 30 minutes

Choose one option per question.

Tap an option to check it, or open “See answer”.

Page 3 / 3
← Previous page
Question 101
Which of the following statements is completely true? I. In an object-oriented programming language, all function calls are resolved at compile time. II. In a procedural programming language, all function calls are resolved at compile time.
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).

1 marks · 2023 · Set A
Question 102
What will happen if, in a C++ program, a class has no name?
See answer

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'.

1 marks · 2023 · Set A
Question 103
How can one implement compile-time polymorphism in the C++ programming language?
See answer

Correct answer: (A) template का उपयोग करके
Compile-time polymorphism in C++ can be implemented using templates (along with function/operator overloading).

1 marks · 2023 · Set A
Question 104
Which of the following refers to wrapping data and its functionality into a single individual entity?
See answer

Correct answer: (C) Encapsulation
Wrapping data and its functionality into a single entity is called Encapsulation.

1 marks · 2023 · Set A
Question 105
Among the following, which statement is correct about modularity?
See answer

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.

1 marks · 2023 · Set A
Question 106
Which one of the following is not an application of the stack data structure?
See answer

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.

1 marks · 2023 · Set A
Question 107
Which of the following is the prefix form of A+B*C?
See answer

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.

1 marks · 2023 · Set A
Question 108
Which data structure is required to convert infix to prefix notation?
See answer

Correct answer: (B) Stack
Converting infix to prefix notation uses a Stack to hold operators during the conversion.

1 marks · 2023 · Set A
Question 109
Which of the following makes extensive use of the concept of an array?
See answer

Correct answer: (C) Spatial locality
Spatial locality (accessing nearby memory locations) makes extensive use of an array's contiguous storage structure.

1 marks · 2023 · Set A
Question 110
The necessary condition to be checked before deletion from a queue is
See answer

Correct answer: (B) underflow
Before deleting from a queue, it must be checked that the queue is not empty (the underflow condition).

1 marks · 2023 · Set A
Question 111
Which one of the following is not an application of the queue data structure?
See answer

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.

1 marks · 2023 · Set A
Question 112
Which one of the following techniques is not used in a binary tree?
See answer

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'.

1 marks · 2023 · Set A
Question 113
How can we describe an array in the best possible way?
See answer

Correct answer: (B) समान प्रकार के तत्वों को संग्रहित करने वाला container
An array is best described as a container that stores elements of the same data type.

1 marks · 2023 · Set A
Question 114
What is another name for a circular queue among the following options?
See answer

Correct answer: (C) Ring buffer
A circular queue is also known as a ring buffer.

1 marks · 2023 · Set A
Question 115
Which of the following determines the need for a circular queue?
See answer

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.

1 marks · 2023 · Set A
Question 116
Which data structure is best for implementing a priority queue?
See answer

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.

1 marks · 2023 · Set A
Question 117
Which of the following data structures is used in recursion?
See answer

Correct answer: (A) Stack
Recursion is implemented using the Stack data structure, which keeps track of each call's state.

1 marks · 2023 · Set A
Question 118
Which of the following satisfies a property of a red-black tree?
See answer

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'.

1 marks · 2023 · Set A
Question 119
In deque implementation using a singly linked list, what is the time complexity of deleting an element from the rear end?
See answer

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).

1 marks · 2023 · Set A
Question 120
If a linear queue is implemented using an array of size MAX_SIZE, which of the following is the overflow condition?
See answer

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).

1 marks · 2023 · Set A
Question 121
निम्नलिखित में से कौन divide-and-conquer algorithm है?
See answer

Correct answer: (A) Merge sort
Merge sort is an example of a divide-and-conquer algorithm, unlike bubble sort or heap sort.

1 marks · 2023 · Set A
Question 122
What is a database?
See answer

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.

1 marks · 2023 · Set A
Question 123
Which type of data can be stored in a database?
See answer

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'.

1 marks · 2023 · Set A
Question 124
Which of the following is not a type of database?
See answer

Correct answer: (C) Decentralized
Network and distributed are recognised standard database models, whereas 'decentralized' is not a formally established database type.

1 marks · 2023 · Set A
Question 125
Which of the following is not an example of a DBMS?
See answer

Correct answer: (C) Google
Microsoft Access and IBM Db2 are genuine DBMS examples; Google is a search engine/company, not a DBMS.

1 marks · 2023 · Set A
Question 126
Which of the following is not a feature of a DBMS?
See answer

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.

1 marks · 2023 · Set A
Question 127
Which of the following is not a function of a database?
See answer

Correct answer: (C) Analysing code
Manipulating data and securing stored data are database functions; 'analysing code' is not a database function.

1 marks · 2023 · Set A
Question 128
What is information about data called?
See answer

Correct answer: (B) Metadata
Information about data is called Metadata.

1 marks · 2023 · Set A
Question 129
DBMS एक enterprise-class system के _____ और _____ के बीच interface के रूप में कार्य करता है।
See answer

Correct answer: (B) database application, the database
A DBMS acts as an interface between the database application and the database itself.

1 marks · 2023 · Set A
Question 130
_____ is a set of one or more attributes taken collectively to uniquely identify a record.
See answer

Correct answer: (C) Superkey
A superkey is a set of one or more attributes that, taken collectively, uniquely identify a record.

1 marks · 2023 · Set A
Question 131
Which of the following commands is correct to delete the values in the relation teaches?
See answer

Correct answer: (A) DELETE FROM teaches;
The correct command to delete all values in the relation 'teaches' is: DELETE FROM teaches;

1 marks · 2023 · Set A
Question 132
The top level of the hierarchy consists of _____, each of which can contain _____.
See answer

Correct answer: (C) catalogs, schemas
At the top of the hierarchy are catalogs, each of which can contain one or more schemas.

1 marks · 2023 · Set A
Question 133
User IDs can be added or removed using which of the following fixed roles?
See answer

Correct answer: (B) db_accessadmin
The db_accessadmin fixed role is used to add or remove user IDs.

1 marks · 2023 · Set A
Question 134
The traditional storage of data organized by the customer, stored in separate folders in filing cabinets, is an example of
See answer

Correct answer: (C) hierarchical database management system
Traditional data storage organized by customer in separate filing-cabinet folders exemplifies a hierarchical database management system.

1 marks · 2023 · Set A
Question 135
After groups have been established, SQL applies predicates in the _____ clause, allowing aggregate functions to be used.
See answer

Correct answer: (A) HAVING
After groups are formed, SQL applies predicates in the HAVING clause, which allows aggregate functions to be used.

1 marks · 2023 · Set A
Question 136
निम्नलिखित में से कौन DBMS की उपयोगिताएँ नहीं हैं? I. Backup II. Loading III. Process organization IV. File organization
See answer

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'.

1 marks · 2023 · Set A
Question 137
For designing a normal RDBMS, which of the following normal forms is considered adequate?
See answer

Correct answer: (B) 3NF
3NF (Third Normal Form) is generally considered adequate for designing a normal RDBMS.

1 marks · 2023 · Set A
Question 138
What happens if a piece of data is stored in two places in a database?
See answer

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'.

1 marks · 2023 · Set A
Question 139
Which data type can store unstructured data in a column?
See answer

Correct answer: (A) RAW
The RAW data type is used to store unstructured data in a column.

1 marks · 2023 · Set A
Question 140
The logic gate that provides a high output for the same input is
See answer

Correct answer: (B) X-NOR
The logic gate that gives a high output when inputs are the same is the X-NOR (XNOR) gate.

1 marks · 2023 · Set A
Question 141
Boolean algebra can be used
See answer

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'.

1 marks · 2023 · Set A
Question 142
Communication between a computer and a keyboard involves _____ transmission.
See answer

Correct answer: (A) simplex
Communication between a computer and keyboard is simplex, since data flows only one way, from keyboard to computer.

1 marks · 2023 · Set A
Question 143
Boolean expression (X + Y + XY)(X + Z) का सरलीकृत रूप है
See answer

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.

1 marks · 2023 · Set A
Question 144
The dual of a Boolean expression is obtained by
See answer

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.

1 marks · 2023 · Set A
Question 145
Wireless transmission of signals can be done via
See answer

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'.

1 marks · 2023 · Set A
Question 146
Sniffers can be prevented by using
See answer

Correct answer: (C) switched network
Using a switched network prevents sniffing, since data is sent only to the intended port rather than broadcast everywhere.

1 marks · 2023 · Set A
Question 147
In TDM, slots are further divided into
See answer

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.

1 marks · 2023 · Set A
Question 148
Transmission Control Protocol
See answer

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'.

1 marks · 2023 · Set A
Question 149
कंप्यूटर नेटवर्क में inter-process communication flow के endpoint को _____ कहा जाता है।
See answer

Correct answer: (A) socket
The endpoint of an inter-process communication flow in a computer network is called a socket.

1 marks · 2023 · Set A
Question 150
कौन-सा transmission medium किसी network में उच्चतम transmission speed प्रदान करता है?
See answer

Correct answer: (C) Optical fiber
Optical fiber provides the highest transmission speed among common transmission media.

1 marks · 2023 · Set A
Page 3 / 3
← Previous page