x
Info
x
Warning
x
Danger
 / 
 / 
 / 
19.1   True/False 1) Functions allow reuse of code but also result

Question : 19.1   True/False 1) Functions allow reuse of code but also result : 1907255

19.1   True/False

1) Functions allow reuse of code but also result in increased complexity because parts of the solution are hidden.

2) Variables in the parameter list of a JavaScript function are automatically declared.

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

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

5) The value produced by the <expression> in JavaScript’s return statement is called the function’s value or result.

6) The return value for a JavaScript function must be a variable.

7) Global variables can be used inside functions, but local variables cannot be used outside the functions in which they are declared.

8) In a function, arguments can be provided in any order.

9) In a JavaScript formula (e.g., (9/5) tempInC + 32), multiplication is implied; therefore, the multiplication operator (*) is not required.

10) A variable cannot be used as part of a calculation to assign a value to itself.

11) The parameter list must include at least one parameter.

12) A computer cannot generate a truly random number.

13) The number of parameters in a function must match the number of arguments sent to it by the function call.

14) When a global and local variable share the same name, a JavaScript program will not compile.

Solution
5 (1 Ratings )

Solved
English 1 Year Ago 369 Views
This Question has Been Answered!
Unlimited Access Free
Explore More than 2 Million+
  • Textbook Solutions
  • Flashcards
  • Homework Answers
  • Documents
Signup for Instant Access!
Ask an Expert
Our Experts can answer your tough homework and study questions
12971 English Questions Answered!
Post a Question