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 stack containing a stack frame of variable value for each active invocation of procedure
null dereference
runtime stack
node
fifo
2. An order of processing a tree in which the parent node is processed before its children
stack space
preorder
null dereference
grammar
3. 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
operator
garbage collection
reference type
state
4. A tree node containing a contents value but with no children
goal
base case
runtime stack
leaf
5. An elements of a linked list - tree - or graph - often represented by a data structure
node
circularly linked list
intersection
link
6. In a tree - a node pointed to by a parent node
depth
complex data type
child
linear O(n)
7. In a search tree - a program that changes a state into a child state e.g a move in a game
branching factor
simple data type
stack space
operator
8. Last in first out: describes the order of a stack
class
immutable
scope
LIFO
9. A condition of the input data where the data will be handled by call(s) to the same program
recursive case
class
postorder
DFS
10. Composed of multiple sequential elements stored in contiguous bytes of memory
ancestors
runtime stack
array
depth-first search
11. Use of a function or method without knowing how it's accomplished
procedural abstraction
object
abstract data type
array
12. Given two sets - the intersection is the set of elements that are members of both sets
operator
scope
intersection
node
13. An order of processing a tree in which the parent node is processed in between its children
inorder
side-effect
structure sharing
general list
14. A case where a program calls itself
circular queue
descendants
reference type
recursion
15. The amount of space on the runtime stack required for execution of a program
boxed number
destructive
preorder
stack space
16. A collection of values
object
well-founded ordering xml
type
depth
17. Describes a though experiment or view of an entity
gedanken
preorder
recursive case
binary search tree (bst)
18. A problem whose solution requires a linear amount of time or space if the problem is size n
big o
random access
cons
linear O(n)
19. storage that is no longer pointed to by any variable and therefore can no longer be accessed
stack
merge
garbage
base case
20. In object oriented programming - a description of a set of similar objects
filter
garbage collection
runtime stack
class
21. A process that removes unwanted elements from a collection
divide and conquer
filter
fair
stack
22. To look through a data structure until a goal object is found
procedural abstraction
alias
search
design pattern
23. A description of the kinds of objects that exist in a computer program - e.g a Java class hierarchy
link
queue
ontology
operator
24. A variable containing the address of other data
simple ADT
runtime stack
design pattern
pointer
25. A data structure representing a sequence of items - which are removed in the same order as they were inserted.
interior node
quadratic
queue
complex ADT
26. Constructed of multiple components (simple or complex types)
complex data type
ontology
binary search tree (bst)
divide and conquer
27. An item (or description of items) being sough in a search
constructive
goal
stack frame
binary tree
28. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
ancestors
design pattern
sort
parent
29. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
gedanken
successor
ancestors
grammar
30. A section of the runtime stack holding the values of all variables for one invocation
link
association list
stack frame
grammar
31. Composed of individually named data fields
simple ADT
quadratic
procedural abstraction
node
32. A sequence of clear and precise step-by-step instructions for solving a problem in a finite amount of time
entinel
algorithm
structure sharing
intractable
33. A simple case that can be solved easily - without recursion
runtime stack
array
gedanken
base case
34. A case where tow data structures share some elements
complex ADT
state
structure sharing
design pattern
35. A pointer to data
data type
general list
sort
reference
36. 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
depth
binary tree
gedanken
garbage collection
37. A description of operations on a data type that could have multiple possible implementations
runtime stack
abstract data type
tail recursive
complex data type
38. A contiguous block of memory containing elements of the same type - accessed by numeric index
goal
array
ancestors
recursion
39. 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?"
divide and conquer
sort
data type
amortized Analysis
40. A given collection of values along with a collection of operations for use on those values
successor
simple data type
circular queue
data type
41. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
array
preorder
set difference
data structure
42. An order of processing a tree in which the parent node is processed after its children
postorder
data abstraction
queue
garbage
43. The next element in a linked list
intractable
boxed number
successor
random access
44. A problem-solving strategy in which a problem is broken down into sub-problems - until simple subproblems are reached
queue
divide and conquer
circular queue
LIFO
45. The top node of a tree - from which all other nodes can be reached
state
fair
dictionary
root
46. Describes a function that makes a new data structure but does not modify its arguments
LIFO
constructive
random access
object
47. Describes a data structure that cannot be changed once it has been created - such as Integer or String in Java
immutable
circular queue
big o
leaf
48. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
search
tail recursive
depth
intersection
49. First in first out: describes ordering of a queue
fifo
alias
union
immutable
50. The area of program text over which a variable can be referenced
scope
circularly linked list
stack space
algorithm