WorksheetsCoding Python 1.1. Statements & Variables
Total questions: 14
Worksheet time: 7mins
What is a statement, when coding in Python?
A single line of code that performs any action.
A set of instructions that does a specific task
My dad might know that it is a sentence.
A program a user enters a number on.
What is a program, when coding in Python?
A way to do something on the internet.
A storage container for a variable.
A single line of code that performs any action.
A set of steps of instructions that do a specific task.
What is OUTPUT?
A code line that is a note.
Information a program gives to the user, such as text.
What you see on your computer that you see as a user, such as text.
When I leave the class.
Syntax is exact spelling, symbols, and order you write the code. All that you type when you code needs to be typed exactly or your code will not run. This will result in an error. True or False.
True
False
true
false
Editor is a box in Techsmart that we will type our code as programers. The actual box we type code is called Editor. Choose the name that we call this box.
Editor
Techsmart
Code
Python
The console window allows me to test my program and it is where the computer prints outputs and the user who uses my program can type back (input) a response. What is the name of the window?
Box
console
Program
Python
What is input?
Ask my Brother he is in another class.
What the computer shows me on the screen.
Information a computer program receives from a user.
Who know, Ms. Staton. I DON'T
A STRING IS?
Pieces of storing information in a variable.
A set of instructions to cook a wonderful steak dinner.
Yarn my grandma uses to make cool blankets to keep me warm as I rest in my warm bed.
A series of letters, numbers, and symbols, surrounded by double quotation marks. Is is code that we add to other lines of code.
A comment is what? What is the symbol? Please answer both questions!
A code line that is ignored by the computer and is used as notes.
########
#
A code line ignored by the computer.
Something someone says at lunch that has nothing to do with me.
What is a header and what color is it? Please answer both questions.
A header is the title of my program. It is in red font and is always at the top of my program.
Name
Date
Class
Teacher
Period.
Red in Color. The font is Red. Red. Red. Red. Red. The font is Red.
The title of my program.
What does it mean if my computer has an error?
Information a program has from the user. A single multi-use line of instruction.
The computer is broken.
The computer encounters something unexpected and can not run the program.
Joining two strings together.
Variable is a.....
A ziplock bag to hold things.
Storage container for information that I may want to re-use. This way I do not have to type it over and over.
Math stuff, it does not pertain to this class.
The message that appears in the console when an error occurs.
An assignment variable when coding in Python is....
Using a symbol to code, such as a # or a " "
The process of storing a variable of information.
The message, used as a hashtag.
Code that performs any action.
What symbol is used to concatenate something when coding? Concatenation is to join two strings of code together using what symbol?
+
=
-
$
