Certification Exam Prep Questions For Programming in HTML5 with JavaScript and CSS3 (MS-20480)

QuickStart is now offering assessment questions for Programming in HTML5 with JavaScript and CSS3 (MS-20480). Whether you are deciding which exam to sign up for, or simply want to practice the materials necessary to complete certification for this course, we have provided a practice assessment to better aid in certification. 100% of the questions are real questions; from a recent version of the test you will take for Programming in HTML5 with JavaScript and CSS3 (MS-20480).


Arrow
 

1

You are developing a customer web form that includes the following HTML input field.

< input id="txtValue"/>

If a customer enters a value in the input field, then it must be a numeric value. You need to add validation to the input field. Which HTML should you use?

2

You are developing a customer web form that includes the following HTML.

< input id = "txtValue" />

A customer must enter a value in the text box prior to submitting the form. You need to add validation to the text box control. Which HTML should you use?

3

You are developing an HTML5 web page. The appearance of the text box must change when a user moves the focus to another element on the page. You need to develop the page to respond to user action. Which line of code should you use?

4

You are creating a class named Consultant that must inherit from the Employee class. The Consultant class must modify the inherited PayEmployee method. The Employee class is defined as follows.

function Employee() {}

Employee.prototype.PayEmployee = function ( ){

alert('Hi there!');

Future instances of Consultant must be created with the overridden method. You need to write the code to implement the Consultant class. Which code segments should you use? (Each correct answer presents part of the solution] (Choose two.)

5

You are developing an HTML5 page that includes several paragraph elements. You have the following requirements:

• Add a drop shadow that is one inch below the text in the paragraph
• Set the radius of the drop shadow to five pixels

You need to style the paragraphs to meet the requirements. Which CSS style should you use?

6

You are testing the value of the following variable in JavaScript.

var height = "300";

A block of code must execute if the following conditions are true:

• The height variable is set to 300
• The height variable is of type string

You need to implement the code to run the test.

Which line of code should you use?

A. if (height = = 300)
Incorrect.
B. if (height = = "300")
Correct!
C. if (height ! "300")
Incorrect.
D. if (height ! = 300)
Incorrect.
7

You are developing a web page that consumes a Windows Communication Foundation (WCF) service.
The page includes the following code segment.

var xhr = new XMLHttpRequest();

The page uses the xhrHandler() method to listen for changes to the request status of the WCF service calls. It uses the xmlToJavaScript() method to convert the response from the WCF service to a JavaScript object. The xhrHandler() method must be called automatically each time the request status changes.

You need to add the event handler to the request object. Which line of code should you use?

8

You are developing a customer web form that includes the following HTML.

< input id="txtValue"/>

You need to change the HTML markup so that customers can enter only a valid three-letter country code. Which HTML should you use?

9

You are developing a customerweb form that includes the following HTML input field.

< input id="txtValue"/>

If a customer enters a value in the input field, then it must be a numeric value. You need to add validation to the input field. Which HTML should you use?

10

You are developing a web page that will be divided into three vertical sections. The main content of the site will be placed in the center section. The two outer sections will contain advertisements.

You have the following requirements:

The main content section must be set to two times the width of the advertising sections. The layout must be specified by using the C883 flexible box model. You need to ensure that the Visual layout of the page meets the requirements. Which C883 property should you use?

A. box-orient
Incorrect.
B. box-flex-group
Incorrect.
C. box-flex
Correct!
D. box-direction
Incorrect.
11

You are developing an HTML5 web application and are styling text. You need to use the text-transform CSS property. Which values are valid for the text-transform property?

A. hidden
Incorrect.
B. blink
Incorrect.
C. capitalize
Correct!
D. Line-through
Incorrect.

Practice Exam - Programming in HTML5 with JavaScript and CSS3

$99.00

More Information:

  • Learning Style: On Demand
  • Learning Style: Practice Exam
  • Difficulty: Beginner
  • Course Duration: 1 Hour
  • Course Info: Download PDF
  • Certificate: See Sample

Need Training for 5 or More People?

Customized to your team's need:

  • Annual Subscriptions
  • Private Training
  • Flexible Pricing
  • Enterprise LMS
  • Dedicated Customer Success Manager

Outline

Reviews

Write Your Own Review
Only registered users can write reviews. Please Sign in or create an account

Hit button to validate captcha