Question types

Start with

Question limit

of 105 available terms

Advertisement Upgrade to remove ads
Print test

5 Written questions

5 Matching questions

  1. What is a root?
  2. When there is a straight line on a log-log graph, what does the slope represent?
  3. 64-bits can represent about how many decimal digits?
  4. What is a linked list?
  5. What is a Cons?
  1. a 19
  2. b The exponent of the polynomial, e.g. slope of 2 is O(n²).
  3. c The uppermost tree node that has no incoming links
  4. d The function that constructs a pair containing two pointers
  5. e A data structure where each element has two fields: a link and contents

5 Multiple choice questions

  1. enqueued
  2. a way of processing a tree where the parent node is processed before the children
  3. It makes a new list element containing item, and adds it to the front of list
  4. nothing; a sentinel is an extra node, usually at the front or end, that simplifies coding.
  5. It concatenates two lists to form a single list.
    (append '(a b c) '(d e)) = (a b c d e)

5 True/False questions

  1. What is a circularly linked list?It has pointers that point both forward and backward


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


  3. What does the function member do?It tests whether a given item is an element of a list. It returns the remainder of the list beginning with the desired element


  4. When the ratio of times as the size of input is doubled is about 2, what is the Big O?O(n)


  5. What are the disadvantages of ArrayList?get and set are O(1), and add and remove at the end are O(1) so it makes a good stack


Create Set