Question: 1. A(n) ____________ allows you to execute a related group of statements as a single unit. function event statement variable 2. Which of the following
1. A(n) ____________ allows you to execute a related group of statements as a single unit.
|
| function |
|
| event |
|
| statement |
|
| variable |
2. Which of the following would be a correct call the function below?
function submitInfo(name, email, phone) { //code here; }
|
| submitInfo("Adrian", "Tillman.adrian@spcollege.edu", "813-412-0000"; |
|
| submitInfo(null); |
|
| submitInfo(); |
|
| submitInfo("Adrian", "Tillman.adrian@spcollege.edu", "813-412-0000"); |
3. Nesting a function inside a function makes the inner function private.
| True | |
| False |
4. Which one of the following creates a local variable?
|
| Declaring it inside a function without the var keyword |
|
| Declaring it outside of a function with the var keyword |
|
| Declaring it inside a function with the var keyword |
|
| Declaring it outside of a function without the var keyword |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
