a = 4.5
b = 2
print (a//b)
QUIZADER
Quiz
•
Other
•
University
•
Hard
MEGHNA NAIR
Used 6+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = 4.5
b = 2
print (a//b)
2
2.0
2.2
none of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = true
b = false
c = false
if a or b and c:
print ("QUIZADER")
else:
print ("quizader")
QUIZADER
quizader
quizaderQUIZADER
none of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
result=0
def find_sum(num1,num2):
if(num1!=num2):
result=num1+num2
else:
result=2*(num1+num2)
find_sum(3,4)
print(result)
find_sum(5,5)
print(result)
7
20
14
10
0
0
error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
L1 = []
L1.append([1, [2, 3], 4])
L1.extend([7, 8, 9])
print(L1[0][1][1] + L1[2])
38
12
11
39
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the output
def find_avg(list_num):
result_sum=0
for num in list_num:
result_sum+=num
result_avg=result_sum/len(list_sum)
find_avg([5,8,5])
print(result_avg)
18
10
5
6
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Predict the output:
List = [True, 50, 10]
List.insert(2, 5)
print(List, "Sum is: ", sum(List))
[True, 50, 10, 5] Sum is: 66
[True, 50, 5, 10] Sum is: 66
[True, 50, 5, 10] Sum is: 65
TypeError: unsupported operand type(s) for +: ‘int’ and ‘str’
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Write the command to create an empty list named 'new_list'
13 questions
Introduction to Python Programming Quiz 9E
Quiz
•
10th Grade - University
14 questions
Intro to Python Programming Quiz 9B
Quiz
•
10th Grade - University
10 questions
NEUROANATOMY
Quiz
•
University
12 questions
2301 Midterm Review: Accommodations and Modifications
Quiz
•
University
7 questions
plexo lumbar
Quiz
•
University
10 questions
Prueba teórica Programación Lógica y Funcional
Quiz
•
University
10 questions
CODE BREAKER
Quiz
•
University
10 questions
Списки. PYTHON
Quiz
•
3rd Grade - University
25 questions
Equations of Circles
Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)
Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System
Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice
Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers
Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons
Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)
Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review
Quiz
•
10th Grade