Question 1
Assume that in a certain computer, the virtual addresses are 64 bits long and the physical addresses are 48 bits long. The memory is word addressable. The page size is 8k Band the word size is 4 bytes. The Translation Look-aside Buffer (TLB) in the address translation path has 128 valid entries. At most how many distinct virtual addresses can be translated without any TLB miss?
16 x 210
8 x 220
4 x 220
256 x 210
Question 2
The index node (inode) of a Unix-like file system has 12 direct, one single-indirect and one double-indirect pointer The disk block size is 4 kB and the disk block addresses 32-bits long. The maximum possible file size is (rounded off to 1 decimal place) __________ GB.
Note: This was Numerical Type question.
4
2
1
0.50
Question 3
Consider the following four processes with arrival times (in milliseconds) and their length of CPU burst (in milliseconds) as shown below:

These processes are run on a single processor using preemptive Shortest Remaining Time First scheduling algorithm. If the average waiting time of the processes is 1 millisecond, then the value of Z is __________.
Note: This was Numerical Type question.
2
3
1
4
Question 4
Consider the following statements:
Which of the above statements is/are TRUE?
II, III and IV
I, II and III
I, III and IV
I, II and IV
Question 5
Consider the following snapshot of a system running n concurrent processes. Process i is holding Xi instances of a resource R, 1 ≤ i ≤ n. Assume that all instances of R arecurrently in use. Further, for all i, process i can place a request for at most Yi additional instances of R while holding the Xt instances it already has. Of the n processes, there are exactly two processes p and q such that Yp = Yq = 0.
Which one of the following conditions guarantees that no other process apart from p and q can complete execution?
Xp + Xq < Min {Yk ⏐ 1 ≤ k ≤ n, k ≠ p, k ≠ q}
Min (Xp, Xq) ≥ Min {Yk ⏐ 1 ≤ k≤ n, k ≠ p, k ≠ q}
Min (Xp, Xq) ≤ Max {Yk ⏐ 1 ≤ k ≤ n, k ≠ p, k ≠ q}
Xp + Xq < Max {Yk ⏐ 1 ≤ k ≤ n, k ≠ p, k ≠ q}
Question 6
Let G be any connection, weighted, undirected graph:
Which of the above two statements is/are TRUE?
Neither I nor II
I only
II only
Both I and II
Question 7
There are n unsorted arrays: A1, A2, ....,An. Assume that n is odd. Each of A1, A2, ...., An contains n distinct elements. There are no common elements between any two arrays. The worst-case time complexity of computing the median of the medians of A1, A2, ....,An is ________ .
Ο(n log n)
Ο(n2)
Ο(n)
Ω(n2log n)
Question 8
Consider the following grammar and the semantic actions to support the inherited type declaration attributes. Let X1, X2, X3, X4, X5 and X6 be the placeholders for the non-terminals D, T, L or L1 in the following table:

Which one of the following are the appropriate choices for X1, X2, X3 and X4?
X1 = L, X2 = T, X3 = L1, X4 = L
X1 = L, X2 = L, X3 = L1, X4 = T
X1 = T, X2 = L, X3 = L1, X4 = T
X1 = T, X2 = L, X3 = T, X4 = L1
Question 9
Consider the first order predicate formula:
∀x [( ∀z z|x ⇒ ((z = x) ∨ (z = 1))) ⇒ ∃w(w > x) ∧ (∀z z⏐w ⇒ ((w = z) ∨ (z = 1)))] Here ‘a⏐b’ denotes that ‘a divides b’, where a and b are integers. Consider the following sets:
Which of the above sets satisfy φ ?
S1 and S3
S2 and S3
S1, S2 and S3
S1 and S2
Question 10
Consider the augmented grammar given below:
S′ → S
S → ⏐id
L → L, S⏐S
Let I0 = CLOSURE ({[S′ → S]}). The number of items in the set GOTO (I0, <) is __________.
Note: This was Numerical Type question.
5
4
3
1
There are 65 questions to complete.