Title: Unit 4 Exam
Course: RITA MC - WEB PAGE DESIGN I > Section: Unit 4 -- Responsive Sites, Mobile Sites, Apps, and Database

Q: Which of the following is NOT one of the layouts in a fluid grid site?
- for desktop display
- for mobile display
- for laptop display
- for tablet display
A: for laptop display

Q: A ____ is a collection of evenly spaced vertical and horizontal lines.
- cell
- structure
- grid
- curio
A: grid

Q: A good font size for the general page content is ____ pixels when viewed on a screen.
- 9
- 10
- 14
- 18
A: 14

Q: The ____ media type corresponds to media using a fixed-pitch character grid.
- tty
- pitch
- tv
- grid
A: tty

Q: The ____ style sheet includes fixes that enable the site to display uniformly across browsers, operating systems, and so forth.
- fluidlayout.css
- respond.min.js
- fixes.css
- boilerplate.css
A: boilerplate.css

Q: Google Maps publishes a(n) ____that provides programmers with standards and instructions that will enable them to write code to include Google Maps in any Web site.
- BCI
- TCK
- API
- TPK
A: API

Q: Dreamweaver has jQuery Mobile starter pages that provide all of the following needed to create a basic site EXCEPT ____.
- Perl
- CSS
- HTML
- JavaScript
A: Perl

Q: Which of the following starter pages add the required jQuery files directly to the site’s local root folder so you can host the files yourself or include them with an application that does not require an Internet connection, and separates the CSS into two files?
- JQuery Mobile (CDN)
- JQuery Mobile with theme (local)
- JQuery Mobile (Local)
- JQuery Mobile (API)
A: JQuery Mobile with theme (local)

Q: The ____ file is usually included when you upload a file to the remote server because this version has a smaller file size, which helps the site load in the user’s device faster.
- redacted
- minified
- concatenated
- slimmed
A: minified

Q: Usually, jQuery Mobile sites include ____ page div(s) for every page in the site.
- one
- two
- three
- four
A: one

Q: The accompanying figure shows a new div in the ____ workspace.
- jQuery
- Divs
- jQuery Mobile
- Mobile Applications
A: Mobile Applications

Q: ____ apps are written in traditional Web authoring languages and they use the Web display technology included in the default Web browser that comes with the device's operating system to display the app.
- Native
- Dynamic
- Baseline
- Web-based
A: Web-based

Q: It is impossible to ensure that a mobile Web site will always display without any browser ____.
- chrome
- API
- interactivity
- functionality
A: chrome

Q: Critical Thinking Questions
Case 8-2

You know the technical definition of a media query as offered by the W3C: “A media query consists of a media type and zero or more expressions that check for the conditions of particular media features.” But you do not know much more than this so you decide to ask your roommate for a brief tutorial.

Which of the following does your roommate tell you is a style sheet that will fix common bugs and display differences to produce a consistent, cross-browser display of pages?
- boilerplate.css
- respond.mis.js
- fluidlayout.css
- application.js
A: boilerplate.css

Q: If you have access to a large budget and plan to serve out massive amounts of data to thousands of users simultaneously, which of the following makes sense?
- Oracle
- Microsoft Access
- HTML
- either a or c
A: Oracle

Q: Server behaviors can be written in ____.
- ColdFusion
- HTML
- JavaScript
- any of the above
A: ColdFusion

Q: ____ is the most frequently used database management interface for MySQL databases.
- Oracle
- ColdFusion
- phpMyAdmin
- Access
A: phpMyAdmin

Q: In the Choose Document Type dialog box, you can select any of the following as the document type EXCEPT ____.
- ASP JavaScript
- HTML
- ColdFusion
- PHP MySQL
A: HTML

Q: To select the document type, click the document type link in the ____ panel in the Application panel group of the Server Behaviors tab.
- Assets
- Files
- Server Behaviors
- Database
A: Server Behaviors

Q: To open the dialog box in the accompanying figure, click the ____ button in the Connections for Site dialog box.
- Connect
- Server
- Connections
- New
A: New

Q: In the MySQL server box in the accompanying figure, type ____ if your database server is on the same server as your Web server.
- localhost
- nbf_db
- serverisp
- this_db
A: localhost

Q: The Log In User dialog box is used to add the Log In User ____ to a Web page.
- behavior
- attribute
- trait
- character
A: behavior

Q: You must upload the database for a Web site to your ____ so that it can send data to and receive data from Web pages or Web applications.
- local server
- remote server
- local host
- computer
A: remote server

Q: If you have a(n) ____ site, the relevant file requires the following code at the top of the page: <%@LANGUAGE=“JAVASCRIPT”%>.
- MySQL
- JavaScript
- ASP VBScript
- Perl
A: ASP VBScript

Q: Case-Based Critical Thinking Questions
Case 9-2

It is time for you to take your new database-driven Web site to the next level.

You want to allow users to fill out a form on your Web site and have their entry go directly into a customers database you maintain. You want to make sure to specify precisely where their data will be stored in your database. Which behavior will accomplish this for you?
- New Record
- Add Record
- Guest Record
- Insert Record
A: Insert Record

Q: The scan value of the @media rule is the scanning method of a TV display and optionally progressive or interface.
- True
- False
A: True

Q: The grid value of the @media rule is the output device type as grid or bitmap with a value of 0 for grid.
- True
- False
A: False

Q: Creating the desktop site first encourages designers to include cutting-edge features such as GPS location or multitouch input from one or more simultaneous gestures.
- True
- False
A: False

Q: PhoneGap adds a line of code to the head of the page that must be included for the app to function correctly.
- True
- False
A: False

Q: MySQL is usually installed by default on Windows servers.
- True
- False
A: False

Q: In the accompanying figure, the fluid grid is visible under the Web site.
- True
- False
A: True

Q: If no media type is defined in a style sheet, the styles appear to all media types for which they are applicable.
- True
- False
A: True

Q: Server behaviors are written in PHP, ASP, ASP.NET, JSP, or ColdFusion.
- True
- False
A: True

Q: All server behaviors use ColdFusion when addressing databases.
- True
- False
A: False

Q: Weather sites often retrieve current weather conditions from a database and display it in a Web page.
- True
- False
A: True

Q: The server discards a recordset when it is no longer needed.
- True
- False
A: True

Q: When you type nbf_db_connect in the Connection name box in the accompanying figure, it is an internal name that is visible only when you are working in Dreamweaver.
- True
- False
A: True

Q: You determine which fields of information are displayed in the master page and which fields of information are displayed in the detail page when you set the parameters for the pages.
- True
- False
A: True

Q: According to the accompanying figure, the comments field will appear immediately after the first_name field in the detail page.
- True
- False
A: False

Q: When you want the same functionality in two different places, a good technique is to copy the code from one location and paste it in the other location.
- True
- False
A: True

Q: A(n) ____________________ approach means the designers start by creating a mobile version of the site and then add content and complexity to the site targeted to tablets and desktop computers.
A: mobile first

Q: A(n) ____________________ is a relationship between a set of inputs and a set of potential outputs where each input has exactly one output.
A: function

Q: The method of creating a(n) ____________________ Web site depends on the amount of data being served out, the number of users potentially accessing that information simultaneously, the budget available, and the technology already being used.
A: database-driven / database driven

Q: ____________________ is the most frequently used database management interface for MySQL databases.
A: phpMyAdmin

Q: The ____________________ behavior enables you to specify which data you want to retrieve from the database and display in the Web page.
A: Recordset

Q: You would add the ____________________ server behavior to the pages that you want to protect.
A: Restrict Access To Page

Q: To create an ASP page, type ____________________ as the file extension when you are naming the page.
A: .asp / asp

Q: The dialog box in the accompanying figure is used to upload the database to the correct folder on your ____________________ server.
A: remote

Q: A list of prewritten server behaviors is provided in the Server Behaviors panel once a Web page is connected to a(n) ____________________.
A: database

Q: You can restrict access to Web pages by requiring users to ____________________ before they can view the pages.
A: log in