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

Quiz
•
English
•
5th Grade
•
Easy
Edu TSmart
Used 2+ 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
20 questions
Unit 13 Grade 5

Quiz
•
5th Grade
20 questions
Mini test

Quiz
•
1st - 5th Grade
22 questions
Grade5-Unit20-Lesson2

Quiz
•
5th Grade
20 questions
Family and friend 2 unit 5

Quiz
•
1st - 5th Grade
20 questions
Super kids 2 - Unit 1 - 1.1.1

Quiz
•
1st - 5th Grade
25 questions
Bài tập về chuỗi trong Python

Quiz
•
5th Grade - University
22 questions
tiếng anh nâng cao cho học sinh từ 4-7

Quiz
•
1st - 5th Grade
20 questions
Quizz Bánh mì

Quiz
•
1st - 5th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for English
16 questions
Figurative Language

Quiz
•
5th Grade
20 questions
Context Clues

Quiz
•
5th Grade
10 questions
Main Idea and Supporting Details

Quiz
•
3rd - 6th Grade
10 questions
Context Clues

Quiz
•
5th Grade
9 questions
Simple, Compound, and Complex Sentences

Lesson
•
4th - 5th Grade
20 questions
Compound Subject and Predicate

Quiz
•
3rd - 5th Grade
20 questions
Character traits

Quiz
•
5th Grade
20 questions
Context Clues

Quiz
•
5th Grade