- Home
- MCQs by exam
- GATE CS
GATE CS MCQs · Page 5
151 multiple choice questions typical of the GATE CS exam, with answers and explanations. Switch on practice mode to test yourself first.
-
A
Naive Recursion
-
B
Dynamic Programming
Correct answer
-
C
Greedy Algorithm
-
D
Divide and Conquer
-
A
Deadlock avoidance
Correct answer
-
B
Deadlock detection
-
C
Deadlock prevention
-
D
Memory management
-
A
Segment Tree
-
B
Sparse Table
Correct answer
-
C
Fenwick Tree
-
D
Binary Indexed Tree
-
A
UDP
-
B
TCP
Correct answer
-
C
IP
-
D
ICMP
-
A
Type 0
-
B
Type 1
Correct answer
-
C
Type 2
-
D
Type 3
-
A
Brute Force
-
B
Hungarian Algorithm
Correct answer
-
C
Simplex Algorithm
-
D
Branch and Bound
-
A
Open-Closed Principle
-
B
Single Responsibility Principle
Correct answer
-
C
Liskov Substitution Principle
-
D
Interface Segregation Principle
-
A
Paxos
-
B
PBFT
Correct answer
-
C
Raft
-
D
Two-Phase Commit
-
A
B-tree
-
B
R-tree
Correct answer
-
C
Quad-tree
-
D
Octree
-
A
Constant folding
-
B
Common subexpression elimination
Correct answer
-
C
Loop invariant code motion
-
D
Dead code elimination
-
A
Adaptive learning rates
Correct answer
-
B
Gradient clipping
-
C
Regularization
-
D
Batch normalization
-
A
Naive String Matching
-
B
Knuth-Morris-Pratt Algorithm
Correct answer
-
C
Rabin-Karp Algorithm
-
D
Boyer-Moore Algorithm
-
A
Resource holding by low-priority task
Correct answer
-
B
Deadlock situation
-
C
Starvation of low-priority tasks
-
D
Context switching overhead
-
A
Schoolbook Multiplication
-
B
Karatsuba Algorithm
Correct answer
-
C
Toom-Cook Algorithm
-
D
Schönhage-Strassen Algorithm
-
A
Read Uncommitted
-
B
Read Committed
Correct answer
-
C
Repeatable Read
-
D
Serializable
-
A
Cook-Levin Theorem
-
B
Razborov's Theorem
Correct answer
-
C
Savitch's Theorem
-
D
Ladner's Theorem
-
A
Jarvis March
-
B
Graham's Scan
Correct answer
-
C
Quickhull
-
D
Chan's Algorithm
-
A
Saltzer-Schroeder Principle
-
B
Kerckhoffs's Principle
Correct answer
-
C
Principle of Least Privilege
-
D
Defense in Depth
-
A
Regular Pumping Lemma
-
B
Context-Free Pumping Lemma
Correct answer
-
C
Context-Sensitive Pumping Lemma
-
D
Recursively Enumerable Pumping Lemma
-
A
Kruskal's Algorithm
-
B
Prim's Algorithm
Correct answer
-
C
Borůvka's Algorithm
-
D
Reverse-Delete Algorithm
-
A
Long-term key compromise
Correct answer
-
B
Session key compromise
-
C
Man-in-the-middle attacks
-
D
Replay attacks
-
A
Persistent data structures
Correct answer
-
B
Immutable data structures
-
C
Mutable data structures
-
D
Ephemeral data structures
-
A
Paxos
-
B
Two-Phase Commit
Correct answer
-
C
Raft
-
D
Byzantine Agreement
-
A
Church-Turing Thesis
-
B
Gödel's Incompleteness Theorem
Correct answer
-
C
Rice's Theorem
-
D
CAP Theorem
-
A
Vanishing gradients
-
B
Internal covariate shift
Correct answer
-
C
Overfitting
-
D
Underfitting