Exam 19: Programming Functions

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

A JavaScript function include at least one parameter .

(True/False)
4.9/5
(83)

Date() creates a JavaScript ________ which represents a date and a time .

(Short Answer)
4.9/5
(83)

Local variables cannot be accessed outside the functions in which they are declared .

(True/False)
4.7/5
(86)

Select all that apply . Which of the following are alternate terms for the word 'function'?

(Multiple Choice)
4.8/5
(92)

Other names for a function are ________ or method . Subroutine is an antiquated term for the same thing .

(Short Answer)
4.8/5
(89)

A function definition is the same as a function call .

(True/False)
4.7/5
(84)

A variable declared in a function is a(n)

(Multiple Choice)
4.9/5
(80)

A function ________ is the algorithm written in a programming language that computes function's result .

(Short Answer)
4.8/5
(69)

A function is declared by writing its function ________ .

(Short Answer)
5.0/5
(93)

Select all that apply . In JavaScript the result of a function call can be displayed to the user

(Multiple Choice)
4.7/5
(84)

Functions allow for code to be reused because parts of the solutions are hidden .

(True/False)
4.9/5
(85)

Variables declared within a function

(Multiple Choice)
4.9/5
(91)

A computer cannot generate a truly random number .

(True/False)
4.9/5
(76)

Joining several components together, as in: '<tr style="background-color:00ccff ">' + '<td>-10</td><td>' + convertC2F(-10) + '</td></tr>' is done using the ________ operator .

(Short Answer)
4.9/5
(83)

After running the following JavaScript, what is the value of the variable month? Var newDay = new Date(); Month = newDay . setMonth(4);

(Multiple Choice)
4.9/5
(95)

The name of a function identifies it and must be used when the function is called .

(True/False)
4.8/5
(76)

Variables declared inside a function are ________ in scope .

(Short Answer)
4.9/5
(74)

The values returned by the Math . random()function are between

(Multiple Choice)
4.7/5
(73)

Function names cannot contain numbers and must not be more than eight characters long .

(True/False)
4.8/5
(86)

JavaScript functions can be placed in the <head> section of a web page .

(True/False)
4.9/5
(88)
Showing 21 - 40 of 42
close modal

Filters

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