GATE 2022 Toppers Quiz 14
Attempt now to get your rank among 62 students!
Question 1
Consider the following statements :
I. Both + and ∗ are left associative.
II. Precedence of ∗ is higher then –.
III. – is right associative.
The number of correct statements are __________ .
Question 2
A disk has 200 tracks(from 0 to 199). At time t = 0, the pending requests for read are for the following disks in the order:
46, 110, 32, 52, 14, 120, 36, 96.
Current head position is at 50 and moving towards 0.
The total head movement(in number of tracks) incurred if LOOK is applied is
Question 3
Assume operand forwarding is used and by considering the dependencies between instructions, the number of cycles required to complete the program are ________.
Question 4
Question 5
Question 6
Question 7
Suppose we insert node 8 into the B-Tree. Then what will be the sum of all the keys in the extreme left node on the leaf level of the tree?
Question 8
E → E + E {E.val = E1.val + E2.val}
E → E x E {E.val = E1.val - E2.val}
E → E – E {E.val = E1.val x E2.val}
E → (E) {E.val = E1.val}
E→ id {E.val = id}
The value of the attribute computed at root when the expression
[(3 × 3)+(3 × 5) – 6]+7 is evaluated using the above SDT are ___________ .
- 62 attempts
- 4 upvotes
- 0 comments
Tags :
GATE & PSU CSGeneral