
Python Check

Quiz
•
Computers
•
University
•
Medium
Sripradha G
Used 1+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def mystery(x):
return x * x - x
print(mystery(4))
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a default built-in function in Python?
sqrt()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for i in range(1, 5):
if i % 2 == 0:
print(i, end=" ")
What would be output?
1 2 3 4
2 4
1
3
0 2 4
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
________ math module function is used to return the smallest integer greater than or equal to a number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = 5
while x > 0:
x -= 1
if x == 2:
continue
print(x, end=" ")
Identify the output.
4 3 1 0
4 3
4
3
4
3
1
0
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The keyword ______ is used in Python to define a user-defined function.
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
The for loop uses a built-in function called _______ to generate a sequence.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
15 questions
Python-loops, branches, functions

Quiz
•
University
15 questions
Quiz Algoritma Looping

Quiz
•
University
15 questions
Python Quiz Ver- 1.3

Quiz
•
University
13 questions
Idiomatic Python

Quiz
•
University
15 questions
Round 4 - Harvest

Quiz
•
University
16 questions
Java Основи

Quiz
•
11th Grade - University
10 questions
Third Year Placement Training Revision Test

Quiz
•
University
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
12 questions
Civil War

Quiz
•
8th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
19 questions
Primary v. Secondary Sources

Quiz
•
6th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
20 questions
Disney Trivia

Quiz
•
University