100%
Which of the following is an advantage of using separation of concerns when creating
web applications? (Check all that apply)
- maintainability
- extensibility
- reusability
- optimizationality - ANSWER- maintainability
- extensibility
- reusability
Which of the following CSS statements will display a border with the following
characteristics:
The top border = 10 pixelsThe bottom border = 5 pixelsThe left border = 20 pixelsThe
right border = 1pixel? - ANSWERborder-width: 10px 1px 5px 20px;
Which of the following is a correct format for a hyperlink to the Terry College web site?
- <a url="http://www.terry.uga.edu">The Terry College of Business</a>
- <a>The Terry College of Business</a>
- <a href="http://www.terry.uga.edu">The Terry College of Business</a>
- <a>http://www.terry.uga.edu</a> - ANSWER<a href="http://www.terry.uga.edu">The
Terry College of Business</a>
Which of the following HTML tags would be used to define a bulleted list?
- <ol>
- <ul>
- <bl>
- <list> - ANSWER<ul>
Where in an HTML document is the correct place to refer to an external style sheet? -
ANSWERIn the <head> section
What does CSS stand for? - ANSWERCascading Style Sheets
What is the name of the organization that develops the primary web standards of HTML
and CSS?
- The World Wide Consortium (W3C)
- Defense Advanced Research Project (DARPA)
- CERN - ANSWERThe World Wide Consortium (W3C)
In order from inside to the outside, what are the components of the CSS box model?
(padding, content, border, margin) - ANSWER1. content
, 2. padding
3. border
4. margin
Which of the following is the correct HTML for inserting an image?
- <img src="image.gif" alt="MyImage">
- <img href="image.gif" alt="MyImage">
- <image src="image.gif" alt="MyImage">
- <img alt="MyImage">image.gif</img> - ANSWER<img src="image.gif"
alt="MyImage">
T/F: The following HTML tags will create a table with 3 rows of two columns each.
<table>
<tr>
<td>
a
</td>
<td>
b
</td>
</tr>
<tr>
<td>
c
</td>
<td>
d
</td>
</tr>
</table> - ANSWERFALSE (only 2 rows)
T/F: In general, separation of concerns allows us to obtain high coupling and low
cohesion. - ANSWERFALSE (other way around)
Which of the following HTML tags would be used to create a drop-down list?
- <input type="dropdown" />
- <select>...</select>
- <input type="list">
- <list>...</list> - ANSWER<select>...</select>
___________________ is a design principle for separating a computer program into
distinct sections such that each section addresses a separate concern. -
ANSWERseparation of concerns
Which of the following CSS will add a background color for all <h1> elements?
- h1 {background-color:#FFFFFF;}