
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()
Create a free account and access millions of resources
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
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Information Technology (IT)
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
10 questions
Christmas/Winter
Quiz
•
KG - 2nd Grade
16 questions
Christmas 1st grade
Quiz
•
1st Grade
10 questions
Exploring the Water Cycle
Interactive video
•
1st - 5th Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
20 questions
Modules 4 - 6 CBA Review
Quiz
•
1st Grade
10 questions
Exploring the American Revolution
Interactive video
•
1st - 5th Grade
