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. In a search tree - a program that changes a state into a child state e.g a move in a game
state
operator
linked list
goal
2. Given two sets - the intersection is the set of elements that are members of both sets
shadow
null dereference
side-effect
intersection
3. To convert from a pointer to the data that is pointed to
general list
dereference
LIFO
cons
4. Any effect of a procedure other than returning a value - e.g. printing or modifying a data structure
data abstraction
complex data type
side-effect
ontology
5. A case where tow data structures share some elements
binary search tree (bst)
object
depth-first search
structure sharing
6. Composed of a collection of data values; implemented with a data structure
complex ADT
scope
branching factor
entinel
7. A contiguous block of memory containing elements of the same type - accessed by numeric index
preorder
reference type
amortized Analysis
array
8. A runtime error that occurs when an operation such as method call is attempted on a null pointer
null dereference
depth
stack space
shadow
9. A queue implemented within an array - where the first elements of the array logically follows the last elements
scope
circular queue
tail recursive
amortized Analysis
10. Describes a though experiment or view of an entity
goal
structure sharing
gedanken
class
11. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
object
data type
node
well-founded ordering xml
12. In a tree - the union of a node's parent and the parent's ancestors
association list
data type
ancestors
binary tree
13. The number of links between the root of a tree and the leaves
depth
descendants
design pattern
scope
14. A variable containing the address of other data
shadow
depth
stack
pointer
15. Describes a data structure or device in which all accesses have the same cost - O(1)
pointer
linked list
intractable
random access
16. An item (or description of items) being sough in a search
goal
data abstraction
recursion
taxonomy
17. The area of program text over which a variable can be referenced
stack space
linked list
interior node
scope
18. First in first out: describes ordering of a queue
ontology
simple data type
root
fifo
19. Depth first search
cons
DFS
data structure
class
20. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
structure sharing
grammar
linear O(n)
boxed number
21. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
quadratic
set difference
runtime stack
dereference
22. An extra record at the start or end of a data structure such as a linked list - to simplify processing
branching factor
sort
entinel
complex data type
23. In a tree search - to move back from the node currently being examined to its parent
recursion
array
backtrack
recursive case
24. Two variables that reference the same object
successor
union
alias
reference
25. In a tree - a node pointed to by a parent node
child
backtrack
binary search tree (bst)
fair
26. To look through a data structure until a goal object is found
simple data type
side-effect
procedural abstraction
search
27. The next element in a linked list
taxonomy
amortized Analysis
successor
linear O(n)
28. A classification of objects into a tree structure that groups related objects
node
taxonomy
complex ADT
stack frame
29. A collection of objects that are inserted and removed according to the LIFO principle
operator
dictionary
simple data type
stack
30. A node of a tree that has children
ontology
simple data type
array
interior node
31. A linked list in which the last element points back to the first element
data type
postorder
circularly linked list
binary search tree (bst)
32. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
queue
abstract data type
null dereference
ontology
33. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
dictionary
sort
complex ADT
taxonomy
34. To hide similar items with the same name
shadow
data type
simple data type
descendants
35. 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
garbage collection
circularly linked list
descendants
big o
36. A data structure that can be identified at runtime as being a member of a class
gedanken
interior node
doubly linked list
object
37. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
algorithm
filter
dereference
dictionary
38. Values are in the most basic form and cannot be decomposed into smaller parts
simple data type
root
array
ancestors
39. First-child/next-sibling
binary search tree (bst)
amortized Analysis
recursive case
fair
40. A problem that is so hard that it cannot be solved unless the problem is small
runtime stack
simple data type
intractable
alias
41. A problem whose solution requires a linear amount of time or space if the problem is size n
divide and conquer
data abstraction
well-founded ordering xml
linear O(n)
42. storage that is no longer pointed to by any variable and therefore can no longer be accessed
parent
complex data type
side-effect
garbage
43. The top node of a tree - from which all other nodes can be reached
grammar
simple ADT
stack
root
44. In object oriented programming - a description of a set of similar objects
class
entinel
merge
backtrack
45. A sequence of records - where each record contains a link to the next one
simple data type
design pattern
linked list
doubly linked list
46. A case where a program calls itself
reference type
dictionary
recursion
base case
47. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
immutable
binary tree
preorder
divide and conquer
48. The amount of space on the runtime stack required for execution of a program
big o
stack space
child
preorder
49. A pointer to data
amortized Analysis
garbage collection
reference
runtime stack
50. A process that removes unwanted elements from a collection
gedanken
filter
cons
garbage