- Home
- MCQs by exam
- GATE CS
GATE CS MCQs · Page 3
151 multiple choice questions typical of the GATE CS exam, with answers and explanations. Switch on practice mode to test yourself first.
-
A
ALTER
-
B
ROLLBACK
-
C
DROP
-
D
TRUNCATE
Correct answer
-
A
Exactly 4.00
-
B
About 1.30
-
C
About 1.43
Correct answer
-
D
About 1.60
-
A
−127 to +127
-
B
−256 to +255
-
C
−128 to +127
Correct answer
-
D
0 to 255
-
A
16
Correct answer
-
B
64
-
C
14
-
D
32
-
A
Structural hazard
-
B
Memory hazard
-
C
Control hazard
-
D
Data hazard
Correct answer
-
A
minimum()
-
B
min()
Correct answer
-
C
smallest()
-
D
least()
-
A
maximum()
-
B
max()
Correct answer
-
C
largest()
-
D
biggest()
-
A
absolute()
-
B
abs()
Correct answer
-
C
modulus()
-
D
value()
-
A
trim()
-
B
strip()
Correct answer
-
C
clean()
-
D
remove()
-
A
lower()
Correct answer
-
B
lowercase()
-
C
toLower()
-
D
casefold()
-
A
regex
-
B
re
Correct answer
-
C
string
-
D
pattern
-
A
count()
-
B
length()
-
C
len()
Correct answer
-
D
size()
-
A
/
-
B
//
Correct answer
-
C
%
-
D
**
-
A
64
-
B
512
Correct answer
-
C
36
-
D
256
-
A
function
-
B
define
-
C
def
Correct answer
-
D
func
-
A
Naive String Matching
-
B
Knuth-Morris-Pratt Algorithm
Correct answer
-
C
Rabin-Karp Algorithm
-
D
Boyer-Moore Algorithm
-
A
Naive Recursion
-
B
Wagner-Fischer Algorithm
Correct answer
-
C
Greedy Algorithm
-
D
Divide and Conquer
-
A
Third Normal Form
-
B
Boyce-Codd Normal Form
-
C
Fourth Normal Form
Correct answer
-
D
Fifth Normal Form
-
A
Cook-Levin Theorem
-
B
Razborov-Smolensky Theorem
Correct answer
-
C
Savitch's Theorem
-
D
Ladner's Theorem
-
A
Jarvis March
-
B
Graham's Scan
-
C
Quickhull
Correct answer
-
D
Chan's Algorithm
-
A
Defense in Depth
Correct answer
-
B
Principle of Least Privilege
-
C
Separation of Duties
-
D
Fail-Safe Defaults
-
A
Paxos
Correct answer
-
B
Raft
-
C
Byzantine Fault Tolerance
-
D
Two-Phase Commit
-
A
Persistent data structures
Correct answer
-
B
Ephemeral data structures
-
C
Mutable data structures
-
D
Immutable data structures
-
A
Data flow analysis
-
B
Constant propagation
Correct answer
-
C
Control flow analysis
-
D
Alias analysis
-
A
Two-Phase Locking
Correct answer
-
B
Timestamp Ordering
-
C
Multi-Version Concurrency Control
-
D
Optimistic Concurrency Control