
ÔN TẬP CUỐI KÌ 2
Authored by Sen Hà
Computers
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
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Sau khi thực hiện lệnh sau, biến s sẽ có kết quả là:
s1 ="3986443"
s2 = ""
for ch in s1:
if int(ch) % 2 == 0:
s2 = s2 + ch
print(s2)
3986443
8644
39864
443
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Kết quả của chương trình sau là:
def Kieu(Number):
return type(Number);
print(Kieu (5.0))
5
fload
Chương trình bị lỗi
int
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Hàm func(m,n) được định nghĩa như sau:
def func(m,n):
return 3*m+n
Giả sử chúng ta thực hiện các lệnh sau:
>>> m= 10
>>>n= 1
>>>print(func(n,m))
Kết quả sẽ in ra số nào?
13
31
0
110
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Sau khi thực hiện đoạn chương trình sau thì giá trị kq là bao nhiêu?
kq=1
def calc(x):
kq=4*x-1
return kq
calc(7)
27
7
1
0
5.
MULTIPLE CHOICE QUESTION
20 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):
a = x + y
print(a + n)
>>>n = 5
>>>f(2, 3)
5
10
2
Chương trình bị lỗi
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Giá trị của a, b là bao nhiêu khi thực hiện lệnh f(2, 5)
>>> a, b = 0, 1
>>> def f(a, b):
a = a * b
b = b // 2
return a + b
10, 2
10, 1
2, 5
0, 1
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Cho biết kết quả in ra của chương trình sau khi nhập a=9, b=11
s=0
def vd(x,y):
global s
i=5
x=x+i
y=y+i
s=x+y
a=int(input())
b=int(input())
vd(a,b)
print(a,b,s)
9 11 30
14 16 30
14 16
Không có đáp án đúng
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?
Similar Resources on Wayground
10 questions
2025 python class first quiz
Quiz
•
9th Grade - University
10 questions
COMPUTACIÓN II
Quiz
•
12th Grade
13 questions
Stepwise Refinement
Quiz
•
11th - 12th Grade
10 questions
แบบทดสอบก่อนเรียน ครั้งที่4 (การสร้างเว็บเพจ)
Quiz
•
10th - 12th Grade
10 questions
Kuis Refleksi 2
Quiz
•
9th - 12th Grade
10 questions
Bài 8- CĐ F-TH10
Quiz
•
9th - 12th Grade
12 questions
UTS Semester 1 Informatika 2024/2025
Quiz
•
8th Grade - University
15 questions
LATIHAN SOAL PEMROGRAMAN
Quiz
•
9th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
SSS/SAS
Quiz
•
9th - 12th Grade
20 questions
verbos reflexivos en español
Quiz
•
9th - 12th Grade
14 questions
Making Inferences From Samples
Quiz
•
7th - 12th Grade
23 questions
CCG - CH8 Polygon angles and area Review
Quiz
•
9th - 12th Grade
8 questions
Momentum and Collisions
Lesson
•
9th - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade