
DAA -1
Authored by Venkatadri M
others

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
79 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of asymptotic analysis?
To describe the efficiency of an algorithm as input size approaches infinity
To calculate the exact running time of an algorithm
To compare different programming languages
To analyze memory usage of algorithms
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which notation is used to describe the upper bound of an algorithm's running time?
Big O notation
Theta notation
Omega notation
Alpha notation
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If an algorithm has a running time of O(n²), what happens as the input size increases significantly?
The running time remains constant
The running time increases quadratically
The running time decreases
The running time becomes linear
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the context of sorting algorithms, what does input size refer to?
The number of algorithms used
The number of steps in the algorithm
The number of items to be sorted
The time taken to sort
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst-case running time for a sorting algorithm that operates in O(n log n) time complexity?
O(n)
O(log n)
O(n²)
O(n log n)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT a characteristic of a binary search tree?
Each node has at most two children
The left child is less than the parent node
The right child is greater than the parent node
All nodes are connected in a circular manner
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity for searching an element in a balanced binary search tree?
O(1)
O(log n)
O(n)
O(n log n)
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?