Algorithm Quiz

Algorithm Quiz

9th Grade

8 Qs

quiz-placeholder

Similar activities

Algorithms

Algorithms

8th - 10th Grade

5 Qs

Sequencing, Selection and Iteration

Sequencing, Selection and Iteration

8th - 10th Grade

12 Qs

Search Algorithms

Search Algorithms

9th - 11th Grade

12 Qs

Sorting Algorithm

Sorting Algorithm

9th - 12th Grade

10 Qs

Algorithm Complexity Quiz

Algorithm Complexity Quiz

9th - 12th Grade

10 Qs

CS Python Fundamentals 8.8 Lesson Quiz

CS Python Fundamentals 8.8 Lesson Quiz

9th - 12th Grade

10 Qs

APCSA Algorithms

APCSA Algorithms

9th - 12th Grade

12 Qs

Selection Sort

Selection Sort

9th - 12th Grade

6 Qs

Algorithm Quiz

Algorithm Quiz

Assessment

Quiz

Computers

9th Grade

Hard

Created by

H Y

Used 7+ times

FREE Resource

8 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

20 sec • 1 pt

Which algorithm did we learn today?

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

After performing the first step in the Insertion Sort Algorithm (in ascending order), what is the result?

Initial List: [5, 2, 8, 4, 1]

[1, 5, 2, 8, 4]

[2, 5, 8, 4, 1]

[5, 2, 8, 4, 1]

[1, 4, 8, 2, 5]

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

After performing the third step in the Insertion Sort Algorithm (in ascending order), what is the result?

Initial List: [5, 2, 8, 4, 1]

[5, 2, 8, 4, 1]

[1, 2, 5, 4, 8]

[1, 2, 4, 5, 8]

[2, 5, 8, 4, 1]

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

List the key steps involved in the Insertion Sort Algorithm.

Comparison, Swap, Iteration, Pass, Repeat

Dividing, merging and sorting

Take, Compare, Insert

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In the Insertion Sort algorithm, where is the first element of the original list placed initially?

Middle of the sorted list

Leftmost position of the sorted list

Rightmost position of the sorted list

Outside the sorted list

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In the Insertion Sort algorithm, what happens if the current element is bigger than the rightmost element in the sorted list?

Inserted at the beginning

Ignored

Skipped

Inserted at the end

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  • After performing the first step in the Insertion Sort Algorithm (descending order), what is the result?

  • Initial List: [1, 5, 8, 4, 3]

[8, 5, 4, 3, 1]

[8, 4, 3, 1, 5]

  • [1, 5, 8, 4, 3]

  • [1, 5, 8, 4, 3]

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  • After performing the third step in the Insertion Sort Algorithm (descending order), what is the result?

  • Initial List: [1, 5, 8, 4, 3]

[8, 5, 1, 4, 3]

  • [1, 5, 8, 4, 3]

[8, 5, 4, 1, 3]

  • [5, 1, 8, 4, 3]