
Python Programming Quiz
Quiz
•
Information Technology (IT)
•
1st Grade
•
Practice Problem
•
Hard
Khaled Abdellatif
Used 1+ times
FREE Resource
Enhance your content in a minute
28 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function returns the square root of a number in Python?
sqrt()
square()
pow()
root()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will math.ceil(4.2) return?
4
5
4.2
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function gives the value of π in the math module?
math.pi()
math.pi
math.PI
pi
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of pow(2, 3)?
5
6
8
9
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will math.floor(-3.7) return?
-3
-4
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does "hello".upper() return?
"Hello"
"HELLO"
"hello"
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method removes whitespace at the beginning and end of a string?
strip()
remove()
trim()
clean()
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
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
8 questions
2 Step Word Problems
Quiz
•
KG - University
10 questions
Martin Luther King, Jr. For Kids
Interactive video
•
1st - 12th Grade
20 questions
Telling Time to the Hour and Half hour
Quiz
•
1st Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
12 questions
Telling Time to the Hour and Half Hour
Quiz
•
1st - 3rd Grade
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
16 questions
Measurement
Quiz
•
1st Grade
20 questions
CVC Words
Quiz
•
KG - 1st Grade
