Question types

Start with

Question limit

of 87 available terms

Advertisement Upgrade to remove ads
Print test

5 Written questions

5 Matching questions

  1. linked list
  2. preorder
  3. array
  4. recursion
  5. immutable
  1. a describes a data structure that cannot be changed once it has been created, such as Integer or String in Java.
  2. b a sequence of records, where each record contains a link to the next one.
  3. c A contiguous block of memory containing elements of the same type, accessed by numeric index.
  4. d a case where a program calls itself.
  5. e an order of processing a tree in which the parent node is processed before its children.

5 Multiple choice questions

  1. a linked list in which the last element points back to the first element.
  2. an order of processing a tree in which the parent node is processed in between its children.
  3. the number of links between the root of a tree and the leaves.
  4. O(n2), a problem whose solution requires a quadratic amount of time or space if the problem is of size n.
  5. an element of a linked list, tree, or graph, often represented by a data structure.

5 True/False questions

  1. JVMdepth-first search.


  2. virtual machinean abstract computer that is simulated by an interpreter program running on an actual computer.


  3. linklast-in, first out: describes the order of a stack.


  4. filtera variable containing the address of other data.


  5. parentin a tree, a node that points to a given node.


Create Set