Quiz 8: Extending HTML

Ace your homework & exams now with Quizwiz!

What is Dynamic HTML (DHTML)? a. A combination of HTML, script, styles and the Document Object Model (DOM) that provides Web page interactivity b. Cascading Style Sheets (CSS) c. A markup language that describes document content instead of adding structure or formatting to document content d. A markup language that defines page layouts, hyperlinks, fonts, graphics and more to enable pages to render in Web browsers

a. A combination of HTML, script, styles and the Document Object Model (DOM) that provides Web page interactivity

In database technology, what is the term for the SQL coding necessary to create relationships with the data stored in a database? a. Business logic b. Code c. Presentation d. Data

a. Business logic

Which of the following statements is true of Dynamic HTML (DHTML)? a. DHTML is both a front-end and a back-end solution. b. The popularity of DHTML is diminishing. c. DHTML increases the burden on the server. d. DHTML is a front-end solution but not a back-end solution.

a. DHTML is both a front-end and a back-end solution.

Which term describes a type of software that imitates a computer and then allows non-native software to run in a foreign environment? a. Emulator b. Abstraction c. Class d. Object-oriented

a. Emulator

In programming, which term describes a line of code that allows a language to respond to a specific event or user input? a. Event handler b. ActiveX control c. Animator d. Responder

a. Event handler

Which of the following describes the HTML5 drag-and-drop API? a. It allows a user to grab an object and move it to a different location on a computer screen or into an external application. b. It provides an area on a Web page that has been defined as a place where dragged items can be placed. c. It provides a directory on a computer where applications can be stored and run without access to the original application. d. 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.

a. 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 describes the HTML5 canvas API? a. 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. b. It provides an area on a Web page that has been defined as a place where dragged items can be placed. c. It is used to determine a user's location. d. It provides a directory on a computer where applications can be stored and run without access to the original application.

a. 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 term describes a style of programming that links data to the processes that manipulate it, rather than using subprograms to accomplish tasks? a. Object-oriented b. Client-side c. Compiled d. Procedural

a. Object-oriented

Which term describes a style of programming that uses subprograms to accomplish tasks? a. Procedural b. Server-side c. Compiled d. Object-oriented

a. Procedural

Which of the following is true of the Document Object Model (DOM)? a. The DOM is a vendor-neutral standard. b. The DOM enables objects to be manipulated but does not specify how. c. The DOM is designed to work on UNIX platforms. d. The DOM is a proprietary Microsoft product.

a. The DOM is a vendor-neutral standard.

What is the purpose of the manifest when working with the HTML5 offline Web application API? a. The manifest tells the browser which files to store locally so the user can continue working without a network connection. b. The manifest provides an area on a Web page that has been defined as a place where dragged items can be placed. c. The manifest 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. d. The manifest will reload files in the event any of the existing data has changed since the user was last online.

a. The manifest tells the browser which files to store locally so the user can continue working without a network connection.

What is the programming term for a place in memory used to store information for later use? a. Variable b. Function c. Array d. Interpreter

a. Variable

Which of the following describes the programming concept of an array? a. Software used to read and process code in standard text files b. A collection of variables stored in a series c. A place in memory used to store information for later use d. A line of code that allows you to refer to an entire series of steps or commands

b. A collection of variables stored in a series

In programming, what is the term for an application that processes code in standard text files into executable applications? a. Interpreter b. Compiler c. Variable d. Include

b. Compiler

Which programming command repeats the input you type back to a terminal or an application window? a. Repeat b. Echo c. Statement d. Print

b. Echo

HTML5 APIs are the best examples of DHTML because they utilize multiple technologies to extend the functionality of HTML. These technologies are: a. HTML5, Common Gateway Interface (CGI), and Cascading Style Sheets (CSS) b. HTML5, Cascading Style Sheets (CSS), and JavaScript to access the Document Object Model (DOM) c. HTML5, JavaScript, and Common Gateway Interface (CGI) d. JavaScript, Common Gateway Interface (CGI), and the Document Object Model (DOM)

b. HTML5, Cascading Style Sheets (CSS), and JavaScript to access the Document Object Model (DOM)

Which of the following is an interpreted server-side scripting language used for creating dynamic Web pages? a. JavaScript b. PHP Hypertext Preprocessor (PHP) c. VBScript d. Practical Extraction and Report Language (Perl)

b. PHP Hypertext Preprocessor (PHP)

What is the term for a logical construct in programming that allows you to control the way information flows in the application? a. Echo b. Statement c. Interpreter d. Function

b. Statement

The HTML5 geolocation API can be used to: a. reprogram a user's GPS hardware device. b. determine a user's current position, monitor the user's location, and update any changes to that location. c. display graphics, animation, video and games "on the fly" without the need for a plug-in. d. interact with Web sites and Web documents when a network connection is unavailable.

b. determine a user's current position, monitor the user's location, and update any changes to that location.

Which programming statement executes a group of additional commands when a given condition is false? a. do until b. if / then / else c. do while d. if / then

b. if / then / else

Which server-side scripting language is Microsoft's original server-side scripting solution? a. PHP Hypertext Preprocessor (PHP) b. Perl c. Active Server Pages (ASP) d. JavaScript

c. Active Server Pages (ASP)

Which of the following is a built-in JavaScript object that allows you to create a series of variables to later manipulate? a. Navigator b. Document c. Array d. Window

c. Array

Most daemons (i.e., services) are written in which language? a. Perl b. JavaScript c. C d. PHP Hypertext Preprocessor (PHP)

c. C

What is the W3C standard that describes the elements, or objects, within a document rendered by a Web browser? a. Cascading Style Sheets (CSS) b. Application programming interface (API) c. Document Object Model (DOM) d. Object-oriented program

c. Document Object Model (DOM)

In programming, which of the following is a line of code that allows you to refer to an entire series of steps or commands? a. Statement b. Variable c. Function d. Array

c. Function

Which term describes a set of files called a library that you can refer to in your code? a. Variable b. Compiler c. Include d. Interpreter

c. Include

In programming, what is the term for software used to read and process code in standard text files? a. Include b. Compiler c. Interpreter d. Variable

c. Interpreter

Which of the following characteristics is true of JavaScript? a. It can be used only on the server side, not on the client side. b. It can be used only with the Netscape browser. c. It can be used on either the client side or on the server side. d. It can be used only on the client side, not on the server side.

c. 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? a. It provides a directory on a computer where applications can be stored and run without access to the original application. b. It lists the files that are needed for a Web application to work offline. c. It permits users to continue working with Web sites and Web documents even when a network connection is unavailable. d. It allows a user to grab an object and move it to a different location on a computer screen.

c. It permits users to continue working with Web sites and Web documents even when a network connection is unavailable.

Which of the following language types does not allow for inheritance from one class to another? a. Object-oriented b. Procedural c. Object-based d. Programming

c. Object-based

Using simple JavaScript code, you can use cookies to: a. digitally sign certificates. b. repair the hard drive. c. detect browser type and version. d. authenticate site visitors.

c. detect browser type and version.

Which programming statement executes a process only when a particular condition is true? a. do while b. if / then / else c. if / then d. do until

c. if / then

HTML5 APIs are used to create apps for: a. object-based programs. b. DHTML. c. mobile devices. d. object-oriented programs.

c. mobile devices.

For a database to work: a. the Web server and the database need not recognize each other. b. the Web server does not need execute permissions. c. the Web server and the database must recognize each other. d. a Microsoft system must be used.

c. the Web server and the database must recognize each other.

What is the default administrative password for Windows systems for permissions typically assigned by an ISP? a. Execute b. Root c. Password d. Administrator

d. Administrator

What is the term for a set of universal commands, calls and functions that allows developers to communicate with an application or operating system? a. Compiler b. Emulator c. DHTML event handler d. Application programming interface (API)

d. Application programming interface (API)

In object-oriented language terminology, which of the following is a group of similar objects? a. Emulator b. Inheritance c. Abstraction d. Class

d. Class

Which of the following is a characteristic of server-side languages? a. Code is executed by the Web browser, not by the Web server. b. Code is executed by both the Web server and the Web browser. c. Code is executed neither by the Web server nor the Web browser. d. Code is executed by the Web server, not by the Web browser.

d. Code is executed by the Web server, not by the Web browser.

Which of the following describes single-tier computing? a. The client is responsible for presentation, and the server manages the data and the business logic. b. Data, business logic and presentation are completely separated. c. The client is responsible for business logic and presentation, and the server houses only the data. d. Data, business logic and presentation are all combined into one application or database.

d. Data, business logic and presentation are all combined into one application or database.

The HTML5 canvas API has only two attributes. Which are they? a. Border and margin b. Border and background c. Background and shape d. Height and width

d. Height and width

Which term describes the ability of a programming language to make an object behave differently or to take on different characteristics? a. Class b. Inheritance c. Abstraction d. Polymorphism

d. Polymorphism

What is the term for an instruction within an HTML page that directs the Web server to perform an action? a. Object b. Emulator c. Inheritance d. Server-side include

d. Server-side include

Which of the following is characteristic of two-tier computing? a. Data, business logic and presentation are all combined into one application or database. b. The client is responsible for presentation, and the server manages the data and the business logic. c. Data, business logic and presentation are completely separated. d. The client is responsible for presentation and business logic, and a server houses only the data.

d. The client is responsible for presentation and business logic, and a server houses only the data.

Which of the following statements is true of Web site development? a. Only server-side scripting can be used to develop Web pages. b. Only client-side scripting can be used to develop Web pages. c. Only HTML can be used to develop Web pages. d. Web pages can be developed using both client-side scripting and server-side scripting technologies.

d. 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. a programming language. b. an application programming interface (API). c. the Component Object Model (COM). d. a scripting language.

d. a scripting language.


Related study sets

Final exam-Virginia life and Health

View Set

International Business Section G1 Test #1

View Set

Network+ Chapter 5 IPv4 and IPv6 Addresses

View Set

Social Psychology Final Exam Study Guide 9 and 10

View Set

Macro-Econ:Ch1 Limits, Alternatives and Choices

View Set

Emberi Erőforrások A. tételsor/ 1. tétel

View Set

Colonial Latin American Social Classes

View Set