1
GATE CSE 1992
MCQ (Single Correct Answer)
+2
-0.6
Following algorithm(s) can be used to sort n integers in the range [1....... n3] in O(n) time
A
Heapsort
B
Quicksort
C
Merge sort
D
Radix sort
2
GATE CSE 1992
Subjective
+2
-0
Assume that the last element of the set is used as partition element in Quicksort. If n distinct elements from the set [1…n] are to be sorted, give an input for which Quicksort takes maximum time.
3
GATE CSE 1992
MCQ (Single Correct Answer)
+2
-0.6
Consider the SLR(1) and LALR (1) parsing tables for a context-free grammar. Which of the following statements is/are true?
A
The goto part of both tables may be different.
B
The shift entries are identical in both the tables.
C
The reduce entries in the tables may be different.
D
The error entries in the tables may be different.
4
GATE CSE 1992
MCQ (Single Correct Answer)
+1
-0.3
Start and stop bits do not contain 'information' but these are used in serial communication for
A
Error detection
B
Error correction
C
Synchronization
D
Slowing down the communication