KTHK_2 K_10
Quiz
•
Computers
•
10th Grade
•
Easy
Quang Linh Ngô
Used 1+ times
FREE Resource
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Trong Python, để nhập số tự nhiên từ bàn phím, ta dùng lệnh:
n = float(input(“Nhập số tự nhiên: “))
n = input(“Nhập số tự nhiên: “))
n = int(input(“Nhập số tự nhiên: “))
n = int(input(“Nhập số tự nhiên: “)
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Trong Python, để nhập số thực từ bàn phím, ta dùng lệnh:
x = float(input(“Nhập số thực: “))
x = input(“Nhập số thực: “))
x = int(input(“Nhập số thực: “))
x = float(input(“Nhập số thực: “)
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Kết qủa của đoạn lệnh sau là gì?
x=sum(range(5))
print(x)
4
5
10
15
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Trong hàm range, nếu không đặt khoảng cách giữa hai số thì Python sẽ hiểu mặc địch nó bằng:
1
0
2
3
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
range(2,101) sẽ tạo ra:
Một dãy số từ 2 đến 100
Một dãy số từ 0 đến 100
Một dãy số từ 1 đến 100
Một dãy số từ 2 đến 101
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Cú pháp đúng của câu lệnh lặp for
for <biến chạy> in range(start,stop,step): <Khối lệnh>
for <biến chạy> in range(start,step): <Khối lệnh>
for <biến chạy> in range(start,stop,step); <Khối lệnh>
for <biến chạy> in range(start,stop,step) <Khối lệnh>
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Điền phần còn thiếu trong đoạn code để được out dưới đây?
for i in range(5,0,....):
print(str(i)*5)
0
none
1
-1
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Ôn tập Tin học 5 HKI
Quiz
•
4th Grade - University
18 questions
Đề cương CKII - Lớp 4 - TH Minh Quang A
Quiz
•
4th Grade - University
20 questions
ÔN TẬP HK1 - TIN 12 - 1
Quiz
•
10th Grade
22 questions
Ôn Tập Tin Học 3 HK1
Quiz
•
3rd Grade - University
20 questions
Intro to IT Ch 3 Quiz Review
Quiz
•
9th - 12th Grade
20 questions
Early Programming
Quiz
•
9th - 12th Grade
17 questions
Flowcharts and Actuators
Quiz
•
7th - 10th Grade
17 questions
Email Lớp 6
Quiz
•
6th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade