Programming Basics Flashcards
A sequence of statements
Program
A tool that runs a program’s statements
Interpreter
The act of carrying out each statements action
Run
A name that can hold a value
Variable
A specific action in a program
Statement
Shape used for an input statement
Parallelogram
Consists of text (characters) within double quotes, as in “Go #57!”
String Literal
Includes any letter (a-z, A-Z), digit (0-9), or symbol (~, !, @, etc.)
Character
Indicates where the next output item will be placed in the output
Cursor
A special two-character sequence \n whose appearance in an output string literal causes the cursor to move to the next output line
Newline
Outputting a variable’s value
Put x to output. No quotes surround variable x’s name
Text a programmer adds to a program, to be read by humans to better understand the code, but ignored by the program when executing. Starts with //
Comment
Blank spaces (space and tab characters) between items within a statement, and to newlines
Whitespace
Developed in 1963 and uses 7 bits per code, and has codes for 128 characters
ASCII (American Standard Code for Information Interchange)
Text that resembles a program in a real programming language but is simplified to aid human understanding.
Pseudocode