
Python 10 Bài 4
Authored by Nguyễn Lê Hải Hà
Computers
10th Grade
Used 12+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau:
a=3.4
print(type(a))
Kết quả trên màn hình là kiểu dữ liệu:
int
float
str
bool
Answer explanation
Vì a=3.4 ⇒ a là kiểu float (kiểu số thực).
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nhập với biến kiểu nguyên là:
Biến=(input(dòng thông báo)
Biến=float(input(dòng thông báo))
Biến=input()
Biến=int(input(dòng thông báo))
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nhập với biến kiểu thực là:
Biến=(input(dòng thông báo)
Biến=float(input(dòng thông báo))
Biến=input()
Biến=int(input(dòng thông báo))
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để nhập từ bàn phím biến a kiểu nguyên ta viết:
a=input(‘n=’)
a=float(input(‘n=’))
a=int(input(‘n=’))
a=int()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để nhập từ bàn phím biến b kiểu thực ta viết:
b=input(‘n=’)
b=float(input(‘n=’))
b=int(input(‘n=’))
b=int()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh đưa giá trị các biểu thức ra màn hình là:
print()
print(‘danh sách biểu thức’)
print danh sách biểu thức
print(danh sách biểu thức)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Gọi s là diện tích tam giác ABC, để đưa giá trị của s ra màn hình ta viết:
print(s)
print s
print(‘s)
print:(s)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?