Search Header Logo

kiemtraTin

Authored by Le B2205354

Computers

Professional Development

kiemtraTin
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 12 pts

Lệnh nào được sử dụng để nhập dữ liệu từ bàn phím trong Python?

A. print()

B. input()

C. read()

D. scan()

2.

MULTIPLE CHOICE QUESTION

20 sec • 12 pts

Để xuất dữ liệu ra màn hình trong Python, lệnh nào được sử dụng?

A. echo()

B. output()

C. print()

D. display()

3.

MULTIPLE CHOICE QUESTION

20 sec • 12 pts

Khi sử dụng lệnh input(), kiểu dữ liệu được trả về là gì?

A. Số nguyên

B. Chuỗi

C. Danh sách

D. Boolean

4.

MULTIPLE CHOICE QUESTION

20 sec • 12 pts

Làm thế nào để nhập một số nguyên từ người dùng trong Python?

A. số = input()

B. số = int(input())

  • C. số = float(input())

D. số = str(input())

5.

MULTIPLE CHOICE QUESTION

20 sec • 12 pts

Câu lệnh nào được sử dụng để chuyển đổi một chuỗi thành số thực trong Python?

A. float()

B. str()

C. int()

D. number()

6.

MULTIPLE CHOICE QUESTION

20 sec • 12 pts

Trong Python, lệnh nào được sử dụng để đọc dữ liệu từ một tệp?

A. readfile()

B. open()

C. load()

D. fetch()

7.

MULTIPLE CHOICE QUESTION

20 sec • 12 pts

Làm thế nào để kết hợp nhiều chuỗi trong lệnh print()?

A. print("Hello" + " World")

B. print("Hello" & " World")

C. print("Hello" * " World")

D. print("Hello", "World")

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?