The keyword 'print' outputs text in brackets to the screen
Respuesta
True
False
Pregunta 2
Pregunta
To store data in a program we use a variable followed by this sign
Respuesta
colon (:)
equals (=)
hyphen (-)
Pregunta 3
Pregunta
To allow the user of a program to enter data in response to a question we use the keyword 'int'
Respuesta
True
False
Pregunta 4
Pregunta
Data that consists of letters, characters, spaces and numbers is this data type:
Respuesta
string
integer
float
Pregunta 5
Pregunta
To cast a number back to string we use int( )
Respuesta
True
False
Pregunta 6
Pregunta
To tell a program to only run if a specified condition is met, we use:
Respuesta
else
elif
if
Pregunta 7
Pregunta
Iteration means:
Respuesta
the program will end
the program will loop
Pregunta 8
Pregunta
To make a program easier to read and understand we use a line of text to explain part of the code. So that the line of text does not become confused as part of the actual program, we use this character:
Respuesta
#
*
Pregunta 9
Pregunta
Boolean conditions can only have 1 of 2 possible values, e.g. ==, !=