Result SummaryDetailed Review
Memory ManagementNot attempted

Q1. A computer has 128 MB memory and each word is 8 bytes. How many bits are required to address a single word?

⚪ Status: You Skipped this question
Correct Answer: Option B (24 bits)
A
27 bits
B
24 bits
Correct Answer
C
23 bits
D
25 bits

Why: Memory size = 128 MB = 2²⁷ bytes. Word size = 8 bytes = 2³ bytes. Total number of words = 2²⁷ / 2³ = 2²⁴ words. Therefore, 24 bits are required to uniquely address each word.

Memory ManagementNot attempted

Q2. For a processor with 5 ns cache-hit time, 50 ns cache-miss time, and 80% hit rate, what is the average read access time?

⚪ Status: You Skipped this question
Correct Answer: Option B (14 ns)
A
10 ns
B
14 ns
Correct Answer
C
4 ns
D
12 ns

Why: Average Access Time = (Hit Rate × Hit Time) + (Miss Rate × Miss Time) = (0.80 × 5) + (0.20 × 50) = 4 ns + 10 ns = 14 ns.

Memory ManagementNot attempted

Q3. In memory management, page size depends primarily on which factor?

⚪ Status: You Skipped this question
Correct Answer: Option B (Architecture of Machine)
A
Operating System
B
Architecture of Machine
Correct Answer
C
Internal Memory size
D
External Memory size

Why: Page size is determined by the underlying hardware architecture (MMU and CPU design), not by the operating system software.

Memory ManagementNot attempted

Q4. A memory-resident virus is also called what?

⚪ Status: You Skipped this question
Correct Answer: Option A (Stealth virus)
A
Stealth virus
Correct Answer
B
Multipartite virus
C
Trojan virus
D
Zombie virus

Why: A memory-resident virus installs itself into system RAM and modifies system interrupt vectors to hide its presence, making it a Stealth Virus.

Memory ManagementNot attempted

Q5. What is the restriction on page size for the indirect-addressing case described in paging theory?

⚪ Status: You Skipped this question
Correct Answer: Option B (Page-size ≤ 2^(k−1))
A
Page-size ≤ 2^k
B
Page-size ≤ 2^(k−1)
Correct Answer
C
Page-size ≥ 2^k
D
Page-size ≥ 2^(k−1)

Why: In indirect addressing schemes within paging hardware, to ensure valid multi-level pointer offsets without ambiguity, the page size must satisfy Page-size ≤ 2^(k-1).

Operating SystemsNot attempted

Q6. Which page-replacement algorithm requires knowledge of future page references?

⚪ Status: You Skipped this question
Correct Answer: Option D (Optimal Page Replacement)
A
FIFO (First-In, First-Out)
B
LRU (Least Recently Used)
C
Second Chance Algorithm
D
Optimal Page Replacement
Correct Answer

Why: The Optimal Page Replacement algorithm (OPT) replaces the page that will not be used for the longest period of time in the future. Because it requires knowledge of future reference string, it is theoretical and used as a benchmark.

Operating SystemsNot attempted

Q7. Which of these is NOT an Operating System function?

⚪ Status: You Skipped this question
Correct Answer: Option B (Virus Protection)
A
Memory Management
B
Virus Protection
Correct Answer
C
Process Management
D
Processor Management

Why: Virus protection is performed by third-party antivirus utility software. Memory management, Process management, and Processor management are fundamental core OS functions.

Operating SystemsNot attempted

Q8. Which scheduling algorithm is designed especially for time-sharing systems?

⚪ Status: You Skipped this question
Correct Answer: Option C (Round Robin (RR))
A
First in First out (FIFO)
B
Last in First out (LIFO)
C
Round Robin (RR)
Correct Answer
D
Shortest Job First (SJF)

Why: Round Robin scheduling assigns a fixed time quantum to each process in a cyclic order, making it ideally suited for interactive multi-user time-sharing environments.

Operating SystemsNot attempted

Q9. Under which scheduling policy does preemptive context switching NOT occur?

⚪ Status: You Skipped this question
Correct Answer: Option D (First-Come-First-Serve (FCFS))
A
Round Robin
B
Shortest Remaining Time First (SRTF)
C
Preemptive Priority Scheduling
D
First-Come-First-Serve (FCFS)
Correct Answer

Why: FCFS is strictly a non-preemptive scheduling policy: once the CPU has been allocated to a process, that process keeps the CPU until it releases it.

Operating SystemsNot attempted

Q10. Which system call loads/replaces the current process image with an executable binary?

⚪ Status: You Skipped this question
Correct Answer: Option B (exec())
A
fork()
B
exec()
Correct Answer
C
ioctl()
D
longjmp()

Why: The exec() family of functions replaces the current process image with a new process image loaded from a specified binary file.

Operating SystemsNot attempted

Q11. A blocked process that has completed its I/O operation moves to which state?

⚪ Status: You Skipped this question
Correct Answer: Option B (Ready state)
A
Running state
B
Ready state
Correct Answer
C
Suspended state
D
Terminated state

Why: When a waiting/blocked process completes its I/O event, it transitions to the Ready state, joining the ready queue until the CPU scheduler selects it.

Operating SystemsNot attempted

Q12. A system has 3 processes, 4 resource units, and each process may need at most 2 units. Deadlock under the stated conditions:

⚪ Status: You Skipped this question
Correct Answer: Option A (Can never occur)
A
Can never occur
Correct Answer
B
May occur
C
Has to occur
D
None of the above

Why: Condition for guaranteed deadlock freedom: R ≥ N × (Max - 1) + 1. Here N=3 processes, Max=2 resources/process. Minimum R needed = 3 × (2 - 1) + 1 = 4. Since 4 units are available, deadlock can NEVER occur.

Computer NetworksNot attempted

Q13. On a 19.2 kbps asynchronous line, with 7 data bits, 1 parity bit, 1 start bit and 1 stop bit per character, what is the maximum characters per second?

⚪ Status: You Skipped this question
Correct Answer: Option C (1920)
A
192
B
240
C
1920
Correct Answer
D
1966

Why: Total bits transmitted per character = 7 + 1 + 1 + 1 = 10 bits/char. Bit rate = 19.2 kbps = 19,200 bits per second. Max characters/sec = 19,200 / 10 = 1920 cps.

Computer NetworksNot attempted

Q14. Which routing-protocol type uses the Shortest Path First algorithm?

⚪ Status: You Skipped this question
Correct Answer: Option B (Link state routing)
A
Distance vector routing
B
Link state routing
Correct Answer
C
Hybrid routing
D
Sliding window

Why: Link State routing protocols (e.g., OSPF, IS-IS) collect topology information from all routers and apply Dijkstra's Shortest Path First (SPF) algorithm to calculate the optimal path.

Computer NetworksNot attempted

Q15. A UDP server and a TCP server each maintain 100 client sessions. How many sockets do they use respectively?

⚪ Status: You Skipped this question
Correct Answer: Option D (1, 101)
A
100, 100
B
100, 1
C
1, 100
D
1, 101
Correct Answer

Why: UDP is connectionless; a single socket receives datagrams from all 100 clients (1 socket). TCP is connection-oriented; it needs 1 listening socket + 100 dedicated connected sockets = 101 sockets.

Computer NetworksNot attempted

Q16. If a TCP receiver advertises 20 kB and the congestion window is 10 kB, what sender window should be used?

⚪ Status: You Skipped this question
Correct Answer: Option C (10 KB)
A
30 KB
B
20 KB
C
10 KB
Correct Answer
D
10 or 20 KB

Why: Effective Transmission Window = min(Receiver Window, Congestion Window) = min(20 KB, 10 KB) = 10 KB to prevent network congestion or receiver buffer overflow.

Computer NetworksNot attempted

Q17. For a noiseless channel of 1000 Hz bandwidth with two signal levels, what is the maximum bit rate?

⚪ Status: You Skipped this question
Correct Answer: Option A (2000 bps)
A
2000 bps
Correct Answer
B
2000 kbps
C
1000 bps
D
1000 kbps

Why: Using Nyquist Bit Rate Formula: Bit Rate = 2 × Bandwidth × log₂(Levels) = 2 × 1000 × log₂(2) = 2000 bps.

Data StructuresNot attempted

Q18. Which data structure follows the Last-In-First-Out (LIFO) order of operation?

⚪ Status: You Skipped this question
Correct Answer: Option B (Stack)
A
Queue
B
Stack
Correct Answer
C
Tree
D
Array

Why: A Stack operates on the LIFO principle, where elements pushed last are popped first (e.g. call stack, undo operations). Queue operates on FIFO.

Data StructuresNot attempted

Q19. What is the worst-case time complexity of QuickSort algorithm?

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

Why: QuickSort worst case occurs when the chosen pivot is always the smallest or largest element (e.g. sorted array with bad pivot), leading to O(n²) time complexity.

Data StructuresNot attempted

Q20. In a binary search tree (BST), which traversal produces sorted elements in ascending order?

⚪ Status: You Skipped this question
Correct Answer: Option B (In-order traversal)
A
Pre-order traversal
B
In-order traversal
Correct Answer
C
Post-order traversal
D
Level-order traversal

Why: In-order traversal (Left, Root, Right) of a Binary Search Tree visits nodes in strictly sorted ascending numerical key order.

Data StructuresNot attempted

Q21. Minimum number of queues required to implement a priority queue efficiently is:

⚪ Status: You Skipped this question
Correct Answer: Option C (Equal to priority levels)
A
1
B
2
C
Equal to priority levels
Correct Answer
D
None of the above

Why: If using simple FIFO queues to implement fixed priority queueing, one queue per distinct priority level is required.

Database Systems (DBMS)Not attempted

Q22. Which normal form is based on the concept of full functional dependency?

⚪ Status: You Skipped this question
Correct Answer: Option B (2NF)
A
1NF
B
2NF
Correct Answer
C
3NF
D
BCNF

Why: A relation is in 2NF if it is in 1NF and no non-prime attribute is partially dependent on any candidate key (i.e. full functional dependency required).

Database Systems (DBMS)Not attempted

Q23. In SQL, which command is used to remove a table along with its structure and data from a database?

⚪ Status: You Skipped this question
Correct Answer: Option C (DROP TABLE)
A
DELETE TABLE
B
REMOVE TABLE
C
DROP TABLE
Correct Answer
D
TRUNCATE TABLE

Why: DROP TABLE removes the entire table definition, constraints, and rows. DELETE removes rows matching criteria. TRUNCATE removes all rows keeping schema structure.

Database Systems (DBMS)Not attempted

Q24. ACID properties of a transaction stand for:

⚪ Status: You Skipped this question
Correct Answer: Option A (Atomicity, Consistency, Isolation, Durability)
A
Atomicity, Consistency, Isolation, Durability
Correct Answer
B
Availability, Consistency, Integrity, Durability
C
Atomicity, Concurrency, Isolation, Durability
D
Authentication, Consistency, Isolation, Data

Why: ACID stands for Atomicity (all or nothing), Consistency (preserves invariants), Isolation (transactions execution independent), and Durability (committed changes persist).

Database Systems (DBMS)Not attempted

Q25. Which lock type allows multiple transactions to read a data item concurrently but prevents write operations?

⚪ Status: You Skipped this question
Correct Answer: Option B (Shared lock (S))
A
Exclusive lock (X)
B
Shared lock (S)
Correct Answer
C
Intent lock (I)
D
Update lock (U)

Why: Shared locks (S) permit multiple transactions to read a resource simultaneously. Exclusive locks (X) grant sole read/write access to a single transaction.

Computer Architecture (COA)Not attempted

Q26. Which addressing mode is used in instructions like 'MOV A, @R0' where operand address is held in a register?

⚪ Status: You Skipped this question
Correct Answer: Option C (Register indirect addressing mode)
A
Immediate addressing mode
B
Register direct addressing mode
C
Register indirect addressing mode
Correct Answer
D
Relative addressing mode

Why: In Register Indirect mode, the instruction specifies a register that contains the memory address of the operand (indicated by @ or parentheses).

Computer Architecture (COA)Not attempted

Q27. DMA (Direct Memory Access) transfer is controlled by which component?

⚪ Status: You Skipped this question
Correct Answer: Option B (DMA Controller)
A
CPU
B
DMA Controller
Correct Answer
C
ALU
D
Program Counter

Why: DMA Controller takes control of system buses from the CPU to transfer block data directly between I/O device and main RAM without CPU intervention.

Computer Architecture (COA)Not attempted

Q28. How many selection lines are required for a 32-to-1 Multiplexer (MUX)?

⚪ Status: You Skipped this question
Correct Answer: Option B (5 lines)
A
4 lines
B
5 lines
Correct Answer
C
32 lines
D
16 lines

Why: For a 2^n to 1 multiplexer, n selection lines are required. Since 32 = 2⁵, exactly 5 selection lines are required.

Software EngineeringNot attempted

Q29. Which software development lifecycle model is best suited for projects with high risk and evolving requirements?

⚪ Status: You Skipped this question
Correct Answer: Option B (Spiral Model)
A
Waterfall Model
B
Spiral Model
Correct Answer
C
V-Model
D
Big Bang Model

Why: The Spiral Model combines iterative prototyping with systematic risk analysis at each cycle, making it optimal for high-risk software projects.

Software EngineeringNot attempted

Q30. Coupling between software modules measures what characteristic?

⚪ Status: You Skipped this question
Correct Answer: Option A (Inter-dependence between modules)
A
Inter-dependence between modules
Correct Answer
B
Intra-dependence within a single module
C
Execution speed of a module
D
Line of code in a module

Why: Coupling measures the degree of interdependence between different software modules (low coupling is desired). Cohesion measures intra-module strength.

Software EngineeringNot attempted

Q31. Cyclomatic Complexity of a software module with 10 edges (E) and 7 nodes (N) is:

⚪ Status: You Skipped this question
Correct Answer: Option A (5)
A
5
Correct Answer
B
4
C
3
D
17

Why: Cyclomatic Complexity V(G) = E - N + 2P. For a single program connected graph (P=1): V(G) = 10 - 7 + 2 = 5.

Operating SystemsNot attempted

Q32. Which machine is capable of recognizing Context-Sensitive Languages (CSL)?

⚪ Status: You Skipped this question
Correct Answer: Option C (Linear Bounded Automata (LBA))
A
Finite Automata
B
Pushdown Automata
C
Linear Bounded Automata (LBA)
Correct Answer
D
Turing Machine only

Why: Linear Bounded Automata (LBA) is a restricted Turing Machine that recognizes Context-Sensitive Languages (Type-1 grammar in Chomsky hierarchy).

Computer Architecture (COA)Not attempted

Q33. The lexical analysis phase of a compiler produces which output?

⚪ Status: You Skipped this question
Correct Answer: Option B (Stream of Tokens)
A
Parse Tree
B
Stream of Tokens
Correct Answer
C
Intermediate Code
D
Object Code

Why: Lexical Analyzer (Scanner) reads source characters and groups them into meaningful token sequences (keywords, identifiers, operators).

Memory ManagementNot attempted

Q34. In virtual memory system, TLB stands for:

⚪ Status: You Skipped this question
Correct Answer: Option A (Translation Lookaside Buffer)
A
Translation Lookaside Buffer
Correct Answer
B
Table Lookaside Buffer
C
Transformation Level Buffer
D
Temporary Logic Buffer

Why: TLB is a fast hardware memory cache used by MMU to reduce virtual address to physical address translation time.

Operating SystemsNot attempted

Q35. Banker's Algorithm in an operating system is used for:

⚪ Status: You Skipped this question
Correct Answer: Option B (Deadlock Avoidance)
A
Deadlock Prevention
B
Deadlock Avoidance
Correct Answer
C
Deadlock Detection
D
Deadlock Recovery

Why: Banker's Algorithm tests for safe states before allocating resources to avoid entering an unsafe state that could cause deadlock.

Data StructuresNot attempted

Q36. What is the worst-case space complexity of Depth First Search (DFS) on a tree of height h?

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

Why: DFS uses a recursion stack that grows to the maximum depth of the tree path, yielding O(h) space complexity.

Database Systems (DBMS)Not attempted

Q37. In relational algebra, which operator selects rows that satisfy a given predicate?

⚪ Status: You Skipped this question
Correct Answer: Option B (Selection (σ))
A
Projection (π)
B
Selection (σ)
Correct Answer
C
Cartesian Product (×)
D
Join (⋈)

Why: Selection (σ) filters tuple rows matching a boolean condition. Projection (π) selects specific columns/attributes.

Software EngineeringNot attempted

Q38. Black box testing techniques primarily test which aspect of software?

⚪ Status: You Skipped this question
Correct Answer: Option B (Functional requirements & inputs/outputs)
A
Internal logic & source code paths
B
Functional requirements & inputs/outputs
Correct Answer
C
Database schema normalization
D
CPU register usage

Why: Black box testing examines functional system behavior against specified requirements without examining underlying code structure.

Computer Architecture (COA)Not attempted

Q39. A 4-stage instruction pipeline has stage delays of 10ns, 20ns, 12ns, and 15ns. What is the minimum clock cycle time?

⚪ Status: You Skipped this question
Correct Answer: Option C (20 ns)
A
10 ns
B
15 ns
C
20 ns
Correct Answer
D
57 ns

Why: Clock cycle time of a pipeline is bounded by the slowest stage delay + overhead. Maximum stage delay = max(10, 20, 12, 15) = 20 ns.

Computer NetworksNot attempted

Q40. Which MAC layer mechanism is used in Wi-Fi (IEEE 802.11) wireless networks for collision management?

⚪ Status: You Skipped this question
Correct Answer: Option B (CSMA/CA)
A
CSMA/CD
B
CSMA/CA
Correct Answer
C
ALOHA
D
Token Ring

Why: Wi-Fi networks use CSMA/CA (Collision Avoidance) because wireless transceivers cannot detect collisions while transmitting.

Theory of Computation (TOC)Not attempted

Q41. Which class of formal languages is closed under union, intersection, complementation, concatenation, and Kleene star?

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

Why: Regular languages are closed under all boolean and set operations: Union, Intersection, Complementation, Concatenation, Reversal, and Kleene Star.

Theory of Computation (TOC)Not attempted

Q42. Regular Expressions can be parsed and recognized using which class of automaton?

⚪ Status: You Skipped this question
Correct Answer: Option B (Finite State Automaton (DFA/NFA))
A
Pushdown Automaton (PDA)
B
Finite State Automaton (DFA/NFA)
Correct Answer
C
Linear Bounded Automaton (LBA)
D
Turing Machine

Why: According to Kleene's Theorem, every regular expression can be converted into a Deterministic or Nondeterministic Finite Automaton.

Compiler DesignNot attempted

Q43. How does an LALR(1) parser differ from an LR(1) parser during construction?

⚪ Status: You Skipped this question
Correct Answer: Option A (LALR(1) merges LR(1) states that have identical core items)
A
LALR(1) merges LR(1) states that have identical core items
Correct Answer
B
LALR(1) has significantly more states than LR(1)
C
LALR(1) uses 2 lookahead symbols instead of 1
D
LALR(1) parses bottom-up whereas LR(1) parses top-down

Why: LALR(1) combines LR(1) states with identical production cores by merging their lookaheads, reducing the total state count to equal SLR(1) state count.

Compiler DesignNot attempted

Q44. Which intermediate code form explicitly specifies at most three memory addresses (two operands, one result) per instruction?

⚪ Status: You Skipped this question
Correct Answer: Option B (Three-Address Code (TAC))
A
Abstract Syntax Tree
B
Three-Address Code (TAC)
Correct Answer
C
Postfix Notation
D
Directed Acyclic Graph (DAG)

Why: Three-Address Code (TAC) consists of quadruples/triples where each instruction contains at most 3 addresses, e.g., t1 = a + b.

Computer Architecture (COA)Not attempted

Q45. In an instruction cycle with Indirect Addressing Mode, how many total memory accesses are needed to execute a data manipulation instruction?

⚪ Status: You Skipped this question
Correct Answer: Option C (3 memory accesses (1 for instruction, 1 for address, 1 for operand))
A
1 memory access
B
2 memory accesses (1 for instruction fetch, 1 for effective address)
C
3 memory accesses (1 for instruction, 1 for address, 1 for operand)
Correct Answer
D
0 memory accesses

Why: Indirect addressing requires 3 memory cycles: (1) Fetch the instruction from memory, (2) Fetch the effective address pointer from memory, (3) Fetch/write the actual operand data.

Computer Architecture (COA)Not attempted

Q46. In IEEE 754 single-precision 32-bit floating-point format, how many bits are assigned to Sign, Exponent, and Mantissa (Fraction)?

⚪ Status: You Skipped this question
Correct Answer: Option A (Sign: 1 bit, Exponent: 8 bits, Mantissa: 23 bits)
A
Sign: 1 bit, Exponent: 8 bits, Mantissa: 23 bits
Correct Answer
B
Sign: 1 bit, Exponent: 11 bits, Mantissa: 20 bits
C
Sign: 2 bits, Exponent: 8 bits, Mantissa: 22 bits
D
Sign: 1 bit, Exponent: 7 bits, Mantissa: 24 bits

Why: IEEE 754 32-bit standard uses 1 sign bit (S), 8 biased exponent bits (E, bias=127), and 23 fraction/mantissa bits (M). Total = 1 + 8 + 23 = 32 bits.

Data StructuresNot attempted

Q47. What is the worst-case time complexity of building a Binary Heap (Build-Heap algorithm) from an unsorted array of n elements?

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

Why: Using bottom-up heapification starting from parent nodes (n/2 down to 1), the sum of heights simplifies to O(n) linear time.

Data StructuresNot attempted

Q48. In an AVL Tree, what is the balance factor constraint for every node x?

⚪ Status: You Skipped this question
Correct Answer: Option A (Balance Factor = Height(Left) - Height(Right) ∈ {-1, 0, +1})
A
Balance Factor = Height(Left) - Height(Right) ∈ {-1, 0, +1}
Correct Answer
B
Balance Factor = Height(Left) - Height(Right) = 0 only
C
Balance Factor = Height(Left) + Height(Right) ≤ 2
D
Balance Factor = Height(Left) / Height(Right) = 1

Why: An AVL Tree is a height-balanced binary search tree where the height difference between left and right subtrees of any node is at most 1 (i.e. -1, 0, or +1).

Database Systems (DBMS)Not attempted

Q49. Which Normal Form strictly requires the removal of Transitive Functional Dependencies X → Y where neither X is a super key?

⚪ Status: You Skipped this question
Correct Answer: Option C (Third Normal Form (3NF))
A
First Normal Form (1NF)
B
Second Normal Form (2NF)
C
Third Normal Form (3NF)
Correct Answer
D
Boyce-Codd Normal Form (BCNF)

Why: A table is in 3NF if it is in 2NF and no non-prime attribute is transitively dependent on the primary key.

Database Systems (DBMS)Not attempted

Q50. In transaction processing ACID properties, which property guarantees that committed changes persist even after subsequent system crashes?

⚪ Status: You Skipped this question
Correct Answer: Option D (Durability)
A
Atomicity
B
Consistency
C
Isolation
D
Durability
Correct Answer

Why: Durability guarantees that once a transaction has committed, its updates survive power failures or system crashes via write-ahead logging (WAL).

Computer NetworksNot attempted

Q51. In the IPv4 header, if the HLEN (Header Length) field value is 5, what is the actual header length in bytes?

⚪ Status: You Skipped this question
Correct Answer: Option C (20 bytes)
A
5 bytes
B
10 bytes
C
20 bytes
Correct Answer
D
40 bytes

Why: HLEN is represented in 4-bit words (32-bit units). Total bytes = HLEN value × 4 bytes = 5 × 4 = 20 bytes (the standard IPv4 minimum header size).

Computer NetworksNot attempted

Q52. Which TCP control flag is transmitted by a client to initiate a 3-Way Connection Handshake?

⚪ Status: You Skipped this question
Correct Answer: Option B (SYN)
A
ACK
B
SYN
Correct Answer
C
FIN
D
RST

Why: The 3-way handshake begins with client sending SYN, server replying with SYN-ACK, and client concluding with ACK.

Computer NetworksNot attempted

Q53. What is the Maximum Transmission Unit (MTU) payload size for a standard Ethernet frame (IEEE 802.3)?

⚪ Status: You Skipped this question
Correct Answer: Option C (1500 bytes)
A
64 bytes
B
512 bytes
C
1500 bytes
Correct Answer
D
9000 bytes

Why: Standard Ethernet MTU payload is 1500 bytes (excluding Ethernet header and FCS, making the total max frame size 1518 bytes).

Operating SystemsNot attempted

Q54. Belady's Anomaly refers to the counter-intuitive phenomenon where increasing physical page frames leads to:

⚪ Status: You Skipped this question
Correct Answer: Option B (More page faults in FIFO replacement algorithm)
A
Fewer page faults in Optimal algorithm
B
More page faults in FIFO replacement algorithm
Correct Answer
C
Lower CPU utilization in Round Robin
D
Deadlock occurrence in Banker's Algorithm

Why: Belady's Anomaly states that in First-In-First-Out (FIFO) page replacement, allocating more memory frames can increase total page faults for certain reference strings.

Operating SystemsNot attempted

Q55. What is the core function of a Translation Lookaside Buffer (TLB) in virtual memory hardware?

⚪ Status: You Skipped this question
Correct Answer: Option B (To cache recent Virtual Page Number to Physical Frame Number address translations)
A
To cache disk pages directly in CPU cache
B
To cache recent Virtual Page Number to Physical Frame Number address translations
Correct Answer
C
To schedule ready queue processes
D
To perform memory compaction

Why: TLB is a fast associative hardware cache that stores recent virtual-to-physical address mappings, bypassing page table lookups on TLB hits.

Operating SystemsNot attempted

Q56. Shortest Remaining Time First (SRTF) is the preemptive version of which CPU scheduling algorithm?

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

Why: SRTF continuously preempts the currently running process if a new process arrives with a shorter remaining burst time than the current job.

Software EngineeringNot attempted

Q57. What does Thomas McCabe's Cyclomatic Complexity metric measure in a control flow graph G with E edges, N nodes, and P connected components?

⚪ Status: You Skipped this question
Correct Answer: Option A (V(G) = E - N + 2P (Number of linearly independent paths))
A
V(G) = E - N + 2P (Number of linearly independent paths)
Correct Answer
B
V(G) = E + N - P (Number of statements)
C
V(G) = N - E + P (Total execution time)
D
V(G) = E * N (Data flow complexity)

Why: Cyclomatic complexity V(G) measures code structural complexity. For a single flow graph (P=1), V(G) = E - N + 2, or Predicate Nodes + 1.

Software EngineeringNot attempted

Q58. In Agile Software Development (Scrum), what is the main objective of the Sprint Retrospective meeting?

⚪ Status: You Skipped this question
Correct Answer: Option B (To inspect team processes and identify continuous improvements for the next sprint)
A
To demonstrate completed product features to clients
B
To inspect team processes and identify continuous improvements for the next sprint
Correct Answer
C
To assign individual code tasks for the next 6 months
D
To negotiate software licensing costs

Why: The Sprint Retrospective occurs at the end of a sprint to review what went well, what problems arose, and how the team can improve its workflow.

Memory ManagementNot attempted

Q59. In a paging system, page table entry contains valid/invalid bit. What does a '0' (invalid bit) indicate during address translation?

⚪ Status: You Skipped this question
Correct Answer: Option B (Page fault (page is currently not loaded in physical RAM))
A
Page is in main memory RAM
B
Page fault (page is currently not loaded in physical RAM)
Correct Answer
C
Page is read-only
D
Page belongs to kernel space

Why: An invalid bit (0) signals that the requested virtual page is either outside the process address space or currently stored on disk, triggering a Page Fault exception.

Database Systems (DBMS)Not attempted

Q60. What is the Lossless-Join condition when decomposing relation R into R1 and R2 with functional dependencies F?

⚪ Status: You Skipped this question
Correct Answer: Option A ((R1 ∩ R2) → R1 OR (R1 ∩ R2) → R2)
A
(R1 ∩ R2) → R1 OR (R1 ∩ R2) → R2
Correct Answer
B
(R1 ∪ R2) → R1
C
(R1 - R2) → R2
D
(R1 × R2) = R

Why: Decomposition into R1 and R2 is lossless if and only if the common attributes (R1 ∩ R2) functionally determine either R1 or R2.

UPPSC Polytechnic Computer Lecturer Verified PYQ Mock Test | LastDayPrep