← Question papers

TRE3 — Language General Studies And Computer Science

· Set E

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
Merge Sort is an example of which algorithm-design paradigm?
See answer

Correct answer: (B) Divide and Conquer
Merge Sort is an example of the Divide and Conquer paradigm—it splits the list, sorts each part, then merges them.

1 marks · 2024 · Set E
Question 102
How many edges does a spanning tree of a graph with N vertices have?
See answer

Correct answer: (B) N − 1
A spanning tree of a graph with N vertices always has exactly N−1 edges.

1 marks · 2024 · Set E
Question 103
Which of the following is not a graph-traversal algorithm?
See answer

Correct answer: (D) More than one of the above
Greedy, Divide and Conquer and Dynamic Programming are algorithm-design paradigms, not graph-traversal algorithms (like BFS/DFS); so Dynamic Programming is the one that is NOT a graph-traversal algorithm.

1 marks · 2024 · Set E
Question 104
Which of the following is not an NP-complete problem?
See answer

Correct answer: (C) Shortest Path Problem
Both the Travelling Salesman Problem and Boolean Satisfiability are NP-complete, while the Shortest Path problem is solvable in polynomial time and is not NP-complete.

1 marks · 2024 · Set E
Question 105
Which of the following is an advantage of using arrays?
See answer

Correct answer: (C) Random access to elements using an index
The key advantage of arrays is random access to any element directly via its index.

1 marks · 2024 · Set E
Question 106
Which of the following is not a basic operation performed on a data structure?
See answer

Correct answer: (A) Encryption
Insertion and deletion are basic operations performed on data structures; encryption is not a basic data-structure operation.

1 marks · 2024 · Set E
Question 107
Which of the following is a type of operating system?
See answer

Correct answer: (D) More than one of the above
Real-time, embedded and network operating systems are all valid types of OS, so the answer is 'More than one of the above'.

1 marks · 2024 · Set E
Question 108
Which of the following is not a memory-management technique used by operating systems?
See answer

Correct answer: (C) Fragmentation
Paging and segmentation are memory-management techniques, while fragmentation is a problem that results, not a management technique.

1 marks · 2024 · Set E
Question 109
Which of the following is a file system commonly used in operating systems?
See answer

Correct answer: (D) More than one of the above
NTFS, FAT32 and HFS+ are all file systems used by operating systems, so the answer is 'More than one of the above'.

1 marks · 2024 · Set E
Question 110
Which of the following is not a type of interrupt?
See answer

Correct answer: (B) Memory interrupt
Hardware and software interrupts are valid types, but 'memory interrupt' is not a standard interrupt type.

1 marks · 2024 · Set E
Question 111
What is a page in paging?
See answer

Correct answer: (A) A fixed-size block of virtual memory
In paging, a 'page' is a fixed-size block of virtual memory (the corresponding block in physical memory is called a 'frame').

1 marks · 2024 · Set E
Question 112
In a system with a page size of 4 KB and a physical address space of 64 GB, how many bits are required for the page offset?
See answer

Correct answer: (B) 12 bits
A 4 KB page size is 2¹² bytes, so the page offset needs 12 bits.

1 marks · 2024 · Set E
Question 113
What is a segment base in segmentation?
See answer

Correct answer: (A) The starting address of a segment in physical memory
The segment base is the starting address of the segment in physical memory.

1 marks · 2024 · Set E
Question 114
What causes thrashing to occur?
See answer

Correct answer: (A) Excessive paging activity
Thrashing occurs when excessive paging activity means the CPU spends more time swapping pages than doing actual work.

1 marks · 2024 · Set E
Question 115
A system has 8 GB physical memory and 16 GB virtual memory. If it uses 6 GB physical memory and 10 GB virtual memory, how much memory is being swapped out?
See answer

Correct answer: (B) 4 GB
Of the virtual memory in use (10 GB), whatever doesn't fit into physical memory (6 GB) is swapped to disk: 10 − 6 = 4 GB.

1 marks · 2024 · Set E
Question 116
How is the TLB typically organized?
See answer

Correct answer: (D) More than one of the above
A TLB is typically organized as an associative cache, though some implementations use a set-associative form too, so the answer is 'More than one of the above'.

1 marks · 2024 · Set E
Question 117
Which of the following is a common file operation?
See answer

Correct answer: (D) More than one of the above
Create, Delete and Rename are all common file operations, so the answer is 'More than one of the above'.

1 marks · 2024 · Set E
Question 118
A disk queue has I/O requests for cylinders 98, 183, 37, 122, 14, 124, 65, 67. Using FCFS scheduling, what is the total number of head movements if the disk head initially is at 53?
See answer

Correct answer: (A) 640
Head movement under FCFS = |53−98|+|98−183|+|183−37|+|37−122|+|122−14|+|14−124|+|124−65|+|65−67| = 640.

1 marks · 2024 · Set E
Question 119
A thread shares which of the following with other threads belonging to the same process?
See answer

Correct answer: (C) Code section and data section
Threads of the same process share the code section and data section; thread ID and program counter are unique to each thread.

1 marks · 2024 · Set E
Question 120
Which of the following is not a type of DBMS?
See answer

Correct answer: (C) Sequential DBMS
Relational and Object-Oriented DBMS are real types, while 'Sequential DBMS' is not a standard DBMS type.

1 marks · 2024 · Set E
Question 121
In a relational database, what is a primary key?
See answer

Correct answer: (A) A key used to uniquely identify each record in a table
A primary key is the key that uniquely identifies each record in a table.

1 marks · 2024 · Set E
Question 122
Which normal form ensures that every non-prime attribute in a table is fully functionally dependent on the primary key?
See answer

Correct answer: (B) Second Normal Form (2NF)
Second Normal Form (2NF) ensures that every non-prime attribute is fully functionally dependent on the primary key.

1 marks · 2024 · Set E
Question 123
Which SQL command is used to add new rows to a database table?
See answer

Correct answer: (C) INSERT
The INSERT command is used in SQL to add new rows to a table.

1 marks · 2024 · Set E
Question 124
Which of the following is a disadvantage of using a distributed database system?
See answer

Correct answer: (C) Data inconsistency
Data inconsistency is a key disadvantage of distributed database systems, while the other two options are actually advantages.

1 marks · 2024 · Set E
Question 125
What is the primary function of a router in a computer network?
See answer

Correct answer: (B) To connect multiple networks together
A router's primary function is to connect multiple different networks together, not just devices within the same network.

1 marks · 2024 · Set E
Question 126
In the OSI model, which layer is responsible for routing and forwarding data packets?
See answer

Correct answer: (E) None of the above
Routing and forwarding packets is the Network Layer's job in the OSI model, which isn't among the given options (Data Link, Transport, Physical), so the answer is 'None of the above'.

1 marks · 2024 · Set E
Question 127
Which device is used to connect multiple devices within the same local area network (LAN)?
See answer

Correct answer: (B) Switch
A switch is used to connect multiple devices within the same LAN.

1 marks · 2024 · Set E
Question 128
Which protocol is used to send email over the Internet?
See answer

Correct answer: (B) SMTP
SMTP is the protocol used to send email over the Internet.

1 marks · 2024 · Set E
Question 129
What is the purpose of a subnet mask in TCP/IP networking?
See answer

Correct answer: (D) More than one of the above
A subnet mask identifies the network portion of an IP address, and since that automatically identifies the remaining host portion too, the answer is 'More than one of the above'.

1 marks · 2024 · Set E
Question 130
What is the maximum data rate of Bluetooth version 5.0?
See answer

Correct answer: (B) 2 Mbps
Bluetooth 5.0's maximum data rate is 2 Mbps (in LE mode).

1 marks · 2024 · Set E
Question 131
Which of the following is a software development life-cycle model?
See answer

Correct answer: (D) More than one of the above
Waterfall, Agile and Spiral are all software development life-cycle models, so the answer is 'More than one of the above'.

1 marks · 2024 · Set E
Question 132
Which of the following is not a software-development requirement?
See answer

Correct answer: (C) Physical requirements
Functional and system requirements are standard software-requirement categories; 'physical requirements' is not such a recognized category.

1 marks · 2024 · Set E
Question 133
What is the main difference between verification and validation in software testing?
See answer

Correct answer: (C) Verification checks whether the software is built right, while validation checks whether the right software is built
Verification checks whether the software is built right, while validation checks whether the right software is built.

1 marks · 2024 · Set E
Question 134
What is the purpose of a software prototype?
See answer

Correct answer: (C) To speed up the software-development process
A software prototype's purpose is to speed up the development process—it is not the final version, nor a substitute for documentation.

1 marks · 2024 · Set E
Question 135
What is the primary goal of software engineering?
See answer

Correct answer: (B) To develop software that meets user requirements within budget and schedule constraints
The primary goal of software engineering is to develop software that meets user requirements within budget and schedule constraints.

1 marks · 2024 · Set E
Question 136
Which of the following is a pillar of OOP?
See answer

Correct answer: (D) More than one of the above
Inheritance, Encapsulation and Abstraction are all pillars of OOP (along with Polymorphism), so the answer is 'More than one of the above'.

1 marks · 2024 · Set E
Question 137
Which keyword is used in Java to implement inheritance?
See answer

Correct answer: (A) extends
The 'extends' keyword is used in Java to implement inheritance.

1 marks · 2024 · Set E
Question 138
Which access specifier makes class members accessible only within the same package?
See answer

Correct answer: (C) package-private
The default (package-private) access level makes class members accessible only within the same package.

1 marks · 2024 · Set E
Question 139
Inheritance in OOP allows a class to:
See answer

Correct answer: (D) More than one of the above
Inheritance in OOP allows a class both to inherit properties/behaviour from another class and to override its methods, so the answer is 'More than one of the above'.

1 marks · 2024 · Set E
Question 140
What is the purpose of HTML in a web application?
See answer

Correct answer: (A) To define the structure of web pages
HTML's purpose is to define the structure of web pages; CSS handles styling and JavaScript adds interactivity.

1 marks · 2024 · Set E
Question 141
Which of the following is an example of a server-side scripting language commonly used in web applications?
See answer

Correct answer: (E) None of the above
HTML and CSS aren't server-side scripting languages, and C++ isn't typically considered a standard server-side web scripting language either (PHP/Python/Node are the usual examples), so the answer is 'None of the above'.

1 marks · 2024 · Set E
Question 142
What is the computational complexity of the halting problem?
See answer

Correct answer: (C) Not computable
The halting problem is not computable—no general algorithm can solve it.

1 marks · 2024 · Set E
Question 143
Which of the following is not a component of a Turing machine?
See answer

Correct answer: (B) Output tape
A basic (single-tape) Turing machine has an input tape, a control unit and a read/write head, but no separate 'output tape' as a distinct component.

1 marks · 2024 · Set E
Question 144
Which wireless communication technology is commonly used in IoT devices for short-range communication?
See answer

Correct answer: (D) More than one of the above
Both Bluetooth and Wi-Fi are commonly used for short-range IoT communication (4G LTE is a cellular, longer-range technology), so the answer is 'More than one of the above'.

1 marks · 2024 · Set E
Question 145
Which of the following is an example of an IoT protocol used for device communication?
See answer

Correct answer: (D) More than one of the above
MQTT is a lightweight messaging protocol specifically designed for communication between IoT devices.

1 marks · 2024 · Set E
Question 146
Which of the following is a subfield of AI?
See answer

Correct answer: (D) More than one of the above
Machine Learning, Robotics and Natural Language Processing are all considered subfields of AI, so the answer is 'More than one of the above'.

1 marks · 2024 · Set E
Question 147
Which of the following is a supervised-learning algorithm?
See answer

Correct answer: (A) Decision Tree
Decision Tree is a supervised-learning algorithm (it learns from labelled data), while K-means is unsupervised and Reinforcement Learning is a different paradigm altogether.

1 marks · 2024 · Set E
Question 148
Which of the following is not a common type of e-commerce model?
See answer

Correct answer: (E) None of the above
B2C, C2B and C2C are all recognized e-commerce models, so none of them qualifies as 'not a common model', making the answer 'None of the above'.

1 marks · 2024 · Set E
Question 149
Which of the following is an example of a B2C e-commerce website?
See answer

Correct answer: (B) Amazon
Amazon is a direct example of a B2C (business-to-consumer) e-commerce website; Alibaba is mainly a B2B model and Google isn't an e-commerce site.

1 marks · 2024 · Set E
Question 150
Which of the following is a multimedia authoring tool?
See answer

Correct answer: (C) Adobe Flash
Adobe Flash is a multimedia authoring tool, while Microsoft Word is for document processing and Adobe Photoshop is for image editing.

1 marks · 2024 · Set E
Page 3 / 3
← Previous page