Search Header Logo

Kiểm tra kiến thức Python

Authored by Hải Triều

Instructional Technology

10th Grade

Used 3+ times

Kiểm tra kiến thức Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh `if` trong Python thường đi kèm với ký hiệu nào sau điều kiện?

Dấu ngoặc `{ }`

Dấu `then`

Dấu `:`

Dấu chấm phẩy `;`

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Câu nào sau đây là cú pháp rẽ nhánh hợp lệ trong Python?

if x === 10:

if (a > 0) and (b > 0):

if a <> b:

if a > b then

3.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Điền vào chỗ trống để hoàn chỉnh cú pháp rẽ nhánh:

4.

OPEN ENDED QUESTION

3 mins • 1 pt

Viết đoạn mã kiểm tra số nguyên `n` là dương, âm hay bằng 0 và in kết quả ra màn hình.

Evaluate responses using AI:

OFF

5.

OPEN ENDED QUESTION

3 mins • 1 pt

Ghi nhớ: Câu lệnh rẽ nhánh trong Python bao gồm: `if`, `elif`, và `else`. Các câu lệnh phải có dấu `:` và khối lệnh thụt lề đúng quy định.

Evaluate responses using AI:

OFF

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