DAA -1

DAA -1

79 Qs

quiz-placeholder

Similar activities

Practice Chapter 6 Test

Practice Chapter 6 Test

9th - 12th Grade

77 Qs

Government Final Exam Review 2024

Government Final Exam Review 2024

KG - University

80 Qs

SPANISH: VERB SER & PROFESSIONS

SPANISH: VERB SER & PROFESSIONS

KG - University

77 Qs

Mr. Bradley's Respitory

Mr. Bradley's Respitory

9th - 12th Grade

79 Qs

Regulator Functionality and Components Quiz

Regulator Functionality and Components Quiz

12th Grade

78 Qs

ICP Fall Semester Exam Study Guide

ICP Fall Semester Exam Study Guide

KG - University

79 Qs

Revision of  LO3.1 Cells Review

Revision of LO3.1 Cells Review

KG - University

79 Qs

DAA -1

DAA -1

Assessment

Quiz

others

Practice Problem

Hard

Created by

Venkatadri M

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?