Search Header Logo

Quiz Ôn tập

Authored by Trang Nguyễn Thị

Computers

7th Grade

Used 3+ times

Quiz Ôn tập
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does the sequential search algorithm work?

Check each element in the list in order until the desired element is found

Always divide the list in half to search

Search for the smallest element first

Compare the middle element of the list and then expand outwards

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When does the worst-case scenario of the sequential search algorithm occur?

The desired element is at the beginning of the list

The desired element is at the end of the list or not in the list

The list has a small number of elements

The desired element is in the middle of the list

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the binary search algorithm require before execution?

The list must be sorted first

The list must not contain duplicate numbers

The list must have at least 10 elements

The list must contain integers

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Assuming there is a sorted list [10, 20, 30, 40, 50, 60]. How many steps does the binary search algorithm need to find the number 50?

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does the Selection Sort algorithm work?

Find the largest element and move it to the front of the list

Find the smallest element and place it in the first position, then continue with the rest

Divide the list into two parts and sort

Iterate through each element and swap if necessary

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

After the first iteration of the Selection Sort algorithm, which element will be in the correct position in the list [9, 3, 5, 1]?

9

3

5

1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many steps are needed to find the number 6 in the list [2, 4, 8, 10] using binary search?

1

2

3

Not found

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?