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. Describes a data structure or device in which all accesses have the same cost - O(1)
recursive case
random access
entinel
structure sharing
2. A sequence of records - where each record contains a link to the next one
parent
linked list
ontology
reference
3. In a tree - the union of a node's parent and the parent's ancestors
side-effect
ancestors
child
stack space
4. A runtime error that occurs when an operation such as method call is attempted on a null pointer
branching factor
depth
depth-first search
null dereference
5. A data structure that can be identified at runtime as being a member of a class
postorder
side-effect
intractable
object
6. In a tree - a node pointed to by a parent node
binary search tree (bst)
filter
child
shadow
7. Use of a function or method without knowing how it's accomplished
complex data type
procedural abstraction
set difference
union
8. The area of program text over which a variable can be referenced
fair
scope
ancestors
backtrack
9. o(n^2) - a problem whose solution requires a quadratic amount of time or space if the problem is of size n
gedanken
grammar
quadratic
array
10. Any container with linear ordering
association list
depth
design pattern
general list
11. A stack containing a stack frame of variable value for each active invocation of procedure
reference
runtime stack
postorder
structure sharing
12. Values are in the most basic form and cannot be decomposed into smaller parts
simple data type
base case
random access
scope
13. The top node of a tree - from which all other nodes can be reached
data type
reference
root
array
14. A function whose value either does not involve a recursive call - or is exactly the value of a recursive call
tail recursive
simple data type
garbage collection
cons
15. Separation of the properties of a data type from its implementation
association list
dictionary
side-effect
data abstraction
16. In a search tree - a program that changes a state into a child state e.g a move in a game
operator
design pattern
constructive
abstract data type
17. A case where tow data structures share some elements
ancestors
procedural abstraction
circular queue
structure sharing
18. An order of processing a tree in which the parent node is processed in between its children
base case
sort
data abstraction
inorder
19. A problem whose solution requires a linear amount of time or space if the problem is size n
state
merge
linear O(n)
taxonomy
20. Describes a function that makes a new data structure but does not modify its arguments
interior node
constructive
goal
array
21. A linked list in which each elements has both forward and backward pointers
backtrack
doubly linked list
intersection
boxed number
22. Composed of multiple sequential elements stored in contiguous bytes of memory
search
complex ADT
array
interior node
23. A collection of values
random access
runtime stack
type
reference
24. A list of pairs - where each pair has a key and a value associated with the key
inorder
structure sharing
association list
fifo
25. A pointer to data
well-founded ordering xml
circular queue
destructive
reference
26. 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
ancestors
complex data type
union
big o
27. Constructed of multiple components (simple or complex types)
complex data type
divide and conquer
inorder
structure sharing
28. A formal description of a language in terms of vocabulary and rules for writing phrases and sentences
search
dereference
grammar
set difference
29. First-child/next-sibling
base case
fair
branching factor
recursive case
30. Give two sets - the set difference is the set of elements of the first set that are not members of the second set
big o
set difference
taxonomy
child
31. The next element in a linked list
inorder
constructive
successor
base case
32. To modify the order of a set of elements so that a desired ordering holds between them - e.g. alphabetic order
base case
sort
null dereference
structure sharing
33. The number of links between the root of a tree and the leaves
simple ADT
fifo
depth
parent
34. In object oriented programming - a description of a set of similar objects
general list
merge
dereference
class
35. An order of processing a tree in which the parent node is processed before its children
backtrack
preorder
base case
binary tree
36. Describes a though experiment or view of an entity
gedanken
destructive
fifo
class
37. A tree node containing a contents value but with no children
reference type
destructive
backtrack
leaf
38. A variable containing the address of other data
gedanken
intractable
circularly linked list
pointer
39. A collection of objects that are inserted and removed according to the LIFO principle
simple data type
stack
stack frame
binary tree
40. 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
intersection
interior node
binary search tree (bst)
big o
41. A problem that is so hard that it cannot be solved unless the problem is small
link
intractable
reference
linked list
42. A condition of the input data where the data will be handled by call(s) to the same program
recursive case
amortized Analysis
sort
design pattern
43. Last in first out: describes the order of a stack
leaf
filter
LIFO
simple ADT
44. Given two sets -the union is the set of elements that are members of either set
parent
link
dereference
union
45. Describes a function that modifies its arguments
destructive
boxed number
reference
divide and conquer
46. A case where a program calls itself
fair
interior node
scope
recursion
47. 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
binary tree
node
side-effect
backtrack
48. Implementation of complex ADTs. Physical representation of how data is stored - organized - and manipulated
divide and conquer
entinel
root
data structure
49. A search in which children of a node are considered before siblings are considered
depth-first search
random access
procedural abstraction
amortized Analysis
50. A classification of objects into a tree structure that groups related objects
taxonomy
set difference
branching factor
interior node