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. A node of a tree that has children
LIFO
garbage collection
grammar
interior node
2. In a search tree - a program that changes a state into a child state e.g a move in a game
simple ADT
recursion
interior node
operator
3. To look through a data structure until a goal object is found
data abstraction
root
recursion
search
4. An order of processing a tree in which the parent node is processed in between its children
link
complex data type
inorder
linear O(n)
5. A linked list in which each elements has both forward and backward pointers
gedanken
ontology
doubly linked list
big o
6. The number of links between the root of a tree and the leaves
depth
association list
alias
pointer
7. Two variables that reference the same object
tail recursive
ontology
alias
object
8. Composed of a collection of data values; implemented with a data structure
data abstraction
complex ADT
ancestors
algorithm
9. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
linear O(n)
divide and conquer
reference
quadratic
10. To convert from a pointer to the data that is pointed to
cons
dereference
inorder
garbage
11. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
grammar
queue
algorithm
procedural abstraction
12. Describes a function that makes a new data structure but does not modify its arguments
constructive
intractable
ontology
intersection
13. An order of processing a tree in which the parent node is processed after its children
array
data abstraction
postorder
depth-first search
14. A pointer to the next element in a linked list
link
constructive
data type
circularly linked list
15. A condition of the input data where the data will be handled by call(s) to the same program
recursive case
runtime stack
association list
ontology
16. A queue implemented within an array - where the first elements of the array logically follows the last elements
array
well-founded ordering xml
garbage
circular queue
17. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
grammar
sort
union
data structure
18. The next element in a linked list
successor
shadow
association list
type
19. First-child/next-sibling
fair
cons
simple ADT
data abstraction
20. A linked list in which the last element points back to the first element
circularly linked list
entinel
queue
depth-first search
21. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
ontology
linear O(n)
recursive case
structure sharing
22. 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
descendants
branching factor
big o
fifo
23. A process that removes unwanted elements from a collection
dereference
filter
abstract data type
data abstraction
24. A pattern that describes a set of similar programs
descendants
binary tree
preorder
design pattern
25. An order of processing a tree in which the parent node is processed before its children
tail recursive
array
preorder
object
26. Describes a function that modifies its arguments
constructive
destructive
array
stack space
27. A runtime error that occurs when an operation such as method call is attempted on a null pointer
binary tree
null dereference
inorder
parent
28. The process of collecting garbage for recycling
binary search tree (bst)
simple ADT
algorithm
garbage collection
29. Describes a data structure or device in which all accesses have the same cost - O(1)
constructive
dictionary
data structure
random access
30. An extra record at the start or end of a data structure such as a linked list - to simplify processing
binary search tree (bst)
entinel
ancestors
scope
31. Container for storing a collection of data in unique key/value pairs
dictionary
algorithm
postorder
fair
32. A simple case that can be solved easily - without recursion
base case
grammar
recursion
successor
33. A data structure that can be identified at runtime as being a member of a class
garbage
object
dereference
stack space
34. A collection of objects that are inserted and removed according to the LIFO principle
set difference
state
DFS
stack
35. In a tree - the union of a node's parent and the parent's ancestors
queue
structure sharing
descendants
ancestors
36. A case where a program calls itself
quadratic
merge
recursion
descendants
37. An ordering that can be guaranteed to terminate - e.g. starting at a positive integer and counting down
ancestors
destructive
well-founded ordering xml
reference
38. To hide similar items with the same name
depth-first search
recursion
grammar
shadow
39. Given two sets -the union is the set of elements that are members of either set
well-founded ordering xml
entinel
gedanken
union
40. A description of operations on a data type that could have multiple possible implementations
cons
abstract data type
successor
linear O(n)
41. A case where tow data structures share some elements
structure sharing
fair
link
dictionary
42. 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
taxonomy
interior node
ontology
cons
43. A variable containing the address of other data
pointer
general list
complex ADT
queue
44. A description of the state of a process such as a board game
class
state
garbage collection
descendants
45. A given collection of values along with a collection of operations for use on those values
runtime stack
root
inorder
data type
46. All nodes below a give node in a tree
immutable
ancestors
descendants
quadratic
47. The amount of space on the runtime stack required for execution of a program
reference
stack space
stack
descendants
48. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
tail recursive
general list
fifo
grammar
49. 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
set difference
side-effect
big o
entinel
50. A number that is defined as an object so that it has a runtime type and methods that can be used - e.g. Integer in Java
linked list
destructive
type
boxed number