Questions With Verified Solutions
A program gets data, perhaps from a file, keyboard, touchscreen,
network, etc. Correct Answer - input
A program performs computations on that data, such as adding two
values like x + y. Correct Answer - process
A program puts that data somewhere, such as to a file, screen,
network, etc. Correct Answer - Output
Used by programs to refer to data. It is a named item, used to hold a
value. Correct Answer - variable
A graphical language for creating computer programs. Correct
Answer - flowchart
A list of statements, each statement carrying out some action and
executing one at a time. Correct Answer - Program
Words for carrying out a program's statements. Correct Answer -
Run, execute
Text (characters) within double quotes. Correct Answer -
String literal
, Any letter (a-z, A-Z), digit (0-9), or symbol (~, !, @, etc.). Correct
Answer - Characters
Special two-character sequence \n whose appearance in an output
string literal causes the cursor to move to the next output line.
Correct Answer - newline
Text a programmer adds to a program, to be read by humans (other
programmers), but ignored by the program when executing.
Correct Answer - comment
Engineers have reduced switch sizes by half about every 2 years.
Correct Answer - Moore's Law
A single 0 or 1. Correct Answer - bit
Eight bits. Ex. 11000101 Correct Answer - byte
American Standard Code for Information Interchange. Code that is
the numerical representation of a character. Ex. Z would be stored in
a computer as 1011010. Correct Answer - ASCII
Text that resembles a program in a real programming language but
is simplified to aid human understanding. Correct Answer -
Pseudocode
Assigns a variable with a value, such as X=5. Correct Answer -
assignment statement
declares a new variable, specifying the variable's name and type.
Correct Answer - variable declaration