SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Data Structures
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. binary tree that is ordered such that each node has contents - and all of its left descendants are less than the contents - an all of its right descendants are greater than the contents
binary search tree (bst)
descendants
data structure
linear O(n)
2. All nodes below a give node in a tree
procedural abstraction
shadow
destructive
descendants
3. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
grammar
doubly linked list
tail recursive
structure sharing
4. The amount of space on the runtime stack required for execution of a program
stack space
array
structure sharing
tail recursive
5. Composed of multiple sequential elements stored in contiguous bytes of memory
array
set difference
gedanken
recursion
6. Use of a function or method without knowing how it's accomplished
successor
shadow
procedural abstraction
intersection
7. In a tree search - to move back from the node currently being examined to its parent
state
backtrack
LIFO
simple data type
8. A simple case that can be solved easily - without recursion
taxonomy
alias
base case
simple ADT
9. A sequence of records - where each record contains a link to the next one
binary tree
inorder
divide and conquer
linked list
10. A data structure that implements a complete binary tree within an array - such that every parent node has a value that is less than the value of either of its children
general list
class
merge
binary tree
11. In a tree - the union of a node's parent and the parent's ancestors
LIFO
ancestors
merge
recursion
12. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
leaf
side-effect
queue
intersection
13. In a tree - a node that points to a given node
state
set difference
intersection
parent
14. A pointer to the next element in a linked list
link
reference type
runtime stack
inorder
15. 1. In lisp - the function that constructs a pair of points - or basic elements of list structure. 2. To make a cons data structure 2. a cons data structure
depth-first search
parent
shadow
cons
16. Values are in the most basic form and cannot be decomposed into smaller parts
abstract data type
merge
simple data type
intersection
17. In object oriented programming - a description of a set of similar objects
class
successor
intersection
boxed number
18. A node of a tree that has children
DFS
random access
interior node
goal
19. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
sort
queue
alias
complex ADT
20. An order of processing a tree in which the parent node is processed after its children
structure sharing
parent
goal
postorder
21. A variable containing the address of other data
pointer
dereference
postorder
garbage collection
22. Two variables that reference the same object
alias
linear O(n)
set difference
dereference
23. The area of program text over which a variable can be referenced
stack space
recursion
linear O(n)
scope
24. Composed of a collection of data values; implemented with a data structure
backtrack
design pattern
complex ADT
type
25. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
interior node
algorithm
grammar
root
26. First-child/next-sibling
fair
stack frame
gedanken
boxed number
27. A type in which variables of that type are pointers to objects. in the code integer i = 3 - the variable i holds a pointer to the integer object that contains the value. in in j = 3 - the variable j contains the value. in java - only reference types
reference type
stack space
divide and conquer
recursion
28. An abstracted function that describes the amount of computer time or memory space required by an algorithm - as a function of problem size. for problems larger than a certain size - the actual time or space required will be less than the Big O multip
descendants
boxed number
divide and conquer
big o
29. In a search tree - the number of children of a given node. often - the branching factors of individual nodes will vary - so an average value may be used
branching factor
DFS
fifo
union
30. An extra record at the start or end of a data structure such as a linked list - to simplify processing
entinel
gedanken
procedural abstraction
scope
31. To hide similar items with the same name
association list
shadow
LIFO
circularly linked list
32. Depth first search
null dereference
DFS
inorder
intractable
33. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
merge
well-founded ordering xml
side-effect
null dereference
34. A classification of objects into a tree structure that groups related objects
boxed number
queue
taxonomy
set difference
35. The number of links between the root of a tree and the leaves
ancestors
depth
LIFO
leaf
36. Describes a though experiment or view of an entity
cons
gedanken
parent
amortized Analysis
37. An order of processing a tree in which the parent node is processed before its children
fair
preorder
recursive case
intersection
38. An order of processing a tree in which the parent node is processed in between its children
operator
simple ADT
inorder
successor
39. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
divide and conquer
search
fair
node
40. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
set difference
data abstraction
immutable
goal
41. The next element in a linked list
successor
filter
queue
linked list
42. A linked list in which the last element points back to the first element
immutable
child
recursion
circularly linked list
43. Describes a data structure or device in which all accesses have the same cost - O(1)
binary search tree (bst)
random access
divide and conquer
destructive
44. A data structure that can be identified at runtime as being a member of a class
intractable
data type
object
immutable
45. An elements of a linked list - tree - or graph - often represented by a data structure
gedanken
node
destructive
leaf
46. storage that is no longer pointed to by any variable and therefore can no longer be accessed
ontology
scope
garbage
amortized Analysis
47. A search in which children of a node are considered before siblings are considered
depth-first search
postorder
dereference
preorder
48. A process that removes unwanted elements from a collection
successor
simple ADT
filter
set difference
49. Any container with linear ordering
general list
child
association list
immutable
50. To answer the question - "If the algorithm is run several times - what is the average time per run - given the worst possible sequence of runs?"
intractable
amortized Analysis
constructive
DFS