
Python Day 2

Quiz
•
Science
•
10th Grade
•
Medium

Nysa Pierre
Used 2+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the purpose of a conditional statement?
To perform arithmetic operations
To assign values to variables
To compare two values
To execute code based on a condition
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is wrong with the following code?
There is no space after the word print.
There are no speech marks “ “ around the text in the brackets.
Print should start with a big P
There should be no brackets ( ).
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Look at the flowchart below. What is the output for Price?
13
10
12
3
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following character is used to give single-line comments in Python?
a) //
b) #
c) !
d) /*
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is printed?
21
a * b
multiply (3, 7)
12
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is printed?
2 4 6
1 2 3 4 5 6 7 8
0 2 4 6 8
4 6 8
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to convert user input to an integer in Python?
int_input()
input()
int(input())
read_int()
Create a free account and access millions of resources
Similar Resources on Wayground
16 questions
Accuracy, Precision & Percent Error

Quiz
•
9th - 10th Grade
15 questions
Specific Heat

Quiz
•
9th - 10th Grade
16 questions
10 Psychology Statistics

Quiz
•
10th Grade
14 questions
IB SEHS Topic 6.1 Statistical Analysis

Quiz
•
10th - 12th Grade
15 questions
Snakes

Quiz
•
5th Grade - University
13 questions
Invasive Species Test March 13 2025

Quiz
•
5th Grade - University
15 questions
Graphing Relationships

Quiz
•
10th Grade - University
19 questions
How science works keywords

Quiz
•
9th - 11th Grade
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