DSA QUIZ 2

DSA QUIZ 2

University

12 Qs

quiz-placeholder

Similar activities

Error Correction Test

Error Correction Test

University

15 Qs

ACADEMIC DIHONESTY

ACADEMIC DIHONESTY

University

13 Qs

Antropometri

Antropometri

University

15 Qs

Quantifiers

Quantifiers

University

10 Qs

PENILAIAN KINERJA (PERFORMANCE APPRAISAL)

PENILAIAN KINERJA (PERFORMANCE APPRAISAL)

University

10 Qs

Quiz Briefing of Outcome-based Education (OBE) OCT 2020

Quiz Briefing of Outcome-based Education (OBE) OCT 2020

University

13 Qs

INTERNATIONAL LAW UTS

INTERNATIONAL LAW UTS

University

10 Qs

KCOC MITIGASI RISIKO PBJ

KCOC MITIGASI RISIKO PBJ

University

10 Qs

DSA QUIZ 2

DSA QUIZ 2

Assessment

Quiz

Education

University

Practice Problem

Hard

Created by

Kasturi Nikumbh

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?