UGC – NET Computer Science December 2009 – Paper-II

1. If she is my friend and you are her friend, then we are friends. Given this, the friend relationship in this context is __.
(i) commutative (ii) transitive (iii) implicative (iv) equivalence

  1. i and ii
  2. iii
  3. i, ii and iv
  4. None of these

2. Circle has____

  1. No vertices
  2. Only 1 vertex
  3. ∞ vertices
  4. None of these

3. If in an error detection and correction code a message M: “You are good students” is stored as M’ : Youare areyou aregood goodare goodstudents studentsgood. What is the space required to store M’ in general? (assume that ‘n’ is the length of M)

  1. 2n
  2. 3n
  3. 4n
  4. less than 4n

4. P : “Program is a step-by-step execution of the instructions”. Given P, which of the following is true?

  1. Program is a subset of an instruction set.
  2. Program is sequence of a subset of an instruction set.
  3. Program is a partially ordered set of an instruction set.
  4. All of the above

5. In a MIU puzzle, either of the letters M, I or U could go as a start symbol. Production rules are given below:
R1 : U → IU
R2 : M.x → M.x.x where ‘.’ is string concatenation operator. Given this, which of the following holds for

i)MIUIUIUIUIU ii)MIUIUIUIUIUIUIUIU

  1. Either (i) or (ii) but not both of these are valid words.
  2. Both (i) and (ii) are valid words and they take identical number of transformations for the production.
  3. Both (i) and (ii) are valid words but they involve different number of transformations in the production.
  4. None of these

6. The simplified form of the Boolean expression (X + Y + XY) (X + Z) is

  1. X + Y + ZX + Y
  2. XY – YZ
  3. X + YZ
  4. XZ + Y

7. Identify the logic function performed by the circuit shown

UGC NETCOMPUTER SCIENCE DECEMBER 2009 QUESTION NO 7 DIAGRAM
  1. exclusive OR
  2. exclusive NOR
  3. NAND
  4. NOR

8. The highest noise margin is offered by

  1. BICMOS
  2. TTL
  3. ECL
  4. CMOS

9. The answer of the operation (10111)2 * (1110)2 in hex equivalence is

  1. 150
  2. 241
  3. 142
  4. 101011110

10. How many 1’s are present in the binary representation of 3×512+7×64+5×8+3

  1. 8
  2. 9
  3. 10
  4. 11

11. Recursive functions are executed in a

  1. First in first out-order
  2. Last in first out – order
  3. Parallel fashion
  4. Load balancing

12. What would be the output of the following program, if run from the command line as “myprog 1 2 3” ?

main (int argc, char ∗ argv[ ])
{ int i ;
i = argv[1] + argv[2] + argv[3] ;
printf (“% d”, i) ;
}
  1. 123
  2. 6
  3. Error
  4. “123”

13. A_________is a special method used to initialize the instance variable of a class.

  1. Member function
  2. Destructor
  3. Constructor
  4. Structure

14. Encapsulation is

  1. Dynamic binding
  2. A mechanism to associate the code and data.
  3. Data abstraction
  4. Creating new class

15. Which of the statements are true ?
I. Function overloading is done at compile time.
II. Protected members are accessible to the member of derived class.
III. A derived class inherits constructors and destructors.
IV. A friend function can be called like a normal function.
V. Nested class is a derived class.

  1. I, II, III
  2. II, III, V
  3. III, IV, IV
  4. I, II, IV

16. The E-R model is expressed in term of
I. Entities
II. The relationship among entities.
III. The attributes of the entities.
IV. Functional relationship.

  1. I, II
  2. I, II, IV
  3. II, II, IV
  4. I, II, III

17. Specialization is __ process.

  1. top-down
  2. bottom up
  3. both 1 and 2
  4. none of these

18. Match the following :
(1) Determinants —————–(a) No attribute can be added
(2) Candidate key —————-(b) Uniquely identified a row
(3) Non-redundancy ————-(c) A constraint between two attribute
(4) Functional dependency ——(d) Group of attributes on the left hand side of arrow of function dependency.

 1.   1 – d,   2 – b,   3 – a,   4–c
 2.   2 – d,   3 – a,   1 – b,   4–c
 3.   4 – a,   3 – b,   2 – c,   1–d
 4.   3 – a,   4 – b,   1 – c,   2–d

19. A function that has no partial functional dependencies is in __ form.

  1. 3NF
  2. 2NF
  3. 4NF
  4. BCNF

20. Which of the following statement is wrong ?
I. 2-phase locking protocol suffer from dead lock.
II. Time stamp protocol suffer from more aborts.
III. A block hole in a DFD is a data store with only inbound flows.
IV. Multivalued dependency among attribute is checked at 3 NF level.
V. An entity-relationship diagram is a tool to represent event model.

  1. I, II, II
  2. II, III, IV
  3. III, IV, V
  4. II, IV, V

21. If the number of leaves in a strictly binary tree is an odd number, then what can you say with full conviction about total number of nodes in the tree ?

  1. It is an odd number
  2. It is an even number
  3. It cannot be equal to the number of leaves
  4. It is always greater tha twice the number of leaves.

22. The number of edges in a complete graph of n vertices is

  1. n
  2. n(n-1)/2
  3. n(n+1)/2
  4. n2/2

23. At a hill station, the parking lot is one long drive way snaking up a hill side. Cars drive in and park right behind the car in front of them, one behind another. A car can’t leave until all the cars in front of it have left. Is the parking lot more like

  1. An array
  2. A stack
  3. A queue
  4. A linked list

24. With regard to linked list, which of the following statement is false?

  1. An algorithm to search for an element in a singly linked list requires 0(n) operations in the worst case
  2. An algorithm for deleting the first element in a singly linked list requires 0(n) operations in the worst case.
  3. An algorithm for finding the maximum value in a circular linked list requires 0(n) operations.
  4. An algorithm for deleting the middle node of a circular linked list requires 0(n) operations.

25. A hash function f defined as f(key) = key mod 7, with linear probing used to resolve collisions. Insert the keys 37, 38, 72, 48, 98 and 11 into the table indexed from 0 to 6. What will be the location of 11?

  1. 3
  2. 4
  3. 5
  4. 6

26. Device on one network can communicate with devices on another network via a

  1. Hub/Switch
  2. Utility server
  3. File server
  4. Gateway

27. What is the maximum window size in sliding window protocol used in a computer network?

  1. 4
  2. 8
  3. 15
  4. 16

28. Which of the following are Data Link Layer standard?
1. Ethernet 2. HSSI 3. Frame Relay 4. 10 – Base T 5. Token Ring

  1. 1,2,3
  2. 1,3,5
  3. 1,3,4,5
  4. 1,2,3,4,5

29. In case of Bus/Tree topology signal balancing issue is overcome by

  1. Modulation
  2. Polling
  3. Segmentation
  4. Strong transmitter

30. Match the following :
(i) Ethernet———————(a) Deterministic
(ii) Token Ring—————–(b) Utilize the full wire speed
(iii) Cut-through switch——–(c) Prevent looping
(iv) Spanning tree————- (d) Checking valid address Codes

  1. i – d, ii -a, iii – b, iv – c
  2. i – a, ii – d, iii – b, iv – c
  3. i – d, ii – d, iii – c, iv – b
  4. i -d, ii – c, iii – b, iv – a

31. In an absolute loading scheme which loader function is accomplished by assembler ?

  1. re-allocation
  2. allocation
  3. linking
  4. loading

32. Which of the following grammar is LR(1)?

  1. A → a A b, A → b A b, A → a , A → b
  2. A → a A a, A → a A b, A → c
  3. A → A + A, A → a
  4. Both (A) and (B)

33. A shift-reduce parser carries out the actions specified within braces immediately after reducing with the corresponding rule of the grammar.
S → x x W [ print “1”]
S → y [print “2”]
W → S2 [print “3”], what is the translation of “x x x x y z z” ?

  1. 1 1 2 3 1
  2. 1 1 2 3 3
  3. 2 3 1 3 1
  4. 2 3 3 2 1

34. Contex-free Grammar (CFG) can be recognized by

  1. Finite state automata
  2. 2-way linear bounded automata
  3. push down automata
  4. both (B) and (C)

35. Synthesized attribute can be easily simulated by a

  1. LL grammar
  2. Ambiguous grammar
  3. LR grammar
  4. None of the above

36. In the process management Round-robin method is essentially the pre-emptive version of ____

  1. FILO
  2. FIFO
  3. SSF
  4. Longest time first

37. A page fault

  1. is an error specific page.
  2. is an access to the page not currently in memory.
  3. occur when a page program occur in a page memory.
  4. page used in the previous page reference.

38. A semaphore count of negative n means (s = – n) that the queue contains ____________waiting processes.

  1. n+1
  2. n
  3. n-1
  4. 0

39. A program is located in the smallest available hole in the memory is

  1. best-fit
  2. first-fit
  3. worst -fit
  4. buddy

40. The Unix command used to find out the number of characters in a file is

  1. nc
  2. wc
  3. chcnt
  4. lc

41. Software Engineering is a discipline that integrates _ for the development of computer software.

  1. Process
  2. Methods
  3. Tools
  4. All

42. Any error whose cause cannot be identified anywhere within the software system is called __

  1. Internal error
  2. External error
  3. Inherent error
  4. Logic error

43. Recorded software attributes can be used in the following endeavors :
(i) Cost and schedule estimates.
(ii) Software product reliability predictions.
(iii) Managing the development process.
(iv) No where

  1. i ii iv
  2. ii iii iv
  3. i ii iii
  4. i ii iii iv

44. Black Box testing is done

  1. to show that s/w is operational at its interfaces i.e. input and output.
  2. to examine internal details of code.
  3. at client side
  4. none of above

45. The name of the transaction file shall be provided by the operator and the file that contains the edited transaction ready for the execution shall be called

  1. Batch .Exe
  2. Trans. Exe
  3. Opt. Exe
  4. Edit. Exe

46. The single stage network is also called

  1. one sided network
  2. two sided network
  3. recirculating network
  4. pipeline network

47. Analysis of large database to retrieve information is called

  1. OLTP
  2. OLAP
  3. OLDP
  4. OLPP

48. Which technology is sometime referred to as wireless cable ?

  1. MMDS
  2. ATM
  3. LMDS
  4. CDMA

49. Another name of IEEE 802.11 a is _________

  1. Wi-Max
  2. Fast Ethernet
  3. Wi-Fi
  4. 802.11 g

50. The unlicensed National Information Infrastructure band operates at the ________

  1. 2.4 GHz
  2. 5 GHz
  3. 33 MHz
  4. 5 MHz

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top