
Function in Python
Authored by Sỹ Tài
Computers
KG
Used 344+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
1. What will print?
5
6
1
nothing
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What will print?
nothing
7
z
12
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
How many times will Boo print?
3
4
5
none
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will print?
5
6
12
3
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What would the output be from the program shown here? (assuming that the user enters "John" and "Smith"
def printname(firstname, lastname):
name = firstname + " " + lastname
return name
print(printname(Jonh, Smith)
John
Smith
Jonh Smith
Error
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What would the output be for the following program if the user enters 4 and 6?
10
14
16
Error
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Which of the following best describes the order in which these lines are processed in Python?
4, 1, 2
4, 2, 1
1,2 ,3,4
4, 3 ,2, 1
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?