Docsity

Web Development Foundations: Practice Questions and Answers, Exams of Web Design and Development

Toggle sidebar
bg1
Web Development Foundations C779
1. 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?
Add JavaScript code to
HTML documents and cre-
ate a new CSS rule.
2. What happens when a site visitor views a web page
that uses a font unavailable on the visitor's computer?
The browser's default font
will be displayed.
3. Which two methods are used to apply Cascading Style
Sheets (CSS)? Choose 2 answers.
Embedding an internal
style sheet in an HTML
page.
Linking an HTML page to
an external style sheet
4. Which value of the opacity property in CSS3, repre-
sents completely opaque?
1.00
5. Which directive overrides normal cascading in CSS? !Important
6. What are Syntactically Awesome Style Sheets (SASS)
used for with regard to adding functionality?
As a CSS extension lan-
guage for preprocessing
7. 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 para-
graph displays?
Purple
8. Given the following markup and code:
<nav id="basenav"> green or black </nav>
Red
1 / 8
pf3
pf4
pf5
pf8

Partial preview of the text

Download Web Development Foundations: Practice Questions and Answers and more Exams Web Design and Development in PDF only on Docsity!

  1. 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? Add JavaScript code to HTML documents and cre- ate a new CSS rule.
  2. What happens when a site visitor views a web page that uses a font unavailable on the visitor's computer? The browser's default font will be displayed.
  3. Which two methods are used to apply Cascading Style Sheets (CSS)? Choose 2 answers. Embedding an internal style sheet in an HTML page. Linking an HTML page to an external style sheet
  4. Which value of the opacity property in CSS3, repre- sents completely opaque?
  1. Which directive overrides normal cascading in CSS? !Important
  2. What are Syntactically Awesome Style Sheets (SASS) used for with regard to adding functionality? As a CSS extension lan- guage for preprocessing
  3. 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 para- graph displays? Purple
  4. Given the following markup and code: green or black Red

#basenav { color: red; } nav { color: blue; } Which color will the navigation element be?

  1. Which code block should be used to set the back- ground image for a web page? body{ background-image: url('paper.gif') }
  2. Which HTML tag is used to display text exactly as it is defined in the HTML markup? Pre
  3. Which CSS state selectors show uninspected HREFs in red? a:link { color:red; }
  4. Which type of address does the hyperlink ../about/map.html point towards? Relative Uniform Resource Locator (URL)
  5. Which attribute is used with the tag to display text if the image fails to load? alt
  6. Which property is used in CSS3 to specify the left or right alignment of an image? float
  7. Which attribute is used to specify the format of a video file? type
  8. Which valid code shows a functional, formatted hyper- link reference? W
  1. Which graphical image type scales without losing im- age quality? Vector
  2. Which HTML5 tag is self-closing?
  3. Which HTML5 element is used to draw graphics on a web page? canvas
  4. Which request method should be used in a form to append parameters into a query string? Get
  5. Which two form elements should use the same name for groups of related elements? Choose 2 answers. Radio. Checkbox
  6. Which method type securely sends form data that re- quires additional processing by the CGI script? Post
  7. What happens to data entered into a web form after the Reset button is selected? It is cleared and the form fields are set to their de- fault values.
  8. Which test is designed to detect the automated sys- tems used by spammers?

CAPTCHA

  1. Which HTML5 tag attribute should be supplied for an input field in a web form if submitted to the server? Name
  2. Which input tag type value is used to create a group of mutually exclusive options? Radio
  1. Which attribute should be used to add default text to an input tag of type text? Value

  2. Which tag is a valid form field for exclusive use in HTML5?

  3. Which hosting option allows a company to ship specific hardware to the provider? Colocation service

  4. An organization plans to update a web page that has a multitiered architecture. The developer needs to en- sure that the web page will function as expected be- fore deploying the updates. Where should the devel- oper perform regression testing? On a clone of production machines

  5. Which special characters should be used for properties in CSS3? Curly braces

  6. Which table property has top, bottom, and middle val- ues? Vertical-align

  7. Which HTML5 element structure is defined for compa- ny services and blogs? article

  8. Which tag should be added to ensure a responsive design in a web page, and which will be accessed from a variety of devices?

  9. What is a benefit of a GUI editor? Writes HTML code auto- matically

  10. What is the purpose of the W3C Authoring Tool Acces- sibility Guidelines?

  1. 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? The location should be specified within the href.

  2. What enables applications to add updates to an inter- face without the need to refresh the page? Ajax

  3. What is a benefit of using a virtual machine on a shared host? Reduced costs with less physical equipment

  4. Which hosting solution requires the purchase of hard- ware and software? In-house

  5. What is a characteristic of a virtual server? Multiple sites are hosted on individual servers.

  6. Which HTML5 geolocation API process retrieves the user's latitude and longitude? getCurrentPosition()

  7. Which tag uses the manifest attribute to enable the offline support for a web page?

  8. What is the purpose of the WebM MIME type? Uses a file format to stream online videos

  1. Which HTML5 element has a poster attribute? Video
  2. Which technique is used to reduce the number of calls for static files? Caching
  3. Which responsibility is expected of a web project man- ager? Communicating with all stakeholders
  4. What is the maximum recommended file size for a web page in order to avoid long download times?

100 KB

  1. Which database type can store data in a single table only? Flat file
  2. Which audience development technique can initiate an interaction with an online visitor? Push technology
  3. What is used to give web applications the same re- sponsiveness as desktop applications? Ajax
  4. Which advantage does a dedicated mobile website have, compared to a mobile application? Cross-platform usability