Zusammenfassung der Ressource
Frage 1
Frage
The keyword 'print' outputs text in brackets to the screen
Frage 2
Frage
To store data in a program we use a variable followed by this sign
Antworten
-
colon (:)
-
equals (=)
-
hyphen (-)
Frage 3
Frage
To allow the user of a program to enter data in response to a question we use the keyword 'int'
Frage 4
Frage
Data that consists of letters, characters, spaces and numbers is this data type:
Frage 5
Frage
To cast a number back to string we use int( )
Frage 6
Frage
To tell a program to only run if a specified condition is met, we use:
Frage 7
Antworten
-
the program will end
-
the program will loop
Frage 8
Frage
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:
Frage 9
Frage
Boolean conditions can only have 1 of 2 possible values, e.g. ==, !=