MAD chapter 8 part 5
Which of the following is NOT true of Web development for mobile?
The languages used to create mobile sites are different than their desktop equivalents.
What is the extension used for JavaScript files?
.js
Placing a link to the mobile version of a site at the top of the page is the easiest way to get users to the mobile site, although the downside is that all users, not just mobile users, will see that link?
True or False?
True
What is the name of the environment manipulator add-on for Firefox, which can be used to simulate different user environments?
Web Developer
Which line in the following code does NOT include a syntax error?
0 #scoreLabel {
1 font-family: Arial,Helvetica,sans-serif;
2 color: #00099;
3 position; absolute;
4 top: 10px
5 left: 10px;
6 }
Line 1
What is the definition of a Web Application?
A collection of resources on a publicly accessible server that provides some sort of functionality
jQuery Mobile is a touch-optimized web framework for creating mobile web applications?
True or False?
True
What symbol is used to separate the two parts of a CSS declaration?
Colon (:)
What scripting language is jQuery written in?
JavaScript
A specialty code editor is necessary to develop Web application files, like HTML, CSS, and JavaScript files?
True or False?
False
What does CSS stand for?
Cascading Style Sheets
What are the names of the two parts of a CSS declaration?
property and value
HTML, CSS, and JavaScript are case-sensitive languages?
True or False?
False
The data-role="page" does what?
is the page displayed in the browser
Which of the following is correct about the differences between how a compiled language and an interpreted language are translated from English-like commands to machine language?
A compiled language is translated once, and an interpreted language is interpreted each time the code executes.
Which files types correspond to the View and Controller tiers of the MVC design pattern?
HTML and CSS provide the View tier, while JavaScript combined with the event attributes in HTML provides the Controller view.
You should test apps on as many emulators as possible?
True or False?
True
What is the name of the JavaScript debugger add-on for Firefox?
Firebug
Which of the following symbols indicates a closing HTML tag?
<\html>
There are two ways to add jQuery Mobile to your web site. You can: ?
Link to a jQuery Mobile library stored at a CDN (recommended)
and
Link to a jQuery Mobile library stored at your computer/server
JavaScript is weakly-typed?
True or False?
True
Which of the following is correct?
jQuery is a JavaScript Library
Which line in the following code includes a syntax error?
0 function moveImage(top, left){
1 document.getElementById('image').style.top = top;
2 document.getElementByID('image').style.left = left;
3 }
Line 2
In an app, the Model tier of the MVC design pattern may be just the text on the page?
True of False?
False
What does XHTML stand for?
Extensible HTML
The data-dialog="true" option does what of the following?
Creates a dialog box
What are the names of the two parts of a CSS rule?
selector and declaration
How is a random number generated in JavaScript?
Math.random()
If the second argument to a call of setTimeout is 1000, how long will the code wait to execute the instructions given by the first argument?
1 second