1
GATE CSE 1998
MCQ (Single Correct Answer)
+1
-0.3

Give the correct matching for the following pairs:

Group - 1

(A) $${\rm O}(\log n)$$
(B) $${\rm O}(n)$$
(C) $${\rm O}(n\log n)$$
(D) $${\rm O}({n^2})$$

Group - 2

(P) Selection
(Q) Insertion sort
(R) Binary search
(S) Merge sort
A
A – R B – P C – Q D – S
B
A – R B – P C – S D – Q
C
A – P B – R C – S D – Q
D
A – P B – S C – R D – Q
2
GATE CSE 1998
MCQ (Single Correct Answer)
+1
-0.3
Which one of the following algorithm design techniques is used in finding all pairs of shortest distances in a graph?
A
Dynamic programming
B
Backtracking
C
Greedy
D
Divide and Conquer
3
GATE CSE 1998
MCQ (Single Correct Answer)
+1
-0.3
Type checking is normally done during
A
Lexical analysis
B
Syntax analysis
C
Syntax directed translation
D
Code optimization
4
GATE CSE 1998
MCQ (Single Correct Answer)
+1
-0.3
Which of the following statements is true?
A
SLR parser is more powerful than LALR
B
LALR parser is more powerful than Canonical LR parser
C
Canonical LR parser is more powerful than LALR parser.
D
The parsers SLR, Canonical CR, and LALR have the same power
EXAM MAP
Medical
NEETAIIMS
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
Civil Services
UPSC Civil Service
Defence
NDA
Staff Selection Commission
SSC CGL Tier I
CBSE
Class 12