Ms. Molloy Computer Science quick quiz

Quiz
•
Computers
•
7th Grade
•
Medium
Staff-ISK Molloy
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
1. 1. What does the print() function do in Python?
Stops the program
Displays information on the screen
· Asks the user for input
Stores information
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
1. Which line correctly asks for a user's name?
input("Hello")
print("What is your name?")
name = input("What is your name?")
· ask("name")
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
1. What is the data type of this value: "42"?
int
float
str
bool
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Which of these is a variable?
"apple"
age=12
print()
int
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this code do?
1. x = 10
if x > 5:
print("Big number!")
prints nothing
causes an error
Prints "Big Numbers!"
Asks the user for an input
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How many times will this code run the loop?
for i in range(3):
print("Hi")
2
3
4
1
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What type of loop is best for repeating until a condition is false?
for
repeat
while
forever
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python Variables

Quiz
•
7th - 12th Grade
15 questions
Intro to Small Basic

Quiz
•
KG - 7th Grade
14 questions
Python Basic Unit 1

Quiz
•
7th - 8th Grade
12 questions
алгоритм python

Quiz
•
6th - 8th Grade
10 questions
Python

Quiz
•
7th Grade
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
12 questions
Python - Data Types and Operators

Quiz
•
7th Grade
10 questions
Syntax python G7 (Post test)

Quiz
•
7th 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