Search Header Logo

11 CHUYÊN

Authored by Xuân Đặng

Instructional Technology

1st Grade

Used 3+ times

11 CHUYÊN
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để khai báo hàng đợi hai đầu deque, ta viết:

deque <Kiểu dữ liệu> <Tên deque>

<Kiểu dữ liệu> <Tên deque>

deque <Tên deque> <Kiểu dữ liệu>

deque: <Kiểu dữ liệu> <Tên deque>

2.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Hàm trả về số lượng phần tử của deque:

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Hàm kiểm tra xem deque có rỗng hay ko, nếu rỗng trả về true, ngược lại trả về false:

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Hàm trả về giá trị phần tử đầu tiên:

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Hàm trả về giá trị phần tử cuối cùng:

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Hàm thêm phần tử vào cuối deque:

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Hàm thêm phần tử vào đầu deque:

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?