DSA QUIZ 2

DSA QUIZ 2

University

12 Qs

quiz-placeholder

Similar activities

ALGORITHMS QUIZ (Post)

ALGORITHMS QUIZ (Post)

1st Grade - University

10 Qs

DSA & Code Snippets

DSA & Code Snippets

University

15 Qs

DS Q-1-2024 Batch

DS Q-1-2024 Batch

University

15 Qs

PIC_RTOS_1

PIC_RTOS_1

University

10 Qs

operating system

operating system

University

10 Qs

Grade 7 EIM Preventive basic maintenance

Grade 7 EIM Preventive basic maintenance

KG - University

15 Qs

Basic on Operating System

Basic on Operating System

University

10 Qs

ITRA August Monthly Meet

ITRA August Monthly Meet

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?