Home » Flashcards » Web Tech Final Exam

Web Tech Final Exam

   Send article as PDF   

The file extensions .avi, .m4v, and .ogv are used for:

video files

The file extensions .wav, .mp3, and .ogv are used for:

audio files

Select the true statement from those listed below:

You should obtain permission before using files to created by others

In terms of copyright, Fair Use is determined to be:

The use of copyrighted work for purposes such as criticism, reporting, teaching, scholarship, or research

Select the true statements about meta tags

They may be used by search engines to index a web page

The first step before submitting your web site to search engines and search directories is to:

Prepare your pages for search engines by adding keyword and description meta tags to your pages

__________ are the most popular methods used by visitors to find web sites

Search engines

The measurement, collection, analysis and reporting of Internet data for the purposes of understanding and optimizing web usage is called ____________.

Web analytics

Other parts of a web age that a search engine robot may examine include:

Links, page title, and text in headings and paragraphs

Scenario: The Internet Explorer 8 browser is being used to display a web page with an audio player but the audio element displays nothing on the page. Read the following code snippet and select the reason for the incorrect display from the choices below:<audio controls="controls">
<source src="podcast.mp3" type="audio/mpeg">
<source src="podcast.ogg" type="audio/ogg">
</audio>

There is no fallback content to display for browsers that do not support the audio element

Select the main reason for the initial development of the World Wide Web:

To allow communication between researchers and links between research papers

_______ combines the formatting strengths of HTML 4.0 and the data structure and extensibility strengths of XML.

XHTML

A network that is geographically dispersed and may use some form of public or commercial communications network is called:

WAN

Which of the following tags should NOT be located in the head section?

<h1>

What tag pair contains the items in an ordered or unordered list?

<li></li>

To associate an external style sheet with a web page, code:

A link element in the head section of the web page

Select the code below that uses CSS to configure a background color of #eaeaea for a web page.

body {background-color:#eaeaea;}

Use the ______ property to configure rounded corners with CSS.

Border-radius

A smaller version of a larger image that usually links to larger image is called a:

thumbnail image

Select the three most common methods of organizing websites.

hierarchical, linear, and random

Select the true statement below:

Animation should be used only if it enhances your website

Choose the item that creates an image link to the school.htm page when the school.gif graphic is clicked.

<a href="school.htm"><img src="school.gif" alt="school"></a>

If you are editing the social.html webpage and want to link to the multimedia.html webpage, which is the best file path to use in your code?

<a href="multimedia.html">Multimedia</a>

Will the following code pass W3C validation?
&lt;!DOCTYPE html&gt;

&lt;html lang="en"&gt;

&lt;head&gt;

&lt;title&gt;Validation?&lt;/title&gt;

&lt;meta charset="utf-8"&gt;

&lt;body&gt;

&lt;/head&gt;

&lt;h1&gt;My Page&lt;/h1&gt;

&lt;p&gt;This is a paragraph on my webpage&lt;/p&gt;

&lt;hr /&gt;

&lt;/body&gt;

&lt;/html&gt;

No, the code will not pass W3C validation

Will the following code validate? In other words, does it use the correct HTML5 syntax?
&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;

&lt;head&gt;
&lt;meta charset="utf-8" /&gt;
&lt;title&gt;My Page&lt;/title&gt;
&lt;/head&gt;

&lt;body&gt;

&lt;p&gt;A paragraph on my page&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Item 1&lt;/li&gt;
&lt;li&gt;Item 2&lt;/li&gt;
&lt;li&gt;Item 3&lt;/li&gt;
&lt;/ol&gt;

&lt;/body&gt;
&lt;/html&gt;

Yes, the syntax is correct and will validate

Different browsers and even different browser versions will display your web page _______.

In different ways

Select the code below that uses CSS to configure a id named "footer" that configures small, italic, text.

#footer {font-size: small; font-style: italic;}

In CSS and HTML, colors are usually represented by _______.

hexadecimal numbers

A type of graphic with a limited number of colors that can be made transparent and is commonly used on the Web is:

gif

Select the code below that uses CSS to configure a class called "offer" with blue text that uses the Arial or sans-serif font typeface.

.offer {color: blue; font-family: Arial, sans-serif;}

Which is the correct relative file path that you would use for a link to the file named about.html from the homepage (index.html) located in the Site root folder?

<a href="about.html">About</a>

If the webmaster for www.othersite.com wants to link to your social.html webpage, what is the code that she/he should use?

<a href="http://webdev.com/resources/social.html">Social</a>

Select protocols that are used for e-mail processing.

SMTP, POP3, IMAP

Select the items below that can be used as a CSS selector

HTML element, a class name, and an id name

Select the FALSE statement below:

When linking to web pages within your own site, use a hyperlink that includes the domain name

Select the correct order of the cascade of the rules of precedence below:

Browser defaults > External style sheets > embedded styles > inline styles > HTML attributes

A type of graphic that is best-suited to photographs is:

jpg

Use the _____ tag to configure a section of a web page that is physically separated from others.

<div></div>

Choose the attribute used to provide accessibility by configuring a get alternative that is available to browsers and other user agents that do not support graphics.

alt

When CSS is coded in the body of the web page as an attribute of an HTML tag it is called

Inline

Select a good design recommendation for text hyperlinks.

Use a key phrase as a hyperlink

Choose the organization listed below that takes a proactive role in developing recommendations and prototype technologies related to the Web.

World Wide Web Consortium (W3C)

Select the code below that will configure background image called parchment.gif for a web page using CSS.

body {background-image: url(‘parchment.gif’);}

Select the true statement below (2):

Placing white spaces around graphics and headings helps them to stand out

When do you need to use a fully qualified URL in a hyperlink?

When linking to a page on an external web page

Select the browser’s action when you configure BOTH a background color and background image for the body selector.

Displat the background color while the background image loads and before the background image is displayed

Will the following code validate? In other words, does it use the correct HTML5 syntax?
&lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
&lt;meta charset="utf-8" /&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;title&gt;My Page&lt;/title&gt;

&lt;p&gt;A paragraph on my page&lt;/p&gt;

&lt;/body&gt;
&lt;/html&gt;

NO, the HTML5 syntax is not correct. It will not validate.

When a web page contains both a link to an external stylesheet and embedded styles, which of the following is true?

The external styles will be applied first, then the embedded styles will be applied.

Will the following code validate?
&lt;!DOCTYPE html&gt;

&lt;html lang="en"&gt;

&lt;head&gt;

&lt;meta charset="utf-8" /&gt;

&lt;/head&gt;

&lt;body&gt;

&lt;p&gt;A paragraph on my page&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Item 1&lt;/li&gt;
&lt;li&gt;Item 2&lt;/li&gt;
&lt;li&gt;Item 3&lt;/li&gt;
&lt;li&gt;Item 4&lt;/li&gt;
&lt;/ol&gt;

&lt;/html&gt;

No, the HTML5 syntax is incorrect. It will not validate.

Choose the item below that describes the process of creating an image with the lowest file size that still renders a good quality image.

Optimization

Select the code below that configures a background image to repeat horizontally across a web page.

background-repeat= repeat-x;

Which type of CSS provides the advantage of styling multiple web pages by editing a single file?

external styles

A domain name is a unique text-based Internet address corresponding to unique ___________.

IP Address

If you are using a list to provide driving directions in a specific sequence of steps on your web page, which is the best type of list to use?

Ordered list

To associate an external style sheet with a web page, code (2):

A link element in the head section of the web page

When designing a website keep the preferences of these people in mind:

target audience

Equivalent content for visitors with physical disabilities provides for this:

accessibility

Which tag is used to force the browser to display the next text or element on a new lin?

<br>

Website organization structure well-suited to tutorials or step-by-step presentations

Linear

A private network contained within an organization that uses Internet protocols

Intranet

The CSS to create the class called my float that floats to the right of the other page content, has a 10px margin, and a solid border is:

.myfloat {float: right; margin: 10px; border 1px solid #000000;}

Select the correct order of the cascade for the rules of precedence below:

Browser defaults > External styles > Embedded styles > Inline styles > HTML attributes

To apply a style to one or more elements on a web page, configure a CSS __________.

class

______ flow displays the elements on the page in the order they appear in the web page source code.

Normal

Which of the types of CSS provides the advantage of styling multiple web pages by editing a single file?

External styles

The _______ is the area between the content and the border.

Padding

The default value for the border property for an element is:

0 pixels

The box model consists of a content areas surrounded by:

padding, border, and margin

Use _____ positioning to slightly change the location of an element in relation to where it would otherwise appear when rendered by a browser.

relative

When using the box model, the ____ is always transparent.

Margin

Select a recommendation for mobile web design from the choices listed below.

Use percentages or em units for font sizes

The _____ meta tag configures scale and dimension on mobile web page display.

Viewport

Select a recommendation for mobile web design.

Use a single column page layout

Include the keyword _______ in a media query to cause older, non-supporting browsers to ignore the media query.

only

___________ will case an object not to display

display: none;

When do you need to use a fully qualified URL in a hyperlink (2)?

When linking to a page on an external web site

The ______ attribute of the anchor tag can cause the new web page to open in its own browser window.

target

Use the _____ property in the HTML link tag to associate a web page with a style sheet for printing.

media="print"

A _____ determines the capabilities of the mobile device, such as a screen resolution, and directs browsers to CSS.

Media query

How would you link to named fragment #school on the page resume.html from the home page of the site?

<a href="resume.html#school">Educational Background</a>

Choose the item below that is NOT an HTML5 element.

wrapper

The _____ HTML5 element is used to configure the top logo area on a web page.

header

The ______ pseudo-class configures the appearance of the hyperlink before it is clicked.

link

A table heading cell displays text as bold and ______

centered

From the choices below select the correct order to code CSS pseudo-class

link,visited, hover, active

Tables are similar in design to _______.

spreadsheets

The ______ pseudo-class configures the styles that will apply when the mouse is over a hyperlink.

hover

Use an id to configure a style when:

the style will apply to only one element on a page

Use the ______ tag par to begin and end a table row.

<tr></tr>

The purpose of the ______ element is to describe the contents of the table.

<caption>

Use the CSS ______ property to configure the cell padding of the table

padding

The ________ is an attribute of the &lt;table&gt; tag that provides for accessibility.

summary

Use the _______ tag pair to configure table headings.

<th></th>

Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table?

:last-of-type

Select the item below that lists elements used in an HTML table:

table, tr, td

Select the tag used to visually group a number of form controls.

<fieldset>

Select the statement below that is true about forms.

A form can be used to pass information to a program or script on the web server

An order form contains an area for web visitors to select their state or province. You need to limit the amount of space on the form that is used for this feature. Select the form control that is best to use for this purpose.

Select list

When configuring a radio button form control, the value of the ______ each radio button must be the same.

name

Select the attribute used to limit number of characters that a text box will accept.

maxlength

The purpose of the ______ is to configure a label for a &lt;fieldset&gt;.

<legend>

You would like to conduct a survey and ask your web page visitors to indicate the computer operating systems that they use. Each visitor could use more than one computer operating system. Select the form control that is best to use for this purpose.

Check box

Select the true statement from those listed below

The input element that type="email" will cause browsers that do not support the attribute to display a text box

Select the type of form control that "disguises" the characters that are typed

password

use the ______ attribute on the &lt;form&gt; tag to specify the name and location of the script that will process the form control values.

action

The methodology used by web project teams is usually:

Select the tasks that should be performed when a website is tested, view the site in a variety of web browsers, and view the site in a variety of screen resolutions

The type of testing that observes how actual web page visitors use a website is called:

usability testing

A long-standing methodology used to develop information systems is the

System Development Life Cycle

______________ is appropriate for the initial web presence of an organization:

Virtual hosting

Scroll to Top