Active Topics Memberlist Calendar Search Help | |
Register Login |
One Stop GATE Forum : GATE Previous Years Test Papers - Discuss Here : CS Papers |
Topic: CSE GATE sample paper | |
Author | Message |
Neha Agarwal
Groupie Joined: 04Jan2007 Online Status: Offline Posts: 59 |
Topic: CSE GATE sample paper Posted: 05Jan2007 at 5:11pm |
1. 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.If L1 is context free language and L2 is a regular language which of the following is/are false?
3. 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.
4.For the schedule given below, which of the following is correct: 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.
5. 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
6. Which of the following sets of component (s) is/are sufficient to implement any arbitrary boolean func tion?
7. A multi-user, multi-processing operating system cannot be implemented on hardware that does not support
8. 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.
9. 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. 10.Consider the following program in a language that has dynamic scoping 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 :
11.The number of tokens in the Fortran statement DO 10I= 1.25 is
12. A grammar that is both left and right recursive for a non-terminal, is
13. The number of full and half-adders required to add 16-bit numbers is
14. Zero has two representations in
15.Raid configurations of disks are used to provide
16. Arrange the following configurations for. CPU in decreasing order of operating speeds: Hard wired control, vertical microprogramming, horizontal microprogramming.
17. 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:
18. 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)
19. The main difference(s) between a ClSC and a RISC processor is/are that a RISC processor typically
20. 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?
21.Consider the following C function definition 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) ; } 22.The function Trial :
23. Which of the following is/are correct ?
|
|
For more papers visit:
http://onestopgate.com/gate-preparation// Post Resume: Click here to Upload your Resume & Apply for Jobs |
|
IP Logged | |
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.