NEW
Font size
WorksheetsPython Basics Test
Total questions: 30
Worksheet time: 30mins
An error that will stop code from working/program from running.
Semantic error
Logic error
Syntax error
Information coming OUT of program. Often this is achieved using print command.
Output
Input
Process
Syntax
A set of actions or events that must be carried out in the same order every time.
Decision
Sequence
Function
Data that is stored in a named location. These can change or be changed.
Integer
Sequence
String
Variable
Less than
<
>
=>
=<
A loop that will repeat for a set number of times.
For Loop
While Loop
Infinite Loop
This means "Then do this"
Boolean
:
Function
=
Loop or repetition. Sections of code or algorithmic instructions that are repeated.
Insertion
Iteration
Abstraction
Selection
Equal to or less than
ELIF
=<
=>
=
Otherwise. This pairs with an IF statement to run code when IF statement condition is false.
ELSE
While Loop
And
#This is a comment to help understand the lines of code
Selection
Declaration
Testing
Comment
The text that is displayed when program is run. In Python, this is green and in quotation marks.
Array
String
Double
Float
Assigning variables
Debug
Boolean
=
:
A set of precise step by step instructions to achieving a specific outcome.
Iteration
Parameter
Algorithm
Function
A whole number (no decimal places)
Boolean
String
Integer
Ordinal
The structure of statements in a computer language. This is like grammar for code.
Syntax
Semantics
Logic
Sequence
An additional IF. Allows you to check multiple conditions.
ELIF
ELSE
Debug
While Loop
A conditional statement. IF something is true then 'sequence A' will run. IF is it is not 'sequence B' will run. (allows selection to happen)
ELIF
Loop
IF Statement
Iteration
More than
<
>
=>
=<
Running program at different stages to check that it is running correctly.
Design
Testing
Iteration
Debug
A decision or choice. It is the place where an algorithm or program branches in different directions.
Insertion
Selection
Testing
Iteration
An error that does not stop the program from running, but means that it doesn't do as expected.
Logical error
Syntax error
Debug error
A condition that is True/False
Integer
String
Float
Boolean
Data entered INTO a program or computer system.
Syntax
Input
Output
Storage
Syntax highlighted purple
Function
ELIF
Variable
Integer
To find and fix errors in code.
Debug
!=
Python
Testing
Accesses modules of code from the python library
Import
Filter
Export
Call
A coding language that you are using to create programs in our programming unit.
Python
JavaScript
Php
Java
A loop that will make a set of instructions repeat while a status is TRUE
For Loop
While Loop
Infinite Loop
Not Equal to
=?
!=
<>
-=
