
Group 6 - Flashcard
Flashcard
•
Computers
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Which sorting algorithm is the best choice for nearly sorted data? Options: Merge Sort, Quick Sort, Insertion Sort, Bubble Sort
Back
Insertion Sort
2.
FLASHCARD QUESTION
Front
In Quick Sort, if we always choose the smallest element as the pivot, what is the worst-case time complexity?
Back
O(n²)
3.
FLASHCARD QUESTION
Front
If an array is already sorted, which sorting algorithm performs the best? Options: Quick Sort, Merge Sort, Bubble Sort, Insertion Sort
Back
Insertion Sort
4.
FLASHCARD QUESTION
Front
What is the primary disadvantage of Merge Sort?
Back
Requires extra memory
5.
FLASHCARD QUESTION
Front
Which sorting algorithm will always take the same time for sorting any input? Options: Quick Sort, Merge Sort, Bubble Sort, Insertion Sort
Back
Merge Sort
6.
FLASHCARD QUESTION
Front
When does Bubble Sort perform the fewest swaps?
Back
When the array is already sorted
7.
FLASHCARD QUESTION
Front
If Merge Sort is applied to a 1 billion element dataset, what makes it a better choice than Quick Sort?
Back
Quick Sort degrades to O(n²) in worst case while Merge sort guarantees O(n log n) even in worst case.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
11.1 QUESTIONS
Flashcard
•
University
9 questions
Daily Routine of a Student at Instituto David
Flashcard
•
KG
8 questions
Quinndarius's Flashcard
Flashcard
•
KG - University
10 questions
Basics of Excel - Flashcard 1
Flashcard
•
KG - University
12 questions
Business Communication. Module 1
Flashcard
•
University
6 questions
MCA (2005) Code of Practice
Flashcard
•
KG - University
13 questions
Phrasal Verbs Flashcards
Flashcard
•
University
5 questions
Who Know Ms. Wagner Best??
Flashcard
•
KG
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade