DSA QUIZ 2

DSA QUIZ 2

University

12 Qs

quiz-placeholder

Similar activities

DS Quizz

DS Quizz

University

12 Qs

How much do you know about garbage classification?

How much do you know about garbage classification?

University

10 Qs

IVY-TATA STEEL-ML-AUGUST-11

IVY-TATA STEEL-ML-AUGUST-11

11th Grade - University

14 Qs

Algorithms

Algorithms

University

8 Qs

DAA Quiz

DAA Quiz

University

10 Qs

Sumit

Sumit

University

10 Qs

Idioms

Idioms

9th Grade - University

10 Qs

Activity 2: Fundamentals of Algorithmic Problem

Activity 2: Fundamentals of Algorithmic Problem

University

10 Qs

DSA QUIZ 2

DSA QUIZ 2

Assessment

Quiz

Education

University

Hard

Created by

Kasturi Nikumbh

Used 1+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. Which of the following sorting algorithms is the fastest for sorting small arrays?

Quick Sort

Shell Sort

Insertion Sort

Heap Sort

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What is the advantage of selection sort over other sorting techniques?

It is faster than any other sorting technique

It is scalable

It works best for inputs which are already sorted

It requires no additional storage space

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What is an external sorting algorithm?

Algorithm that uses tape or disk during the sort

Algorithm that uses main memory during the sort

Algorithm that involves swapping

Algorithm that are considered ‘in place’

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What is an internal sorting algorithm?

Algorithm that uses tape or disk during the sort

Algorithm that uses main memory during the sort

Algorithm that involves swapping

Algorithm that are considered ‘in place’

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

  1. Select the appropriate code that performs bubble sort.

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

  1. How can you improve the best case efficiency in bubble sort? (The input is already sorted)

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. How many passes does an insertion sort algorithm consist of?

N

N - 1

N + 1

N2

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?