DSAlabL910IT

DSAlabL910IT

University

40 Qs

quiz-placeholder

Similar activities

Máquinas Simples e Calorimetria

Máquinas Simples e Calorimetria

7th Grade - University

42 Qs

UAS TEKNIK PEMESINAN 1

UAS TEKNIK PEMESINAN 1

University

40 Qs

UAS Termodinamika dan Transmisi Panas

UAS Termodinamika dan Transmisi Panas

University

40 Qs

Remidi Pr. Preskripsi Januari 2021

Remidi Pr. Preskripsi Januari 2021

University

40 Qs

JUEGO DE ESTOCÁSTICA

JUEGO DE ESTOCÁSTICA

University

40 Qs

Sistema digestivo

Sistema digestivo

University

35 Qs

2025 - I ADMINISTRACION

2025 - I ADMINISTRACION

University

45 Qs

Énergie 5e année

Énergie 5e année

5th Grade - University

42 Qs

DSAlabL910IT

DSAlabL910IT

Assessment

Quiz

Science

University

Practice Problem

Medium

Created by

Armilyn Martinez

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary purpose of sorting algorithms?

To decrease the size of the array

To arrange items in a specific order

To delete duplicate values

To convert numerical values to text

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following sorting algorithms is based on the divide-and-conquer technique?

Selection Sort

Merge Sort

Bubble Sort

Insertion Sort

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm always ensures the smallest element is placed first in the sorted part of the array?

Bubble Sort

Merge Sort

Selection Sort

Quick Sort

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity of Bubble Sort in its worst case?

O(nlog⁡n)O(n \log n)O(nlogn)

O(n)O(n)O(n)

O(n2)O(n^2)O(n2)

O(1)O(1)O(1)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which sorting algorithm uses a pivot element to partition the array?

Quick Sort

Shell Sort

Insertion Sort

Bucket Sort

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following sorting algorithms is considered stable?

Quick Sort

Merge Sort

Selection Sort

Heap Sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In-place sorting means the algorithm requires:

Extra space equal to the size of the input array

Constant or no extra space

More time for sorting

Recursive calls

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?

Discover more resources for Science