Result SummaryDetailed Review
Memory Management & Virtual MemoryNot attempted

Q181. In a 32-bit virtual memory system with 4 KB page size, how many entries are contained in a single-level page table?

⚪ Status: You Skipped this question
Correct Answer: Option A (2²⁰ entries (1,048,576 entries))
A
2²⁰ entries (1,048,576 entries)
Correct Answer
B
2¹² entries (4,096 entries)
C
2³² entries
D
1,000 entries

Why: Page offset bits = log₂(4KB) = 12 bits. Virtual page number bits = 32 - 12 = 20 bits. Total page table entries = 2²⁰ = 1,048,576.

Memory Management & Virtual MemoryNot attempted

Q182. What is external fragmentation in dynamic memory allocation?

⚪ Status: You Skipped this question
Correct Answer: Option A (Total free memory space is sufficient to satisfy a request, but it is not contiguous)
A
Total free memory space is sufficient to satisfy a request, but it is not contiguous
Correct Answer
B
Wasted memory inside allocated page frame
C
Disk space overflow
D
Cache tag mismatch

Why: External fragmentation occurs when small unallocated memory holes exist scattered throughout RAM, failing contiguous allocation requests.

Computer Networks & SubnettingNot attempted

Q183. Which Classless Inter-Domain Routing (CIDR) notation corresponds to the subnet mask 255.255.240.0?

⚪ Status: You Skipped this question
Correct Answer: Option A (/20)
A
/20
Correct Answer
B
/16
C
/24
D
/28

Why: 255.255.240.0 in binary has 8 + 8 + 4 = 20 network prefix bits, written as /20.

Computer Networks & SubnettingNot attempted

Q184. What is the primary role of NAT (Network Address Translation) routers?

⚪ Status: You Skipped this question
Correct Answer: Option A (To map private internal IP addresses to a public routable IP address for Internet access)
A
To map private internal IP addresses to a public routable IP address for Internet access
Correct Answer
B
To assign DNS hostnames
C
To format HTML documents
D
To compress video streams

Why: NAT allows local networks using RFC 1918 private IPs (192.168.x.x, 10.x.x.x) to share single public IP addresses.

Operating Systems & Disk SchedulingNot attempted

Q185. Which CPU scheduling algorithm prioritizes processes with the shortest burst time but can lead to starvation of long processes?

⚪ Status: You Skipped this question
Correct Answer: Option A (SJF (Shortest Job First))
A
SJF (Shortest Job First)
Correct Answer
B
FCFS
C
Round Robin
D
Priority Scheduling

Why: SJF minimizes average waiting time but continuously selects short jobs, starving long CPU-bound jobs if short jobs arrive continuously.

Operating Systems & Disk SchedulingNot attempted

Q186. In C-LOOK disk scheduling, how does the head move after reaching the last requested cylinder in one direction?

⚪ Status: You Skipped this question
Correct Answer: Option A (Jumps immediately to the lowest requested cylinder without servicing requests during return)
A
Jumps immediately to the lowest requested cylinder without servicing requests during return
Correct Answer
B
Reverses direction servicing requests on return path
C
Stops completely
D
Goes to cylinder 0

Why: C-LOOK (Circular LOOK) travels only as far as the last request in one direction, then immediately jumps back to the first request in the opposite end.

Data Structures & HashingNot attempted

Q187. What open addressing collision resolution technique probes locations h(k, i) = (h'(k) + c1*i + c2*i²) mod m?

⚪ Status: You Skipped this question
Correct Answer: Option A (Quadratic Probing)
A
Quadratic Probing
Correct Answer
B
Linear Probing
C
Double Hashing
D
Separate Chaining

Why: Quadratic probing uses quadratic polynomial steps (i, i²) to compute probe sequences, mitigating primary clustering.

Data Structures & HashingNot attempted

Q188. What is the time complexity to insert an element into a Max Heap of n elements?

⚪ Status: You Skipped this question
Correct Answer: Option A (O(log n))
A
O(log n)
Correct Answer
B
O(n)
C
O(1)
D
O(n log n)

Why: Insertion appends element at array end and bubbles up along tree height log₂ n, taking O(log n) time.

Database Systems & Transaction IsolationNot attempted

Q189. In SQL transaction isolation levels, what is a Phantom Read?

⚪ Status: You Skipped this question
Correct Answer: Option A (Transaction re-executes query and finds new rows inserted by another committed transaction)
A
Transaction re-executes query and finds new rows inserted by another committed transaction
Correct Answer
B
Reading uncommitted dirty data
C
Reading modified data that changes on re-read
D
Database system crash

Why: Phantom read occurs when transaction T1 reads a set of rows matching search criteria, T2 inserts a new row matching criteria, and T1 re-reads getting extra rows.

Database Systems & Transaction IsolationNot attempted

Q190. Which transaction isolation level completely prevents Dirty Reads, Non-Repeatable Reads, and Phantom Reads?

⚪ Status: You Skipped this question
Correct Answer: Option A (SERIALIZABLE)
A
SERIALIZABLE
Correct Answer
B
READ COMMITTED
C
REPEATABLE READ
D
READ UNCOMMITTED

Why: SERIALIZABLE is the highest isolation level enforcing complete serial execution using range locks.

Computer Architecture & MicroprocessorsNot attempted

Q191. In 8086 microprocessor, what is the role of the Segment Registers (CS, DS, SS, ES)?

⚪ Status: You Skipped this question
Correct Answer: Option A (Store 16-bit base segment addresses to access 1 MB physical memory)
A
Store 16-bit base segment addresses to access 1 MB physical memory
Correct Answer
B
Store 64-bit float math results
C
Control interrupt vectors
D
Store AL Register values

Why: 8086 computes 20-bit Physical Address = (Segment Register × 16) + Offset Register.

Computer Architecture & MicroprocessorsNot attempted

Q192. What is Memory-Mapped I/O?

⚪ Status: You Skipped this question
Correct Answer: Option A (I/O devices and RAM share the same address space and use identical memory instructions)
A
I/O devices and RAM share the same address space and use identical memory instructions
Correct Answer
B
I/O devices use separate dedicated IN/OUT bus instructions
C
I/O devices communicate only via interrupts
D
I/O devices bypass CPU

Why: In Memory-Mapped I/O, device registers occupy standard memory addresses accessed via MOV instructions.

Software Engineering & VerificationNot attempted

Q193. In software metrics, what does Halstead's Software Science measure?

⚪ Status: You Skipped this question
Correct Answer: Option A (Program length, volume, effort, and bugs based on total count of distinct operators and operands)
A
Program length, volume, effort, and bugs based on total count of distinct operators and operands
Correct Answer
B
Lines of text comments
C
Network bandwidth consumption
D
Hardware clock speed

Why: Halstead metrics calculate Program Volume V and Effort E using operator count (η1, N1) and operand count (η2, N2).

Software Engineering & VerificationNot attempted

Q194. What is Alpha Testing in software development life cycle?

⚪ Status: You Skipped this question
Correct Answer: Option A (Internal acceptance testing performed by developers/testers at the developer's site)
A
Internal acceptance testing performed by developers/testers at the developer's site
Correct Answer
B
Testing performed by end-users at their own site
C
Unit testing of single function
D
Stress testing database under load

Why: Alpha testing is conducted internally at developer site before releasing Beta versions to external users.

Theory of Computation & GrammarsNot attempted

Q195. What is a Greibach Normal Form (GNF) context-free grammar?

⚪ Status: You Skipped this question
Correct Answer: Option A (All production rules are of the form A → aα (starts with single terminal followed by string of non-terminals))
A
All production rules are of the form A → aα (starts with single terminal followed by string of non-terminals)
Correct Answer
B
All rules are A → BC
C
All rules are A → ε
D
All rules have terminal on right side

Why: GNF grammar rules start with exactly one terminal symbol followed by 0 or more non-terminals (A → a V*).

Theory of Computation & GrammarsNot attempted

Q196. What is Chomsky Normal Form (CNF) for Context-Free Grammars?

⚪ Status: You Skipped this question
Correct Answer: Option A (Production rules are strictly of form A → BC or A → a)
A
Production rules are strictly of form A → BC or A → a
Correct Answer
B
Production rules are A → aα
C
Production rules are A → B
D
Production rules are A → aBCd

Why: CNF rules restrict right-hand side to either exactly 2 non-terminals (A → BC) or 1 single terminal (A → a).

Compiler Design & Intermediate CodeNot attempted

Q197. What is Loop Unrolling in compiler code optimization?

⚪ Status: You Skipped this question
Correct Answer: Option A (Replicating loop body instructions to reduce loop control overhead and branch tests)
A
Replicating loop body instructions to reduce loop control overhead and branch tests
Correct Answer
B
Moving loop outside function
C
Deleting loop body
D
Converting loop into recursion

Why: Loop unrolling expands loop iterations inline to decrease branch checks and exploit instruction-level parallelism.

Compiler Design & Intermediate CodeNot attempted

Q198. What is Peephole Optimization in compiler design?

⚪ Status: You Skipped this question
Correct Answer: Option A (Local optimization technique analyzing a small moving window (peephole) of target code instructions)
A
Local optimization technique analyzing a small moving window (peephole) of target code instructions
Correct Answer
B
Global data flow analysis
C
Syntax tree construction
D
Lexical tokenization

Why: Peephole optimization examines small target code sequences to remove redundant loads/stores and algebraic identities.

Memory Management & Virtual MemoryNot attempted

Q199. In page table structures, what is an Inverted Page Table?

⚪ Status: You Skipped this question
Correct Answer: Option A (Page table indexed by physical frame number containing one entry per physical RAM frame)
A
Page table indexed by physical frame number containing one entry per physical RAM frame
Correct Answer
B
Page table stored on disk
C
Page table indexed by virtual page number per process
D
Cache table

Why: Inverted Page Table maintains fixed size equal to physical memory frames, saving massive memory overhead in 64-bit systems.

Computer Networks & SubnettingNot attempted

Q200. What is the primary function of the Border Gateway Protocol (BGP)?

⚪ Status: You Skipped this question
Correct Answer: Option A (Inter-Autonomous System (Inter-AS) routing across the global Internet backbone)
A
Inter-Autonomous System (Inter-AS) routing across the global Internet backbone
Correct Answer
B
Local Ethernet MAC switching
C
Dynamic IP address allocation on LAN
D
File transfer protocol

Why: BGP is the standardized Exterior Gateway Protocol (EGP) managing path-vector routing between Autonomous Systems (ISPs).

Operating Systems & Disk SchedulingNot attempted

Q201. What is a Critical Section in concurrent programming?

⚪ Status: You Skipped this question
Correct Answer: Option A (Code segment accessing shared variables or resources that must NOT be executed concurrently by multiple processes)
A
Code segment accessing shared variables or resources that must NOT be executed concurrently by multiple processes
Correct Answer
B
Boot code section
C
Compiler syntax error block
D
Memory allocation table

Why: Critical Section accesses shared state requiring Mutual Exclusion to avoid Race Conditions.

Data Structures & HashingNot attempted

Q202. What is the worst-case search time complexity in a Red-Black Tree with n nodes?

⚪ Status: You Skipped this question
Correct Answer: Option A (O(log n))
A
O(log n)
Correct Answer
B
O(n)
C
O(1)
D
O(n log n)

Why: Red-Black Tree maintains height bounded by 2 log₂(n + 1), guaranteeing O(log n) search, insert, and delete.

Database Systems & Transaction IsolationNot attempted

Q203. What is the difference between TRUNCATE and DELETE in SQL?

⚪ Status: You Skipped this question
Correct Answer: Option A (TRUNCATE is DDL command removing all rows fast without logging individual row deletes; DELETE is DML command removing selected rows with logging)
A
TRUNCATE is DDL command removing all rows fast without logging individual row deletes; DELETE is DML command removing selected rows with logging
Correct Answer
B
DELETE deletes table structure
C
TRUNCATE applies WHERE clause
D
They are identical

Why: TRUNCATE resets data pages without row logging (DDL, faster). DELETE logs each row deletion allowing rollback (DML, WHERE allowed).

Computer Architecture & MicroprocessorsNot attempted

Q204. In microprogrammed control units, what is a Horizontal Microinstruction?

⚪ Status: You Skipped this question
Correct Answer: Option A (Microinstruction where each control bit directly controls a separate hardware line without decoding)
A
Microinstruction where each control bit directly controls a separate hardware line without decoding
Correct Answer
B
Microinstruction with highly encoded fields requiring decoders
C
Single byte instruction
D
Interrupt routine

Why: Horizontal microinstructions use wide control words where each bit directly drives a control signal, enabling high parallelism.

Software Engineering & VerificationNot attempted

Q205. In software engineering, what is Refactoring?

⚪ Status: You Skipped this question
Correct Answer: Option A (Restructuring existing code without changing its external functional behavior)
A
Restructuring existing code without changing its external functional behavior
Correct Answer
B
Adding new user features
C
Deleting database tables
D
Translating code to Python

Why: Refactoring improves non-functional attributes (readability, maintainability, performance) while keeping input/output behavior unchanged.

Theory of Computation & GrammarsNot attempted

Q206. What is an Ambiguous Context-Free Grammar?

⚪ Status: You Skipped this question
Correct Answer: Option A (A grammar that produces two or more distinct leftmost derivations or parse trees for at least one string)
A
A grammar that produces two or more distinct leftmost derivations or parse trees for at least one string
Correct Answer
B
A grammar with no start symbol
C
A grammar with infinite rules
D
A regular grammar

Why: Ambiguity means a string can be parsed in multiple valid ways, creating ambiguity in compiler semantics.

Compiler Design & Intermediate CodeNot attempted

Q207. What is a Quadruple in Three-Address Code implementation?

⚪ Status: You Skipped this question
Correct Answer: Option A (A record structure with 4 fields: op, arg1, arg2, result)
A
A record structure with 4 fields: op, arg1, arg2, result
Correct Answer
B
A 4-byte instruction
C
A 4-level parse tree
D
A 4-state automaton

Why: Quadruple implementation uses explicit fields `(op, arg1, arg2, result)` to represent TAC instructions.

Computer Networks & SubnettingNot attempted

Q208. Which IPv4 address range is designated for private local networks under RFC 1918?

⚪ Status: You Skipped this question
Correct Answer: Option A (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16)
A
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16
Correct Answer
B
127.0.0.0/8 only
C
224.0.0.0/4 only
D
1.1.1.0/24

Why: RFC 1918 defines private non-routable IP ranges: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, and 192.168.0.0–192.168.255.255.

Operating Systems & Disk SchedulingNot attempted

Q209. In Unix file systems, what is an inode?

⚪ Status: You Skipped this question
Correct Answer: Option A (Data structure storing file metadata like file size, permissions, owner ID, and data block pointers)
A
Data structure storing file metadata like file size, permissions, owner ID, and data block pointers
Correct Answer
B
The actual text contents of file
C
Directory path string
D
Swap file partition

Why: An inode (index node) stores all metadata about a file except its name and actual content data.

Data Structures & HashingNot attempted

Q210. What is the worst-case space complexity of storing a directed graph with V vertices using an Adjacency Matrix?

⚪ Status: You Skipped this question
Correct Answer: Option A (O(V²))
A
O(V²)
Correct Answer
B
O(V + E)
C
O(E²)
D
O(V log V)

Why: An Adjacency Matrix allocates a V x V 2D array regardless of the number of edges E, taking O(V²) space.

Database Systems & Transaction IsolationNot attempted

Q211. In relational database indexing, what is a Clustered Index?

⚪ Status: You Skipped this question
Correct Answer: Option A (An index that defines the physical order of data rows on disk (only one clustered index per table))
A
An index that defines the physical order of data rows on disk (only one clustered index per table)
Correct Answer
B
A secondary index on non-key columns
C
A hash table index
D
A temporary index stored in RAM

Why: Clustered index physically sorts data rows on disk according to the key values. Since physical rows can have only one order, a table can have only 1 clustered index.

Computer Architecture & MicroprocessorsNot attempted

Q212. What is an Interrupt Service Routine (ISR)?

⚪ Status: You Skipped this question
Correct Answer: Option A (Special hardware/software function executed automatically when an interrupt is triggered)
A
Special hardware/software function executed automatically when an interrupt is triggered
Correct Answer
B
A loop inside compiler
C
A database query handler
D
A page fault replacement algorithm

Why: ISR (Interrupt Handler) handles asynchronous hardware/software interrupt requests by saving process context and servicing the event.

Software Engineering & VerificationNot attempted

Q213. In Object-Oriented Analysis, what does an Object Sequence Diagram represent?

⚪ Status: You Skipped this question
Correct Answer: Option A (Temporal order of message exchanges between objects over time)
A
Temporal order of message exchanges between objects over time
Correct Answer
B
Static database structure
C
Source code file directory structure
D
Network IP routing topology

Why: UML Sequence Diagrams visualize dynamic interaction and message calls between instances along a vertical lifeline.

Theory of Computation & GrammarsNot attempted

Q214. Which language family is closed under complementation?

⚪ Status: You Skipped this question
Correct Answer: Option A (Regular Languages)
A
Regular Languages
Correct Answer
B
Context-Free Languages
C
Recursively Enumerable Languages (Semi-Decidable)
D
Nondeterministic Pushdown Languages

Why: Regular Languages are closed under complementation (by swapping final and non-final states in DFA). Context-Free languages are NOT closed under complementation.

Compiler Design & Intermediate CodeNot attempted

Q215. What is Dead Code Elimination in compiler optimization?

⚪ Status: You Skipped this question
Correct Answer: Option A (Removing instructions whose results are never used or that can never be executed)
A
Removing instructions whose results are never used or that can never be executed
Correct Answer
B
Deleting header comments
C
Converting local variables to global
D
Removing static functions

Why: Dead Code Elimination detects unreachable code or variables written but never read, stripping them from final binary.

Computer Networks & SubnettingNot attempted

Q216. Which layer of the OSI model manages data compression, encryption, and syntax translation?

⚪ Status: You Skipped this question
Correct Answer: Option A (Presentation Layer (Layer 6))
A
Presentation Layer (Layer 6)
Correct Answer
B
Session Layer (Layer 5)
C
Application Layer (Layer 7)
D
Transport Layer (Layer 4)

Why: Layer 6 (Presentation Layer) handles string encoding (ASCII/Unicode), encryption (SSL/TLS), and data compression.

Operating Systems & Disk SchedulingNot attempted

Q217. What is a Context Switch in operating systems?

⚪ Status: You Skipped this question
Correct Answer: Option A (Saving the state of currently running process and restoring state of another process to resume execution)
A
Saving the state of currently running process and restoring state of another process to resume execution
Correct Answer
B
Switching off monitor display
C
Changing compiler optimization level
D
Translating Java bytecode

Why: Context Switching saves PCB registers/pointers of current process and loads PCB of next process scheduled by CPU scheduler.

Data Structures & HashingNot attempted

Q218. What is the amortized time complexity of push() operation in a dynamic array (like C++ std::vector)?

⚪ Status: You Skipped this question
Correct Answer: Option A (O(1))
A
O(1)
Correct Answer
B
O(n)
C
O(log n)
D
O(n²)

Why: Dynamic arrays double capacity on overflow. Doubling cost O(n) happens rarely, averaging out to O(1) amortized time per insertion.

Database Systems & Transaction IsolationNot attempted

Q219. In relational algebra, what is Division operation (R ÷ S) used for?

⚪ Status: You Skipped this question
Correct Answer: Option A (Queries involving 'FOR ALL' or 'EVERY' requirements (e.g. Find students who registered for ALL courses))
A
Queries involving 'FOR ALL' or 'EVERY' requirements (e.g. Find students who registered for ALL courses)
Correct Answer
B
Dividing numeric values
C
Sorting relation rows
D
Calculating average

Why: Division (R ÷ S) selects tuples in R that are associated with EVERY tuple in relation S.

Computer Architecture & MicroprocessorsNot attempted

Q220. What is Cache Coherence problem in symmetric multiprocessing systems?

⚪ Status: You Skipped this question
Correct Answer: Option A (Inconsistency when multiple CPU cores cache different local copies of the same shared main memory location)
A
Inconsistency when multiple CPU cores cache different local copies of the same shared main memory location
Correct Answer
B
Cache overflow
C
RAM speed bottleneck
D
Disk controller error

Why: Cache coherence protocols (like MESI) ensure that when one CPU core writes to a cached location, other cores update or invalidate their copies.

Software Engineering & VerificationNot attempted

Q221. In software engineering, what is Requirement Traceability Matrix (RTM)?

⚪ Status: You Skipped this question
Correct Answer: Option A (A document linking client requirements with design artifacts and test cases to ensure complete test coverage)
A
A document linking client requirements with design artifacts and test cases to ensure complete test coverage
Correct Answer
B
A list of developer salaries
C
A database ER diagram
D
A git commit log

Why: RTM traces every requirement from SRS document through system architecture down to unit test verification.

Theory of Computation & GrammarsNot attempted

Q222. What is a Deterministic Pushdown Automaton (DPDA)?

⚪ Status: You Skipped this question
Correct Answer: Option A (A pushdown automaton where each (state, input symbol, stack top) configuration has AT MOST one transition)
A
A pushdown automaton where each (state, input symbol, stack top) configuration has AT MOST one transition
Correct Answer
B
An automaton with no stack
C
A Turing machine
D
An NFA with epsilon transitions

Why: DPDAs recognize Deterministic Context-Free Languages (DCFLs), which form a strict subset of all CFLs.

Compiler Design & Intermediate CodeNot attempted

Q223. In compiler construction, what is a Directed Acyclic Graph (DAG) used for in basic block optimization?

⚪ Status: You Skipped this question
Correct Answer: Option A (To identify common subexpressions, eliminate dead code, and reorder basic block statements)
A
To identify common subexpressions, eliminate dead code, and reorder basic block statements
Correct Answer
B
To scan input characters into tokens
C
To allocate heap memory
D
To perform link editing

Why: DAG construction detects duplicate computations inside a basic block, replacing redundant instructions with shared DAG nodes.

Computer Networks & SubnettingNot attempted

Q224. Which transport protocol provides connection-oriented, reliable, ordered data delivery with flow control?

⚪ Status: You Skipped this question
Correct Answer: Option A (TCP (Transmission Control Protocol))
A
TCP (Transmission Control Protocol)
Correct Answer
B
UDP (User Datagram Protocol)
C
IP (Internet Protocol)
D
ICMP

Why: TCP guarantees reliable byte-stream delivery using sequence numbers, acknowledgements, sliding window flow control, and retransmissions.

Operating Systems & Disk SchedulingNot attempted

Q225. What is a Mutual Exclusion Lock (Mutex)?

⚪ Status: You Skipped this question
Correct Answer: Option A (A locking mechanism used to synchronize access to a resource, locking out all other threads while owned)
A
A locking mechanism used to synchronize access to a resource, locking out all other threads while owned
Correct Answer
B
A hardware CPU instruction counter
C
A database backup file
D
A network IP packet header

Why: A Mutex (binary lock) allows only one thread to lock and enter critical section at a time. Must be unlocked by the owner thread.

Data Structures & HashingNot attempted

Q226. What is the topological sort ordering of a Directed Acyclic Graph (DAG)?

⚪ Status: You Skipped this question
Correct Answer: Option A (Linear ordering of vertices such that for every directed edge (u, v), vertex u comes before v)
A
Linear ordering of vertices such that for every directed edge (u, v), vertex u comes before v
Correct Answer
B
Sorting vertices alphabetically
C
Sorting by vertex degree
D
DFS discovery order

Why: Topological Sort orders tasks respecting dependencies. Only exists for Directed Acyclic Graphs (DAGs).

Database Systems & Transaction IsolationNot attempted

Q227. In transaction processing, what does the Write-Ahead Logging (WAL) protocol dictate?

⚪ Status: You Skipped this question
Correct Answer: Option A (Log records describing a data modification MUST be written to stable storage BEFORE the actual data is flushed to disk)
A
Log records describing a data modification MUST be written to stable storage BEFORE the actual data is flushed to disk
Correct Answer
B
Data must be written before log
C
Logs are kept only in RAM
D
No log is created

Why: WAL guarantees Atomicity and Durability by ensuring UNDO/REDO logs hit non-volatile disk prior to dirty database pages.

Computer Architecture & MicroprocessorsNot attempted

Q228. In Computer Organization, what is a RISC Superscalar Architecture?

⚪ Status: You Skipped this question
Correct Answer: Option A (Processor architecture capable of issuing and executing multiple independent instructions simultaneously per clock cycle using parallel execution pipelines)
A
Processor architecture capable of issuing and executing multiple independent instructions simultaneously per clock cycle using parallel execution pipelines
Correct Answer
B
Single instruction execution per 10 clock cycles
C
Software emulation mode
D
Microcoded ROM execution

Why: Superscalar CPUs duplicate execution units (ALUs, FPUs) allowing CPI < 1 by executing 2 or more instructions in parallel per clock cycle.

Software Engineering & VerificationNot attempted

Q229. In software engineering, what is Equivalence Partitioning in Black Box Testing?

⚪ Status: You Skipped this question
Correct Answer: Option A (Dividing input domain into classes of data from which test cases can be derived, assuming all items in a class behave identically)
A
Dividing input domain into classes of data from which test cases can be derived, assuming all items in a class behave identically
Correct Answer
B
Testing source code lines
C
Executing all loops 10 times
D
Sorting test cases alphabetically

Why: Equivalence Partitioning reduces total test case count by picking 1 representative value from each valid/invalid input group.

Theory of Computation & GrammarsNot attempted

Q230. What is the Church-Turing Thesis?

⚪ Status: You Skipped this question
Correct Answer: Option A (Hypothesis stating that any effectively calculable function can be computed by a Turing Machine)
A
Hypothesis stating that any effectively calculable function can be computed by a Turing Machine
Correct Answer
B
Proof that P = NP
C
Theorem proving finite automata equals Turing machines
D
Rule of compiler optimization

Why: The Church-Turing Thesis asserts that the informal notion of an algorithm/computation is precisely captured by Turing Machines.

Compiler Design & Intermediate CodeNot attempted

Q231. What is Syntax-Directed Translation (SDT)?

⚪ Status: You Skipped this question
Correct Answer: Option A (Attaching semantic actions/attributes to grammar production rules to perform translation during parsing)
A
Attaching semantic actions/attributes to grammar production rules to perform translation during parsing
Correct Answer
B
Translating C code to HTML
C
Formatting code spacing
D
Scanning tokens

Why: SDT associates semantic routines with CFG rules so that when a rule is reduced during parsing, its action executes to build intermediate code.

Computer Networks & SubnettingNot attempted

Q232. What is the maximum data rate of a noiseless 4 kHz channel carrying 4-level signals according to Nyquist Theorem?

⚪ Status: You Skipped this question
Correct Answer: Option A (16,000 bps (16 kbps))
A
16,000 bps (16 kbps)
Correct Answer
B
8,000 bps (8 kbps)
C
4,000 bps (4 kbps)
D
32,000 bps (32 kbps)

Why: Nyquist Bit Rate = 2 * Bandwidth * log₂(V) = 2 * 4000 * log₂(4) = 8000 * 2 = 16,000 bps = 16 kbps.

Operating Systems & Disk SchedulingNot attempted

Q233. What is the Reader-Writer Problem in Operating Systems?

⚪ Status: You Skipped this question
Correct Answer: Option A (Synchronization problem ensuring multiple readers can read concurrently, but a writer must have exclusive access)
A
Synchronization problem ensuring multiple readers can read concurrently, but a writer must have exclusive access
Correct Answer
B
Keyboard buffer overflow
C
Hard disk bad sector problem
D
Printer queue jam

Why: Reader-Writer problem allows simultaneous reads (shared lock) but restricts write access (exclusive lock) to prevent data corruption.

Data Structures & HashingNot attempted

Q234. What is Prim's algorithm used for in Graph Theory?

⚪ Status: You Skipped this question
Correct Answer: Option A (Finding Minimum Spanning Tree (MST) of a weighted connected graph starting from an arbitrary root node)
A
Finding Minimum Spanning Tree (MST) of a weighted connected graph starting from an arbitrary root node
Correct Answer
B
Finding shortest path between all pairs
C
Topological sorting
D
Finding connected components

Why: Prim's algorithm grows a single minimum spanning tree node-by-node by adding the cheapest edge connecting tree to non-tree nodes.

Database Systems & Transaction IsolationNot attempted

Q235. What is a Surrogate Key in relational database design?

⚪ Status: You Skipped this question
Correct Answer: Option A (An artificially generated system-wide unique identifier (e.g. auto-increment integer ID) with no business meaning)
A
An artificially generated system-wide unique identifier (e.g. auto-increment integer ID) with no business meaning
Correct Answer
B
A composite primary key
C
A natural social security number
D
A foreign key pointing to itself

Why: Surrogate keys (like auto-increment IDs or UUIDs) are synthetic primary keys introduced when natural keys are complex or prone to change.

Computer Architecture & MicroprocessorsNot attempted

Q236. In Flynn's Taxonomy of Computer Architecture, what does SIMD stand for?

⚪ Status: You Skipped this question
Correct Answer: Option A (Single Instruction Multiple Data)
A
Single Instruction Multiple Data
Correct Answer
B
Sequential Instruction Multi Drive
C
System Integrated Memory Device
D
Shared Instruction Matrix Processor

Why: SIMD architecture (used in GPUs and vector extensions like SSE/AVX) executes 1 instruction across multiple data streams simultaneously.

Software Engineering & VerificationNot attempted

Q237. In software engineering, what is the main purpose of Software Configuration Management (SCM)?

⚪ Status: You Skipped this question
Correct Answer: Option A (Tracking, controlling, and managing changes to code, artifacts, and documentation across software versions)
A
Tracking, controlling, and managing changes to code, artifacts, and documentation across software versions
Correct Answer
B
Buying hardware servers
C
Writing user manuals
D
Testing SQL queries

Why: SCM tools (like Git, SVN) maintain baseline configurations, branch management, and revision history across releases.

Theory of Computation & GrammarsNot attempted

Q238. Which of the following decision problems is UNDECIDABLE for Context-Free Grammars?

⚪ Status: You Skipped this question
Correct Answer: Option A (Is L(G1) ∩ L(G2) = ∅? (Disjointness problem for two CFGs))
A
Is L(G1) ∩ L(G2) = ∅? (Disjointness problem for two CFGs)
Correct Answer
B
Is string w in L(G)? (Membership problem)
C
Is L(G) = ∅? (Emptiness problem)
D
Is L(G) infinite? (Finiteness problem)

Why: For Context-Free Grammars, checking if their intersection is empty is UNDECIDABLE (proven via Post Correspondence Problem reduction). Membership, emptiness, and finiteness are decidable for CFGs.

Compiler Design & Intermediate CodeNot attempted

Q239. What is an Activation Record (Stack Frame) in runtime environment management?

⚪ Status: You Skipped this question
Correct Answer: Option A (A contiguous block of stack memory allocated upon a function call storing parameters, local variables, return address, and saved registers)
A
A contiguous block of stack memory allocated upon a function call storing parameters, local variables, return address, and saved registers
Correct Answer
B
A global heap memory block
C
A CPU register file
D
A disk swap block

Why: Each function execution creates an Activation Record on the runtime call stack containing return address, local data, and control links.

Computer Networks & SubnettingNot attempted

Q240. In Computer Networks, what is the Maximum Segment Size (MSS) in TCP header negotiation?

⚪ Status: You Skipped this question
Correct Answer: Option A (Largest amount of TCP payload data (in bytes) a host can receive in a single unfragmented segment)
A
Largest amount of TCP payload data (in bytes) a host can receive in a single unfragmented segment
Correct Answer
B
Total size of IP header
C
Size of Ethernet MAC frame
D
Maximum ping round trip time

Why: MSS = MTU - (IP Header + TCP Header). For standard Ethernet MTU 1500 bytes: MSS = 1500 - 20 - 20 = 1460 bytes.

UPPSC Polytechnic Computer Lecturer Verified PYQ Mock Test | LastDayPrep