
Final_QUIZ

Quiz
•
Computers
•
University
•
Medium
jaya mulimani
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which type of Programming does Python support?
object-oriented programming
structured programming
functional programming
all of the mentioned
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the value of the following Python expression?
4 + 7// 5
5
2
4
1
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What are the values of the following Python expressions?
print(2**(3**2)+1 )
513
64
12
11
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
x = 5
if x < 3:
print("x is less than 3")
elif x == 3:
print("x is equal to 3")
else:
print("x is greater than 3") Copy Code
x is less than 3
x is equal to 3
x is greater than 3
No output
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will the following code snippet print?
fruits = ["apple", "banana", "cherry"]
for fruit in fruits:
print(fruit)
apple
banana
cherry
[“apple”, “banana”, “cherry”]
0 1 2
No output
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to continue with the next iteration?
Using the skip statement
Using the pass statement
Using the break statement
Using the continue statement
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output the following code snippet
for i in range(1, 6):
if i == 3:
continue
print(i)
1 2
1 2 3
1 2 4 5
1 2 4
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Day 10 - ONLINE TEST - PL03 PYTHON PROGRAMMING

Quiz
•
University
15 questions
Python Programming 1: print, strings, variables, casting

Quiz
•
9th Grade - University
15 questions
Bcom remedial question _ 15

Quiz
•
University
20 questions
Beginner Quiz on ML and Python Basics

Quiz
•
University
21 questions
พื้นฐาน Python ม2

Quiz
•
1st Grade - University
20 questions
Python Functions and File Operations Quiz

Quiz
•
University
20 questions
Python Files

Quiz
•
University
20 questions
kuis pertama

Quiz
•
University
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade