CSS Questions and Answers Part-15

1. Which of the following media feature describes the number of entries in the color lookup table of the output device
a) color
b) color-index
c) color-value
d) color-@media

Answer: b
Explanation: The ‘color-index’ media feature describes the number of entries in the color lookup table of the output device. If the device does not use a color lookup table, the value is zero

2. Which of the following Viewport Property sets the initial scaling factor?
a) scale
b) initial-scale
c) minimum-scale
d) user-scale

Answer: b
Explanation: initial-scale

3. Which of the following Viewport Property determines whether the display can be zoomed in and out?
a) scale
b) set-scale
c) adjust-scale
d) user-scalable

Answer: d
Explanation: user-scalable

4. Which of the following @viewport Property sets the viewport height in the same way as width?
a) height
b) width
c) viewpor-width
d) none of the mentioned

Answer: a
Explanation: height

5. Which of the following @viewport Property locks the document in the specified orientation, portrait or landscape?
a) orientation
b) resolution
c) landscape
d) portrait

Answer: a
Explanation: orientation

6. Which of the following Media Query describe the ratio of the device width to the device height of the media?
a) device-aspect
b) device-aspect-ratio
c) device-aspect-query
d) none of the mentioned

Answer: c
Explanation: device-aspect-query

7. Which of the following Media Query determines if output is grid, like a simple terminal or phone, or bitmap, like a standard monitor or printer?
a) monochrome
b) grid
c) resolution
d) device-height

Answer: b
Explanation: grid

8. Which of the following Media Query describes the scanning method of a TV?
a) orientation
b) scan
c) resolution
d) none of the mentioned

Answer: b
Explanation: scan

9. Which of the following Media Query determines if output is monochrome and how many bits are used for gray display?
a) gray
b) chrome
c) monochrome
d) none of the mentioned

Answer: c
Explanation: monochrome

10. A media query consists of a media type and zero or more expressions that check for the conditions of particular media features. State true or false.
a) True
b) False

Answer: a
Explanation: True