
Assessment2

Quiz
•
Computers
•
University
•
Easy
Praveena Akki
Used 1+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the average case running time of an insertion sort algorithm?
O(N)
O(N log N)
O(log N)
O(N2)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the running time of an insertion sort algorithm if the input is pre-sorted?
O(N2)
O(N log N)
O(N)
O(M log N)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the number of passes to sort the elements using insertion sort?
6
5
7
1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For the following question, how will the array elements look like after second pass?
34, 8, 64, 51, 32, 21
8, 21, 32, 34, 51, 64
8, 32, 34, 51, 64, 21
8, 34, 51, 64, 32, 21
8, 34, 64, 51, 32, 21
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Binary search can be used in an insertion sort algorithm to reduce the number of comparisons.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
For the best case input, the running time of an insertion sort algorithm is?
Linear
Binary
Quadratic
Depends on the input
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does time complexity measure in an algorithm?
Number of operations executed
Amount of memory used
Number of lines of code
Input size
8.
DRAW QUESTION
3 mins • 1 pt
What is the time complexity of a binary search algorithm?

9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best describes space complexity?
The amount of time an algorithm takes to run
The amount of memory an algorithm requires to execute
The number of inputs an algorithm can handle
The number of times an algorithm loops
Similar Resources on Wayground
12 questions
CSUG Spring 2024 GIM Trivia

Quiz
•
University
10 questions
PSP Week 5

Quiz
•
University
10 questions
27Mar

Quiz
•
University
10 questions
Tes Awal Modul 4

Quiz
•
University
12 questions
DAA_C_MCQ - 1

Quiz
•
University
12 questions
Quiz-1(Div-C)

Quiz
•
University
10 questions
Time Complexity

Quiz
•
University
11 questions
JAVALO3

Quiz
•
University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
34 questions
WH - Unit 2 Exam Review -B

Quiz
•
10th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
10 questions
Transition Words

Quiz
•
University
5 questions
Theme

Interactive video
•
4th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
10 questions
Spanish Greetings and Goodbyes!

Lesson
•
6th Grade - University