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
17 questions
IT Fundamentals Networking
Quiz
•
9th - 12th Grade
20 questions
Lớp 5. Định dạng và bố trí hình ảnh trong văn bản
Quiz
•
5th Grade - University
20 questions
Analisis Data X-1
Quiz
•
10th Grade
21 questions
CÂU HỎI ÔN TAP HKI
Quiz
•
5th Grade - University
16 questions
Kod Arahan
Quiz
•
9th - 11th Grade
20 questions
Web 101 Assessment
Quiz
•
9th - 12th Grade
20 questions
CSEC Information Technology June 2024 Paper1 part 3
Quiz
•
10th Grade
20 questions
1st 9 Weeks Exam - Intro to IT Fundamentals
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
