Unit V DSA Quiz

Unit V DSA Quiz

University

25 Qs

quiz-placeholder

Similar activities

COA_QUIZ_UNIT I

COA_QUIZ_UNIT I

University

20 Qs

CPA MS-Office Hotkeys Quiz

CPA MS-Office Hotkeys Quiz

8th Grade - Professional Development

21 Qs

DI (EM24) - Diseño de Contenidos (T8)

DI (EM24) - Diseño de Contenidos (T8)

University - Professional Development

20 Qs

ASD, 3 parte

ASD, 3 parte

University

20 Qs

Licenciamiento de Software

Licenciamiento de Software

University

20 Qs

Google Quiz

Google Quiz

University

20 Qs

EXCEL DIAGNÓSTICO

EXCEL DIAGNÓSTICO

10th Grade - University

20 Qs

Acumulativa Período 1

Acumulativa Período 1

8th Grade - University

21 Qs

Unit V DSA Quiz

Unit V DSA Quiz

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Placement Stjosephs

FREE Resource

AI

Enhance your content in a minute

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

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of linear search in the worst case?

O(1)

O(log n)

O(n)

O(n log n)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which search algorithm works efficiently on sorted arrays?

Linear search

Binary search

Hashing

Jump search

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of binary search in the worst case?

O(n)

O(log n)

O(n log n)

O(1)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a necessary condition for binary search to work?

Unsorted list

Sorted list

Circular array

Linked list

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In linear search, the average number of comparisons is:

n

n/2

log n

1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a comparison-based sorting algorithm?

Radix sort

Counting sort

Bubble sort

Bucket sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Bubble sort repeatedly compares:

Current element with the first

Adjacent elements

All elements with the last

Even indexed elements

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?