Exam 9: Javascript: Functions

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

When does a recursive program go into infinite recursion

Free
(Multiple Choice)
4.8/5
(25)
Correct Answer:
Verified

D

The best way to develop and maintain a large program is to construct it from small, simple pieces called ________.

Free
(Multiple Choice)
4.9/5
(34)
Correct Answer:
Verified

B

The technique of developing and maintaining a large program by constructing it from small, simple pieces is called ________.

Free
(Multiple Choice)
4.8/5
(28)
Correct Answer:
Verified

A

Functions that are not provided as part of the JavaScript language are called ________ functions.

(Multiple Choice)
4.8/5
(45)

Nested in the audio element are two ________ specifying the locations of the audio clip in MP3 and OGG formats, respectively.

(Multiple Choice)
4.8/5
(31)

What is the result of writing the keyword var in a function parameter list

(Multiple Choice)
4.7/5
(35)

A function's ________ are also considered to be local variables.

(Multiple Choice)
4.7/5
(38)

Iteration uses ________ statements and recursion uses ________ statements.

(Multiple Choice)
4.9/5
(39)

What does the following statement do Math.floor( Math.random() * 12 );

(Multiple Choice)
4.9/5
(31)

The value a in the following statement is called the ________ and the value b is called the ________. Face = Math.floor( a + Math.random() * b );

(Multiple Choice)
4.8/5
(35)

Which of the following is used to access members (or properties) of form elements

(Multiple Choice)
4.8/5
(30)

JavaScript references the ________ object for you when you call its functions, so you don't need to use it directly.

(Multiple Choice)
4.9/5
(28)

Change an image's ________ attribute to change which picture it displays.

(Multiple Choice)
4.8/5
(45)

Which of the following are valid names of scopes in JavaScript

(Multiple Choice)
4.9/5
(32)

Which of the following is not a global function

(Multiple Choice)
4.9/5
(32)

What would the function cube return, assuming it is called with the statement cube( 3 ) Function cube( y ); { Return y * y * y; }

(Multiple Choice)
4.9/5
(30)

The "prepackaged" functions that belong to JavaScript objects such as Math.pow and Math.round are often called ________.

(Multiple Choice)
4.8/5
(30)

If the HTML5 form game has a text field named point in it, what is the proper way to set the text associated with point to 10

(Multiple Choice)
4.8/5
(38)

Giving a local function variable the same name as a global variable will result in which of the following

(Multiple Choice)
4.7/5
(31)

All variables declared in function definitions are ________.

(Multiple Choice)
4.8/5
(36)
Showing 1 - 20 of 24
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)