
DSAlabL910IT

Quiz
•
Science
•
University
•
Medium
Armilyn Martinez
Used 2+ times
FREE Resource
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(nlogn)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
Create a free account and access millions of resources
Similar Resources on Wayground
36 questions
APP1 E2 Gilmore Time Management

Quiz
•
University
45 questions
ESL Science Review Test

Quiz
•
4th Grade - University
36 questions
Space Science REVIEW

Quiz
•
5th Grade - University
35 questions
BORN TO EXPLORE

Quiz
•
University
36 questions
práctica virus t1

Quiz
•
University
41 questions
Sentit del tacte

Quiz
•
12th Grade - Professi...
40 questions
Examen 1 Ecotoxicología

Quiz
•
University
38 questions
BÀI kiểm tra cuối học kì 1 HH 10

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Science
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University