Câu hỏi trắc nghiệm về Hàm Python

Quiz
•
English
•
5th Grade
•
Medium
Edu TSmart
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Từ khóa nào được dùng để định nghĩa một hàm trong Python?
function
define
def
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm có thể trả về giá trị bằng cách sử dụng từ khóa nào?
output
return
yield
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào gọi một hàm tên là tinh_tong?
call tinh_tong()
tinh_tong()
run tinh_tong()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Thân hàm được xác định bằng?
Dấu {}
Dấu ()
Thụt đầu dòng (indentation)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã sau in ra gì?
Xin chào
Không in gì
Lỗi cú pháp
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Một hàm có thể:
Không có tham số và không trả về
Có tham số và trả về
Cả hai trên
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã sau có bao nhiêu đối số?
0
1
2
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
G5 - UNIT 9: WHAT DID YOU SEE AT THE ZOO

Quiz
•
5th Grade
20 questions
Unit 6 lesson 1 Grade 5

Quiz
•
5th Grade
20 questions
Unit 6-grade3

Quiz
•
1st - 5th Grade
20 questions
THì Tương Lai Đơn

Quiz
•
5th - 6th Grade
21 questions
Chương trình Tư duy thời đại số

Quiz
•
1st - 5th Grade
22 questions
Grade 5-Unit 13-Từ vựng

Quiz
•
5th Grade
23 questions
Unit 1 hello

Quiz
•
1st - 5th Grade
20 questions
KIỂM TRA 15' LỚP TA5 ONL CN ÔN TẬP

Quiz
•
4th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for English
20 questions
Run-On Sentences and Sentence Fragments

Quiz
•
3rd - 6th Grade
20 questions
4 Types of Sentences

Quiz
•
3rd - 5th Grade
16 questions
Figurative Language

Quiz
•
5th Grade
20 questions
Context Clues

Quiz
•
5th Grade
20 questions
Proper and Common nouns

Quiz
•
2nd - 5th Grade
18 questions
Main Idea & Supporting Details

Quiz
•
5th Grade
10 questions
Context Clues

Quiz
•
5th Grade
10 questions
Making Inferences Practice

Quiz
•
5th - 6th Grade