
Câu hỏi về Biến trong JavaScript
Authored by Nguyen Dung
Other
11th Grade
Used 7+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
79 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biến trong JavaScript được khai báo bằng từ khóa nào?
def
function
let
create
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phạm vi của biến được khai báo bằng let là gì?
Toàn cục (global)
Trong block (block-scoped)
Trong hàm (function-scoped)
Cả hai a và c
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biến nào sau đây KHÔNG thể thay đổi giá trị sau khi đã được gán?
let
var
const
Cả hai a và b
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điều gì xảy ra nếu bạn sử dụng biến trước khi khai báo bằng let?
Lỗi cú pháp (SyntaxError)
Trả về undefined
Trả về giá trị mặc định
Chương trình vẫn chạy bình thường
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phạm vi của biến var là gì?
Block-scoped
Function-scoped
Global-scoped
Cả b và c
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điều gì xảy ra khi khai báo lại một biến đã được khai báo bằng var trong cùng một phạm vi?
Lỗi cú pháp (SyntaxError)
Ghi đè giá trị cũ
Không thay đổi giá trị
Không gì cả
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là cách khai báo đúng một biến trong JavaScript?
variable x = 5;
let x = 5;
var x == 5;
let 5 = x;
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
76 questions
Hệ Cơ sở dữ liệu
Quiz
•
11th Grade
84 questions
Sử 11
Quiz
•
11th Grade
78 questions
Quiz 4
Quiz
•
9th - 12th Grade
75 questions
Quizzi Địa của sunn cuti
Quiz
•
11th Grade - University
80 questions
kTPL
Quiz
•
11th Grade
79 questions
ĐỀ CƯƠNG SINH 11 - GKI - 25.26
Quiz
•
11th Grade
79 questions
GDQP CK1 - Súng AK
Quiz
•
11th Grade
77 questions
tinh ktpl
Quiz
•
11th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
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
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade
10 questions
Evaluating Piecewise Functions Practice
Quiz
•
11th Grade
18 questions
Success Strategies
Quiz
•
9th - 12th Grade