1/31
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
What does IDLE/IDE stand for
Integrated Development (learning) environment
Syntax errors
If a syntax error appears, it is because there is something wrong with the grammar i.e. spelling/ punctuation
What is a variable
It is an address to a memory location that contains data that could change
String definition
Characters with speech marks
Integer definition
Numbers without speech marks
What are arithmetic operators
It is symbols we use in calculations
Add symbol in phython
+
Subtract symbol in Phython
-
Multiply symbol in phython
*
Divide symbol in Phython
/
Integer definition
A whole number
Float definition
A decimal number
What is data casting
It’s the technical name for changing a data type of a value in the program
iteration definition
A section of code winch is programmed to repeat itself
What is the name of the display window when you first open IDLE
Shell
Boolean definition
It is either true or false, they are used to represent logical values
What is a sequence
It’s the order in which instructions occur and are processed.
What is selection
It determines which path a program takes when it is running
What is iteration
It is the repeated execution of a section of code when a program is running
What happens if you use IF
You can be specific but only ONCE
What happens if you use ELSE
You can give as many options as you want, but you cant be specific
What happens when you use ELIF
You can give as many options as you want and be specific
Nesting definition
It allows for powerful and simple programming, it reduces the amount of code needed, while making it simple for the programmer
What is iteration also known as
Looping
Definition of nested selection
A programming technique where selection statements are placed inside other selection statements, allowing for complex decision-making.
What is one of the two types of iteration
Count - controlled “for loops”
The second type is iteration is
Condition - controlled “while loops”
For loops definition
Something you repeat for a certain amount of time
While loops definition
The number something is done without knowing how many time to repeat
Definition of lists
It is used to store multiple items in a single variable
Definition of array
It is a special variable, which can hold more than one value at a time
Definition of procedure
It is a set of instructions for a computer that has a name by which it can be called in to action