Full Stack Camp
145 subscribers
8 photos
16 files
89 links
Fullstack Camp | Learn. Build. Launch.
Welcome to the ultimate tech adventure!
Join us for a hands-on journey through HTML, CSS, JavaScript, React, Node.js, Express & MongoDB — all in one place.
Download Telegram
1. Which of the following is NOT a JavaScript data type?
Anonymous Quiz
8%
a) String
42%
b) Number
8%
c) Boolean
42%
d) Character
2. What is the correct way to declare a variable in modern JS?
Anonymous Quiz
0%
a) variable x = 5;
86%
b) let x = 5;
14%
c) dim x = 5;
0%
d) var: x = 5;
4. What will typeof null return?
Anonymous Quiz
13%
a) "null"
25%
b) "object"
63%
c) "undefined"
0%
d) "string"
5. Which loop is guaranteed to run at least once?
Anonymous Quiz
63%
a) for loop
13%
b) while loop
25%
c) do...while
0%
d) for...of
7. What does this refer to inside a regular function (not strict mode)?
Anonymous Quiz
0%
a) Always the global object
50%
b) The function itself
25%
c) Undefined
25%
d) The parent object
1
9. Which array method is a higher-order function?
Anonymous Quiz
17%
a) push()
83%
b) filter()
0%
c) length
0%
d) pop()
10. What will this print?
setTimeout(() => console.log("Hello"), 0);
console.log("World");
Anonymous Quiz
33%
a) Hello World
50%
b) World Hello
17%
c) Error
0%
d) Hello only
13. Which keyword is used inside a class to create objects?
Anonymous Quiz
33%
a) class
67%
b) constructor
0%
c) object
0%
d) init
16. What will this output?
for (let i = 0; i < 3; i++) { setTimeout(() => console.log(i), 100); }
Anonymous Quiz
60%
a) 0 1 2
20%
b) 3 3 3
0%
c) 0 0 0
20%
d) Error
17. What will this output?
for (var i = 0; i < 3; i++) { setTimeout(() => console.log(i), 100); }
Anonymous Quiz
100%
a) 0 1 2
0%
b) 3 3 3
0%
c) 0 0 0
0%
d) Error
18. What will this print?
const obj = { name: "Code", greet: () => console.log(this.name) };
obj.greet();
Anonymous Quiz
0%
a) "Code"
100%
b) undefined
0%
c) Error
0%
d) "obj"
20. Which one is NOT a valid Promise state?
Anonymous Quiz
0%
a) pending
50%
b) fulfilled
0%
c) rejected
50%
d) aborted