Web Development MCQs

100 MCQs  (Page 9 of 10)

How is a space encoded in a URL?
\s
%32
%20 (or + in form-encoded query strings)
 
What does npm do?
It is a web server
It is the package manager for Node.js, used to install and manage JavaScript libraries
It is a browser
It is a CSS framework
What is the difference between progressive enhancement and graceful degradation?
They are identical
Progressive enhancement removes features
Progressive enhancement starts with a working basic version and adds features for capable browsers; graceful degradation starts full-featured and provides fallbacks for older browsers
Graceful degradation requires no fallbacks
What two things does a Progressive Web App (PWA) need to be installable?
Flash and Java
A web app manifest and a service worker, served over HTTPS
A native SDK and an app store account
A PHP backend only
What is the main purpose of minifying CSS and JavaScript?
To reduce file size by removing whitespace and comments and shortening names, which speeds up downloads
To encrypt the code
To add browser compatibility
To make the code more readable
What is the 'first rule of ARIA'?
ARIA is required for SEO
Use a native HTML element with the required semantics (such as <button>) instead of adding ARIA to a generic element, wherever possible
Add ARIA roles to every element
ARIA replaces HTML
Which organization develops HTML and CSS standards?
IEEE
W3C (with WHATWG maintaining the HTML Living Standard)
ISO only
ICANN
Which official body standardizes JavaScript, and under what name?
Mozilla, as JS-Standard
Oracle, as Java
Ecma International, as ECMAScript (ECMA-262)
W3C, as JScript