
ÔN TẬP CUỐI KÌ 2

Quiz
•
Computers
•
12th Grade
•
Medium
Sen Hà
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Ôn tập Python

Quiz
•
9th - 12th Grade
10 questions
Lớp 5- Bài 11.Cấu Trúc Lặp

Quiz
•
3rd Grade - University
10 questions
Bài 10 - Cấu trúc rẽ nhánh

Quiz
•
5th Grade - University
10 questions
Bài 12- Tin 8 KNTT

Quiz
•
8th Grade - University
10 questions
CHƯƠNG TRÌNH CON BT1

Quiz
•
10th - 12th Grade
10 questions
Cấu trúc lặp - Python

Quiz
•
9th - 12th Grade
10 questions
Bài tập thực hành 1 (tiết 2)

Quiz
•
12th Grade
10 questions
Trắc nghiệm Python

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Computers
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
20 questions
Lab Safety and Lab Equipment

Quiz
•
9th - 12th Grade
7 questions
EAHS PBIS Lesson- Bathroom

Lesson
•
9th - 12th Grade
57 questions
How well do YOU know Neuwirth?

Quiz
•
9th - 12th Grade
20 questions
Getting to know YOU icebreaker activity!

Quiz
•
6th - 12th Grade
6 questions
Secondary Safety Quiz

Lesson
•
9th - 12th Grade
4 questions
Study Skills

Lesson
•
5th - 12th Grade
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University