True |
At any moment in time, a variable can hold more than one value. (True/False) |
True |
The ability of variables to change in value is what makes computers and programming worthwhile. (True/False) |
True |
In many programming languages, if you declare a variable and do not initialize it, the variable contains an unknown value until it is assigned a value. (True/False) |
True |
Programmers generally write programs as one long series of steps. (True/False) |
True |
Most modern programming languages require that program statements be placed in specific columns. (True/False) |
variables; literals, or unnamed constants; and named constants |
When you write programs, you work with data in three different forms: |
Declaration |
In most programming languages, before you can use any variable, you must include a ____ for it. |
Declaring |
The process of naming program variables and assigning a type to them is called ____ variables. |
Garbage |
A variable’s unknown value is commonly called ____. |
Mnemonic |
You can also refer to a variable name as a ____. |
Camel Casing |
When the variable starts with a lowercase letter and any subsequent word begins with an uppercase letter, this is called ____. |
Pascal |
When the first letter of a variable name is uppercase, as in HourlyWage, the format is known as ____ casing. |
Numeric constant |
A specific numeric value is often called a ____. |
Floating-point |
Fractional numeric variables that contain a decimal point are known as ____ variables. |
Named constant |
A(n) ____ is similar to a variable, except it can be assigned a value only once. |
Rules of precedence |
The ____ dictate the order in which operations in the same statement are carried out. |
Modularization |
The process of breaking down a large program into modules is called ____. |
Abstraction |
____ is the process of paying attention to important properties while ignoring nonessential details. |
Encapsulated |
Programmers say the statements that are contained in a module have been ____. |
In scope |
Programmers say that variables and constants declared within a module are ____ only within that module. |
Global |
____ variables and constants are known to the entire program. |
Hierarchy chart |
When a program has several modules calling other modules, programmers often use a program ____, which operates similarly to an organizational chart, to show the overall picture of how modules are related to one another. |
Annotation symbol |
An ____ is most often represented by a three-sided box that is connected to the step it references by a dashed line. |
Self-documenting |
Programmers refer to programs that contain meaningful names as ____. |
Hungarian notation |
____ is where a variable’s data type or other information is stored as part of the name. |
Temporary |
A ____ variable is not used for input or output, but instead is just a working variable that you use during a program’s execution. |
Initializing |
Declaring a starting value is known as ____ the variable. |
Keywords |
Each programming language has a few reserved ____ that are not allowed as variable names because they are part of the language’s syntax. |
Integer |
Whole number numeric variables are known as ____ numeric variables. |
Housekeeping |
____ tasks include any steps you must perform at the beginning of a program to get ready for the rest of the program. |
Comments |
Program ____ are written explanations that are not part of the program logic but that serve as documentation for readers of the program. |
Variables |
Named memory locations whose contents can vary or differ over time |
Declaration |
A statement that provides a data type and an identifier for a variable |
Identifier |
A variable’s name |
Numeric variable |
Can hold digits and have mathematical operations performed on it |
String variable |
Can hold text, such as letters of the alphabet, and other special characters, such as punctuation marks |
Reliability |
The feature of programs that assures you a module has been tested and proven to function correctly |
Data dictionary |
A list of every variable name used in a program, along with its type, size, and description |
Prompt |
A message that is displayed on a monitor to ask the user for a response and perhaps explain how that response should be formatted |
Echoing input |
The act of repeating input back to a user either in a subsequent prompt or in output |
Web & Programming Concepts Test 2
Share This
Unfinished tasks keep piling up?
Let us complete them for you. Quickly and professionally.
Check Price