Search Header Logo

Bài tập 1

Authored by hoang nguyen

Computers

1st Grade

Used 4+ times

Bài tập 1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong python, lệnh nào dưới đây dùng để in dữ liệu ra màn hình

input

print

eval

def

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong python, lệnh nào dưới đây dùng để lấy giá trị nhập từ bàn phím?

print

eval

input

while

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tên biến nào dưới đây đặt đúng quy tắc?

for

123x

hinh_vuong

&tamgiac

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh print(list[-3, 4, 2]) sẽ ra kết quả nào?

[-3, -2, -1, 1, 2]

[-3, -2, -1, 1, 2, 3, 4]

[-3, -1, 1, 3]

[-3, -1, 1, 3, 5]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cáo bao nhiu dấu * được in ra khi thực hiện lệnh sau:

x = 1

while (x < 10):

print("*")

if x % 3 == 1:

break;

x += 1

3

4

2

1

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Biểu thức sau có giá trị True hay False:

1 < 2 == 3 < 4

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Giả sử có đoạn chương trình sau:

a = 5

b = 7

a, b = b, a

Sau các lệnh trên giá trị của a, b là bao nhiu

a = 5, b = 5

a = 5, b = 7

a = 7, b = 7

a = 7, b = 5

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?