MD1 - Bài1: Biến - Kiểu Dữ Liệu - Toán Tử (Kiểm tra cuối buổi))
Quiz
•
Professional Development
•
1st - 3rd Grade
•
Practice Problem
•
Medium
Phú Hoàng
Used 18+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Cho đoạn code sau, đáp án là?
let x = 50;
let y = 30;
let z = x + y;
console.log(typeof z);
Number
Boolean
String
Array
2.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Cho đoạn code sau, đáp án là?
let x = "10";
let y = "20";
let z = x + y;
console.log(typeof z + " " + z);
number 30
string 30
string 1020
number 1020
Answer explanation
z = x + y => 1020 vì
x,y đang là kiểu string
=> khi x + y thì sẽ là nối chuỗi nên kết quả 1020
=> z đang là chuỗi giữa x,y nên khi dùng typyof sẽ ra string
3.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Cho đoạn code sau, đáp án đúng là?
happy
I feel ${myFeel}
"I feel ${myFeel}"
I feel happy
4.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Cho đoạn code sau, đáp án đúng là?
let x = 4;
let y = "20";
console.log(x + y);
24
420
70
204
5.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Cho đoạn code sau, đâu là đáp án đúng?
console.log(`Result of 5+4 is ${5+4}`);
Result of 5+4 is 9
Result of 5+4 is 54
Result of 5+4 is ${5+4}
${5+4}
6.
MULTIPLE CHOICE QUESTION
45 sec • 5 pts
Cho đoạn code sau, đáp án đúng là?
let a = "succeed";
let b = "study";
let c = "can";
let d = "only";
console.log(d + " " + b + " " + c + " " + a);
only study can succeed
succeed only study can
succeed study can only
only succeed can study
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Cho đoạn code sau, đâu là chuỗi đúng?
let a = "Bill Gates ";
let b = "is an American businessman, ";
let c = "was born in ";
let d = "1955 ";
let e = "he is ";
let f = " years old now";
console.log(a + c + d + b + e + `${2022 - 1955}` + f);
Bill Gates was born in 1955 is an American businessman, he is 67 years old now
Bill Gates is an American businessman, was born in 1955 he is 67 years old now
Bill Gates was born in 1955 is an American businessman, he is 2022-1955 years old now
Bill Gates was born in 1955 he is 67 years old now is an American businessman,
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
Ticket Field Revamp
Quiz
•
1st Grade
10 questions
Tổng kết chuyên đề_Thực chiến văn lớp 4, lớp 5
Quiz
•
1st - 5th Grade
12 questions
Q 15 Logarithms and Exponents
Quiz
•
3rd - 4th Grade
15 questions
The Queen's Gambit
Quiz
•
2nd Grade
10 questions
CommQuest - Business Quiz - Rapid Fire Round
Quiz
•
1st - 3rd Grade
15 questions
Ramp-up Mkt Cloud Admin 1x01
Quiz
•
1st - 10th Grade
10 questions
Ôn văn 6 - Cuối kỳ 1
Quiz
•
1st - 12th Grade
10 questions
Day 1 Recap
Quiz
•
1st - 8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Professional Development
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
10 questions
Area
Quiz
•
3rd Grade
8 questions
Ancient China Quick Check
Quiz
•
3rd Grade
14 questions
States of Matter
Lesson
•
KG - 3rd Grade
13 questions
Veterans' Day
Quiz
•
1st - 3rd Grade
17 questions
Multiplication facts
Quiz
•
3rd Grade
10 questions
Veterans Day
Quiz
•
3rd Grade
