FINAL EXAM PERFECT UGRD-ITE6202B Data Structure and Algorithms
FINAL EXAM PERFECT UGRD-ITE6202B Data Structure and Algorithms
Algorithms
1. Home
2. My courses
3. UGRD-ITE6202B-2233T
4. FINAL EXAMINATION
5. FINAL EXAMINATION
Flag question
Question text
It is a node-based binary tree structure which has the left and right subtree.
binary search
binary tree
Feedback
Your answer is correct.
Question 2
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It contains only nodes with keys lesser than the node’s key.
right subtree
node tree
left subtree
Feedback
Your answer is correct.
Question 3
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Every node other than the leaf nodes has 2 child nodes.
Question 4
Correct
Mark 1.00 out of 1.00
Flag question
Question text
All levels are filled except possibly the last one.
Feedback
Your answer is correct.
Question 5
Correct
Mark 1.00 out of 1.00
Flag question
Question text
All nodes have two children and all levels are at the same level.
Question 6
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Select one:
True
False
Question 7
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Hashmap is synchronized.
Select one:
True
False
Question 8
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Hash tables are synchronized.
Select one:
True
False
Question 9
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is the transformation of the string characters into a usually shorter fixed-length value that
represents the original string.
hashing
string
string manipulation
concatenation
Feedback
Your answer is correct.
Question 10
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is used to compare changes over the same period of time for more than one group.
line graph
bar graph
pie chart
graph
Feedback
Your answer is correct.
Question 11
Correct
Mark 1.00 out of 1.00
Flag question
Question text
bar graph
graph
line graph
pie chart
Feedback
Your answer is correct.
Question 12
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Are used to compare things between different groups or to track changes over time.
graph
bar graphs
pie chart
line graph
Feedback
Your answer is correct.
Question 13
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is a type of diagram that organizes and represents a set of numerical or qualitative data.
graph
chart
data chart
Feedback
Your answer is correct.
Question 14
Correct
Mark 1.00 out of 1.00
Flag question
Question text
graph
data chart
chart
Feedback
Your answer is correct.
Question 15
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is an algorithm that finds the shortest path between nodes in a graph.
Dijkstra’s algorithm
Shortest nodes
Shortest path
Feedback
Your answer is correct.
Question 16
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It can be used to determine the shortest path from one node in a graph to every other
node.
Dijkstra’s algorithm
shortest path
depth-first traversal
Feedback
Your answer is correct.
Question 17
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is also known as ordered binary trees.
tree structure
binary tree
Question 18
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It contains only nodes with keys greater than the node’s key.
subtree
Question 19
Correct
Mark 1.00 out of 1.00
Remove flag
Question text
It is a hash function that computes an index into an array.
hash code
hash
hash function
Question 20
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Hash tables should avoid collision.
Select one:
True
False
Question 21
Correct
Mark 1.00 out of 1.00
Flag question
Question text
These are a software artifacts that allows data to be stored, organized and accessed.
algorithm
software
Data structures
database
Feedback
Your answer is correct.
Question 22
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A data structure requires a large amount of space for each data item stores and a large
amount of time to perform a single operation and a certain amount of programming effort.
Select one:
True
False
Question 23
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is a mathematical model for a certain class of data structure that has similar behavior.
abstract data
abstract
Question 24
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is a collection of nodes wherein every node contains the address of the next node.
stack
linked list
array
Feedback
Your answer is correct.
Question 25
Correct
Mark 1.00 out of 1.00
Flag question
Question text
In building a linked list, it needs three pointers to build: one to point to the first node in the
list, one to point to the last node and one to create the new one.
Select one:
True
False
Question 26
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Linked list contains the null value before inserting a node.
Select one:
True
False
Question 27
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is a linear data structure that can be accessed, stored and removed at one end.
linked list
stack
queue
Feedback
Your answer is correct.
Question 28
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A stack is called LIFO structure. Last in/first out.
Select one:
True
False
Question 29
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is a list-like structure in which elements are removed from only one end.
queue
linked list
stack
Remove flag
Question text
It is a collection of values.
variable
data type
type
Feedback
Your answer is correct.
Question 31
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is a piece of information whose values are drawn from a type.
data structures
data
data item
data element
Feedback
Your answer is correct.
Question 32
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is a stack operation that inserts a data item onto the structure.
pop
input
peek
push
Feedback
Your answer is correct.
Question 33
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is a stack operation that removes an item on top of the stack.
remove top
pop
delete
remove
Feedback
Your answer is correct.
Question 34
Correct
Mark 1.00 out of 1.00
Flag question
Question text
This defines the logical form of the data type.
data type
ADT
abstract
data structures
Feedback
Your answer is correct.
Question 35
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is a type together with the collection of operations to manipulate the type.
data type
operations
type of data
Feedback
Your answer is correct.
Question 36
Correct
Mark 1.00 out of 1.00
Remove flag
Question text
It is a physical data structure.
Memory
Array
Linked list
Array list
Feedback
Your answer is correct.
Question 37
Correct
Mark 1.00 out of 1.00
Remove flag
Question text
It is a list of items.
nodes
linked list
array list
array
Feedback
Your answer is correct.
Question 38
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It contains an element field to store an element value, and a next field to store a pointer to
the next node on the list.
Objects
Data
Link class
Data element
Feedback
Your answer is correct.
Question 39
Correct
Mark 1.00 out of 1.00
Remove flag
Question text
This linked list operation determines whether a particular item is in the list.
Find
Traversing
Search
Feedback
Your answer is correct.
Question 40
Correct
Mark 1.00 out of 1.00
Remove flag
Question text
A type of linked list that arranges elements according to some criteria.
sorted lists
sorted elements
unsorted lists
sorting
Feedback
Your answer is correct.
Question 41
Correct
Mark 1.00 out of 1.00
Flag question
Question text
This type of linked list whose elements are in no particular order.
inorder
post order
unsorted order
unsorted list
Feedback
Your answer is correct.
Question 42
Correct
Mark 1.00 out of 1.00
Flag question
Question text
This stack operation clears the stack.
clear
clear ()
clear operation()
clear operation
Feedback
Your answer is correct.
Question 43
Correct
Mark 1.00 out of 1.00
Flag question
Question text
This stack operation checks if the stack is empty.
Empty()
isEmpty ()
isEmpty
Empty
Feedback
Your answer is correct.
Question 44
Correct
Mark 1.00 out of 1.00
Remove flag
Question text
It puts an element on the top of the stack.
push()
push(el)
push
Feedback
Your answer is correct.
Question 45
Correct
Mark 1.00 out of 1.00
Remove flag
Question text
It takes the topmost element from the stack.
pop
pop stack
pop()
Feedback
Your answer is correct.
Question 46
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It provides a natural organization for data.
A.)
B.)
C.)
D.)
ANSWER: A
Trees
Binary tree
Question 47
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is an abstract data type that stores elements hierarchically.
tree structure
tree
Binary tree
Feedback
Your answer is correct.
Question 48
Correct
Mark 1.00 out of 1.00
Flag question
Question text
It is a pair of nodes.
edge
nodes
edge of tree
path
Feedback
Your answer is correct.
Question 49
Correct
Mark 1.00 out of 1.00
Flag question
Question text
A tree is either empty or consists of nodes.
Select one:
True
False
Question 50
Correct
Mark 1.00 out of 1.00
Flag question
Question text
Ordered trees
linear order
Children node
Feedback
Your answer is correct.