Chapter 2 Cisp 300
Card Set Information
Chapter 2 Cisp 300
Chapter Cisp 300
Chapter 2 Cisp 300
describes data that consists of numbers.
describes data that is non-numeric
is a whole number
is a number with decimal places
are floating-point numbers
numeric constant (literal numeric constant)
a specific numeric value
string constant (literal string constant)
a specific group of characters enclosed within quotation marks
can contain alphabetic characters, numbers, and punctuation.
a literal numeric or string value
a statement that provides a data type and an identifier for a variable
is a program component's name
A data items DATA TYPE
is a classification that describes what values can be assigned, how the item is stored, and what types of operations can be performed with them
describes the unknown value stored in an unassigned variable.
comprise the limited word set that is reserved in programming languages.
is a variable-naming convention in which the initial letter is lowercase, multiple-word variable names are run together, and each new word within the variable name is capitalized
is a variable-naming convention in which the initial letter is uppercase, multiple-word
variable names are run together, and each new
word within the variable name is capitalized
is a variable-naming convention in which a variable's data type or other information is stored as part of its name.
is the equal sign; it is used to assign a value to the variable or constant on its left
assigns a value from the right of an assignment operator to the variable or constant on the left side of the assignment operator
is an operator that requires two operands- one and each side
Right-associativity (right-to-left associativity)
Describes operators that evaluate the expression to the right first.
is the memory address identifier to the left of an assignment operator
is one that can hold digits, have mathematical operations performed on it, and usually hold a decimal point or a sign that indicates that it is positive or negative.
can hold text that includes letters, digits, and special characters.
is the feature of programming languages that prevents assigning values of an incorrect data type
is similar to a variable, except that its value cannot change after the first assignment
is an unnamed constant whose purpose is not immediately apparent
the additional resources a task requires.
describes operators that evaluate the expression to the left first.
are small program units that you can use together to make a program. Programmers also refer to modules as subroutines, procedures, functions, or methods
Call a module
is to use the module's name to invoke it, causing it to execute
is the process of breaking down a program into modules.
is the act of reducing a large program into more manageable modules
is the process of paying attention to important properties while ignoring nonessential details.
is the feature of modular programs that allows individual modules to be used in a variety of applications
is the feature of modular programs that assures you a module has been tested and proven to function correctly.
runs from start to finish and calls other modules.
is the logic that appears in a program's main module; it calls other modules.
includes the module identifier and possibly other necessary identifying information
contains all the statements in a module
Module return statement
marks the end of the module and identifies the point at which control returns to the program or module that called the module.
is the act of containing a task's instruction in a module
is a memory location in which the computer keeps track of the correct memory address to which it should return after executing a module.
The functional cohesion
of a module is a measure of the degree to which all the module statements contribute to the same task.
describes the state of data items when a module can recognize them.
describes the state of data that is visible
describes variables that are declared within the module that uses them
is one that can be more easily used in multiple programs
describes variables that are known to an entire program.
where global variables are declared.
include steps you must perform at the beginning of a program to get ready for the rest of the program.
Detail loop tasks
of a program include the steps that are repeated for each set of input data
hold the steps you take at the end of the program to finish the application.
is a diagram that illustrates modules' relationships to each other.
Are written explanations that are not part of the program logic but serve as documentation for those reading the program
An annotation symbol
contains information that expands on what appears in another flowchart symbol; it is most often represented by a three-sided box that is connected to the step it references by a dashed line.
are those that contain meaningful data and modules names that describe the programs' purpose.
A Data Dictionary
is a list of evert variable name used in a program, along with its type, size, and description.
Temporary variable (work variable)
is a working variable that you use to hold intermediate results during a programs execution.
is a message that is displayed on a monitor to ask the user for a response and perhaps explain how that response should be formatted.
is the act of repeating input back to the user either in a subsequent prompt or in output