Responsive Web Design Flashcards
Which of the following is an essential element of responsive Web design? A Native apps. B Java coding. C Objective C coding. D Media queries.
D
Media queries.
What is a rem in responsive Web design? A A relative unit of measurement used to define font size in type. B A measure of how quickly a screen refreshes. C A relative em. D A responsive em.
A
A relative unit of measurement used to define font size in type.
Which of the following is a major challenge when designing responsive navigation menus?
A
Mobile devices do not generally support text links.
B
Drop-down menus require JavaScript, which is not supported in many mobile devices.
C
Mobile devices cannot open links in a new browser window or tab.
D
Mobile devices do not have mice or a hover state to use on drop-down menus.
D
Mobile devices do not have mice or a hover state to use on drop-down menus.
Which of the following color contrast ratios provides the most accessible text in mobile devices? A 5. B 21. C 8.1. D 3.4.
B
21.
Three-column page designs work best in which of the following environments?
A
Older smartphones.
B
Laptops, desktops, and large tablets.
C
Older iOS devices with viewports of 480 pixels or less.
D
Android smartphones with viewports smaller than 480 pixels.
B
Laptops, desktops, and large tablets.
Which of the following HTML tags can you use to create content that collapses and expands? (tags have arrows) A The show tag and the hide tag. B The expand and collapse tags. C The expand tag and the nest tag. D The details tag and the summary tag.
D
The details tag and the summary tag.
Which of the following techniques supplies entirely different images in different user viewports? A Relative scaling. B The HTML5 < picture > element. C Applying a width property in CSS. D The HTML5 < responsive > element.
B
The HTML5 < picture > element.
What is the distinguishing feature of the SVG image format?
A
The SVG format is the least supported image format in modern and older browsers.
B
SVG is the only vector graphics format supported in browsers.
C
The SVG format is the best way to present photos online.
D
The SVG format is the only image format supported in mobile devices.
B
SVG is the only vector graphics format supported in browsers.
Which of the following presents a serious challenge for responsive form design?
A
Mobile forms cannot be linked to ASP scripts.
B
Mobile forms cannot be linked to PHP scripts.
C
Entering keyboard data can be a hassle for mobile users.
D
Mobile forms cannot be linked to Python scripts.
C
Entering keyboard data can be a hassle for mobile users.
Which of the following is essential when using Bootstrap components (widgets)? A Carousels. B Bootstrap's JavaScript files. C Bootstrap templates. D Bootstrap themes.
B
Bootstrap’s JavaScript files.
Which of the following distinguishes Web apps from native apps?
A
Web apps do not require a browser.
B
Native apps run only in a browser.
C
Native apps run only in laptops and desktops.
D
Web apps run in a browser; native apps do not.
D
Web apps run in a browser; native apps do not.
Which of the following is a frequently used navigation system for Web apps? A Bootstrap. B jQuery Mobile. C Media queries. D A listview.
D
A listview.
Which of the following challenges is unique to mobile Web browsing? A A wide range of external lighting environments. B The use of video. C Providing links. D Presenting images.
A
A wide range of external lighting environments.
What is the relationship between fluid design and responsive Web design?
A
Fluid design is part of responsive Web design.
B
Fluid design and responsive Web design are the same thing.
C
Responsive Web design is part of fluid design.
D
Fluid design applies only to mobile devices.
A
Fluid design is part of responsive Web design.
What programming language do designers use to write native apps? A Media queries. B HTML5. C JavaScript. D Objective C.
D
Objective C.
Which design elements often change radically in different viewports when we apply responsive design? A The page title. B The URL for the page. C The number of columns used to lay out the page. D The basic page content.
C
The number of columns used to lay out the page.
Compared to developing native apps, what kind of investment in content and skill set is required to build a responsive Web page?
A
Responsive Web design and native apps involve about the same amount of investment in content and skill set.
B
Native apps take much less investment in content and skill set than responsive design.
C
Responsive Web design takes substantially less investment in content and skill set than native apps.
D
Responsive Web design involves more investment in content but less investment in skill set than native apps.
C
Responsive Web design takes substantially less investment in content and skill set than native apps.
Which of the following is an absolute unit of measurement in Web design? A Percent. B Multiple. C Meters. D Inches.
D
Inches.
Which of the following is a good reason to use rems instead of ems?
A
Ems are an absolute unit of measurement and thus inappropriate for responsive Web design.
B
Rems are more complicated to apply than ems.
C
Ems are not supported in Firefox.
D
Rems make it easier to control the size of the list elements.
D
Rems make it easier to control the size of the list elements.
If you want to define an image to display at 80% of its size without distorting the height-to-width ratio, which of the following is the simplest effective solution?
A
Define a width of 80%; modern browsers will do the rest.
B
You must calculate what 80% of the width of the image is, and enter that as a value in pixels.
C
You must define a width of 80% and a height of 80%, or the height-to-width ratio of the image will distort.
D
You must define a width of 80% and a height of “auto,” or the height-to-width ratio of the image will distort.
A
Define a width of 80%; modern browsers will do the rest.
Which of the following units of measurement do designers usually use to create artwork in programs like Adobe Illustrator? A Inches. B Pixels. C Points. D Centimeters.
B
Pixels.
If you want to define the maximum width at which a relatively sized image will display, you could use which of the following techniques?
A
Define a width parameter for the image style definition.
B
Size the image in percent.
C
Size the image in pixels.
D
Define a max-width parameter for the image style definition.
D
Define a max-width parameter for the image style definition.
Which of the following is an example of a media type that might be detected by a media query? A Video file. B Printer. C JavaScript. D Image file.
B
Printer.
Which of the following is a valid parameter for a media query? A Volume. B Brightness (backlighting intensity). C Ambient lighting. D Width.
D
Width.
Which of the following is a frequently used and effective technique for building responsive menus?
A
Create the menu options as an HTML list.
B
Define the menu option content in a CSS style sheet file.
C
Create the menu content as a single image with clickable hotspots.
D
Create the menu options as an HTML table.
A
Create the menu options as an HTML list.
Which approach is often appropriate in translating a drop-down menu into a navigation menu useful in a mobile device?
A
Providing the same drop-down menu for mobile devices that you provide for laptops and desktops.
B
Listing fewer navigation options for mobile users.
C
Avoiding links altogether in mobile devices.
D
Using much smaller font sizes for mobile navigation elements.
B
Listing fewer navigation options for mobile users.
In a media query, what does device-width measure?
A
The height of the physical device screen.
B
Browser width or device width, whichever is greater.
C
The width of the physical device screen.
D
The width of a user’s browser window.
C
The width of the physical device screen.
What’s the fastest way to calculate color contrast values?
A
Use an online resource.
B
Validate your CSS with an online code validator.
C
Simply subtract one hexadecimal color value from another.
D
Simply add one hexadecimal color value to another.
A
Use an online resource.