
Quiz 5
Authored by Mohand Mahmoud
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
def h1(): print("")
h1()=="hi"+"text"
What is the output of this code?
hi text
hi
Null
error
No output
2.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
sum(1,2,3)
def sum (x,y,z):
print(x+y+z)
What is the output of this code?
9
Null
x+y+z
error
3.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
can we pass to a function an argument ?
True
False
4.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
can we put a lamda function in variable?
False
True
5.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
def div (x,y):
print(x/y)
div(12,3)
4
Null
error
4.0
6.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
def sum(x:2,z:"5",y:8):
print(x + y + z)
sum(2,8,5)
What is the output of this code?
15
10
105
Null
7.
MULTIPLE CHOICE QUESTION
45 sec • 2 pts
can we pass a function as an argument in another function?
True
false
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?
Similar Resources on Wayground
10 questions
Explorando Tinkercad en Secundaria
Quiz
•
7th Grade - University
10 questions
INTRODUCCION A LA PROGRAMACION
Quiz
•
6th Grade - University
13 questions
GIT COURSE
Quiz
•
University
10 questions
Quiz 1: Introducción a Windows Server
Quiz
•
University
10 questions
Entorno Financiero Digital 2do test
Quiz
•
University
11 questions
Herramientas WEB
Quiz
•
6th Grade - Professio...
10 questions
Microsoft Excel
Quiz
•
University
10 questions
A level Computer Science In-fix post-fix Reverse polish
Quiz
•
10th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade