stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
HTML5 Application Development Fundamentals, Exam 98-375 Flashcards | StudBud
Explore
/
HTML5 Application Development Fundamentals, Exam 98-375
HTML5 Application Development Fundamentals, Exam 98-375
88 terms
·
StudBud Administration
·
164 plays
#computerscience HTML5 Application Development Fundamentals, Exam 98-375
Flashcards
88 cards
F
Practice quiz
P
Host live
L
Questions
88
Answers
1
How do you call a function named "myFunction"?
myFunction()
call function myFunction()
call myFunction()
2
Which of the following is the syntax for creating a hyperlink in HTML?
<http://www.example.com>
<link>http://www.example.com</link >
<a href="http://www.example.com"> link text</a>
<link href="http://www.example.com">link</a>
3
Which of the following tags are required on every Web page?*(More Than One Answer)*
<title>
<html>
<head>
<body>
4
What HTML5 features assist in handling various device sizes?
Cookies
Plug-ins
Media queries
5
Which variable name is valid in JavaScript?
1January
todaysDate
First!Name
6
Which new tag is designed to be self-contained content?
<section>
<header>
<article>
7
Which of the following is the general format of the video element?
<movie href="file.mp4" width="X" height="Y">
<movie src="file.mp4" width="X" height="Y">
<video href="file.mp4" width="X" height="Y">
<video src="file.mp4" width="X" height="Y">
8
What API can be used to provide a chat application?
JavaScript
web workers
WebSockets
9
Does Atlanta Falcons Suck
Don't care/Don't know
No
Yes
Maybe
10
Creating an SVG object in HTML5 does not require JavaScript.
False
True
11
What is the correct syntax for referring to an external script called "win.js"?
<script name="win.js">
<script src="win.js">
<script href="win.js">
12
How to write an IF statement in JavaScript?
if i == 5 then
if i = 5 then
if (i == 5)
if i = 5{}
13
What are the parts of the CSS Box Model?
Content, padding, margin, and border
Float, absolute
Overflow, scrolling, visible, hidden
14
What command is used to write the drawing to the canvas?
context.stroke( );
context.lineTo(70,-70);
context.moveTo(0,0);
15
What technology will enable a Light Company to identify the current location of its customers?
webSockets
geolocation
gpslocator
16
HTML
Hypertext Mark Language
Hypertext Markup Literature
Hypertext Markup Language
Hypertell Markup Language
17
How do you create a function in JavaScript?
function:myFunction()
function = myFunction()
function myFunction()
18
How can Mark make the form more user friendly?
Add images
Add background colors
Add placeholder text
19
The J in AJAX stands for
Javascript
JQuery
JSON
Java
20
Which API uses ws rather than http when referencing URLs?
Geolocation
File
WebSocket
Web Workers
21
What optional attribute can be added to automatically start the video?
autoplay
play
preload
22
What properties can be set to control overflow when using block flow?
Scroll, visible, hidden
Height, width
Yes, no
23
Which JavaScript command is used to locate and access an element on the page?
getHTMLTag(tagname)
getElementById(idname)
getElement(name)
24
Which of the following enables you to adapt an HTML document to end-user devices?
@import
The grid-template property
The CSS Box model
Media queries
25
What can the developer use to test for the rotation of the physical device?
changedirection
orientationchange
onrotate
26
Which one of these is a Javascript library?
React
JQuery
All Of Them
Angular
27
Where is the correct place to insert a JavaScript?
The <body> section
The <head> section
Both the <head> section and the <body> section are correct
28
A deprecated element or attribute is one that has been outdated by newer constructs.
True
False
0
1
29
What does it mean that HTTP is a stateless protocol?
HTTP does not retain data from session to session.
HTTP saves information for one session only
HTTP saves only form data.
30
Which three code fragments define an HTML input control? *(More Than one Answer)*
<input type="tel">
<input type="search">
<input type="optionbutton">
<input type="url">
31
Which flexbox property makes child boxes flexible by height and width?
flex-child
flex-wrap
flex-align
flex
32
What box property is used to set the direction of the content?
box-direction
box-align
box-orient
33
An HTML tag that doesn't require an end tag is called a(n)_____________ tag.
Special
em
Empty
None
34
Which tag is used to display multiple levels of headings and subheadings?
<hgroup>
<header>
<section>
35
AppCache, localStorage, and sessionStorage are forms of
Web storage
Namespaces
Standards
HTML commands
36
How to write an IF statement for executing some code if "i" is NOT equal to 5?
if i <> 5
if (i != 5)
if (i <> 5)
if i =! 5 then
37
What is the format for the HTML5 tag to validate an email address?
<input type = “text” id = “email”>
<input type = “url” name = “email”>
<input type = “email” name = “email”>
38
How does a WHILE loop start?
while (i <= 10; i++)
while i = 1 to 10
while (i <= 10)
39
How does the developer draw on the canvas?
Inserting a previously created image.
Using native HTML5 commands.
Using a script, such as JavaScript.
40
Inside which HTML element do we put the JavaScript?
<js>
<javascript>
<scripting>
<script>
41
What mouse event handler triggers the JavaScript code when the user presses the mouse button?
onmouseover
onmousemove
onmousedown
42
When HTML links to CSS you have written, which is most likely to be a useful partof the link?
type = "style/CSS"
CSS = “SOME_NAME.css”
type = ‘text/css’
Web = "style/css"
43
Which JavaScript built-in function tests for a numeric value?
isNaN()
isNumber()
isValid()
44
Which HTML5 element enables you to highlight blocks of text in an HTML document?
<mark>
<highlight>
<yellow>
<malk>
45
Both canvas and SVG require which of the following?
An external drawing program, such as Microsoft Paint
Microsoft Silverlight
A large amount of storage space or bandwidth
JavaScript
46
What is the new syntax for the doctype declaration?
<!DOCTYPE HTML>
<HTML DOCTYPE>
47
HTML has responsibility for content, and CSS for _______.
Style
Content
Coding
48
Which of the following is the general format of the audio element?
<audio href="sample.mp3" controls>
<audio src="sample.mp3" controls="controls">
<sound src="sample.mp3" controls>
<sound href="sample.mp3" controls="controls">
49
What is the benefit of using animation libraries to add animations to a site?
Does not require any additional programming.
No knowledge of JavaScript is required.
Reduces development time by reusing existing functions.
50
What does "V" stand for in the file type SVG?
Vector
Video
Variable
Vertical
51
How do you write "Hello World" in an alert box?
alertBox("Hello World");
msg("Hello World");
alert("Hello World");
msgBox("Hello World");
52
Which statement should Mark use to include a font that is not pre-installed on client machines?
@font-face
font-family
includeFont
53
An individual statement in JavaScript ends in a ________.
hash mark
period
closing parenthesis
semicolon
54
What is the correct syntax for defining a new variable in JavaScript?
new var firstName;
var lastName;
var int number;
55
The GeoLocation API is used to find the latitude and longitude of a web user
True
False
56
What are some touch-enabled best practices to test for?
Use as many new HTML5 features as possible.
Allow email and messaging.
Prevent zooming, prevent scrolling, and render carefully.
57
How does a FOR loop start?
for (i <= 5; i++)
for i = 1 to 5
for (i = 0; i <= 5)
for (i = 0; i <= 5; i++)
58
Which API enables you to upload images and immediately display thumbnails in HTML documents?
File
Web Workers
WebSocket.
Geolocation
59
What allows HTML5 applications to work in an offline state?
AppCache
HTTP
Cookies
60
Which of the following is the most common way to code JavaScript with a delayed effect?
sleep()
setTimeout()
wait()
delay()
61
What are valid prefixes for Firefox, Internet Explorer®, and Safari?
-firefox-, –microsoft-, -safari-
–Ffox-, -Msoft-, -Saf-
–moz-, -ms-, -webkit
62
What CSS3 property creates rounded borders?
border-rounded
border-size
border-radius
63
The
<header>
tag specifies an introduction or a group of navigation elements for a document
True
False
0
1
64
Which two are valid JavaScript variables*(More than one answer)*
.Int
1xyz
_int
xyz1
65
What change in HTML5 has changed how data is persistent across user sessions?
Use of improved cookies
Use of localStorage and sessionStorage
Media queries
66
JavaScript uses which property to change the current content of HTML elements?
HTMLinner
changeHTML
modInnerHTML
innerHTML
67
What CSS style can be used to wrap text and other content around specific elements?
positioned-floats
wrap-text
box-align
68
What does it mean when a tag has been deprecated?
It has been replaced by another tag.
It is new to HTML5.
It is outdated and no longer supported.
69
What technique registers that the user is rotating an image on the screen?
users cannot rotate an image using touch-enable technology.
A gesture, which is touching the screen with two fingers.
Touch events to indicate the start and stop of the rotation.
70
How can the developer validate the new HTML5 code?
Use the W3C code validators.
If the code compiles with no errors, it is validated.
Use an online simulator.
71
If the <font> tag is not supported in HTML5, how is the font family for text changed?
All text must be displayed as Times New Roman
With cascading style sheets (CSS)
By using the <font-family> tag
72
What is the new syntax for the canvas tag?
<canvas id = “directions” width = “400” height = “500”>
<canvas name = “directions”>
<canvas width = “400” height = “500”>
73
Which tag is used with the <figure> tag to display an image?
<img>
<a>
<src>
<fig>
74
In JavaScript, the touch object detects input from touch-enabled devices.
True
0
1
False
75
How can you display a static image in place of the video while the video is downloading
Add a poster attribute to the video tag.
Add an src attribute
Add an image attribute to the video tag
76
Which code fragment prepares the HTML5 application to be used offline?
<html manifest="app.appcache">
<!DOCTYPE html>
<html lang="en">
77
SVG is an acronym for Scale Vector Graphic.
True
False
78
Which of the following is not a data type used by JavaScript?
number
Boolean
string
composite
79
Complete this sentence: The Cowboys
are the best.
are meh.
are okay.
are trash.
80
The external JavaScript file must contain the <script> tag.
False
1
0
True
81
The
<section>
tag defines sections in a document, such as chapters, headers and footers.
True
False
82
Javascript is a
All Of The Above
Style Sheet Language
Markup Language
Scripting Language
83
CSS
Cache Style Sheets
Style Sheets
Cascading Style Sheets
Cascading Script Sheets
84
To apply a 60% transparency to an image or element, which property do you use?
transparency: 40
opacity: 0.4
transparency: 0.4
opacity: 40
85
Which JavaScript command is used to dynamically add new elements?
new element(tag);
createNewTag(tag);
createElement(tag);
86
The canvas element requires JavaScript to create shapes.
False
True
87
Which of the following codes a comment within CSS?
/* ... */
// ...
# ...d.
<!-- ... -->
88
Which of the following can you use to show and hide elements in a JavaScriptprogram?
show command
display attribute
innerHTML
show-hide attribute