Spring Sale Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

HTML5 Application Development

Last Update 2 hours ago Total Questions : 68

The HTML5 Application Development content is now fully updated, with all current exam questions added 2 hours ago. Deciding to include INF-306 practice exam questions in your study plan goes far beyond basic test preparation.

You'll find that our INF-306 exam questions frequently feature detailed scenarios and practical problem-solving exercises that directly mirror industry challenges. Engaging with these INF-306 sample sets allows you to effectively manage your time and pace yourself, giving you the ability to finish any HTML5 Application Development practice test comfortably within the allotted time.

Question # 1

You need to implement media queries for the responsive layout of a new website.

Low-resolution wireframes for the desktop, tablet, and mobile layouts are shown.

Question # 2

Which three methods are associated with the HTML5 localStorage API? Choose 3.

A.

setItem

B.

removeItem

C.

write

D.

cookie

E.

clear

Question # 3

You need to display the following user interface:

Motorcycle

Truck

Boat

Car

Bicycle

Complete the markup by selecting the correct option from each drop-down list.

Question # 4

Which markup segment creates an SVG ellipse?

A.

< svg height= " 140 " width= " 500 " > < ellipsp x= " 200 " y= " 80 " rx= " 100 " ry= " 50 " fill= " green " stroke-width= " 2 " / > < /svg >

B.

< svg height= " 140 " width= " 500 " > < ellipse x= " 200 " y= " 80 " x= " 100 " y= " 50 " fill= " green " stroke-width= " 2 " / > < /svg >

C.

< svg height= " 140 " width= " 500 " > < ellipse cx= " 200 " cy= " 80 " x= " 100 " y= " 50 " fill= " green " stroke-width= " 2 " / > < /svg >

D.

< svg height= " 140 " width= " 500 " > < ellipse cx= " 200 " cy= " 80 " rx= " 100 " ry= " 50 " fill= " green " stroke-width= " 2 " / > < /svg >

Question # 5

A local photographer asks you to add filters as shown to the images in their photo gallery so that the images are not recognizable until authorized users log in.

Example of original and filtered images:

    Original image: full-color flower image

    Filtered image: blurred grayscale image

Analyze the images on the left.

Construct a CSS selector that will apply the appropriate filters to the images to meet the requirements.

Complete the markup by moving the appropriate HTML tags from the list on the left to the correct locations on the right. You may use each HTML tag once, more than once, or not at all.

Note: There is more than one correct markup. You will receive credit for any correct markup completion.

Question # 6

You are drawing on the canvas defined by the white square.

At which x, y coordinate is the upper-left corner of the filled square?

A.

0,0

B.

0,50

C.

50,0

D.

50,50

Question # 7

Which three events are valid for the HTML canvas element? Choose 3.

A.

mouseup

B.

scroll

C.

play

D.

datareceived

E.

blur

Question # 8

Which value does the following JavaScript code fragment store in the variable num?

var num = localStorage.length;

A.

Number of bytes available in local storage

B.

Maximum length of a character string

C.

Potential capacity of local storage

D.

Number of key-value pairs in local storage

Question # 9

You write the following JavaScript code. Line numbers are included for reference only.

01 < script >

02

03 beststudent = new Student( " David " , " Hamilton " );

04 document.write(beststudent.fullname + " is registered. " );

05 < /script >

You need to write a function that will initialize and encapsulate the member variable fullname.

Which code fragment could you insert at line 02 to achieve this goal?

Note: Each correct answer presents a complete solution.

A.

function Student(firstname, lastname) { this.firstname = firstname; this.lastname = lastname; this.fullname = this.firstname + " " + this.lastname;}

B.

var student(firstName, lastName) { firstname = firstName; lastname = lastName; fullname = firstname + " " + lastname;}

C.

var Student(firstname, lastname) { this.firstname = firstname; this.lastname = lastname; this.fullname = this.firstname + " " + this.lastname;}

D.

function Student(firstName, lastName) { firstname = firstName; lastname = lastName; fullname = firstname + " " + lastname;}

Question # 10

Which two statements correctly describe media queries? Choose 2.

A.

Media queries improve the performance of your web page.

B.

Media queries support responsive web design.

C.

Media queries allow you to apply different CSS rules on various screens/breakpoints.

D.

Media queries can process JavaScript code dynamically.

Go to page: