FOUNDATIONS / FINAL EXAM REVIEW / ACTUAL
QUESTIONS AND ANSWERS (A+ GUIDE SOLUTION)
Practice questions for this set
Learn
Studied terms
Nice work, you're crushing it
Continue studying in Learn
Terms in this set (85)
Program Consists of instructions executing one at a time.
Input A program gets data, perhaps from a file, keyboard,
touchscreen, network, etc.
Process A programs performs computations on that data, such as
adding two values like x + y.
Output A programs puts that data somewhere, such as to a file,
screen, network, etc.
Computational thinking Creating a sequence of instructions to solve a problem.
Algorithm A sequence of instructions that solves a problem.
, Statement Carries out some action and executing one at a time.
Consists of text (characters)
within double quotes,
String literal as in "Go #57!".
Indicates where the next output
item will be placed
Cursor in the output.
Newline A special two-character sequence \n whose appearance
in an output string literal causes the cursor to move to
the next output line. The newline exists invisibly in the
output.
Text added to a program, read by
humans to
Commentunderstand the code, but ignored by the program
when executed.
Whitespace Refers to blank spaces (space and tab characters) between
items within a statement, and to newlines. Whitespace
helps improve readability for humans, but for execution
purposes is mostly ignored.
Pseudocode Text that resembles a program in a real
programming language but is simplified to aid
human understanding.
Assignment statement Assigns a variable with a value, such as x = 5. An assignment
statement's left side must be a variable. The right side is an
expression.Examples: x = 5, y = a, or z = w + 2.
= In programming, = is an assignment of a left-side
variable with a right-side value. It does not represent
equality like in mathematics.
Declares a new variable, specifying the variable's name and
Variable declaration
type.