🖥️ GATE CS Question Bank & Mock Arena
Isolated strictly to GATE Computer Science & Information Technology — pick a unit below or launch a timed CBT mock.
Which sorting algorithm guarantees the minimum worst-case number of element swaps ( writes) when writing to flash/EEPROM memory is expensive?
In an IPv4 network using subnet mask 255.255.255.224 (/27), how many usable host IP addresses exist per subnet?
What is the chromatic number (minimum vertex colors so no adjacent vertices share a color) of an odd cycle graph on vertices?
How many Multiplexers (without any external gates) are required to construct a Multiplexer tree?
A Ethernet LAN segment using CSMA/CD has a one-way propagation delay of . What is the minimum Ethernet frame size (in Bytes) needed to guarantee collision detection while transmitting?
What is the minimum number of comparisons needed in the worst case to find BOTH the minimum and maximum of distinct numbers using pairwise tournament pairing?
Relation has functional dependencies . What is the highest Normal Form satisfied by ?
Which of the following decision problems is DECIDABLE?
A C program executes fork(); fork(); fork(); sequentially without conditionals. How many new child processes are created (excluding the original parent)?
A counting semaphore is initialized to . Subsequently, wait(P) operations and signal(V) operations are executed on . What is the final value of ?
A Selective Repeat (SR) sliding window protocol uses a 4-bit sequence number (). What is the maximum permissible sender window size to avoid sequence-number wrap-around ambiguity?
A TCP connection has current congestion window cwnd = 32 MSS and ssthresh = 24 MSS. Suppose 3 Duplicate ACKs arrive (triggering TCP Reno Fast Retransmit / Fast Recovery, NOT a timeout). What are the new ssthresh and cwnd (after fast recovery)?
In a standard 5-stage RISC pipeline (IF, ID, EX, MEM, WB) equipped with full ALU/MEM operand forwarding, how many stall cycles (bubbles) are required between LW R1, 0(R2) followed immediately by ADD R3, R1, R4?
A 5-stage pipelined processor (IF, ID, EX, MEM, WB) has stage delays of and respectively, and each inter-stage pipeline latch adds a setup delay. What is the minimum clock cycle time of the pipelined CPU?
letters are placed uniformly at random into addressed envelopes ( letter per envelope). What is the expected number of letters that land in their correct envelope?
Suppose language is known to be Undecidable and we construct a computable many-one reduction . What can we conclude with certainty about ?
Let be a Context-Free Language (CFL) and be a Regular Language over . Which of the following languages are GUARANTEED to be Context-Free?
A high-speed TCP connection transmits continuously at (). In how many seconds does the -bit TCP sequence number space () wrap around completely?
A Token Bucket shaper has bucket capacity , token refill rate , and maximum output link rate . Starting with a full bucket, what is the maximum burst duration in milliseconds during which the output can transmit continuously at ?
Which of the following statements regarding Database Concurrency & Crash Recovery are ALWAYS TRUE?