Search Header Logo

Câu hỏi về Thuật toán Sắp xếp và Tìm kiếm

Authored by Hà Hoa

Computers

1st Grade

Câu hỏi về Thuật toán Sắp xếp và Tìm kiếm
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a sorting algorithm?

Binary Search

Bubble Sort

Sequential Search

Binary Search on sorted list

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which algorithm has the best average time complexity when sorting?

Insertion Sort

Selection Sort

Quick Sort

Bubble Sort

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Binary search requires the input list to be:

Sorted

Random

Not sorted

Only integers

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which algorithm has the best time complexity O(n log n) in the average case?

Bubble Sort

Selection Sort

Quick Sort

Sequential Search

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When using the binary search algorithm, if the element to find is not in the list, what value will the algorithm return?

0

-1

The largest value in the list

The smallest value in the list

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not an interpolation sorting algorithm?

Insertion Sort

Quick Sort

Merge Sort

Selection Sort

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the bubble sort algorithm, what happens to the sorted elements in each iteration?

They will be moved to the front of the list.

They will not change position.

They will be sorted again.

They will be removed from the list.

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?