Showing posts with label Data Structure Questions Answers. Show all posts
Showing posts with label Data Structure Questions Answers. Show all posts

Saturday, April 11, 2015

Data Structure Questions Answers

1. Preorder is

  1. depth first order
  2. breadth first order
  3. topological order
  4. linear order

2. Information about an array used in a program will be stored in

  1. symbol table
  2. activation record
  3. dope vector
  4. system table

3. ++i is equivalent to

  1. i = i + 2
  2. i = i + 1
  3. i = i + i
  4. i = i - 1

4. Repeated execution of simple computation may cause compounding of

  1. round off errors
  2. syntax errors
  3. run time errors
  4. logic errors

5. Deletion from one end and insertion from other end is

  1. stack
  2. branch
  3. tree
  4. queue