0% found this document useful (0 votes)
15 views7 pages

Which Three of The Following Are Gestures Defined by Microsoft

Uploaded by

reka simanjuntak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views7 pages

Which Three of The Following Are Gestures Defined by Microsoft

Uploaded by

reka simanjuntak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

1. Which three of the following are gestures defined by Microsoft?

(choose three)
 Double tap, flick, drag
2. On a windows touch device, in Mouse Pointer mode, which gesture serves the same
purpose as a zoom out?
 Pinch
3. Which is a primary goal of the application launcher icon?
 Help users discover the application in the android market or the windows
store
4. You are using JavaScript to build a website. You need some effects to create pop-ups,
tooltips, and a slideshow. What resource contains several JavaScript effects to create
animations?
 jQuery library
5. which is a new HTML5 tag that applies a yellow background?
 <mark>
6. What is the purpose of a CSS Exclusion?
 To create an area on the page where the text will automatically wrap and
format around.
7. You are using the new HTML5 <video> tag. It doesn’t seem to be working correctly.
What is required for the <video> tag to function?
 Height and width attribute
8. Which is the correct way to nest tags in HTML5?
 <p><b><i>Hello, world!</i></b></p>
9. Which of the following is a method to the Geolocation object?
 getCurrentPosition ()
10. Which of the following properties can be used to change the content of a div tag,
obtained earlier in the code through the use of document.getElementById() ?
 .innerHTML
11. The JavaScript rotation gesture is captured as degrees of the finger rotation. What value
is returned by a counterclockwise rotation?
 Negative value
12. Which three of the following are JavaScript events? (choose three)
 onblClick(), onBlur(), onClick()
13. which two of the following are correct uses of the <div> tag? (choose two)
 To add a drop shadow background color, or a border to an item.
 To position multiple unrelated items as a group.
14. Which two of the following are in-memory resources that can be accessed by JavaScript?
(choose two)
 Calender, contact lists
15. Which two tags help you avoid problems if a browser does not support JavaScript?
(choose two)
 <! - - , // - ->
16. Which of the following is the correct syntax to create a canvas object?
 .getContext();
17. Which of the following methods can be used to set data into localStorage?
 localStorage.setItem(key, value) ;
18. which three are benefits of using the new HTML5 <audio> and <video> tags? (choose
three)
 Elements can be controlled with scripting and css, Not vendor-specific, No
additional plug-ins are required
19. Several tags have been slightly changed with the release of HTML5. These changes are
largely semanctic, changing the reason to use the tag but not how it renders on the page.
What is the correct usage of the <b> tag as of HTML5?
 Click Submit when you have completed this form
20. What new feature in HTML5 allows you to manage the state of a session?
 History API
21. Which three methods are used for localStorage and sessionStorage? (choose three)
 getItem(); , setItem(); , removeItem();
22. What is the programming term for isolating a small piece (or pieces) of data from a larger
item?
 Parsing
23. JavaScript can send a request to a web server, which then returns data to be used on the
page. Which technology enables JavaScript to send and receive this data?
 AJAX
24. What will be the net result of the filter applied to any image using that class?
 The image will be completely gray
25. Using drag and drop, match each HTML form element with a situation in which the
element is used
 Shows autocomplete options for entires (Datalist)
 Groups related elements (fieldset)
 Show a scalar measurement of a value (meter)
 Defines a group of related elements (legend)
 Shows the result of a calculation (output)
26. Using
27. Which are two ways to store data using HTML5? (choose two)
 localStorage, sessionStorage
28. which new CSS3 feature enable the use of fonts that are not preloaded on a client PC?
 WOFF
29. What is the purpose of the JSON API?
 Sending and receiving information from a web server through JavaScript.
30. How does the new Flexible Box Model eliminate the need for using float?
 By providing a container positioned by properties assigned
31. What Javascript object is used to read touch input?
 Touchlist
32. If a developer need to hold a piece of data in Javascript for use later in a function, what
would they use?
 Variable
33. What does the Blob interface in the file API provide access to?
 Raw binary file data
34. What is the advantage of the AppCache?
 The AppCache stores files on the user’s local machine, causing them to load
faster when called again. This also allows for the cached files to be accessed
while the user offline.
35. Which of the following is an example of a heading tag?
 <h1>
36. What is the purpose of CSS regions?
 To allow content to flow from one predefined box to another.
37. When running an app created with HTML5 in the Windows Metro Style UI, which
process host the application?
 WWAHost.exe
38. What is the correct syntax to make an input field required (the user must fill out the field
before submitting the form)?
 <input type=”text” required>
39. What does the targetTouches touchlist represent?
 All touch points currently in contact with the screen, whose touchstart event
occurred within the same node as the current target element.
40. Which two of the following are numeric values required for a touch event? (choose two)
 Scale, rotation
41. Which two of the following are the methods used for drawing/animation? (choose two)
 fillStyle(); , moveTo();
42. how is an HTML5 touch-enabled application tested?
 On as many touch-enabled hardware devices as possible.
43. Which three file formats are supported by the <audio> element in HTML5? (choose
three)
 Mp3, OGG, Wav
44. Which three of the following are table attributes that have been deprecated in HTML5?
(choose three)
 Align, Cell Padding, Width
45. What new CSS3 properties can help when the words are too long to fit in the content
container?
 Hyphenation
46. Which three of the following are hardware that can be accessed by an HTML5
application? (choose three)
 Camera, Accelerometer, GPS
47. You are writing some code for a hiking application that measures the hiker’s distance and
speed. Which built-in capability allows a developer to measure the movement of a mobile
hardware device?
 Accelerometer
48. Which three of the following describe the <aside> tag? (choose three)
 This tag is not used to define parenthetical statements,
 This tag is used to define content that is tangentially related to the main
content of the document (i.e.a sidebar in a book)
 This tag is used to define footnoted or annotations for a document
49. What is jQuery?
 Lightweight, “write less, do more” JavaScript library
50. Which three of the following are included in the HTML5 Family? (choose three)
 CSS, HTML Markup, JavaScript
51. Which three methods return a node, or nodes, based on the arguments sent? (choose
three)
 getElementByID()
 getElementByTagName()
 getElementByTagNameNS()
52. what is the purpose of the “flex-flow” property?
 Flex-flow allows the designer to set both the flex-direction and flex-wrap
properties with a single line of code.
53. You are developing graphics for a smartphone app using HTML5. The app will have
real-time mathematical animations, and the number of objects could be many. Which tag
should you use?
 <canvas>
54. Which of the following is the correct syntax to retrieve the physical location of the user’s
device?
 navigator.geolocation.getCurrentPosition(printMethod, errorMethod) ;
55. what gesture is used to increase the size of the screen display?
 Pinch
56. How do developers properly add controls to an audio element?
 <audio controls=”controls”>
57. What is the benefit of Web Worker?
 Allows the developer to spawn background scripts that run simultaneously
58. Which is the correct method to define a block element as a grid?
 Display: grid;
59. Which two of the following can be read by the FileReader interface? (choose two)
 File object, Blob object
60. Which two are new HTML5 input types? (choose two)
 Date, Tel
61. Which two of the following are JavaScript Touch Event Types? (choose two)
 touchStart, touchEnd
62. If you pass a negative value to the rotate() method, what is the result?
 It rotates the element counter-clockwise
63. You want to create a CSS style that will modify the strong tag to apply blue color and add
60% transparency. Which of the following code fragments will do this?
 strong { color: rgba(0, 0, 255, 0, 40); }
64. what is the correct syntax for a CSS comment?
 /*Comment Goes Here */
65. A project team has successfully planned a website project with a client. Which step is the
next step in the application lifecycle management stage process?
 The project should be designed
66. A group for which you are developing a website wants a form to have some fields utilize
the autocomplete feature?
 Datalist
67. What is the purpose of the poster attribute for a video tag?
 The poster attribute defines an image used in place of the video, until the
video loads or the user hits play.
68. javaScript is used to perform which three of the following tasks? (choose three)
 add dynamic functionality to a webpage
 handle client-side calculations
 add interactive capabilities to a webpage
69. You’ve developed an application for mobile devices. Now you need a launcher icon.
Which Microsoft application should you use to developed a launcher icon?
 Expression Design
70. What is a “launcher icon”?
 A graphic that represents an application on the device’s Home screen
71. Which two of the following are validation values for the Type attribute of the text Input
tag? (choose two)
 URL, Email
72. Which two HTML5 tags will format text to be important? ( choose two)
 <strong>, <em>
73. Which three functions are included in the GeoLocation object? (choose three)
 getCurrentPosition, clearWatchPosition, watchPosition
74. which type of hardware device is typically used with the Geolocation API?
 GPS
75. Which of the following is important to understand when creating animations using
JavaScript?
 Mathematics
76. In HTML5, how should you separate the content from the design?
 CSS
77. Which two are new HTML5 form fields? (choose two)
 Progress, Output
78. Which two statements are true about positioning floated elements? (choose two)
 The element is positioned relative to its parent element
 The element can float right or left
79. As part of the debungging process, a programmer will usually use a validator to test their
code. What does this accomplish?
 A validator checks the markup used on the page for any errors or problems
in your code. It does not, however, provide an environment to test the code
itself.
80. Which are the three states of an HTML5 application? (choose three)
 Session, Application, Persist
81. Which is the correct syntax to round the corners of an element?
 Border-radius: 15px;
82. Which two tags will repeat an audio file after it finishes playing? (choose two)
 <audio src=”file.wav” loop>
 <audio src=”file.wav” loop=”loop”>
83. What is the purpose of the flexbox properties in CSS?
 To display an element as a flexbox, allowing its size and position to adjust
with the size of the viewport.
84. What is the purpose of a Web Worker?
 To allow code to run in multiple threads while the website still responds to
user input
85. You want to publish an application to the Microsoft store. What should you do first?
 Review the app requirements and developer agreement
86. What is the purpose of the multi-column layout property?
 To display content that is contained within one block element in a multi-
column view when the page loads.
87. What is the primary difference between localStorage and sessionStorage in HTML5?
 localStorage is stored without a time limit, whereas sessionStorage is only
available within the user’s current session.
88. Which box model establishes content alignment, direction, and orientation?
 Flexible Box Model
89. Which element used for organizing web content has been deprecated in HTML5?
 Table
90. Which video formats are supported bye the video tag?
 The supported formats are controlled by the User Agent (web browser), not
controlled by the video tag specification.
91. Which two of the following is true of SVG (Scalable Vector Graphics)? (choose two)
 SVGs images are capable of being animated
 SVGs are created purely in XML, and so require very little bandwidth
compared to an actual file.
92. How can HTML5 enhance the user experience on tablets and mobile devices?
 No dependency on browser plug-ins
93. Which two are new CSS3 properties that allow developers to display text into columns
without using tables? (choose two)
 Multi-column , Region
94. What is the correct syntax to use a non-web safe font on your sitee?
 @font-face {
font-family: font Name;
src: url(“Link to font”); }
95. Which three web development “languages” are the framework of HTML5? (choose
three)
 Cascading Style Sheets, JavaScript, Hypertext Markup Language
96. Which code fragment will display an image file while the video is downloading?
 <video width=”740” height=”416” poster=”horserace.jpg”>
97. Which three are touch events in HTML5? (choose three)
 Touchend, Touchstart, Touchmove
98. Which of the following are semantic tags that are used to define layout in a HTML5
document? (choose two)
 Section, Footer
99. When should you use the new HTML5 <canvas> tag?
 To draw graphics via scripting
100. Which of the following items is not a valid input type?
 All of these are valid.

You might also like