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
- i and ii
- iii
- i, ii and iv
- None of these
2. Circle has____
- No vertices
- Only 1 vertex
- ∞ vertices
- 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)
- 2n
- 3n
- 4n
- less than 4n
4. P : “Program is a step-by-step execution of the instructions”. Given P, which of the following is true?
- Program is a subset of an instruction set.
- Program is sequence of a subset of an instruction set.
- Program is a partially ordered set of an instruction set.
- 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
- Either (i) or (ii) but not both of these are valid words.
- Both (i) and (ii) are valid words and they take identical number of transformations for the production.
- Both (i) and (ii) are valid words but they involve different number of transformations in the production.
- None of these
6. The simplified form of the Boolean expression (X + Y + XY) (X + Z) is
- X + Y + ZX + Y
- XY – YZ
- X + YZ
- XZ + Y
7. Identify the logic function performed by the circuit shown
- exclusive OR
- exclusive NOR
- NAND
- NOR
8. The highest noise margin is offered by
- BICMOS
- TTL
- ECL
- CMOS
9. The answer of the operation (10111)2 * (1110)2 in hex equivalence is
- 150
- 241
- 142
- 101011110
10. How many 1’s are present in the binary representation of 3×512+7×64+5×8+3
- 8
- 9
- 10
- 11
11. Recursive functions are executed in a
- First in first out-order
- Last in first out – order
- Parallel fashion
- 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) ;
}
- 123
- 6
- Error
- “123”
13. A_________is a special method used to initialize the instance variable of a class.
- Member function
- Destructor
- Constructor
- Structure
14. Encapsulation is
- Dynamic binding
- A mechanism to associate the code and data.
- Data abstraction
- 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.
- I, II, III
- II, III, V
- III, IV, IV
- 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.
- I, II
- I, II, IV
- II, II, IV
- I, II, III
17. Specialization is __ process.
- top-down
- bottom up
- both 1 and 2
- 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.
- 3NF
- 2NF
- 4NF
- 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.
- I, II, II
- II, III, IV
- III, IV, V
- 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 ?
- It is an odd number
- It is an even number
- It cannot be equal to the number of leaves
- It is always greater tha twice the number of leaves.
22. The number of edges in a complete graph of n vertices is
- n
- n(n-1)/2
- n(n+1)/2
- 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
- An array
- A stack
- A queue
- A linked list
24. With regard to linked list, which of the following statement is false?
- An algorithm to search for an element in a singly linked list requires 0(n) operations in the worst case
- An algorithm for deleting the first element in a singly linked list requires 0(n) operations in the worst case.
- An algorithm for finding the maximum value in a circular linked list requires 0(n) operations.
- 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?
- 3
- 4
- 5
- 6
26. Device on one network can communicate with devices on another network via a
- Hub/Switch
- Utility server
- File server
- Gateway
27. What is the maximum window size in sliding window protocol used in a computer network?
- 4
- 8
- 15
- 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,2,3
- 1,3,5
- 1,3,4,5
- 1,2,3,4,5
29. In case of Bus/Tree topology signal balancing issue is overcome by
- Modulation
- Polling
- Segmentation
- 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
- i – d, ii -a, iii – b, iv – c
- i – a, ii – d, iii – b, iv – c
- i – d, ii – d, iii – c, iv – b
- i -d, ii – c, iii – b, iv – a
31. In an absolute loading scheme which loader function is accomplished by assembler ?
- re-allocation
- allocation
- linking
- loading
32. Which of the following grammar is LR(1)?
- A → a A b, A → b A b, A → a , A → b
- A → a A a, A → a A b, A → c
- A → A + A, A → a
- 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 2 3 1
- 1 1 2 3 3
- 2 3 1 3 1
- 2 3 3 2 1
34. Contex-free Grammar (CFG) can be recognized by
- Finite state automata
- 2-way linear bounded automata
- push down automata
- both (B) and (C)
35. Synthesized attribute can be easily simulated by a
- LL grammar
- Ambiguous grammar
- LR grammar
- None of the above
36. In the process management Round-robin method is essentially the pre-emptive version of ____
- FILO
- FIFO
- SSF
- Longest time first
37. A page fault
- is an error specific page.
- is an access to the page not currently in memory.
- occur when a page program occur in a page memory.
- page used in the previous page reference.
38. A semaphore count of negative n means (s = – n) that the queue contains ____________waiting processes.
- n+1
- n
- n-1
- 0
39. A program is located in the smallest available hole in the memory is
- best-fit
- first-fit
- worst -fit
- buddy
40. The Unix command used to find out the number of characters in a file is
- nc
- wc
- chcnt
- lc
41. Software Engineering is a discipline that integrates _ for the development of computer software.
- Process
- Methods
- Tools
- All
42. Any error whose cause cannot be identified anywhere within the software system is called __
- Internal error
- External error
- Inherent error
- 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
- i ii iv
- ii iii iv
- i ii iii
- i ii iii iv
44. Black Box testing is done
- to show that s/w is operational at its interfaces i.e. input and output.
- to examine internal details of code.
- at client side
- 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
- Batch .Exe
- Trans. Exe
- Opt. Exe
- Edit. Exe
46. The single stage network is also called
- one sided network
- two sided network
- recirculating network
- pipeline network
47. Analysis of large database to retrieve information is called
- OLTP
- OLAP
- OLDP
- OLPP
48. Which technology is sometime referred to as wireless cable ?
- MMDS
- ATM
- LMDS
- CDMA
49. Another name of IEEE 802.11 a is _________
- Wi-Max
- Fast Ethernet
- Wi-Fi
- 802.11 g
50. The unlicensed National Information Infrastructure band operates at the ________
- 2.4 GHz
- 5 GHz
- 33 MHz
- 5 MHz