Unit 5 Web Page Design

¡Supera tus tareas y exámenes ahora con Quizwiz!

For client-side scripting, JavaScript is generally used rather than VBScript because 1. older Microsoft browsers don't support VBScript 2. VBScript was developed for Microsoft and competing browsers (Firefox for example) do not support it. 3. VBScript was developed for Google Chrome so competing browsers (Internet Explorer for example) do not support it. 4. All of the above

2. VBScript was developed for Microsoft and competing browsers (Firefox for example) do not support it.

If you're searching for built-in objects, or if you're wondering how you would know what properties or methods are available for a particular object, you can get answers to these questions by consulting a Javascript or DOM reference guide. 1. True 2. False

1. True

Question 3 Scripted content should be a bonus for users who can access it, but if users can't access it, they should still be able to access the core content of the web page. 1. True 2. False

1. True

Web pages that store information about you and retrieve it once you log in use a combination of 1. a database and a server-side script 2. a sever-side script and a client-side script 3. a client-side script and a database 4. None of the above

1. a database and a server-side script

A variable in a programming or scripting language is a symbolic name that represents ___ 1. a value 2. a field 3. an integer 4. a hexadecimal code

1. a value

The Document Object Model (DOM) is 1. a way of allowing programming and scripting languages to access and manipulate the content of web pages. 2. a way of allowing assistive technologies such as screen readers to maintain an accurate understanding of the structure of web pages. 3. Neither a nor b 4. C Both a and b

1. away of allowing programming and scripting languages to access and manipulate the content of web pages.

JavaScript functions are called in response to 1. events 2. syntax 3. attributes 4. variables

1. events

Content management systems require web authors to have a great deal of coding knowledge 1. True 2. False

2. False

Programming languages are tolerant of mistakes. In other words, most mistakes in punctuation or capitalization will not cause a problem

2. False

Most programming or scripting languages have a lot in common. The greatest difference is in the subtlety of their 1. variable 2. attribute 3. syntax 4. ©ag

3. syntax

When using the alert() function to debug JavaScript code, remember 1. you can never over-use this technique. 2. the more alert boxes your visitors encounter the better. 3. use them sparingly and remove them when you are done. 4. All of the above

3. use them sparingly and remove them when you are done.

Server-side scripts— 1. are executed before the page is sent. 2. reside on the server, not on the user's web page. 3. cannot be read by the user. 4. All of the above

4. All of the Above

An advantage to using a browser tool to debug is that it will 1. show an icon when a JavaScript error is encountered. 2. provide a line number which may help you to isolate the problem. 3. show a dialog that will give you more information about the bug. 4. All of the above

4. All of the above

Assigning an id attribute to an HTML element enables you to 1. link to specific targets within a web page. 2. stylize an element differently than other elements of the same type using css. 3. write JavaScript code to access the element by its id. 4. All of the above

4. All of the above

Which of the following is a common bug in programming? 1. missing punctuation 2. unclosed character string 3. misspelled variable name 4. All of the above

4. All of the above


Conjuntos de estudio relacionados

Statistical Studies: Misleading Graphs (Practice) ~amdm

View Set

Art Appreciation Chapter 5 Part 1 Vocab

View Set

Muscles of the arm: Origin, Insertion, and Action

View Set

Logistics Final ope, logistics 3380 midterm eep

View Set

Ch 3 Foundation EAQ Documentation

View Set

Belmont Report and Its Principles

View Set

Neurology 400 - Special Senses: Smell

View Set