DAA_C_MCQ - 1

DAA_C_MCQ - 1

University

12 Qs

quiz-placeholder

Similar activities

Selection Sort & Exhaustive Search

Selection Sort & Exhaustive Search

University

15 Qs

Quiz3_DivideConquer_GreedyApproach

Quiz3_DivideConquer_GreedyApproach

University

10 Qs

Sorting Methods

Sorting Methods

9th Grade - University

10 Qs

Episode 12 DSA Thursdays Sorting Algo

Episode 12 DSA Thursdays Sorting Algo

University

15 Qs

Python 101

Python 101

University

15 Qs

RVS_Tech_quizz_even2024-25

RVS_Tech_quizz_even2024-25

University

10 Qs

GCSE Computer Science 9-1: Sorting Algorithms

GCSE Computer Science 9-1: Sorting Algorithms

10th Grade - University

10 Qs

Data Structuer

Data Structuer

University

12 Qs

DAA_C_MCQ - 1

DAA_C_MCQ - 1

Assessment

Quiz

Computers

University

Medium

Created by

Amit Mandal

Used 2+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

Media Image

What will be the output of the following program?

4

6

-1

8

2.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

What is the number of swaps needed to sort the numbers 8, 22, 7, 9, 31, 5, 13 in ascending order using bubble sort?

11

12

13

10

3.

MULTIPLE CHOICE QUESTION

3 mins • 2 pts

Media Image

What will be the output for the following recursive code?

12

24

26

28

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Media Image

What will be the output for the following recursive code?

10

51

55

30

5.

MULTIPLE CHOICE QUESTION

2 mins • 2 pts

What is the minimum number of moves required to solve the Towers of Hanoi problem with 3 disks?

4

5

6

7

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which statement accurately describes a non-recursive algorithm?

A non-recursive algorithm always calls itself for sorting.

A non-recursive algorithm sorts elements without using any loops.

A non-recursive algorithm sorts all elements at once without calling itself.

A non-recursive algorithm is less efficient than recursive ones.

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the Big-O Asymptotic Notation provide?

Lower Bound Idea

Exact Count of Operations

Upper Bound Idea

Average Case Analysis

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?