Q1. Which of the following is NOT a type of algorithm design paradigm?

ASSESSMENT 1

Quiz
•
Computers
•
University
•
Hard
Sandhya .
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A) Divide and Conquer
B) Greedy
C) Dynamic Programming
D) Static Programming
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q2. In the context of sorting algorithms, what is the average-case time complexity of Quick Sort?
A) O(n)
B) O(n log n)
C) O(n^2)
D) O(log n)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q3. What is the worst-case time complexity of Bubble Sort?
A) O(n)
B) O(n log n)
C) O(n^2)
D) O(log n)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q4. Which algorithm is efficient for large datasets and has a time complexity of O(n log n)?
A) Insertion Sort
B) Merge Sort
C) Selection Sort
D) Bubble Sort
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q5. In the context of algorithms, what does 'Big O notation' describe?
A) The average-case time complexity of an algorithm
B) The space complexity of an algorithm
C) The upper bound of an algorithm's time complexity
D) The lower bound of an algorithm's space complexity
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q6. What is the time complexity of the following code?
for (int i = 0; i < n; i++) {
for (int j = 0; j < i; j++) {
// Constant time operation
}
}
A) O(n)
B) O(n log n)
C) O(n^2)
D) O(n^3)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q7. Find the time complexity of the following code:
for (int i = 0; i < n; i++) {
for (int j = 0; j < n; j++) {
for (int k = 0; k < n; k++) {
// Constant time operation
}
}
}
A) O(n)
B) O(n2)
C) O(n3)
D) O(2n)
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
COCAT - DAA

Quiz
•
University - Professi...
15 questions
Selection Sort & Exhaustive Search

Quiz
•
University
20 questions
Data Structures Quiz

Quiz
•
University
18 questions
Lecture 2b: Solving Search Problems - Parte2

Quiz
•
University
25 questions
CA mcq

Quiz
•
University
20 questions
2.3.1 Graph Traversal & Path Finding Algorithms

Quiz
•
12th Grade - University
15 questions
DSA Quiz 2cse2

Quiz
•
University
20 questions
Data Structures and Algorithm

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade