
Assessment2
Authored by Praveena Akki
Computers
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Quiz Informatica Jornadas Orientación Asunción
Quiz
•
12th Grade - University
10 questions
Teste python- Unesp-Jaboticabal
Quiz
•
University
14 questions
IOTA : Web Development Bootcamp Quiz 2
Quiz
•
University
10 questions
BOOLEAN CLUB QUIZ 1
Quiz
•
University
10 questions
Concept of Computer Network
Quiz
•
University
10 questions
Excel 2016 Formato de celda
Quiz
•
University
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
11 questions
Computer Science (1-9) - Identifying & Preventing Threats
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
