Giả sử hàm f có hai tham số x,y khi khai báo,hàm sẽ trả lại giá tri x+2y.Lời gọi hàm f(10,a) sẽ trả lại giá tri nào?
tin học quang minh đẹp trai siêu cấp vũ trụ 7 dải ngân hà

Quiz
•
Computers
•
10th Grade
•
Easy
21. Minh
Used 5+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
10+2a
Báo lỗi
Tất cả đáp án đều sai
20+a
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi khai báo hàm, thành phần nào được định nghĩa và được dùng như biến trong hàm?
x, y
Giá trị
Đối số
Tham số
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau bị lỗi ở dòng thứ bao nhiêu??
Def f(a,b):
if a*b!=0:
return b/a+a/b
print(f(1,2))
3
2
1
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau sẽ trả lại giá trị bao nhiêu?
def f(a,b,c):
return a**b+b**c+c*a
print(f(2,3,4))
97
105
91
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giá trị được truyền vào khi gọi hàm là ?
Đối số
Dữ liệu
Tham số
Giá trị
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giá trị của m là bao nhiêu sau biết kết quả là 5:
def tinhSum(a, b):
return a + b
s = tinhSum(1, m)
print(s)
1
2
4
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau bị lỗi ở dòng thứ bao nhiêu ?
def tinh(a, b):
if(b != 0):
return a // b
s = tinh(1, m)
print(s)
3
2
5
4
Create a free account and access millions of resources
Similar Resources on Quizizz
24 questions
Ôn tập cuối kì Mùa Xuân Tin học 10.1

Quiz
•
10th Grade - University
24 questions
tin học

Quiz
•
10th Grade - University
19 questions
TIN 10 Bài 8 CĐ F. Cấu trúc lặp

Quiz
•
10th Grade
20 questions
Python level 2

Quiz
•
7th - 12th Grade
20 questions
Bài 11: KIỂU MẢNG MỘT CHỀU

Quiz
•
1st - 10th Grade
21 questions
ÔN TÂP PYTHON TIN 10

Quiz
•
10th Grade
20 questions
Tin 10 - Bài 12 CDF - Kiểu dữ liệu xâu kí tự

Quiz
•
10th Grade
22 questions
TIN HỌC 7

Quiz
•
9th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
Discover more resources for Computers
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade
65 questions
MegaQuiz v2 2025

Quiz
•
9th - 12th Grade
10 questions
GPA Lesson

Lesson
•
9th - 12th Grade
15 questions
SMART Goals

Quiz
•
8th - 12th Grade