C777 WEB DEVELOPMENT
APPLICATIONS PRE-ASSESSMENT
EXAM WITH ALL ANSWERS
The HTML5 specification for the <audio> element does not require a specific audio
codec to be supported, but it does support three audio formats: MP3, Ogg and WAV.
Which major browser supports all three audio formats? - correct answer-Chrome
You are developing pages for your company's Web site. You create an HTML5
search field using the following code:
<input type="search" name="search">
When you test the page on various browsers, the first browser supports the new
input type and displays the search field. The second browser does not support this
new input type and gracefully degrades. What type of field does the second browser
display? - correct answer-A text box
Kwan is using JavaScript extensively to add interactivity to his Web site. Contained
within his script is a counter object that calculates a date based on a number input by
the user.
Which term describes the calculation process that Kwan's counter object performs? -
correct answer-Method
The HTML5 File API can be used to: - correct answer-create preview thumbnail
images during image uploads
, What is the basic code you would need to define a named function that returns a
value? - correct answer-function myFunction() { return value; }
What can you use in CSS if you want to customize your own HTML element styles? -
correct answer-The class and id selectors
What two keys are created by the HTML5 <keygen> element? - correct answer-A
private key and a public key
What HTML5 API can you use to provide location-based services, such as mapping?
- correct answer-The Geolocation API
Which type of CSS effect allows an element to gradually change styles from one to
another? - correct answer-Transition
You are creating a mobile Web site for your company's polling service. Users will be
completing polls and surveys about various topics. How can you simplify the page
layout to increase this site's usability on mobile devices? - correct answer-Use radio
buttons, check boxes and drop-down lists instead of text boxes wherever possible
You are reviewing HTML5 markup code that your co-worker created. You notice
several <object> tags that reference external stand-alone, mini-applications. Which
language did your co-worker most likely use to create these mini-applications? -
correct answer-Java
What makes a scripting language, such as JavaScript, different from a full
programming language, such as C, C++ and Java? - correct answer-Scripting
languages are generally interpreted without the explicit compilation step that full
programming languages need to run
Which of the following is a global HTML5 attribute that can be used with the <button>
element to specify whether form input will be sent to the server using get or post? -
correct answer-formmethod
For what purpose should Arnold use Cascading Style Sheets (CSS) when designing
his Web pages? - correct answer-To determine how the HTML elements in his Web
pages will appear
You can use a CSS style sheet rule to override styles specified in a linked external
style sheet. Which term is used to describe this style sheet behavior? - correct
answer-Inheritance
In JavaScript, what is casting? - correct answer-A technique for variable control in
which a variable's value is changed from one data type to another
What is the term for a piece of data that is to be operated upon or manipulated in
some manner? - correct answer-Operand
APPLICATIONS PRE-ASSESSMENT
EXAM WITH ALL ANSWERS
The HTML5 specification for the <audio> element does not require a specific audio
codec to be supported, but it does support three audio formats: MP3, Ogg and WAV.
Which major browser supports all three audio formats? - correct answer-Chrome
You are developing pages for your company's Web site. You create an HTML5
search field using the following code:
<input type="search" name="search">
When you test the page on various browsers, the first browser supports the new
input type and displays the search field. The second browser does not support this
new input type and gracefully degrades. What type of field does the second browser
display? - correct answer-A text box
Kwan is using JavaScript extensively to add interactivity to his Web site. Contained
within his script is a counter object that calculates a date based on a number input by
the user.
Which term describes the calculation process that Kwan's counter object performs? -
correct answer-Method
The HTML5 File API can be used to: - correct answer-create preview thumbnail
images during image uploads
, What is the basic code you would need to define a named function that returns a
value? - correct answer-function myFunction() { return value; }
What can you use in CSS if you want to customize your own HTML element styles? -
correct answer-The class and id selectors
What two keys are created by the HTML5 <keygen> element? - correct answer-A
private key and a public key
What HTML5 API can you use to provide location-based services, such as mapping?
- correct answer-The Geolocation API
Which type of CSS effect allows an element to gradually change styles from one to
another? - correct answer-Transition
You are creating a mobile Web site for your company's polling service. Users will be
completing polls and surveys about various topics. How can you simplify the page
layout to increase this site's usability on mobile devices? - correct answer-Use radio
buttons, check boxes and drop-down lists instead of text boxes wherever possible
You are reviewing HTML5 markup code that your co-worker created. You notice
several <object> tags that reference external stand-alone, mini-applications. Which
language did your co-worker most likely use to create these mini-applications? -
correct answer-Java
What makes a scripting language, such as JavaScript, different from a full
programming language, such as C, C++ and Java? - correct answer-Scripting
languages are generally interpreted without the explicit compilation step that full
programming languages need to run
Which of the following is a global HTML5 attribute that can be used with the <button>
element to specify whether form input will be sent to the server using get or post? -
correct answer-formmethod
For what purpose should Arnold use Cascading Style Sheets (CSS) when designing
his Web pages? - correct answer-To determine how the HTML elements in his Web
pages will appear
You can use a CSS style sheet rule to override styles specified in a linked external
style sheet. Which term is used to describe this style sheet behavior? - correct
answer-Inheritance
In JavaScript, what is casting? - correct answer-A technique for variable control in
which a variable's value is changed from one data type to another
What is the term for a piece of data that is to be operated upon or manipulated in
some manner? - correct answer-Operand