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'
14 questions
Intro to Python Programming Quiz 9B
Quiz
•
10th Grade - University
12 questions
Підсумковий тест за II семестр
Quiz
•
7th Grade - University
12 questions
Intro to Python Programming Quiz 9C
Quiz
•
10th Grade - University
15 questions
IO cancer gástrico ene 2025
Quiz
•
University
14 questions
advertising
Quiz
•
5th Grade - University
14 questions
2R C-Skill Lab Test Autumn 2024-25
Quiz
•
University
10 questions
CODE BREAKER
Quiz
•
University
12 questions
JAVA FUNDAMENTALS
Quiz
•
University
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
15 questions
Character Analysis
Quiz
•
4th Grade
12 questions
Multiplying Fractions
Quiz
•
6th Grade
30 questions
Biology Regents Review #1
Quiz
•
9th Grade
20 questions
Reading Comprehension
Quiz
•
5th Grade
20 questions
Types of Credit
Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function
Quiz
•
9th - 12th Grade
10 questions
Identifying equations
Quiz
•
KG - University
16 questions
Chapter 8 - Getting Along with your Supervisor
Quiz
•
3rd Grade - Professio...
6 questions
Railroad Operations and Classifications Quiz
Quiz
•
University
71 questions
Logos
Quiz
•
3rd Grade - University
8 questions
Mali - Geography
Quiz
•
University