
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
20 questions
Tools of Environmental Science

Quiz
•
9th - 12th Grade
15 questions
Constants and Variables Quiz

Quiz
•
5th Grade - University
16 questions
10 Psychology Statistics

Quiz
•
10th Grade
15 questions
Python Skills

Quiz
•
1st Grade - Professio...
15 questions
Acid, Bases and Salt

Quiz
•
10th - 12th Grade
15 questions
Interpreting Graphs

Quiz
•
9th - 11th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Science
17 questions
Lab Safety

Interactive video
•
10th Grade
10 questions
Lab Safety Essentials

Interactive video
•
6th - 10th Grade
10 questions
Exploring the Scientific Method

Interactive video
•
6th - 10th Grade
20 questions
2024 Safety Exam - 1st Sememster

Quiz
•
9th - 12th Grade
12 questions
Lab Safety

Quiz
•
6th - 12th Grade
10 questions
Exploring Latitude and Longitude Concepts

Interactive video
•
6th - 10th Grade
25 questions
Unit 1-Scientific Method Quiz

Quiz
•
9th - 10th Grade
20 questions
Reading Graphs in Science

Quiz
•
9th - 12th Grade