Search Header Logo

Quiz về Tin học 10: Các lệnh vào ra đơn giản

Authored by Th Đinh

Information Technology (IT)

10th Grade

Used 1+ times

Quiz về Tin học 10: Các lệnh vào ra đơn giản
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

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

print()

input()

scan()

read()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khi nào cần sử dụng lệnh float(input())?

Khi nhập danh sách

Khi nhập số nguyên

Khi nhập chuỗi

Khi nhập số thực

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào sau đây sẽ báo lỗi khi thực hiện?

y = int('abc')

z = float('123.45')

a = str(100)

x = input('Nhập số x: ')

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kiểu dữ liệu nào không phải là kiểu cơ bản trong Python?

Số nguyên

Danh sách

Chuỗi

Số thực

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào được sử dụng để chuyển đổi kiểu dữ liệu từ chuỗi sang số nguyên?

list()

str()

int()

float()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Khi nhập dữ liệu kiểu số thực, lệnh nào là đúng?

x = input('Nhập số: ')

x = float(input('Nhập số: '))

x = str(input('Nhập số: '))

x = int(input('Nhập số: '))

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào không phải là lệnh vào ra trong Python?

input()

print()

write()

open()

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?