MCQ Bank
The HTML __________ element is used to draw graphics, on the fly, via scripting (usually JavaScript).
- A) <head>
- B) <canvas>
- C) <meta>
- D) <object>
If the transparent part of the image has rounded or diagonal edges, which format is suitable?
- A) GIF
- B) PNG
- C) JPG
- D) Transparent GIF
Which one is not a pillar of performance?
- A) Network
- B) Render
- C) Compute
- D) Storage
If the width property is set to ___________, the image will be responsive and scale up and down.
- A) 25%
- B) 200%
- C) 50%
- D) 100%
What does DPR stand for ___________.
- A) Display Pixel Resolution
- B) Device Pixel Ratio
- C) Device Pixel Resolution
- D) Display Pixel Ratio
__________ is simply the individual point of color on a digital image.
- A) Image
- B) Pixel
- C) Font
- D) Point
Which background property is used to show the background image only once?
- A) background-repeat: repeat-once
- B) background-image: repeat-once
- C) background-image: no-repeat
- D) background-repeat: no-repeat
The HTML <svg> element (introduced in HTML5) is a _________ for SVG graphics.
- A) Box
- B) Block
- C) Container
- D) Tag
A pixel doesn't have a particular size. It is a/an __________ representation of a specific coordinate, like a point on a map.
- A) Complex
- B) Abstract
- C) Transparent
- D) Clear
To render images to the screen, ______ dimensions may well not equal to pixel in real device terms.
- A) Image layout
- B) Screen layout
- C) Pixel layout
- D) Device layout
Responsive imaging is a method for providing the browser with multiple image sources depending on ____________
- A) All of the given
- B) Image Size
- C) Other factors
- D) Display Density
404 HTTP error is generated due to ____________.
- A) Slow loading of the web page.
- B) Any missing file.
- C) The removal of the newline character.
- D) Missing JavaScript file.
The standard rule for CSS is to apply a __________ property to all images.
- A) Max-width
- B) Min-width
- C) Max-height
- D) Min-height
A drop in performance directly drives a drop in user ______________.
- A) Graph
- B) Interaction
- C) Management
- D) Engagement
Which of the following is not the property of SVG images?
- A) SVG images are zoomable.
- B) SVG is an open standard.
- C) SVG images are scalable.
- D) SVG images are resolution dependent.
____________ hints allow clients to indicate a list of device and agent specific preferences.
- A) HTTP
- B) HTTP Client
- C) HTTP Server
- D) HTTP Socket
The performance of a _____ site means that you will have _________ user engagement.
- A) Slow, more
- B) Fast, less
- C) Fast, no
- D) Slow, Less
Physical pixel size of IPhone 6 Plus is ___________ pixels.
- A) 720*340
- B) 840*440
- C) 1080*1920
- D) 1020*240
By default, the background-image property repeats an image ________________.
- A) None of the given
- B) Vertically
- C) Both horizontally and vertically
- D) Horizontally
First step to ensure great performance is being able to analyze your _________.
- A) User engagement
- B) Design
- C) Performance
- D) Code