Một hàm có thể được thực hiện với những giá trị do chương trình truyền vào qua:

Đề Cương Ôn Tập Giữa Kỳ 2 - Môn Tin Học

Quiz
•
Danh Phan
•
Others
•
University
•
1 plays
•
Medium
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lời gọi hàm.
Dữ liệu đầu vào.
File dữ liệu.
Điều kiện hàm.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để khởi tạo danh sách b có 5 phần tử 1, 2, 3, 4, 5 ta dùng viết:
b = [1..5]
b = 1, 2, 3, 4, 5
b = [1, 2, 3, 4, 5]
b = (1, 2, 3, 4, 5)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả khi thực hiện đoạn chương trình sau là gì? ds=[0, 1, 2, 3, 4] print(len(ds))
10
4
3
5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, cú pháp để truy cập đến phần tử trong danh sách là?
Tên_danh_sách[chỉ_số]
Tên_danh_sách[chỉ_số]:
Tên_danh_sách(chỉ_số)
Tên_danh_sách(chỉ_số):
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn chương trình sau: S1='abcd' S2='a' print(S1.count(S2)) Trên màn hình sẽ xuất hiện giá trị là:
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho danh sách sau: A = [3,4,5,6,7,8,9] Phần tử A[1] có giá trị bao nhiêu?
3
4
5
0
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Từ khóa để khai báo chương trình con trong Python là?
function
Def
Program
def
Explore all questions with a free account
Similar Resources on Quizizz
50 questions
Hardware system KMA

Quiz
•
University
43 questions
Typography - ART 203 Duy Tân

Quiz
•
University
40 questions
Ôn thi LSVMTG - K73 - PART 1 (HNUE)

Quiz
•
University
49 questions
KTVM4

Quiz
•
University
43 questions
câu 74-113

Quiz
•
University
40 questions
bài kt ppl

Quiz
•
University
50 questions
KTVM3

Quiz
•
University
49 questions
Ôn Tập Cuối Kỳ 2

Quiz
•
University
Popular Resources on Quizizz
19 questions
Naming Polygons

Quiz
•
3rd Grade
14 questions
Prime Factorization

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
21 questions
6th Grade Math CAASPP Practice

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
35 questions
4th Grade Math SOL Review

Quiz
•
4th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
Discover more resources for Others
15 questions
Disney Trivia

Quiz
•
University
20 questions
Disney Trivia

Quiz
•
University
52 questions
Logos Trivia

Quiz
•
KG - University
23 questions
History of English and Review

Quiz
•
KG - University
12 questions
Scientific Notation

Quiz
•
University
5 questions
Tone and Mood in Literature

Interactive video
•
4th Grade - University
7 questions
Food Webs and Energy Pyramids: Bedrocks of Biodiversity

Interactive video
•
11th Grade - University
8 questions
G2U6W1 - The Golden Flower: A Taino Myth from Puerto Rico

Quiz
•
2nd Grade - University