NAME

Question types


Start with


Question limit

of 105 available terms

Advertisement
Print test

5 Written questions

5 Matching questions

  1. For reference types, what do == and != test?
  2. What is the Big O of selection sort?
  3. What are the disadvantages of ArrayList?
  4. What is a doubly linked list?
  5. How many children can a node have?
  1. a add and remove are O(N) for random positions, contains is O(N)
  2. b O(n²)
  3. c The equality of pointer values (i.e. do they have the exact same data address in memory?)
  4. d It has pointers that point both forward and backward
  5. e Any number

5 Multiple choice questions

  1. (dick harry)
  2. First can be any Object type, while rest is a Cons or null
  3. A function that modifies the original list's arguments
  4. Extensible Markup Language, it allows users to put tags around their data to describe what the pieces of data mean. <city> Austin </city>
  5. car and cdr (original names), or first and rest.

5 True/False questions

  1. What is a binary tree?A kind of graph composed of nodes and links. It has one root node. Each node except the root has exactly one parent. All nodes are reachable from the root.

          

  2. How can you find the Big O of an if statement?The loop count times the Big O of the contents

          

  3. When the ratio of times as the size of input is doubled is somewhat larger than 2, what is the Big O?O( n*log(n) )

          

  4. What is design pattern?a pattern that describes a set of similar programs

          

  5. What is a circularly linked list?A tree in which each node has at most two children