Data Structure Questions Answers
1. Preorder is
- depth first order
- breadth first order
- topological order
- linear order
2. Information about an array used in a program will be stored in
- symbol table
- activation record
- dope vector
- system table
3. ++i is equivalent to
- i = i + 2
- i = i + 1
- i = i + i
- i = i - 1
4. Repeated execution of simple computation may cause compounding of
- round off errors
- syntax errors
- run time errors
- logic errors
5. Deletion from one end and insertion from other end is
- stack
- branch
- tree
- queue
6. Which statement we should ignore in structure programming
- WHILE-DO
- GO-TO
- IT-ELSE
- SWITCH
7. In C how many parameters can passed to a function
- 2
- 5
- 10
- as many as defined in function definition
8. minimum number of stacks of size n required to implement a queue of size n
- One
- Two
- Three
- Four
9. Which is problem oriented language
- BASIC
- PL/I
- FORTRAN
- none of above
10. Sort which compares adjacent elements in a list and switches where necessary is
- Insertion sort
- Heap sort
- Quick sort
- Bubble sort
No comments:
Post a Comment