ITD 110 Chapter 8
Which of the following describes the programming concept of an array?
A collection of variables stored in a series
What is Dynamic HTML (DHTML)?
A combination of HTML, script, styles and the Document Object Model (DOM) that provides Web page interactivity
Application cache
A directory on a computer where applications, such as internet apps, can be stored and run with out access to the original application
Manifest
A list of the files that are needed for the Web application to work offline.
Web application framework
A set of software tools or code that is commonly used in the creation and management of online applications.
Application Programming Interface (API)
A set of universal commands, calls and functions that allows developers to communicate with an application or operating system
Cookie
A text file that contains information sent between a server and a client to help maintain state and track user activities. Can reside in memory or on a hard drive.
Emulator
A type of software that imitates a computer then allows non-native software to run in a foreign environment. sometimes also a hardware device.
Which server-side scripting language is Microsoft's original server-side scripting solution?
Active Server Pages (ASP)
What is the administrative password for Windows systems for permissions typically assigned by an ISP?
Administrator
Canvas
An HTML5 Application Programming Interface (API) used for rendering visual images on the fly by providing scripts with a bitmap canvas
Drop Zone
An area of a Web page that has been defined as a place where dragged items can be placed.
Client
An individual computer connected to a network. Also, a system or application (such as Web browser or user agent) that requests a service from another computer (the server) and is used to access files or documents.
Dynamic HTML (DHTML)
An umbrella term that describes the combination of HTML, script, styles and the Document Object Model (DOM) to provide Web page interactivity.
Which of the following is a library that is used by many applications to save coding time? a. Include b. Function c. Variable d. Object
Answer: A. Include
Which of the following is a drawback of client-side scripting? a. The code only works on Microsoft browsers b. The code relies upon the client's interpreter c. The code only works if its placed on a server d. The code relies upon the HTML implementation
Answer: B. The code relies upon the client's interpreter
Which of the following is responsible for executing Perl code? a. The browser b. The web server c. The cloud service provider d. The internet service provider
Answer: B. The web server
What type of error usually indicates that your browser does not support a specific DOM? a. HTTP 404 Error - File Not Found b. Write Error c. Undefined Object Error d. DOM Error
Answer: C. Undefined Object Error
Which file is required for offline Web applications to allow users to continue working without a network connection? a. Index b. Fallback c. Cache d. Manifest
Answer: D. Manifest
What is the term for a set of universal commands, calls and functions that allows developers to communicate with an application or operating system?
Application programming interface (API)
Which of the following is a built-in JavaScript object that allows you to create a series of variables to later manipulate?
Array
colspan
Attribute of the td HTML element configures a table cell to span multiple columns
rowspan
Attribute of the td HTML element configures a table cell to span multiple rows
In database technology, what is the term for the SQL coding necessary to create relationships with the data stored in a database?
Business logic
Most daemons (i.e., services) are written in which language?
C
vertical-align
CSS property configures vertical alignment
caption-side
CSS property that configures the placement of the caption
border-spacing
CSS property that configures the vertical and horizontal spacing between borders in a table
padding
CSS property used instead of HTML cellpadding attribute
nth-of-type(n)
CSS pseudo-class that applies to the "nth" element of a specified type
first-child
CSS pseudo-class that applies to the first child of an element
first-of-type
CSS pseudo-class that applies to the first element of a specified type
last-child
CSS pseudo-class that applies to the last child of an element
last-of-type
CSS pseudo-class that applies to the last element of a specified type
In object-oriented language terminology, which of the following is a group of similar objects?
Class
Which of the following is a characteristic of server-side languages?
Code is executed by the Web server, not by the Web browser.
In programming, what is the term for an application that processes code in standard text files into executable applications?
Compiler
Which of the following statements is true of Dynamic HTML (DHTML)?
DHTML is both a front-end and a back-end solution.
Which of the following describes single-tier computing?
Data, business logic and presentation are all combined into one application or database.
What is the W3C standard that describes the elements, or objects, within a document rendered by a Web browser?
Document Object Model (DOM)
Which programming command repeats the input you type back to a terminal or an application window?
Echo
Which term describes a type of software that imitates a computer and then allows non-native software to run in a foreign environment?
Emulator
In programming, which term describes a line of code that allows a language to respond to a specific event or user input?
Event handler
In programming, which of the following is a line of code that allows you to refer to an entire series of steps or commands?
Function
Drag-and-Drop
Functionality that allows a user to grab an object and move it to a different location on a computer screen.
summary
HTML attribute specifies a description of the table contents that can be accessed by a screen reader
td
HTML element that configures a cell in a table
tr
HTML element that configures a row in a table
th
HTML element that configures a table heading with bold and centered text
table
HTML element that configures a table on a web page
caption
HTML element that configures a text description of the table
tbody
HTML element that configures the row(s) in the table body area
tfoot
HTML element that configures the row(s) in the table footer area
thead
HTML element that configures the row(s) in the table head area
HTML5 APIs are the best examples of DHTML because they utilize multiple technologies to extend the functionality of HTML. These technologies are:
HTML5, Cascading Style Sheets (CSS), and JavaScript to access the Document Object Model (DOM)
The HTML5 canvas API has only two attributes. Which are they?
Height and width
Which term describes a set of files called a library that you can refer to in your code?
Include
In programming, what is the term for software used to read and process code in standard text files?
Interpreter
Which of the following describes the HTML5 drag-and-drop API?
It allows a user to grab an object and move it to a different location on a computer screen or into an external application.
Which of the following characteristics is true of JavaScript?
It can be used on either the client side or on the server side.
Which of the following describes the HTML5 offline Web application API?
It permits users to continue working with Web sites and Web documents even when a network connection is unavailable.
Which of the following describes the HTML5 canvas API?
It provides a place on a Web page where developers can display graphics, animation, video and games "on the fly" without the need for a plug-in.
Which of the following language types does not allow for inheritance from one class to another?
Object-based
Which term describes a style of programming that links data to the processes that manipulate it, rather than using subprograms to accomplish tasks?
Object-oriented
Which of the following is an interpreted server-side scripting language used for creating dynamic Web pages?
PHP Hypertext Preprocessor (PHP)
Offline Web application
Permits the user to continue working with Web sites and Web documents even when a network connection us unavailable.
Which term describes the ability of a programming language to make an object behave differently or to take on different characteristics?
Polymorphism
Which term describes a style of programming that uses subprograms to accomplish tasks?
Procedural
What is the term for an instruction within an HTML page that directs the Web server to perform an action?
Server-side include
border-collapse
Set this CSS property to the value collapse to remove extra space between table and table cell borders
Object-based
Similar to object-oriented programming languages, but does not allow for inheritance from one class to another.
What is the term for a logical construct in programming that allows you to control the way information flows in the application?
Statement
Which of the following is true of the Document Object Model (DOM)?
The DOM is a vendor-neutral standard.
Geolocation
The ability to determine a user's location. Web sites can use this information to enhance the user experience and provide location-based services
Which of the following is characteristic of two-tier computing?
The client is responsible for presentation and business logic, and a server houses only the data.
What is the purpose of the manifest when working with the HTML5 offline Web application API?
The manifest tells the browser which files to store locally so the user can continue working without a network connection.
cellspacing
This attribute of the table HTML element configures the amount of space between the cells in a table
cellpadding
This attribute of the table HTML element configures the amount of space between the content of each table cell and the edge of the table cell
valign
This attribute of the td HTML element vertically aligns the content
What is the programming term for a place in memory used to store information for later use?
Variable
What is the term for a set of software tools or code that is commonly used in the creation and management of online applications?
Web application framework
Which of the following statements is true of Web site development?
Web pages can be developed using both client-side scripting and server-side scripting technologies.
To work with the Document Object Model (DOM) for any browser, you need to use:
a scripting language.
Using simple JavaScript code, you can use cookies to:
detect browser type and version.
The HTML5 geolocation API can be used to:
determine a user's current position, monitor the user's location, and update any changes to that location.
Which programming statement executes a process only when a particular condition is true?
if / then
Which programming statement executes a group of additional commands when a given condition is false?
if / then / else
HTML5 APIs are used to create apps for:
mobile devices.
For a database to work:
the Web server and the database must recognize each other.