
Kiểm tra kiến thức Python

Quiz
•
Biology
•
10th Grade
•
Medium
Nguyễn Nhi
Used 5+ times
FREE Resource
70 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1: Muốn lấy giá trị của biến được lưu lại từ kết quả trong chương trình con thì biến cần được khai báo sau từ khóa nào?
global
real
value
def
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2: Kết quả của chương trình sau là:
def PhepNhan(x):
return x * 10
print(PhepNhan(5))
10
Chương trình bị lỗi.
50
5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3: Hoàn thành chương trình kiểm tra một số có là số lẻ không:
def chan(n):
if …..: return True
else: return ……
n/2==0, True
n%2==1, False
n%2!=1, False
n%2==0, False
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau thông báo lỗi gì?
for i in Range(10): print(i)
SyntaxError
TypeError
NameError
ValueError
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả nào được in ra khi thực hiện các câu lệnh sau:
>>>Def f(x, y):
Global a
a = x + y
print(a + n)
>>>n = 5
>>>f(4, 3)
7
10
Chương trình bị lỗi.
12
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6: Giá trị của x là bao nhiêu sau khi biết kết quả là 0:
def tinh(a, b, c):
if(b != 0):
return a+b + c*2
else: return 0
s = tinh(1, x, 8)
print(s)
1
0
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
: Điền vào '...' hoàn thành phát biểu sau: 'Chương trình chạy không lỗi ngoại lệ nhưng kết quả đưa ra ... Đây là lỗi ... bên trong chương trình.'
sai, lôgic
đúng, Syntax Error
sai, ngoại lệ
đúng, lôgic
Create a free account and access millions of resources
Similar Resources on Wayground
75 questions
ÔN TẬP GIỮA KỲ II

Quiz
•
10th Grade
73 questions
Ch.8 Photosynthesis

Quiz
•
10th Grade
70 questions
Bio Teks

Quiz
•
9th - 10th Grade
70 questions
Chapter 12 and 18 Biology

Quiz
•
9th - 10th Grade
65 questions
Photosynthesis in Plants

Quiz
•
10th Grade
73 questions
Chapter 8 Photosynthesis

Quiz
•
10th Grade
68 questions
Photosynthesis and Water

Quiz
•
9th - 12th Grade
68 questions
SINH HỌC

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Biology
20 questions
Cell organelles and functions

Quiz
•
10th Grade
20 questions
Cell Membrane and Transport

Quiz
•
10th Grade
20 questions
Section 3 - Macromolecules and Enzymes

Quiz
•
10th Grade
20 questions
Macromolecules

Quiz
•
10th Grade
12 questions
Macromolecules

Lesson
•
9th - 12th Grade
20 questions
Cell Transport

Quiz
•
9th - 12th Grade
16 questions
Population Ecology

Quiz
•
9th - 12th Grade
51 questions
2025 Biology TEST 1 Review

Quiz
•
9th - 12th Grade