
Quiz về Hàm trong JavaScript
Quiz
•
Other
•
11th Grade
•
Practice Problem
•
Medium
Tâm Triệu
Used 4+ times
FREE Resource
Enhance your content in a minute
41 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm trong JavaScript là gì?
Một khối code thực hiện tác vụ cụ thể
Một cấu trúc điều kiện
Một biến lưu trữ giá trị
Một kiểu dữ liệu mới
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp để định nghĩa một hàm trong JavaScript là gì?
def functionName() {}
function functionName() {}
functionName() = {}
create functionName() {}
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi nào phần code trong thân hàm được thực thi?
Khi hàm có tham số
Khi hàm trả về giá trị
Khi hàm được gọi
Khi hàm được định nghĩa
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tham số trong hàm là gì?
Một loại biến toàn cục
Tên của hàm
Giá trị trả về từ hàm
Giá trị được truyền vào hàm
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giá trị mặc định của tham số được sử dụng khi nào?
Khi đối số là một chuỗi rỗng
Khi không có đối số tương ứng được truyền vào
Khi đối số là một mảng
Khi đối số là số âm
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Từ khóa nào được sử dụng để trả về giá trị từ hàm?
return
give
output
send
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nếu một hàm không có từ khóa return, nó sẽ trả về giá trị gì?
false
0
null
undefined
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
44 questions
Quiz 8a Types of skeletal joints
Quiz
•
11th - 12th Grade
45 questions
ESS IA INVESTIGATION
Quiz
•
11th - 12th Grade
41 questions
Lifetime Nutrition & Wellness Final Exam
Quiz
•
11th Grade
43 questions
Basic Principles Practice
Quiz
•
11th Grade - University
36 questions
Brain Anatomy and Physiology
Quiz
•
11th - 12th Grade
46 questions
Senior Foods Final Review
Quiz
•
6th - 12th Grade
37 questions
AP Human Geography Unit 4: Political Organization
Quiz
•
9th - 12th Grade
41 questions
CNA Review Past Experiences Set 1
Quiz
•
11th - 12th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Other
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
10 questions
Dr. King's Speech and Its Impact
Interactive video
•
7th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Los mandatos y las recetas
Lesson
•
11th Grade
7 questions
Anti-Bullying ARS 15-341
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
15 questions
TSI Math Practice Questions
Quiz
•
8th - 12th Grade
