
Python Final Test
Authored by Gnaneshwar Reddy
Other
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the value of the following Python expression?
4 + 3 % 5
a) 7
b) 2
c) 4
d) 1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following character is used to give single-line comments in Python?
a) //
b) #
c) !
d) /*
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the order of precedence in python?
a) Exponential, Parentheses, Multiplication, Division, Addition, Subtraction
b) Exponential, Parentheses, Division, Multiplication, Addition, Subtraction
c) Parentheses, Exponential, Multiplication, Division, Subtraction, Addition
d) Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code?
2*3*2
214
456
567
512
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does pip stand for python?
a) Pip Installs Python
b) Pip Installs Packages
c) Preferred Installer Program
d) All of the mentioned
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the values of the following Python expressions?
2*(3*2)
(2*3)*2
2*3*2
a) 512, 64, 512
b) 512, 512, 512
c) 64, 512, 64
d) 64, 64, 64
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python code?
l=[1, 0, 2, 0, 'hello', '', []]
list(filter(bool, l))
a) [1, 0, 2, ‘hello’, ”, []]
b) Error
c) [1, 2, ‘hello’]
d) [1, 0, 2, 0, ‘hello’, ”, []]
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
25 questions
Linguistics
Quiz
•
University
25 questions
Sports and Games
Quiz
•
KG - Professional Dev...
25 questions
Advanced Game Design Midterm
Quiz
•
University
25 questions
ERT Quiz
Quiz
•
University
25 questions
Aptiverse - Spectra 2k24 Round 1 Room 5
Quiz
•
University
25 questions
UJian Akhir Semester Instalasi Penerangan
Quiz
•
University
25 questions
Phronesis Mind Inter Departmental Quiz Competition (C_02)
Quiz
•
University
25 questions
Inter School Quiz (English Medium) Paper 03
Quiz
•
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
5 questions
Poetry Interpretation
Interactive video
•
4th Grade - University
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
15 questions
Review1
Quiz
•
University
15 questions
Pre1
Quiz
•
University