Docsity

Web Development Foundations - C779 Study Guide with Correct Answers, Exams of Web Design and Development

Toggle sidebar
bg1
Web Development Foundations - C779 Study
Guide with correct answers
* An organization has users which run older versions of Internet Explorer. Which
action should be done to ensure that that web page content is visible in all
browsers? Answer✔✔ Add JavaScript code to HTML documents and create a new
CSS rule.
* What happens when a site visitor views a web page that uses a font unavailable
on the visitor's computer? Answer✔✔ The browser's default font will be displayed.
* Which two methods are used to apply Cascading Style Sheets aka CSS?
Answer✔✔ Embedding an internal style sheet in an HTML page
Linking an HTML page to an external style sheet
* Which value of the opacity property in CSS3, represents completely opaque?
Answer✔✔ 1.00
* Which directive overrides normal cascading in CSS? Answer✔✔ !Important
* What are Syntactically Awesome Style Sheets aka SASS used for with regard to
adding functionality? Answer✔✔ As a CSS extension language for preprocessing
* Given the following CSS: p{color: red;} p{color: yellow;} p{color: green;}
p{color: purple;} Which color is used when text in the referenced paragraph
displays? Answer✔✔ Purple
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14

Partial preview of the text

Download Web Development Foundations - C779 Study Guide with Correct Answers and more Exams Web Design and Development in PDF only on Docsity!

Web Development Foundations - C779 Study

Guide with correct answers

  • An organization has users which run older versions of Internet Explorer. Which action should be done to ensure that that web page content is visible in all browsers? Answer✔✔ Add JavaScript code to HTML documents and create a new CSS rule.
  • What happens when a site visitor views a web page that uses a font unavailable on the visitor's computer? Answer✔✔ The browser's default font will be displayed.
  • Which two methods are used to apply Cascading Style Sheets aka CSS? Answer✔✔ Embedding an internal style sheet in an HTML page Linking an HTML page to an external style sheet
  • Which value of the opacity property in CSS3, represents completely opaque? Answer✔✔ 1.
  • Which directive overrides normal cascading in CSS? Answer✔✔ !Important
  • What are Syntactically Awesome Style Sheets aka SASS used for with regard to adding functionality? Answer✔✔ As a CSS extension language for preprocessing
  • Given the following CSS: p{color: red;} p{color: yellow;} p{color: green;} p{color: purple;} Which color is used when text in the referenced paragraph displays? Answer✔✔ Purple
  • Given the following markup and code: green or black #basenav { color: red; } nav { color: blue; } Which color will the navigation element be? Answer✔✔ Red
  • Which code block should be used to set the background image for a web page? Answer✔✔ body { background-image: url('paper.gif') }
  • Which HTML tag is used to display text exactly as it is defined in the HTML markup? Answer✔✔ Pre
  • Which CSS state selectors show uninspected HREFs in red? Answer✔✔ a:link { color:red; }
  • Which type of address does the hyperlink ../about/map.html point towards? Answer✔✔ Relative Uniform Resource Locator (URL)
  • Which attribute is used with the tag to display text if the image fails to load? Answer✔✔ alt
  • Which property is used in CSS3 to specify the left or right alignment of an image? Answer✔✔ float
  • Which attribute is used to specify the format of a video file? Answer✔✔ type
  • Which symbol with an href value tells the browser to look for an anchor within the current document? Answer✔✔ Hash (#)
  • Which multimedia technology did popular video sharing sites replace with Motion Picture Experts Group-4 (MP4) to address security concerns? Answer✔✔ Flash

  • Which markup should be used to link a CSS document to a web page? Answer✔✔

  • Which markup should be added to a form to create a drop-down list that allows users to select with three selectable options? Answer✔✔

  • Which graphical image type scales without losing image quality? Answer✔✔ Vector

  • Which HTML5 tag is self-closing? Answer✔✔

  • Which HTML5 element is used to draw graphics on a web page? Answer✔✔ canvas

  • Which request method should be used in a form to append parameters into a query string? Answer✔✔ Get

  • Which two form elements should use the same name for groups of related elements? Answer✔✔ Radio Checkbox

  • Which method type securely sends form data that requires additional processing by the CGI script? Answer✔✔ Post
  • What happens to data entered into a web form after the Reset button is selected? Answer✔✔ It is cleared and the form fields are set to their default values.
  • Which test is designed to detect the automated systems used by spammers? Answer✔✔ CAPTCHA
  • Which HTML5 tag attribute should be supplied for an input field in a web form if submitted to the server? Answer✔✔ Name
  • Which input tag type value is used to create a group of mutually exclusive options? Answer✔✔ Radio
  • Which attribute should be used to add default text to an input tag of type text? Answer✔✔ Value
  • Which tag is a valid form field for exclusive use in HTML5? Answer✔✔
  • Which hosting option allows a company to ship specific hardware to the provider? Answer✔✔ Colocation service
  • An organization plans to update a web page that has a multitiered architecture. The developer needs to ensure that the web page will function as expected before deploying the updates. Where should the developer perform regression testing? Answer✔✔ On a clone of production machines
  • What are two characteristics of WYSIWYG editors? Answer✔✔ Might fail to edit code that contains newer tags Allow page creation by using a mouse
  • What is the ethical risk to emailing surveys to people other than existing customers? Answer✔✔ Organizations could be labeled as spammers
  • Which term describes a unique word, phrase, or symbol that is officially registered by an organization with the government? Answer✔✔ Trademark *What is a working definition of ethics for a web designer? Answer✔✔ Make choices to avoid violating the rights of people
  • Who is responsible for protecting a copyright? Answer✔✔ The entity whose work is being used
  • A user reports that when Navigate to 001 is clicked, the web page fails to navigate to that page. Given the following code: Menu Navigate to 001 Navigate to 002 Navigate to 003 Why is the navigation failing to work as expected? Answer✔✔ The location should be specified within the href. '* Which file type allows a client to integrate to a vendor's purchasing system by transmitting data points when a user clicks send? Answer✔✔ XML
  • What enables applications to add updates to an interface without the need to refresh the page? Answer✔✔ Ajax
  • What is a benefit of using a virtual machine on a shared host? Answer✔✔ Reduced costs with less physical equipment
  • Which hosting solution requires the purchase of hardware and software? Answer✔✔ In-house
  • Which HTML5 geolocation API process retrieves the user's latitude and longitude? Answer✔✔ getCurrentPosition()
  • What is a characteristic of a virtual server? Answer✔✔ Multiple sites are hosted on individual servers.
  • Which tag uses the manifest attribute to enable the offline support for a web page? Answer✔✔
  • What is the purpose of the WebM MIME type? Answer✔✔ Uses a file format to stream online videos
  • Which HTML5 element has a poster attribute? Answer✔✔ Video
  • Which technique is used to reduce the number of calls for static files? Answer✔✔ Caching

*** HTML 4.01 Strict Answer✔✔ required the exclusive use of CSS when defining layout instructions. Deprecated tags not allowed *** HTML 4.01 Frameset Answer✔✔ Pages that used HTML frames, which placed Web pages inside each other to create separate panes in the browser window. Some felt that frames provided additional functionality or enhanced a site's look and feel. *** XML Answer✔✔ Extensible Markup Language, a way of writing data in a tree-structured form by enclosing it in tags. Describes function and context of data. Allows data to be interchanged with all other applications. XHTML allows XML to merge with HTML. Can be formatted into web page, pdf, csv, braille. ** Which of the following is no longer necessary when you use HTML5 to develop Webpages? Answer✔✔ Installing a third-party plug-in to include video ** HTML5 Answer✔✔ - Not based on SGML

  • DTD aka Document Type Definition no longer required
  • Meets modern requirements with fewer plug-ins ** DTD aka Document Type Definition Answer✔✔ Defines the structure and the legal elements and attributes of an XML document. *** ADA American's with Disabilities Act Answer✔✔ - 1990
  • Broad application of accessibility standards
  • Relevant in the US
  • Accommodations such as text-based alternatives to all non-text content, images with text based descriptions, easy to read forms by screen-readers

** You have contracted with a division of the US Department of the Interior to create web pages for a site that has visitors who may be visually impaired. Which must you consider as you design web pages for maximum accessibility by this audience. Answer✔✔ Section 508 of the Rehabilitation Act ** Section 508 of the Rehabilitation Act Answer✔✔ - 2001

  • Requires that government agencies must give individuals with disabilities access to information technology that is comparable to the access available to others
  • Specific to Federal Agency, developed, procured, maintained and used
  • Accommodations for all electronic and information technology
  • Detail standards for websites ** W3C Answer✔✔ - The World Wide Web Consortium is the main international standards for Web
  • Includes the WAI aka Web Accessibility Initiative. Technology, guidelines, tools, education, outreach and research and development
  • Ensures core technologies are equally accessible
  • Includes WCAG aka web content accessibility guidelines, universal set of standards promoting accessibility.
  • Defines important technical specifications, such as how the main parts of a URL are composed. ** Storyboard Answer✔✔ Purpose and intended audience for a web site, and provides a rough outline of the pages needed ** As leader of your company's web team, you have been asked to give an oral presentaiton of plans for your company's new web site. What must you do to

*** Director Answer✔✔ It is a file system object that organizes data within the file system of a storage device *** File Answer✔✔ It is a collection of data stored in one unit, managed by the file system of a storage device. *** Folder Answer✔✔ Its purpose is to store documents and organize data within the file system of a storage device. *** Path Answer✔✔ It defines the location of stored data within the file system of a storage device. *** Which folder contains the "page1.html" file? Answer✔✔ "my_dir/buffer" The "my_dir" folder is the parent of the "buffer" and "temporary" folders. A reference to a file inside the "temporary" folder has this folder as a starting point. *** Example of HTML file with the following elements Answer✔✔ head (), title (), body (<body>), heading (<h1>), and paragraph (<p>) ** body { background-color: lightblue; } Answer✔✔ This is an example of CSS ** h1 { color: white; text-align: center;

} Answer✔✔ This is example of CSS ** p { font-family: verdana; font-size: 20px; } Answer✔✔ This is an example of CSS

Page Title

This is a Heading

This is a paragraph.

Answer✔✔ This is an example of HTML **

Page Title

Answer✔✔ Example of XML ** Markup language Answer✔✔ A language that provides text and graphics formatting through the use of tags. Examples of markup languages include HTML, XML, and SGML. A structured set of computer code elements that are assembled in a specific way, which provide the formatting for how text and other web page features - a button that a user may click, or a text field into which a user will enter content - will appear. ** 1. Open Notepad++ or similar pure text editor.

  1. Create a code snippet using proper XML structure. Use the example from earlier in the module to ensure that you use proper structure and syntax in your code.
  2. Once complete, copy your code and paste in the text field, then click Submit.
  3. You will receive feedback on the content and structure of the code you produced. Answer✔✔

"Sedan" "SUV"

"Light" "Heavy"

** Which characteristic of XML indicates it is an extensible markup language? Answer✔✔ The set of XML tags is unlimited. XML is considered extensible because the set of possible tags is not limited and the addition or removal of elements will likely not affect the processing of the XML file. ** Which two statements accurately describe the differences between HTML and XML? Answer✔✔ - HTML can tolerate simple syntax mistakes, while XML does not accept any syntax mistakes.

  • HTML can tolerate simple syntax mistakes, while XML does not accept any syntax mistakes. ** There are many elements in the current version of HTML (HTML5), but most web pages contain some basic tag elements that are present in most, if not all, HTML files, regardless of the version. These commands are: Answer✔✔ - : the document type declaration is mandatory and informs the browser which version of HTML is being used. The value html indicates HTML, version 5. A declaration is a statement that informs the browser of the information needed to correctly handle the elements within. In other words, the declaration tells the browser how to decode the tags that will follow.
  • : the element that encompasses the whole document
  • : the page header information
  • : that informs the page title to be used by the browser to be displayed over the window or tab displaying the web page
  • <body>: the page body that encompasses the text to be displayed by the browser
  • <h1>, <h2>, <h3>, <h4>, <h5>, <h6>: the headings of the web page main text that follow specific text formatting and also provide text structure
  • <p>: the paragraphs of the web page text that hold the regular text
  • <br>: the single tag to create a line break (remember that HTML does not take blank spaces or line breaks into account for display)
  • <hr>: a tag to display a change of context, usually displayed as a horizontal line

*** Inline Answer✔✔ Inline definition works well when CSS styles will be applied to specific sections of an HTML file, rather than the entire file. The use of inline and internal definitions reduces the number of files your web browser must download before displaying the content on the web page, because the CSS style is embedded in the HTML file. *** Internal Answer✔✔ - Internal definition works well when the CSS styles will be applied to all elements within the HTML file.

  • Coding CSS instructions inline or internally will also increase the amount of time needed to add each of the CSS style definitions to the HTML file, so these two methods are generally not recommended when applying style definitions to multiple pages within a website. *** External Answer✔✔ - When using external CSS files, the browser must download the HTML file first, then the CSS files.
  • The primary advantage of CSS external definition is that it allows for design elements to be applied across multiple HTML files; the industry standard is to create an external styles.css file that holds all CSS definitions to be applied to your HTML files, making it easier to produce a more uniform design. *** The basic structure of CSS commands is a sequence of CSS rule-sets. Each rule-set is composed of: Answer✔✔ - one selector that describes the HTML tag to which it applies
  • a set of declarations delimited by curly brackets and ended with semicolons, with each declaration being composed of a property: value pair *** p { font-family:arial; text-align:right; } Answer✔✔ - p is the selector
  • font-family is the property of the first declaration
  • arial is the value of the first declaration
  • text-align is the property of the second declaration
  • right is the value of the second declaration *** What is the purpose of the CSS standard? Answer✔✔ CSS was incorporated in the WWW standards to facilitate the formatting of HTML files. *** p { text-align:right; arial; } Answer✔✔ This rule-set is an invalid CSS, since it has an invalid property:value pair (there is one property and two values).