Filters
Question type

Study Flashcards

One can create a ____ variable to determine whether the user is running the Safari browser.


A) null
B) string
C) conditional
D) Boolean

Correct Answer

verifed

verified

Before you use a variable in a JavaScript program,you should ____ it.


A) compile
B) concatenate
C) declare
D) nullify

Correct Answer

verifed

verified

When calling a JavaScript function,you provide in your call ____.


A) the function name
B) the parameters
C) both a and b
D) none of the above

Correct Answer

verifed

verified

The type of information stored in a variable is referred to as its ____________________.

Correct Answer

verifed

verified

Multiple parameters are separated by____.


A) brackets
B) parentheses
C) curly braces
D) commas

Correct Answer

verifed

verified

You can declare a variable in JavaScript using the ____ command.


A) dec
B) var
C) this
D) val

Correct Answer

verifed

verified

Java requires that users have access to the ____ in order to create an executable Java applet.


A) DTD
B) JDK
C) ECMA
D) DDL

Correct Answer

verifed

verified

Case 10-3 Simon’s Leathervane sells handmade leather clothing online. He has added some JavaScript functions to calculate how much a person has to pay before they submit the order page, but is having some trouble. -If Simon is using Internet Explorer,what could he use to debug his program?


A) Firefox Error Console
B) Microsoft Script Debugger
C) Microsoft Console
D) none of the above

Correct Answer

verifed

verified

MATCHING Identify the letter of the choice that best matches the phrase or definition. a.interpreted b.variable c.data type d.parameter e.spammer f.harvester g.alert dialog box h.compiled i.declaring j.function k.var l.command -Translated into a more basic language 2.The type of information stored in a variable 3.A series of commands that performs an action or calculates a value 4.Displays a text message with an OK button 5.Tells the JavaScript interpreter to reserve memory space for a variable 6.Executed without being compiled 7.A named element in a program that stores information 8.Used to declare a named element in a program 9.Sends unsolicited e-mail 10.Single line that indicates an action to take 11.Scans Web pages for e-mail addresses 12.Variable associated with a function

Correct Answer

verifed

verified

1.H
2.C
3.J
4.G
5.I
...

View Answer

Some JavaScript functions require parameters,which are variables associated with the function.

Correct Answer

verifed

verified

Case 10-1 Training unlimited is planning to create a page that will allow users to e-mail their requests for the training videos to add to their online training offerings. -To make their code reusable,the Web designer should put it into a ____.


A) head
B) function
C) body
D) all the above

Correct Answer

verifed

verified

Each JavaScript command line ends with a(n) ____ to separate it from the next command line in the program.


A) comma
B) ampersand
C) semicolon
D) period

Correct Answer

verifed

verified

A multiline comment begins with a /* and ends with a */._________________________

Correct Answer

verifed

verified

What does the JavaScript command document.println("Hello" + "World") ; print?


A) Hello World
B) HelloWorld
C) World Hello
D) WorldHello

Correct Answer

verifed

verified

The type attribute value for JavaScript is ____.


A) text/js
B) text/javascript
C) script/js
D) script/javascript

Correct Answer

verifed

verified

In Java,programs cannot write content to the hard disk.

Correct Answer

verifed

verified

A variable declared in a function is said to have ____.


A) global scope
B) no scope
C) local scope
D) none of the above

Correct Answer

verifed

verified

Case 10-1 Training unlimited is planning to create a page that will allow users to e-mail their requests for the training videos to add to their online training offerings. -What should the Web designers worry about when making such a form?


A) browser versions
B) e-mail harvesters
C) spammers
D) all of the above

Correct Answer

verifed

verified

_______ is the process of searching code to locate a source of trouble.


A) Error-handling
B) Debugging
C) Tracing
D) Setting a watch

Correct Answer

verifed

verified

Placing JavaScript code in a Web page file means that users need to retrieve only ____ file from the server.


A) one
B) two
C) duplicate
D) text

Correct Answer

verifed

verified

Showing 61 - 80 of 139

Related Exams

Show Answer