DAA -1

DAA -1

79 Qs

quiz-placeholder

Similar activities

Game Design Semester 1 Test Review

Game Design Semester 1 Test Review

KG - University

75 Qs

FORMULIR MULTIMEDIA PEMBELAJARAN DIGITAL 2025

FORMULIR MULTIMEDIA PEMBELAJARAN DIGITAL 2025

9th - 12th Grade

78 Qs

S2 Fundamentals of Computing - A Study Review

S2 Fundamentals of Computing - A Study Review

KG - University

77 Qs

ICTM Week 6

ICTM Week 6

KG - University

82 Qs

Government Final Exam Review 2024

Government Final Exam Review 2024

KG - University

80 Qs

Unit 4 exam

Unit 4 exam

KG - University

75 Qs

DAA -1

DAA -1

Assessment

Quiz

others

Hard

Created by

Venkatadri M

FREE Resource

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)

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?