Web Development Multiple Choice Question MCQ
Categories: Development
1. Which CSS property can be used to set the image as border instead of the border style? a) border-image-source b) background-image-source c) border-image d) background-image Answer: a 2. Which of the following property defines labels for a list of items? a) list-style-type b) list-style-image c) list-stylelist-style-type d) none of the mentioned Answer: a 3. Which of the following communicates with server-side CGI scripts through HTML form submissions and can be written without the use of JavaScript? a) Interactive Web Pages b) Static Web Pages c) Conditional Web Pages d) All web pages Answer: a 4. What is the special feature of modern web applications? a) Must load the document to manipulate b) Can alter contents without loading document c) Can’t be altered at all d) Remains static Answer: b 5. Which of the following is the Web application equivalent to querySelectorAll()? a) #() b) &() c) !() d) $() Answer: d 6. Which is the storage that allows the caching of web pages and their associated resources? a) Offline Web Applications b) Cookies c) Web Databases d) FileSystem API Answer: a 7. When does JavaScript code appear inline within an HTML file? a) Between or Outside the “script” tag b) Between the header tag c) Outside the “script” tag d) Between the “script” tag Answer: d 8. What is the purpose of the event handlers in the JavaScript? a) Adds innerHTML page to the code b) Allows JavaScript code to alter the behaviour of windows c) Performs handling of exceptions and occurrences d) Change the server location Answer: b 9. What is Vue JS? a) Scripting Language b) A framework c) Programming Language d) Directives Answer: b 10. Which of the following bootstrap styles can be used to create a default progress bar? a) .progress, .progress-bar b) .link-progress-bar c) .nav-progress d) All of the mentioned Answer: a 11. What is the purpose of JavaScript in web development? a) To define the structure and content of web pages b) To add interactivity and behavior to web pages c) To style and format web pages d) To manage server-side data and databases Answer: b 12. React.js is written in which of the following language? a) C++ b) C c) Java d) JavaScript Answer: d 13. Which of the following directives is used to start an angularJS application? a) ng-app b) ng-init c) ng-repeat d) ng-model Answer: a 14. How many classes does bootstrap grid system has? a) 2 b) 3 c) 4 d) 1 Answer: c 15. What is the JavaScript keyword used to define a function? a) var b) function c) let d) const Answer: b 16. Which CSS property is used to specify the width of an element? a) padding b) margin c) height d) width Answer: d