Search Header Logo

tin cuối kì 2

Authored by Khoa Nguyễn

Others

10th Grade

Used 1+ times

tin cuối kì 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cấu trúc lặp với số lần chưa biết trước có dạng như thế nào

While<điều kiện>: <khối lệnh>

While<điều kiện> <khôi lệnh>

While<điều kiện>:

While<điều kiện>do<khối lệnh>

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào để duyệt từng phần tử của danh sách

For

While - for

For kết hợp với lệnh range()

While kết hợp với lệnh range()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Toán tử nào dùng để kiểm tra 1 giá trị có nằm trong danh sách không

In

Int

Range

Append

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Sau khi thực hiện các câu lệnh sau mảng A như thế nào

>>>A=[1,2,3,4,5]

>>>A.remove(2)

>>> Print(A)

[1,2,3,4]

[2,3,4,5]

[1,2,4,5]

[1,3,4,5]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Nếu S="1234567890" thì S[0:4] là gì

"123"

"0123"

"01234"

"1234"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh sau trả lại giá trị gì

1. print("Trường Sơn".find("Sơn",4))

5

6

7

8

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để tách một xâu thành danh sách các từ ta dùng lệnh nào

Lệnh join()

Lệnh split()

Lệnh len()

Lệnh find()

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?