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. The next element in a linked list
stack frame
backtrack
recursion
successor
2. To convert from a pointer to the data that is pointed to
merge
general list
dereference
alias
3. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
filter
set difference
general list
random access
4. A pointer to the next element in a linked list
LIFO
abstract data type
child
link
5. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
linear O(n)
depth-first search
well-founded ordering xml
fair
6. To combine two ordered linear structures into one
merge
side-effect
destructive
data type
7. A pointer to data
goal
reference
postorder
recursion
8. 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
DFS
stack
binary search tree (bst)
reference type
9. A linked list in which the last element points back to the first element
boxed number
circularly linked list
dereference
recursion
10. Describes a though experiment or view of an entity
postorder
ancestors
gedanken
runtime stack
11. The area of program text over which a variable can be referenced
goal
scope
base case
ancestors
12. A node of a tree that has children
binary tree
interior node
abstract data type
alias
13. A variable containing the address of other data
interior node
successor
pointer
runtime stack
14. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
general list
garbage
grammar
recursive case
15. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
side-effect
shadow
operator
depth
16. Any container with linear ordering
general list
structure sharing
doubly linked list
filter
17. Given two sets - the intersection is the set of elements that are members of both sets
stack
complex data type
intersection
constructive
18. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
algorithm
ontology
random access
well-founded ordering xml
19. A data structure that can be identified at runtime as being a member of a class
tail recursive
object
sort
state
20. storage that is no longer pointed to by any variable and therefore can no longer be accessed
garbage
ancestors
dereference
design pattern
21. 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
cons
object
recursion
immutable
22. An item (or description of items) being sough in a search
dictionary
binary tree
data structure
goal
23. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
circularly linked list
tail recursive
null dereference
quadratic
24. A runtime error that occurs when an operation such as method call is attempted on a null pointer
depth
branching factor
null dereference
array
25. An elements of a linked list - tree - or graph - often represented by a data structure
grammar
abstract data type
array
node
26. A sequence of records - where each record contains a link to the next one
simple data type
descendants
linked list
stack space
27. 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
DFS
object
gedanken
binary search tree (bst)
28. Constructed of multiple components (simple or complex types)
LIFO
complex data type
interior node
constructive
29. A case where tow data structures share some elements
quadratic
node
structure sharing
root
30. First in first out: describes ordering of a queue
recursion
side-effect
array
fifo
31. A tree node containing a contents value but with no children
leaf
stack frame
fifo
set difference
32. In a tree - a node pointed to by a parent node
class
ancestors
pointer
child
33. A classification of objects into a tree structure that groups related objects
algorithm
fair
DFS
taxonomy
34. An extra record at the start or end of a data structure such as a linked list - to simplify processing
entinel
successor
DFS
amortized Analysis
35. A condition of the input data where the data will be handled by call(s) to the same program
binary tree
class
stack space
recursive case
36. Last in first out: describes the order of a stack
dictionary
recursive case
LIFO
recursion
37. 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
stack space
postorder
depth-first search
binary tree
38. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
linked list
queue
constructive
circularly linked list
39. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
stack space
divide and conquer
operator
node
40. In a tree search - to move back from the node currently being examined to its parent
random access
class
backtrack
data type
41. To hide similar items with the same name
quadratic
entinel
shadow
association list
42. In a search tree - a program that changes a state into a child state e.g a move in a game
linked list
doubly linked list
operator
filter
43. Container for storing a collection of data in unique key/value pairs
stack
procedural abstraction
big o
dictionary
44. Depth first search
complex data type
well-founded ordering xml
search
DFS
45. The amount of space on the runtime stack required for execution of a program
stack space
structure sharing
leaf
DFS
46. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
design pattern
immutable
goal
successor
47. An order of processing a tree in which the parent node is processed in between its children
inorder
DFS
entinel
quadratic
48. A collection of values
parent
linear O(n)
link
type
49. Given two sets -the union is the set of elements that are members of either set
merge
union
reference type
gedanken
50. All nodes below a give node in a tree
doubly linked list
DFS
descendants
ontology