Search Header Logo

SNLTW_Lv1_buoi10

Authored by Long Trần

Education

6th Grade

Used 2+ times

SNLTW_Lv1_buoi10
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Chúng ta dùng hàm nào để kiểm tra kiểu dữ liệu của 1 biến?

kind( )

test( )

check( )

type( )

Answer explanation

Media Image

a = 'Hello'

b = 5

c = 5.5

d = True

print("Kiểu dữ liệu của biến a là:",type(a))

print("Kiểu dữ liệu của biến b là:",type(b))

print("Kiểu dữ liệu của biến c là:",type(c))

print("Kiểu dữ liệu của biến d là:",type(d))

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chúng ta có thể thực hiện phép tính bên trong hàm print ( )

Ví dụ: print(1 + 2)

Đúng

Sai

Answer explanation

Media Image

print ("Ai cũng biết 1 + 2 =", 1+2)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để in xuống dòng thì chúng ta dùng ký tự đặc biệt nào?

\\

\n

\t

Answer explanation

Media Image

print("Bầu ơi thương ấy bí cùng\nTuy rằng khác giống nhưng chung một giàn")

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Muốn in lặp lại 1 nội dung nào đó?

print('Hello '*5)

print('Hello')*5

print('Hello*5')

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Các biến nào sau đây được đặt tên sai quy tắc?

_myName

*myName

1myName

myName

Answer explanation

  • - Tên biến phải bắt đầu bằng một chữ cái (a-z, A-Z) hoặc dấu gạch dưới (_)

  • - Tên biến không thể chứa các ký tự đặc biệt như @, $, % và *

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu là phép tính luỹ thừa?

a//b

a%b

a**b

a*b

Answer explanation

Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

a = a + b

1 cách khác để viết phép tính này?

a += a

a =+ b

a += b

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?