
Câu hỏi về Biến trong JavaScript
Quiz
•
Other
•
11th Grade
•
Practice Problem
•
Easy
Nguyen Dung
Used 7+ times
FREE Resource
Enhance your content in a minute
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
83 questions
Safety questions
Quiz
•
11th Grade
82 questions
Econ Vocab Chapters 11-15
Quiz
•
9th - 12th Grade
76 questions
Ôn Nhiếp Ảnh
Quiz
•
11th Grade
79 questions
Địa 11 giữa kì
Quiz
•
11th Grade
80 questions
Ôn Tập Cuối Kỳ I GDQP
Quiz
•
11th Grade
81 questions
State Comp: Medical Anatomy & Physiology FINAL
Quiz
•
11th - 12th Grade
80 questions
KTPL 11 - GK1 - CÂU HỎI NGẮN ĐS - B1234
Quiz
•
11th Grade
77 questions
DC Electrical
Quiz
•
11th Grade
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
