Search Header Logo

Bài Quiz không có tiêu đề

Authored by Dụng nguyễn

Business

Professional Development

Used 12+ times

Bài Quiz không có tiêu đề
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

Để cho người dùng nhập vào từ bàn phím thì dùng câu lệnh nào?

input()

int()

float()

print()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

tuoi = int(input)

print(f"Tuổi của bạn là: {tuoi}")
Với đoạn code trên người dùng sẽ nhập vào 40.5 thì sẽ hiện ra gì?

Tuổi của bạn là 40.5

Hiện ra lỗi

Tuổi của bạn là 40

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh float() để làm gì?

Để cho người dùng nhập vào

Để hiện thị ra cho người dùng thấy

Để chuyển dữ liệu về số thực

Để chuyển dữ liệu về kiểu số nguyên

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Làm thế nào để kết hợp 2 câu lệnh input() và int() với nhau để cho người dùng nhập vào số nguyên?

int(input())

input(int())

input(int)

int(input)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh int() dùng để làm gì?

Để chuyển dữ liệu về số thực

Để chuyển dữ liệu về số nguyên

Để hiện thị lên màn hình

Để cho người dùng nhập vào

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?