Search Header Logo

Week 4: Revision

Authored by K61 VI

Instructional Technology

9th - 12th Grade

Used 2+ times

Week 4: Revision
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

Biến trong Python có thể được khai báo như thế nào?

var x

int x

x = 5

x := 5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu nào sau đây không tồn tại trong Python?

int

float

string

character

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, để khai báo một chuỗi (string), ta sử dụng cặp dấu nào?

( )

{ }

" "

' '

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, biến kiểu boolean chỉ có thể có giá trị là gì?

0 và 1

True và False

"true" và "false"

Yes và No

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là cách sử dụng đúng của cấu trúc điều kiện if-else trong Python?

if x = 5: print("x is 5") else: print("x is not 5")

if x == 5: print("x is 5") else: print("x is not 5")

if x equals 5: print("x is 5") otherwise: print("x is not 5")

if x => 5: print("x is 5") else: print("x is not 5")

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong Python, cách nào sau đây đúng để sử dụng toán tử so sánh lớn hơn hoặc bằng? a) b) c) d) =<

=>

=

>=

=<

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cấu trúc điều kiện elif trong Python được sử dụng khi nào?

Để kiểm tra một điều kiện mới nếu điều kiện trước đó sai

Để kết thúc một câu lệnh if

Để thay thế cho câu lệnh else if

Để thêm một điều kiện khác vào sau câu lệnh else

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?

Discover more resources for Instructional Technology