Programming Flashcards
What are the five data types
Integer, real/float, string, character and Boolean
What is integer
Integer is a whole number
What is a real/float?
A real is a decimal number
What is character?
A character is a single letter or number
What is a string?
A piece of text
What is a Boolean?
TRUE or FALSE
What is a sequence?
This is a set of instructions that follow on one from another
What is a selection ?
A decision within a computer program when the program decides to move on based on the results of an event.
What is iteration?
The repetition of a block of statements within a computer program.
What is a variable ?
Data that changes
What is a constant ?
Data that remains the same
What is an array?
One method of storing data in an organised structure
What is a constant declaration ?
A value that increases or decreases at a constant rate each time
What is an assignment?
The instruction that is carried out in order to get the variable value
Python examples of input ?
Text, click button