
JSA Checkpoint 2

Quiz
•
others
•
12th Grade
•
Hard
Tran Hung
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Giả sử bạn lưu một đối tượng vào localStorage như sau:
Cách nào đúng để lấy dữ liệu và in ra name?
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Hãy cho biết kết quả của đoạn code sau:
Hiển thị tiêu đề của bài viết đầu tiên từ API
Lỗi "Error fetching data"
Hiển thị undefined
Không có gì được in ra
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Kết quả của đoạn code trên khi form đăng ký được submit
In ra
userName
passWord
emai
In ra undefined
Error
In ra khoảng trắng
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Cho đoạn mã sau:
Giá trị của biến result sau khi đoạn mã trên được thực thi là gì?
(Chỉ nhập kết quả cuối cùng)
(Ví dụ: result = 10 --> Chỉ cần nhập 10)
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Để xóa toàn bộ các dữ liệu trong LocalStorage ta sử dụng cú pháp gì?
localStorage.clear()
localStorage.removeItem("key")
localStorage.getItem("key")
localStorage.delete()
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Tại sao chúng ta lại sử dụng câu lệnh:
event.preventDefault();
Để ngăn website tự động load lại khi form được submit
Để chúng ta viết đúng cú pháp
Để tự động nhận dữ liệu
Tất cả đều sai
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Cho đoạn code sau:
let a = "abc"
Hãy điền vào ... câu lệnh in ra độ dài của chuỗi a
console.log(...)
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
bài 20

Quiz
•
9th - 12th Grade
10 questions
RISE Up Retail Industry Fundamentals Sample Test Questions

Quiz
•
12th Grade
10 questions
Ai thông minh hơn PS Level 2

Quiz
•
12th Grade
10 questions
Carbohydrate Review

Quiz
•
9th - 12th Grade
10 questions
1.AI NHANH NHẤT

Quiz
•
12th Grade
12 questions
VOCAB TUẦN 1

Quiz
•
9th - 12th Grade
5 questions
IELTS A - LESSON 21 - TASK 1

Quiz
•
12th Grade
11 questions
Banking - Unit Test

Quiz
•
12th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade