def h1(): print("")
h1()=="hi"+"text"
What is the output of this code?
Quiz 5
Quiz
•
Computers
•
University
•
Hard
Mohand Mahmoud
FREE Resource
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
10 questions
Python Unit 3
Quiz
•
University
10 questions
Kiểm tra 15 phút Tin học 10 - DA - Bài 26,27,28
Quiz
•
10th Grade - University
10 questions
AITT LAB QUIZ 4
Quiz
•
University
10 questions
Java quiz based on inheritance
Quiz
•
University
16 questions
Python básico
Quiz
•
University
10 questions
Quiz 6
Quiz
•
University
15 questions
Round 2 Debug-The-Code
Quiz
•
University
15 questions
Python Quiz Ver- 1.3
Quiz
•
University
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade