
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
Exploring Technology U1L2
Quiz
•
9th - 12th Grade
40 questions
Endocrine System Review
Quiz
•
10th - 12th Grade
42 questions
St. Francis of Assisi
Quiz
•
7th - 12th Grade
40 questions
Analogies
Quiz
•
9th - 12th Grade
40 questions
Animal Skeletal System Review
Quiz
•
10th - 12th Grade
42 questions
Exposure Triangle
Quiz
•
9th - 12th Grade
36 questions
ĐỀ ÔN TRẠNG NGUYÊN SỐ 1
Quiz
•
4th Grade - University
37 questions
dpdpdpdp
Quiz
•
10th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Other
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
7 questions
How James Brown Invented Funk
Interactive video
•
10th Grade - University
15 questions
Atomic Habits: Career Habits
Lesson
•
9th - 12th Grade
16 questions
ACT English - Grammar Practice #2
Quiz
•
11th Grade
20 questions
Banking
Quiz
•
9th - 12th Grade
