
Ô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
12 questions
BÀI 2: TRÍ TUỆ NHÂN TAO TRONG KHOA HỌC VÀ CUỘC SÔNG
Quiz
•
12th Grade
11 questions
Microsoft Word Office
Quiz
•
10th Grade - University
8 questions
Tin 7 Bài 6
Quiz
•
12th Grade
10 questions
Cap Cut
Quiz
•
12th Grade
10 questions
ASJ Quiz Kelas XII
Quiz
•
12th Grade
12 questions
Remidi TLJ
Quiz
•
12th Grade
14 questions
Microsoft Excel Advanced Features
Quiz
•
1st Grade - University
15 questions
ÔN TẬP HKII - ĐỀ 1
Quiz
•
4th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade