26. Given an open hash table with load factor a<1, the expected number of probes in a successful search is
(a) Atmost In
(b) Atmost In
(c) Atmost In
(d) Atmost In
27. For a B-tree of height h and degree t, the total CPU time used to insert a node is
(a) O(log t) (b) O(t log h) (c) O(t2h) (d) O(th)
28. The time complexity to build a heap with a list of n numbers is
(a) O(log n) (b) O(n) (c) O(n logn) (d) O(n2)
29. The value of postfix expression:
8 3 4 + - 3 8 2 / + * 2 $ 3 + is
(a) 17 (b) 131 (c) 64 (D) 52
30. Consider the following statement for priority queue:
S1: It is a data structure in which the intrinsic ordering of the elements does determine the result of its basic operations.
S2: The elemnts of a priority queue may be complex structures that are ordered on one or several fields.
Which of the following is correct?
(a) Both S1 and S2 are incorrect.
(b) S1 is correct and S2 is incorrect.
(c) S1 is incorrect and S2 is correct.
(d) Both S1 and S2 are correct.
31. Repository of information gathered from multiple sources , storing under unified scheme at a single site is called as
(a) Data mining
(b) Meta Data
(c) Data warehousing
(d) Database
32. The task of correcting and pre processing data is called as
(a) Data Streaming
(b) Data cleaning
(c) Data mining
(d) Data storming
33. Using data p=3, q=11 , n=pq, d=7 in RSA algorithm find the cipher text of the given plaintext SUZANNE
(a) BUTAEEZ (b) SUZANNE (c) XYZABCD (d) ABCDXYZ
34. The relation "divides " on a set of positive integers is ____________.
(a) Symmetric and transitive
(b)Anti Symmetric and transitive
(c) Symmetric only
(d) Transitive only
35. Give as good a big-O estimate as possible for the following functions:
(nlogn + n2 )(n3 + 2 and (n!+2n)(n3+ log(n2+1))
(a) O(n5+2n2)& O(n3*n!)
(a) O(n5)& O(n3*2n)
(a) O(n5)& O(n3*n!)
(a) O(n5+2n2)& O(n3*2n)
36. A test contains 100 true/false questions . How many different ways can a student answer the questions on the test,if the answer may be left blank also.
(a) 100P2 (b) 100C2 (c) 2100 (d) 3100
37. Which of the following connected simple graph has exactly one spanning tree?
(a) Complete graph (b) Hamiltonian graph
(c) Euler graph (d) None of the above
38. How many edges must be removed to produce the spanning forest of a graph with N vertices, M edges and C connected components?
(a) M+N-C (b) M-N-C (c) M-N+C (d) M+N+C
39. Which of the following shall be a compound proposition involving the propositions p, q and r , that is true when exactly two of the p, q and r are true and is false otherwise?
(a)
40. The truth value of the statements:
(where the notation denotes the proposition"there exists a unique x such that P(x) is true") are:
(a) True and False (b) False and True
(c) False and false (b) True and True
41. How many different Boolean functions of degree 4 are there?
(a) 24
(b) 28
(c) 212
(d) 216
42. A Boolean operator is defined as follows:
What will bet the truth value of the expression
(a) Always false (b) Always true
(c) Sometimes true (d) True when x, y, z are all true
43. Which one of the following is decimal value of a signed binary number 1101010, if it is in 2's complement form?
(a) -42 (b) -22 (c) -21 (d) -106
44. A set of processors P1,P2, .......,Pk can execute in parallel if Bernstein's conditiona are satisfied on a pairwise basis; that is P1||P2||p3||..................Pkif and only if :
(a) Pi || Pj for all i!= j
(a) Pi || Pj for all i= j+1
(a) Pi || Pj for all i<= j
(a) Pi || Pj for all i>=j
45. When a mobile telephone physically moves one to another cell, the base station transfers ownership to the cell getting srongest signal.This process is known as_________________.
(a) handoff (b) mobile switching
(c) mobile routing (d) cell switching
46. A virtual memory based memory management algorithm partially swaps out a process. This is an example of
(a) short term scheduling (b) long term scheduling
(c) medium term scheduling (d) mutual exclusion
47. Assuming that a disk head is located initially at 32, find the number of disk moves required with FCFS if the disk queue of I/O block requests are 98, 37, 14, 124, 65, 67:
(a) 310 (b) 324 (c) 320 (d) 321
48. Let the page fault service time be 10 milliseconds in a computer with average memory access time being 20 nanoseconds (ns). If one page fault is generated every 106 memory accesses , what is the effective access time for memory?
(a) 21 ns (b) 23 ns (c) 30 ns (d) 35 ns
49. Consider the following UNIX command:
sort<in>temp; head - 30 <temp; rm temp>
which of the following functions shall be performed by this command?
(a) Sort, talking the input from "temp" , prints 30 lines from temp and delete the file temp
(b) Sort the file "temp", removes 30 lines from temp and delete the file temp
(c) Sort, talking the input from "in" and writing the output to "temp" then prints 30 lines from temp on terminal.Finally temp is removed.
(d) Sort, talking the input from "temp" and then prints 30 lines from temp on terminal.Finally temp is removed.
50. The mv command changes
(a) the inode (b) the inode-number
(c) the directory entry (d) both the directory entry and the inode
(a) Atmost In
(b) Atmost In
(c) Atmost In
(d) Atmost In
27. For a B-tree of height h and degree t, the total CPU time used to insert a node is
(a) O(log t) (b) O(t log h) (c) O(t2h) (d) O(th)
28. The time complexity to build a heap with a list of n numbers is
(a) O(log n) (b) O(n) (c) O(n logn) (d) O(n2)
29. The value of postfix expression:
8 3 4 + - 3 8 2 / + * 2 $ 3 + is
(a) 17 (b) 131 (c) 64 (D) 52
30. Consider the following statement for priority queue:
S1: It is a data structure in which the intrinsic ordering of the elements does determine the result of its basic operations.
S2: The elemnts of a priority queue may be complex structures that are ordered on one or several fields.
Which of the following is correct?
(a) Both S1 and S2 are incorrect.
(b) S1 is correct and S2 is incorrect.
(c) S1 is incorrect and S2 is correct.
(d) Both S1 and S2 are correct.
31. Repository of information gathered from multiple sources , storing under unified scheme at a single site is called as
(a) Data mining
(b) Meta Data
(c) Data warehousing
(d) Database
32. The task of correcting and pre processing data is called as
(a) Data Streaming
(b) Data cleaning
(c) Data mining
(d) Data storming
33. Using data p=3, q=11 , n=pq, d=7 in RSA algorithm find the cipher text of the given plaintext SUZANNE
(a) BUTAEEZ (b) SUZANNE (c) XYZABCD (d) ABCDXYZ
34. The relation "divides " on a set of positive integers is ____________.
(a) Symmetric and transitive
(b)Anti Symmetric and transitive
(c) Symmetric only
(d) Transitive only
35. Give as good a big-O estimate as possible for the following functions:
(nlogn + n2 )(n3 + 2 and (n!+2n)(n3+ log(n2+1))
(a) O(n5+2n2)& O(n3*n!)
(a) O(n5)& O(n3*2n)
(a) O(n5)& O(n3*n!)
(a) O(n5+2n2)& O(n3*2n)
36. A test contains 100 true/false questions . How many different ways can a student answer the questions on the test,if the answer may be left blank also.
(a) 100P2 (b) 100C2 (c) 2100 (d) 3100
37. Which of the following connected simple graph has exactly one spanning tree?
(a) Complete graph (b) Hamiltonian graph
(c) Euler graph (d) None of the above
38. How many edges must be removed to produce the spanning forest of a graph with N vertices, M edges and C connected components?
(a) M+N-C (b) M-N-C (c) M-N+C (d) M+N+C
39. Which of the following shall be a compound proposition involving the propositions p, q and r , that is true when exactly two of the p, q and r are true and is false otherwise?
(a)
40. The truth value of the statements:
(where the notation denotes the proposition"there exists a unique x such that P(x) is true") are:
(a) True and False (b) False and True
(c) False and false (b) True and True
41. How many different Boolean functions of degree 4 are there?
(a) 24
(b) 28
(c) 212
(d) 216
42. A Boolean operator is defined as follows:
What will bet the truth value of the expression
(a) Always false (b) Always true
(c) Sometimes true (d) True when x, y, z are all true
43. Which one of the following is decimal value of a signed binary number 1101010, if it is in 2's complement form?
(a) -42 (b) -22 (c) -21 (d) -106
44. A set of processors P1,P2, .......,Pk can execute in parallel if Bernstein's conditiona are satisfied on a pairwise basis; that is P1||P2||p3||..................Pkif and only if :
(a) Pi || Pj for all i!= j
(a) Pi || Pj for all i= j+1
(a) Pi || Pj for all i<= j
(a) Pi || Pj for all i>=j
45. When a mobile telephone physically moves one to another cell, the base station transfers ownership to the cell getting srongest signal.This process is known as_________________.
(a) handoff (b) mobile switching
(c) mobile routing (d) cell switching
46. A virtual memory based memory management algorithm partially swaps out a process. This is an example of
(a) short term scheduling (b) long term scheduling
(c) medium term scheduling (d) mutual exclusion
47. Assuming that a disk head is located initially at 32, find the number of disk moves required with FCFS if the disk queue of I/O block requests are 98, 37, 14, 124, 65, 67:
(a) 310 (b) 324 (c) 320 (d) 321
48. Let the page fault service time be 10 milliseconds in a computer with average memory access time being 20 nanoseconds (ns). If one page fault is generated every 106 memory accesses , what is the effective access time for memory?
(a) 21 ns (b) 23 ns (c) 30 ns (d) 35 ns
49. Consider the following UNIX command:
sort<in>temp; head - 30 <temp; rm temp>
which of the following functions shall be performed by this command?
(a) Sort, talking the input from "temp" , prints 30 lines from temp and delete the file temp
(b) Sort the file "temp", removes 30 lines from temp and delete the file temp
(c) Sort, talking the input from "in" and writing the output to "temp" then prints 30 lines from temp on terminal.Finally temp is removed.
(d) Sort, talking the input from "temp" and then prints 30 lines from temp on terminal.Finally temp is removed.
50. The mv command changes
(a) the inode (b) the inode-number
(c) the directory entry (d) both the directory entry and the inode
No comments:
Post a Comment