5.4 Sorting Algorithms

5.4 Sorting Algorithms

10th - 12th Grade

5 Qs

quiz-placeholder

Similar activities

Sorting Methods

Sorting Methods

Java: Chapter 20 Exam

Java: Chapter 20 Exam

Searching & Sorting

Searching & Sorting

2024 Sorting Methods Quizizz

2024 Sorting Methods Quizizz

2.1 - Algorithms OCR

2.1 - Algorithms OCR

5.4 Sorting Algorithms

5.4 Sorting Algorithms

Assessment

Quiz

Computers

10th - 12th Grade

Hard

Created by

Nancy Read

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...

5 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

For which of the problems would the bubble sort algorithm provide an appropriate solution. Choose all that apply.

Arranging a deck of cards from the lowest to the highest value cards.

Looking up a name in the phone book.

Sorting a stack of paper money into denominations -- i.e., $1, $5, $10 etc.

Sorting a basket of laundry into socks, shirts, shorts, and sheets.

Arranging books on a bookshelf by author's last name.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose you are sorting the following list of numbers inascending order using bubble sort: [16, 5, -1, 4, 12, 17, 3, 10, 5, 9]. After the first pass through the numbers, what value would appear on the right of the list?

16

17

9

-1

5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose you are sorting the following list of words into alphabetical order using bubble sort: [apple, orange, banana, papaya, lemon, pumpkin, squash, tomato]. After the first pass through the list, what word would appear on the right of the list?

apple

squash

tomato

pumpkin

papaya

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose you are sorting the following list of words in alphabetical order using bubble sort: [apple, banana, lemon, tomato, orange, squash, papaya, pumpkin]. Which of the following gives the correct order of the list after two passes through the list?

[apple, banana, lemon, tomato, orange, squash, papaya, pumpkin]

[apple, banana, lemon, squash, tomato, orange, papaya, pumpkin]

[apple, banana, lemon, orange, papaya, pumpkin, tomato, squash]

[apple, banana, lemon, orange, papaya, pumpkin, squash, tomato]

[apple, banana, lemon, orange, papaya, squash, tomato, pumpkin]

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following sorts are comparison sorts?

Radix

Bubble

Merge

Bucket

Discover more resources for Computers