How To Exam?

a knowledge trading engine...


Indian Institue of Management 2007 B.E Computer Science computers - Question Paper

Sunday, 03 February 2013 12:20Web

1 The issues 3-SAT and 2-SAT are
A) both in P
B) both
NP-complete
C) NP-complete and in P respectively
D) undecidable and
NP-complete respectively
ans : (C)

2 Consider the
subsequent relation schema pertaining to a students database:
Student
(rollno, name, address)
Enroll (rollno, courseno,
coursename)
where the primary keys are shown underlined. The number of tuples
in the learner and Enroll tables are 120 and eight respectively. elaborate the
maximum and minimum number of tuples that can be current in (Student * Enroll),
where ‘*’denotes natural join?
A) 8, 8
B) 120, 8
C) 960, 8
D)
960, 120
ans : (C)

3 Consider a relation scheme R = (A,
B, C, D, E, H) on which the subsequent functional dependencies hold : (A -> B,
BC -> D, E -> C, D -> A). elaborate the candidate keys of R?
A)
AE, BE
B) AE, BE, DE
C) AEH, BEH, BCH
D) AEH, BEH, DEH
ans :
(D)

4 The goal of structured programming is to
A) have
well indented programs
B) be able to infer the flow of control from the
compiled code
C) be able to infer the flow of control from the program
text
D) avoid the use of GOTO statements
ans : (C)

5
The tightest lower bound on the number of comparisons, in the worst ease, for
comparison-based sorting is of the order of
A) n
B) n
2
C) n log n
D) n log2 n
ans :
(B)

6 A circuit outputs a digit in the form of four bits. 0 is
represented by 0000,1 by 0001,..., nine by 1001. A combinational circuit is to be
designed which takes these four bits as input and outputs one if the digit ³ 5, and 0
otherwise. If only AND, OR and NOT gates may be used, what is the minimum number
of gates needed
A) 2
B) 3
C) 4
D) 5
ans :
(C)

7 WA and B are the only 2 stations on an Ethernet. every has
a steady queue of frames to send. Both A and B attempt to transmit a frame,
collide, and A wins the 1st backoff race. At the end of this successful
transmission by A, both A and B attempt to transmit and collide. The probability
that A wins the 2nd backoff race is
A) 0.5
B) 0.625
C) 0.75

D) 1.0
ans : (A)

8 If 73x (in base-x
number system) is equal to 54y (in base-y number system), the
possible values of x and y are
A) 8, 16
B) 10, 12
C) 9, 13
D)
8, 11
ans : (D)

9 In a packet switching network, packets
are routed from source to destination along a single path having two
intermediate nodes. If the message size is 24 bytes and every packet contains a
header of three bytes, then the optimum packet size is
A) 4
B) 6
C)
7
D) 9
ans : (D)

10 A Priority-Queue is implemented as
a Max-Heap. Initially, it has five elements. The level-order traversal of the heap
is provided below: 10, 8,5,3,2 2 new elements one and seven are inserted in the heap in
that order. The level-order traversal of the heap after the insertion of the
elements is
A) 10,8,7,5,3,2,1
B) 10,8,7,2,3,1,5
C)
10,8,7,1,2,3,5
D) 10,8,7,3,2,1,5
ans : (D)

11 Consider
an operating system capable of loading and executing a single sequential user
process at a time. The disk head scheduling algorithm used is 1st Come First
Served (FCFS). If FCFS is changed by Shortest Seek Time 1st (SSTF), claimed
by the vendor to provide 50% better benchmark results, what is the expected
improvement in the I/O performance of user programs ?
A) 50%
B) 40%

C) 25%br> D) 0%
ans : (D)

12 How many distinct
binary search trees can be created out of four distinct keys?
A) 5
B)
14
C) 24
D) 42
ans : (B)


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Indian Institue of Management 2007 B.E Computer Science computers - Question Paper