Web Development MCQ Test: Web Development MCQs - Practice Questions
1. In JavaScript, what is the purpose of the 'map' method?
2. In CSS, what is the purpose of the 'flexbox' layout?
3. Explain the concept of 'Immutable.js' in JavaScript.
4. What does the CSS property 'display: none;' do?
5. What is the role of the 'SELECT' element in HTML forms?
6. Which HTML5 element is used to play video files?
7. What does the 'return' statement do in a JavaScript function?
8. What is the purpose of the 'localStorage' object in web development?
9. Explain the concept of 'JWT' (JSON Web Token) in web development.
10. What is the purpose of the 'Observer' pattern in web development?
11. In web development, what is the purpose of the 'viewport' meta tag?
12. What is the role of the 'async' keyword in JavaScript?
13. Which CSS property is used to control the space between lines of text?
14. What is the purpose of the 'prototype' property in JavaScript?
15. Explain the difference between 'let', 'const', and 'var' in JavaScript.
16. What is the purpose of the 'spread operator (...) in JavaScript?
17. Explain the concept of 'hoisting' in JavaScript.
18. What is the purpose of HTML?
19. Which HTML tag is used to define the structure of an HTML document?
20. Which of the following is a valid JavaScript variable name?
21. What does the 'z-index' property control in CSS?
22. What is the purpose of the 'Promise' object in JavaScript?
23. What does the 'debounce' function do in JavaScript?
24. What does the 'addEventListener' method do in JavaScript?
25. What is the purpose of the 'alt' attribute in an HTML image tag?
26. What does CSS primarily define?
27. What does the 'localStorage' object in JavaScript allow you to do?
28. In JavaScript, what is a closure?
29. Which of the following is a valid HTML5 semantic element?
30. What is the purpose of the 'Babel' tool in web development?