
Bài kiểm tra cuối năm số 2
Authored by Vũ Giang
Computers
9th - 12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Để hiển thị những điều sau trên màn hình
Hello World!
lệnh sau nên được sử dụng:
print(Hello World!)
print("Hello World" + !)
print("Hello World!")
print"(Hello World!)"
2.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Output của đoạn code sau:
x = 5
y = 6
print(x*y)
56
x*y
30
Syntax Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nhận xét nào sau đây đúng về câu lệnh else?
Câu lệnh else cần phải có điều kiện
Câu lệnh else thực hiện khi biểu thức đúng
Câu lệnh else không cần phải có điều kiện
Câu lệnh else có thể lồng được với nhau
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, để khai báo biến x là kiểu xâu, ta khai báo như thế nào là đúng nhất:
x=int(input(’mời nhập’))
x=float(input(’mời nhập’))
x=string(input(’mời nhập’))
x=input(’mời nhập’)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ký hiệu phép toán chia lấy phần dư trong Python là
% (phần trăm)
: (dấu 2 chấm)
/ (xuyệt)
//
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào đúng trong các câu lệnh sau?
print("N=",5)
Print("N=",5)
Print("N="5)
print("N="5)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả sau khi thực hiện đoạn chương trình sau:
a=10
b=5
a=a +20
a= a % b
print(a)
A. 0
. B. 5
C. 2
D. 6
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?