5a: Write programs that display messages, receive keyboard input, and use simple arithmetic expressions in assignment statements
| Keyword | Definition |
|---|---|
| algorithm | step by step instructions to solve a problem (which may or may not involve a computer) |
| arithmetic expression | a calculation using mathematical operators like add, subtract, division or multiplication |
| assignment | setting the value of a variable |
| identifier | the name of a variable |
| input | data that goes into a program (e.g. something you type in on a keyboard) |
| output | information that comes out from a program to the real world (e.g. a message on the screen) |
| program | an algorithm that's written in code so it can be run on a computer |
| statement | a line of code that tells a program what to do |
| value | the data stored in a variable |
| variable | a named location in memory which can store a value. The value can change when the program runs. |