JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
Calling Functions (SP24) - Solo Work
For the required email address below, use your
netid@duke.edu
. You can opt to receive a copy of your responses for your records and for future studying.
Sign in to Google
to save your progress.
Learn more
* Indicates required question
Email
*
Your email
Answer the questions given the below code
What will Python display?
*
13
13 15
13 15 19
Error
What will Python display?
*
5
15
25
Error
Do the variable names of the argument and parameter need to match (as in the names are exactly the same)?
*
Yes, if they don’t match it’s an error
No, they do not need to match as long as they are related in some way
No, they never need to match
Answer the questions below using the following code:
What will Python display?
oneway
one way
one-way
one-way-
Clear selection
Assume a and b are defined as in the previous question. Which line(s) of code would print:
*
print(putTogether(a,b),"togo")
print(putTogether(putTogether(a,b),"togo"))
print(putTogether(a,b), putTogether(b,"togo"))
print(putTogether(a, putTogether(b,"togo")))
Required
Your netid (example: abc12)
*
Your answer
Your name (first and last name)
*
Your answer
A copy of your responses will be emailed to the address you provided.
Submit
Clear form
Never submit passwords through Google Forms.
reCAPTCHA
Privacy
Terms
This form was created inside of Duke University -- Department of Computer Science.
Does this form look suspicious?
Report
Forms