Team 1
0
Team 2
0
Teams
Name
Score
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Loading
5
×
What is the worst case complexity of a quick sort algorithm?
O(𝒏^𝟐 )
Oops!
Check
Okay!
Check
10
×
What advantage does a linked list have over an array?
A linked list is not of a fixed size
Oops!
Check
Okay!
Check
15
×
When is Binary Search preferred over Linear Search?
Sorted Array
Oops!
Check
Okay!
Check
10
×
When struct is used instead of the keyword class means, what will happen in the program?
access is public by default
Oops!
Check
Okay!
Check
×
banana
Go to last place!
Oops!
×
fairy
Take points!
5
10
15
20
25
×
rocket
Go to first place!
Okay!
×
lifesaver
Give 25 points!
Oops!
25
×
Given the following Banana class in C++. Create a new Banana object properly
Banana sample("yellow");
Oops!
Check
Okay!
Check
15
×
What is the first change that insertion sort would make to this sequence? “6 2 5 9”
2 6 5 9
Oops!
Check
Okay!
Check
15
×
A ________ is blue print that defines certain characteristics and behavior. It is simply a representation of different types of objects.
Class
Oops!
Check
Okay!
Check
5
×
Which sorting algorithm uses a pivot point?
Quick sort
Oops!
Check
Okay!
Check
15
×
What is the output of the following program segment?
10
Oops!
Check
Okay!
Check
15
×
The following lists represent 3 passes of a sorting algorithm. Which algorithm is being used to sort the list?
Bubble Sort
Oops!
Check
Okay!
Check
×
monster
Reset all scores!
Oops!
×
star
Double points!
Okay!
×
gift
Win 15 points!
Okay!
×
thief
Give points!
5
10
15
20
25
25
×
What output is displayed after the following segment of code executes:
10 an infinite number of times. top() simply copies the top element of the stack. Use push() to remove an element from the stack.
Oops!
Check
Okay!
Check
×
baam
Lose 25 points!
Oops!
×
magnet
Take 15 points!
Okay!
×
fairy
Take points!
5
10
15
20
25
×
thief
Give points!
5
10
15
20
25
5
×
If the elements “A”, “B”, “C” and “D” are placed in a queue and are deleted one at a time, in what order will they be removed?
ABCD
Oops!
Check
Okay!
Check
10
×
Using a binary search why will the number 9 never be found in the following list: 11, 8, 13, 9, 7, 3
The list is not in order
Oops!
Check
Okay!
Check
×
Restart
Review
Join for Free
;
Your experience on this site will be improved by allowing cookies.
Allow cookies