Docsity

WGU C779 Web Development Foundations – Complete Study Guide, Exams of Health sciences

Toggle sidebar
bg1
WGU C779 Web Development
Foundations – Complete Study Guide
* 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? ✔ Ans - 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? ✔ Ans - The
browser's default font will be displayed.
* Which two methods are used to apply Cascading Style Sheets
aka CSS? ✔ Ans - 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? ✔ Ans - 1.00
* Which directive overrides normal cascading in CSS? ✔ Ans
- !Important
* What are Syntactically Awesome Style Sheets aka SASS used
for with regard to adding functionality? ✔ Ans - 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? ✔ Ans - Purple
* Given the following markup and code: <nav id="basenav">
green or black </nav> #basenav { color: red; } nav { color:
blue; } Which color will the navigation element be? ✔ Ans -
Red
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff

Partial preview of the text

Download WGU C779 Web Development Foundations – Complete Study Guide and more Exams Health sciences in PDF only on Docsity!

WGU C779 Web Development

Foundations – Complete Study Guide

  • 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? ✔Ans - 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? ✔Ans - The browser's default font will be displayed.
  • Which two methods are used to apply Cascading Style Sheets aka CSS? ✔Ans - 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? ✔Ans - 1.
  • Which directive overrides normal cascading in CSS? ✔Ans
  • !Important
  • What are Syntactically Awesome Style Sheets aka SASS used for with regard to adding functionality? ✔Ans - 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? ✔Ans - Purple
  • Given the following markup and code: green or black #basenav { color: red; } nav { color: blue; } Which color will the navigation element be? ✔Ans - Red
  • Which code block should be used to set the background image for a web page? ✔Ans - body { background-image: url('paper.gif') }
  • Which HTML tag is used to display text exactly as it is defined in the HTML markup? ✔Ans - Pre
  • Which CSS state selectors show uninspected HREFs in red? ✔Ans - a:link { color:red; }
  • Which type of address does the hyperlink ../about/map.html point towards? ✔Ans - Relative Uniform Resource Locator (URL)
  • Which attribute is used with the tag to display text if the image fails to load? ✔Ans - alt
  • Which property is used in CSS3 to specify the left or right alignment of an image? ✔Ans - float
  • Which attribute is used to specify the format of a video file? ✔Ans - type
  • Which symbol with an href value tells the browser to look for an anchor within the current document? ✔Ans - Hash (#)
  • Which valid code shows a functional, formatted hyperlink reference? ✔Ans - WGU
  • Which pair of points is specified when defining a rectangular hot spot? ✔Ans - Upper left and lower right
  • Which two points are specified when defining a circular hot spot? ✔Ans - Center Radius
  • Which request method should be used in a form to append parameters into a query string? ✔Ans - Get
  • Which two form elements should use the same name for groups of related elements? ✔Ans - Radio Checkbox
  • Which method type securely sends form data that requires additional processing by the CGI script? ✔Ans - Post
  • What happens to data entered into a web form after the Reset button is selected? ✔Ans - 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? ✔Ans - CAPTCHA
  • Which HTML5 tag attribute should be supplied for an input field in a web form if submitted to the server? ✔Ans - Name
  • Which input tag type value is used to create a group of mutually exclusive options? ✔Ans - Radio
  • Which attribute should be used to add default text to an input tag of type text? ✔Ans - Value
  • Which tag is a valid form field for exclusive use in HTML5? ✔Ans -
  • Which hosting option allows a company to ship specific hardware to the provider? ✔Ans - 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? ✔Ans - On a clone of production machines
  • Which table property has top, bottom, and middle values? ✔Ans - Vertical-align
  • Which HTML5 element structure is defined for company services and blogs? ✔Ans - article
  • Which protocol should be used for publishing multiple files to a website? ✔Ans - FTP
  • Which tag should be added to ensure a responsive design in a web page, and which will be accessed from a variety of devices? ✔Ans -
  • What is a benefit of a GUI editor? ✔Ans - Writes HTML code automatically
  • What is the purpose of the W3C Authoring Tool Accessibility Guidelines? ✔Ans - To guide development of editors for developers with disabilities
  • What does the W3C Authoring Tool Accessibility Guidelines evaluate? ✔Ans - Usability of the GUI editor by a user with disabilities
  • What are two characteristics of ? ✔Ans - Instructs a web browser which HTML version to use Read by an HTML validation engine
  • What are two characteristics of WYSIWYG editors? ✔Ans - 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? ✔Ans - Organizations could be labeled as spammers
  • What is the purpose of the WebM MIME type? ✔Ans - Uses a file format to stream online videos
  • Which HTML5 element has a poster attribute? ✔Ans - Video
  • Which technique is used to reduce the number of calls for static files? ✔Ans - Caching
  • Which responsibility is expected of a web project manager? ✔Ans - Communicating with all stakeholders
  • What is the maximum recommended file size for a web page in order to avoid long download times? ✔Ans - 100 KB
  • Which database type can store data in a single table only? ✔Ans - Flat file
  • Which audience development technique can initiate an interaction with an online visitor? ✔Ans - Push technology
  • What is used to give web applications the same responsiveness as desktop applications? ✔Ans - Ajax
  • Which advantage does a dedicated mobile website have, compared to a mobile application? ✔Ans - Cross-platform usability *** SGML ✔Ans - Standard Generalized Markup Language. Meta Language used to create other languages like HTML or XML *** HTML Frameset ✔Ans - Use to place web pages inside each other to create separate panes in the browser window *** HTML 4.01 Transitional ✔Ans - allowed developers to insert formatting using either CSS or traditional layout

instructions. Allowed deprecated logs. Rendered in browsers that did not support HTML 4.01 features such as CSS *** HTML 4.01 Strict ✔Ans - required the exclusive use of CSS when defining layout instructions. Deprecated tags not allowed *** HTML 4.01 Frameset ✔Ans - 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 ✔Ans - 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? ✔Ans - Installing a third- party plug-in to include video ** HTML5 ✔Ans - - Not based on SGML

  • DTD aka Document Type Definition no longer required
  • Meets modern requirements with fewer plug-ins ** DTD aka Document Type Definition ✔Ans - Defines the structure and the legal elements and attributes of an XML document. *** ADA American's with Disabilities Act ✔Ans - - 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

** Which hosting solution is characterized by a service provider that allocates space for your equipment but does not provide the server hardware? ✔Ans - Co-Location ** Which task is associated with web site maintenance? ✔Ans - Removing dead links *** URL ✔Ans - Uniform Resource Locator; a location or address identifying where documents can be found on the Internet; a Web address. Marks the webpage. *** What is the functional purpose of HTML in web design? ✔Ans - Browsers decode HMTL to render a webpage. All browsers have to comply with HTML standards as defined by W3C. *** Which type of editor is used to develop HTML and CSS files? ✔Ans - Pure text editors should be used when developing HTML and CSS files. *** Breaking down URL ✔Ans - http is protocol www is subdomain .moc4u is domain aka resource name .org is top-level domain *** Director ✔Ans - It is a file system object that organizes data within the file system of a storage device *** File ✔Ans - It is a collection of data stored in one unit, managed by the file system of a storage device. *** Folder ✔Ans - Its purpose is to store documents and organize data within the file system of a storage device. *** Path ✔Ans - It defines the location of stored data within the file system of a storage device.

*** Which folder contains the "page1.html" file? ✔Ans - "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 ✔Ans

  • head (), title (), body (<body>), heading (<h1>), and paragraph (<p>) ** body { background-color: lightblue; } ✔Ans - This is an example of CSS ** h1 { color: white; text-align: center; } ✔Ans - This is example of CSS ** p { font-family: verdana; font-size: 20px; } ✔Ans - This is an example of CSS <!DOCTYPE html> <html> <head> <title>Page Title

This is a Heading

This is a paragraph.

✔Ans - This is an example of HTML **

  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. ✔Ans -

"Sedan" "SUV"

"Light" "Heavy"

** Which characteristic of XML indicates it is an extensible markup language? ✔Ans - 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? ✔Ans - - 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: ✔Ans - - : 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
  • <strong>: a tag to modify the weight of text relative to surrounding text, which usually is equivalent to a bold font face ** HTML comments ✔Ans - HTML comment syntax is any text string that starts with the sequence <!-- and ends with -->. Annotations that are not required by the browser, but are useful to increase the readability for users. ** Codepen ✔Ans - - a free coding environment for basic use that allows you to test out JavaScript for mapping
  • an online code editing workspace for testing and viewing working snippets of code. To begin, you must first set up a free account at Codepen here. ** Which HTML tag is used to indicate the first heading level in a web page? ✔Ans - <h1> ** Which option indicates a correctly formatted comment for an HTML file? ✔Ans - <!-- this is a section -->
  • 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; } ✔Ans - - 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? ✔Ans - CSS was incorporated in the WWW standards to facilitate the formatting of HTML files. *** p { text-align:right; arial; } ✔Ans - This rule-set is an invalid CSS, since it has an invalid property:value pair (there is one property and two values).