GATE 2022 Rapid Revision Weekly Quiz 6
Attempt now to get your rank among 120 students!
Question 1
List-I
A- Target code generation
B- Lexical analyzer
C- Type checking
D- Syntax analyzer
List-II
1- Check the structure of the program.
2- Analysis of entire program by reading each character.
3- High level language is translated into machine dependent language.
4- Checks the consistency requirements in a context of the program.
Question 2
Question 3
Question 4
S1: Every unsatisfiable is a contingency.
S2: Every valid is a contingency.
S3: Every invalid is a contradiction.
Which of the following options represent the correct statements?
Question 5
Question 6
Question 7
Question 8
S1 : More than one word are put in one cache block to reduce the miss penalty.
S2 : Virtual memory increases the degree of multiprogramming.
S3 : Increasing the RAM of a computer typically improves performance because virtual memory increase.
How many of the above statements are correct?
Question 9
W1(X), W2(X), W3(X), R2(X), W4(X)
For which of the following time stamps assignment to the transactions T1,T2,T3,T4, will the given schedule be possible under Thomas write rule time stamp ordering protocol ?
Question 10
The output "f' is
Question 11
P1: xyz = xyz + 10;
P2: xyz = xyz – 20;
P3: xyz = xyz * 2;
When a process executes instruction such as a = b # c then it read b, c from memory, performs b # c then writes the result into memory location of “a”.
What will be the minimum value of xyz after execution of the three processes?
Question 12
S → Aa| ca
A → c | d
(Where S, A are nonterminal and a, c, d are terminals)
How many conflict occur (both shift reduce and reduce-reduce) in CLR(1) parsing construction _______
- 120 attempts
- 1 upvote
- 0 comments
Tags :
GATE & PSU CSGeneral