Search Header Logo

Module 1- LV1- Python

Authored by Nguyễn HN)

Instructional Technology

9th - 12th Grade

Used 5+ times

Module 1- LV1- Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh nào sau đây tạo một biến a với giá trị là số nguyên 5?

Which of the following statements creates a variable a with the value of the integer 5?

int a = 5

a = int(5)

a = 5

let a = 5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả của đoạn mã sau là gì?

What is the result of the following code?

A

B

None

Syntax Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả của đoạn mã sau là gì?

1 2 3

0 1 2

0 1 2 3

1 2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả của đoạn mã sau là gì?

5

6

2

Error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Đoạn mã sau tạo một đối tượng như thế nào?

How does the following code create an object?

Tạo đối tượng Dog có tên là "Buddy"

Create a Dog object named "Buddy"

Tạo một lớp Dog có phương thức '__init__'

Create a Dog class that has an '__init__' method.

Tạo một biến my_dog có giá trị là "Buddy"

Create a variable my_dog with the value "Buddy"

Tạo một lớp my_dog có phương thức '__init__'

Create a class my_dog that has a method '__init__'

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả của đoạn mã sau là gì?

[1, 2, 3, 4]

[1, 2, 3]

[4]

[1, 2, 3, 3]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Đoạn mã sau sẽ in ra kết quả gì?

1

2

"b"

Error

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?