Python First Steps Homework Quiz

Quiz
•
Computers
•
7th - 9th Grade
•
Hard
Tracy Mayhead
Used 132+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A set of precise instructions that is meant to solve a problem is .......................
a computer
an algorithm
a program
an interpreter
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used in python to assign values to a variable?
plus +
forward slash /
equals =
asterisk *
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Read the Python program:
When this program is executed, what will be displayed on the screen?
Note: There may be errors in the program and/or it may not behave as expected.
"I live in", location
"I live in", "Leeds"
I live in location
I live in Leeds
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Read the Python program:
When this program is executed, what will be displayed on the screen, as a result of executing line 3?
Note: There may be errors in the program and/or it may not behave as expected.
I’ve never been to and whatever the user has typed at the keyboard
I’ve never been to location
I’ve never been to input()
It is not possible to know the output without executing the program.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which feature of programming involves a decision, but does not involve repeats?
Sequence
Selection
Iteration
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Read the Python program below:
1. answer = 3 + 13 * 3
2. print("The Answer is", answer)
When this program is executed, what will be displayed on the screen?
Note: There may be errors in the program and/or it may not behave as expected.
The Answer is 3 + 13 * 3
The Answer is 42
The Answer is 48
The Answer is answer
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The code you use to receive an input from the keyboard
enter()
receive()
add()
input()
Create a free account and access millions of resources
Similar Resources on Wayground
18 questions
Y9 L5 Functions

Quiz
•
8th Grade
17 questions
Python Conditionals

Quiz
•
9th - 11th Grade
15 questions
Python basics

Quiz
•
6th - 8th Grade
16 questions
For and While Loops in Python

Quiz
•
9th - 12th Grade
16 questions
Python basics

Quiz
•
9th - 12th Grade
20 questions
Python - lists,loops,basics

Quiz
•
9th - 11th Grade
20 questions
Python Basics Review (TSK)

Quiz
•
9th - 12th Grade
20 questions
Python Basics (CodeHS)

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