Question 1
In the working-set strategy, which of the following is done by the operating system to prevent thrashing?
I only
II only
Neither I nor II
Both I and II
Question 2
A problem in NP is NP-complete if
It can be reduced to the 3-SAT problem in polynomial time
The 3-SAT problem can be reduced to it in polynomial time
It can be reduced to any other problem in NP in polynomial time
Some problem in NP can be reduced to it in polynomial time
Question 3
The characters a to h have the set of frequencies based on the first 8 Fibonacci numbers as follows
a : 1, b : 1, c : 2, d : 3, e : 5, f : 8, g : 13, h : 21/
A Huffman code is used to represent the characters. What is the sequence of characters corresponding to the following code? 110111100111010
fdheg
ecgdf
dchfg
fehdg
Question 4
Given a boolean function f (x1, x2, ..., xn), which of the following equations is NOT true
f(x1, x2, …, xn) = x1'f(x1, x2, …, xn) + x1f(x1, x2, …, xn)
f(x1, x2, ..., xn) = x2f(x1, x2, …, xn) + x2'f(x1, x2, …, xn)
f(x1, x2, ..., xn) = xn'f(x1, x2, …, 0) + xnf(x1, x2, …,1)
f(x1, x2, ..., xn) = f(0, x2, …, xn) + f(1, x2, ..., xn)
Question 5
A class of 24 students occupies a classroom containing 4 rows of seats, with 7 seats in each row. If the students seat themselves randomly, what is the probability that the 5th seat in the 4th row is empty?
1/7
1/6
1/2
1/5
Question 6
Which of the following DMA transfer modes and interrupt handling mechanisms will enable the highest I/O band-width?
Transparent DMA and Polling interrupts
Cycle-stealing and Vectored interrupts
Block transfer and Vectored interrupts
Block transfer and Polling interrupts
Question 7
Which of the following relational query languages have the same expressive power?
II and III only
I and II only
I and III only
I, II and III
Question 8
Consider the relations r1(P, Q, R) and r2(R, S, T) with primary keys P and R respectively. The relation r1 contains 2000 tuples and r2 contains 2500 tuples. The maximum size of the join r1⋈ r2 is :
2000
2500
4500
5000
Question 9
I and II only
II and III only
I and III only
None of these
Question 10
What is the cardinality of the set of integers X defined below? X = {n | 1 ≤ n ≤ 123, n is not divisible by either 2, 3 or 5}
28
33
37
44
There are 85 questions to complete.