Log in
Sign up for FREE
arrow_back
Library
Functions Worksheet
By Portia M
star
star
star
star
star
Share
share
Last updated about 4 years ago
13 questions
Add this activity
zoom_in
5
1
1
1
Question 1
1.
In your own words, explain and label each of the 5 spots.
Question 2
2.
This function has _______ parameter.
Question 3
3.
The name of this function is called _______
Question 4
4.
What is the value of name when used at hotspot 5.?
zoom_in
1
Question 5
5.
The function created needs to be called in order to use it. How do you call the function?
1
Question 6
6.
What is the value of x?
1
Question 7
7.
If I wanted the value of x to change based on a value that I want. What should I do?
1
Question 8
8.
On line 9, how many values are given?
1
Question 9
9.
On line 10, how many values are given?
1
Question 10
10.
If lines 9 & 10 are using the same function but have a different number of values, how is it possible that the program works?
1
Question 11
11.
This code example is a return function. What are some differences you notice about this function from others?
1
Question 12
12.
On line 9, how do you think the code is working behind the scenes?
1
Question 13
13.
On line 8, if the user typed in "no" instead. What would happen?