
Q 1. The __________ rule makes it possible to define different style rules for different media types in the same stylesheet.
A. audio/video
B. sink
C. @media
D. @canvas
Show Answer
Answer:-C. @mediaExplanation
Example:@media screen { p { font-family: verdana, sans-serif; font-size: 17px; } }Q 2. What is the way to specify media dependencies for style sheets ?
A. Specify the target medium from a style sheet with the @media or @import at-rules
B. Specify the target medium within the document language
C. both Specify the target medium from a style sheet with the @media or @import at-rules and Specify the target medium within the document language
D. none of the mentioned
Show Answer
Answer:-C. both Specify the target medium from a style sheet with the @media or @import at-rules and Specify the target medium within the document languageQ 3. ____________ types are mutually exclusive in the sense that a user agent can only support one media type when rendering a document.
A. tv
B. tty
C. media
D. audio
Show Answer
Answer:-C. mediaExplanation
Media types are mutually exclusive in the sense that a user agent can only support one media type when rendering a document. However, user agents may use different media types on different canvases. For example, a document may (simultaneously) be shown in ‘screen’ mode on one canvas and ‘print’ mode on another canvas.Q 4. If an @media/@import rule contains a malformed media type (not an identifier) then the statement is valid. State true or false.
A. True
B. False
Show Answer
Answer:-A. TrueQ 5. Media type names are case-insensitive. State true or false.
A. True
B. False
Show Answer
Answer:-A. TrueQ 6. What does aural media type is used for ?
A. For use with low-resolution teletypes, terminals, or other devices with limited display capabilities
B. For use with Braille printers
C. For use with speech synthesizers
D. For use with projected media (direct computer-to-projector presentations), or printing transparencies for projection
Show Answer
Answer:-C. For use with speech synthesizersQ 7. What does braille media type is used for?
A. For use with all devices
B. For use with speech synthesizers
C. For use with handheld devices
D. For use with tactile Braille devices
Show Answer
Answer:-B. For use with speech synthesizersQ 8. What does all media type is used for?
A. For use with all devices
B. For use with speech synthesizers
C. For use with handheld devices
D. For use with tactile Braille devices
Show Answer
Answer:-A. For use with all devicesQ 9. What does projection media type is used for?
A. For use with projected media (direct computer-to-projector presentations), or printing transparencies for projection.
B. For use with color computer screens
C. For use with handheld devices
D. For use with television-type devices
Show Answer
Answer:-A. For use with projected media (direct computer-to-projector presentations), or printing transparencies for projection.Q 10. What does tty media type is used for ?
A. For use with low-resolution teletypes, terminals, or other devices with limited display capabilities.
B. For use with Braille printers.
C. For use with speech synthesizers.
D. For use with projected media (direct computer-to-projector presentations), or printing transparencies for projection.
Leave a Reply