Kết quả của chương trình sau là:
def PhepNhan(Number):
return Number * 10
print(PhepNhan(5))
tin
Quiz
•
Others
•
1st - 5th Grade
•
Hard
Trang undefined
FREE Resource
37 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là:
def PhepNhan(Number):
return Number * 10
print(PhepNhan(5))
5
10
15
50
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điền vào (...) để tìm ra số lớn nhất trong 3 số nhập vào:
def find_max(a, b, c):
max = a
if ...: max = b
if ...: max = c
return max
print(find_max(1,2,3))
max > b, max > c
max < b, max < c
max = b, max = c
max != b, max != c
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giá trị của s là bao nhiêu sau khi chạy chương trình?
Def tinhSum(a, b):
return (a + b)**2
s= tinhSum(1, 3)
print(s)
8
16
18
24
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giá trị của x là bao nhiêu biết kết quả là 16?
def tinh(a, b, c):
if(b != 0):
return a // b + c**2
s = tinh(1, 5, x)
print(s)
3
2
1
4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau bị lỗi ở dòng lệnh thứ bao nhiêu?
def add(a, b)
sum = a + b
return sum
x= int(input("Nhập số thứ nhất:"))
y= int(input("Nhập số thứ hai:"))
tong = add(x, y)
print("Tổng là: ", tong)
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giá trị hàm f(a, b) có hai tham số a, b. Khi gọi hàm f(x, y), cặp giá trị đối số nào sau đây sẽ gây lỗi?
2, 3
10,c
"a", "b"
"a", "3"
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là bao nhiêu?
def kq():
A = [2, 4, 2, 1]
p = 1
for i in A:
p = p * i
print(p)
kq()
9
2
4
16
34 questions
Ôn Tập Môn Tin Học Lớp 9
Quiz
•
2nd Grade
37 questions
Đề thi toán học
Quiz
•
1st - 5th Grade
36 questions
Toán đề 02
Quiz
•
2nd Grade
35 questions
Toán đề 01
Quiz
•
2nd Grade
37 questions
địa lý
Quiz
•
1st Grade
39 questions
Đề số 1
Quiz
•
1st - 5th Grade
35 questions
ÔN TẬP KHOA HỌC
Quiz
•
4th Grade
40 questions
HSK2 test 2
Quiz
•
1st Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
18 questions
Main Idea & Supporting Details
Quiz
•
5th Grade
5 questions
Basement Basketball
Quiz
•
3rd Grade
20 questions
Parts of Speech
Quiz
•
3rd - 6th Grade