![]() |
![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
![]() |
![]() |
![]() ![]() |
Author | Message | ||||||||||||||||||||||||
Rupali
Newbie ![]() Joined: 04Apr2007 Online Status: Offline Posts: 12 |
![]() ![]() ![]() Posted: 04Apr2007 at 9:13pm |
||||||||||||||||||||||||
SECTION - A (75 Marks) 1. This question consists of (Twenty-five) multiple-choice questions each carrying one mark. For each question, four options are provided out of which exactly one is correct. Write the correct option for each question ONLY in the box provided for the question in the first sheet of the answer book. (25 x 1 = 25) 1.1 Suppose that the expectation of a random variable X is 5. Which of the following statements is true?
1.2 The number of binary relations on a set with n elements is:
1.3 The number of binary strings of n zeros and k ones that no two ones are adjacent is
1.4 Consider the regular expression (0 + 1) (0 + 1)……..n times. The minimum state finite automation that recognizes the language represented by this regular expression contains
(d) None of the above
1.5 Context-free languages are closed under:
1.6 Let L p be the set of all languages accepted by a PDA by final state and L E the set of all languages accepted by empty stack. Which of the following is true? (a) L D = L E (b) L D É L E (c) L D = L E (d) None of the above
1.7 Which of the following expressions is not equivalent to
1.8 Which of the following functions implements the Karnaugh map shown below?
(a)
(b) D (C + A) (c)
(d)
1.9 Listed below are some operating system abstractions (in the left column) and the hardware components (in the right column)?
1.10 Which of the following disk scheduling strategies is likely to give the best through put?
1.11 System calls are usually invoked by using
1.12 A sorting technique is called stable if
(d) it takes 0 (n) space.
1.13 Suppose we want to arrange the n numbers stored in any array such that all negative values occur before all positive ones. Minimum number of exchanges required in the worst case is
1.14 If one uses straight two-way, merge sort algorithm to sort the following elements in ascending order: 20, 47, 15, 8, 9, 4, 40, 30, 12, 17 then the order of these elements after second pass of the algorithm is :
1.16 If n is a power of 2, then the minimum number of multiplications needed to compute a* is
1.17 Which of the following is the most powerful parsing method?
1.18 Consider the join of a relation R with a relation S. If R has m tuples and S has n tuples then the maximum and minimum sizes of the join respectively are
1.19 The relational algebra expression equivalent to the following tuple calculus expression: {t | t Î r Ù (t [A] = 10 Ù t = 20)} is :
1.20 Booth's coding in 8 bits for the decimal number - 57 is
1.21 The maximum gate delay for any output to appear in an array multiplier for multiplying two n bit number is
1.22 The main memory of a computer has 2 cm blocks while the cache has 2 c blocks. If the cache uses the set associative mapping scheme with 2 blocks per set, then block k of the main memory maps to the set
1.23 The Newton-Raphson method is to be used to find the root of the equation f (x) = 0 where Xo is the initial approximation and f 1 is the derivative of f. The method converges
1.24 Let R = (a, b, c, d, e, f) be a relation scheme with the following dependencies c ® f, e ® a, ec ® d, a ® b. Which of the following is a key for R ?
1.25 Which of the following is correct?
2. This question consists of 25 (Twenty-five) multiple-choice questions each carrying 2 marks. For each question , 4 options are provided out of which one or more are correct. Write ALL the correct options for each question, only in the box provided for the question in the second sheet of the answer book. Credit will be given only if all and only the correct options are written. (25 x 2 = 50)
2.3 Let L be a set with a relation R which is transitive, anti-symmetric and reflexive and for any two elements a, b Î L let the least upper bound lub (a, b) and the greatest lower bound glb (a, b) exist. Which of the following is/are true?
2.4 If L1 is context free language and L2 is a regular language which of the following is/are false?
2.5 Given the programming constructs (i) assignment (ii) for loops where the loop parameter cannot be changed within the loop (iii) If-then-else (iv) forward go to (v) arbitrary go to (vi) non-recursive proce dure call (vii) recursive procedure/function call (viii) repeat loop, which constructs will you not include in a programming language such that it should be possible to program the terminates (i.e. halting) function in the same programming language.
1 Read A 2 Read B 3 Write A 4 Read A 5 Write A 6 Write B 7 Read B 8 Write B (a) This schedule is serialisable and can occur in a scheme using 2PL protocol. (b) This schedule is serialisable but cannot occur in a scheme using 2PL protocol. (c) This schedule is not serialisable but can occur in a scheme using 2PL protocol. (d) This schedule is not serialisable and cannot occur in a scheme using 2PL protocol.
2.7 Consider the schema R = (S T U V) and the dependencies S ® T, T ® U. U ® V and V ® S. Let R = (R1 and R2) be a decomposition such that R1 Ç R2 = Æ . The decomposition is
2.9 Which of the following sets of component (s) is/are sufficient to implement any arbitrary boolean func tion?
2.10 A multi-user, multi-processing operating system cannot be implemented on hardware that does not support
2.11 Which of the following is/are advantages of virtual memory? (a) Faster access to memory on an average. (b) Processes can be given protected address spaces. (c) Linker can assign addresses independent of where the program will be loaded in physical memory. (d) Programs larger than the physical memory size can be run.
2.12 Which of the following actions is/are typically not performed by the operating system when switching context from process A to process B? (a) Saving current register values and restoring saved register values for process B. (b) Changing address translation tables. (c) Swapping out the memory image of process A to the disk (d) Invalidating the translation look-aside buffer.
var x: real; procedure show: begin print (x) ; end; procedure small : var x: real; begin x : = 0.125; show; end: begin x : = 0.25; show; small end.
Then the output of the program is :
2.15 A grammar that is both left and right recursive for a non-terminal, is
2.16 The number of full and half-adders required to add 16-bit numbers is
2.17 Zero has two representations in
2.19 Arrange the following configurations for. CPU in decreasing order of operating speeds: Hard wired control, vertical microprogramming, horizontal microprogramming.
2.20 The minimum number of record movements required to merge five files A (with 10 records), B (with 20 records), C (with 15 records), D (with 15 records), D (with 5 records) and E (with 25 records) is:
2.21 If T 1 = 0 (1), give the correct matching for the following pairs: (M) T n = T n-1 + n (U) T n = 0 (n) (N) T n = T n/2 + n (V) T n = 0 (nlog n) (0) T n =T n/2+n1ogn (W) T n=0(n 2) (P) T n = T n-1 + log n (X) T n = 0 (log 2 n)
2.22 The main difference(s) between a ClSC and a RISC processor is/are that a RISC processor typically
2.23 A certain processor supports only the immediate and the direct addressing modes. Which of the following programming language features cannot be implemented on this processor?
int Trial (int a, int b, int c) { if ((a> = b)&& (c < b) return b; else if (a> = b) return Trial (a, c, b); else return Trial (b, a, c) ; } The function Trial :
2.25 Which of the following is/are correct ?
Post Resume: Click here to Upload your Resume & Apply for Jobs |
|||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||
![]() ![]() |
||
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
|
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.