Programming Logic and Design - 4th
edition by Tony Graddis | Chapter 1 - 5
answers
The words that make up a high-level programming langage are called - ANSWER-
Key Words
The rules that much be followed when writing a program are called ___ - ANSWER-
Syntax
A(n) _____ program translates a high-level language program into a separate
machine language program - ANSWER-Computer
A ____ error does not prevent the program from running, but causes it to produce
incorrect results - ANSWER-logic
A ____ is a single function that the program must perform in order to satisfy the
customer - ANSWER-software requirement
A(n) ___ is a set of well-defines logical steps that must be take to perform a task -
ANSWER-algorithm
An informal language that has no syntax rules, and is not meant to be compiled or
executed is called _____ - ANSWER-pseudocode
A ___ is a diagram that graphically depicts the steps that take place in a program -
ANSWER-flowchart
A(n) ___ is a set of statements that execute in the order that they appear. -
ANSWER-sequence structure
A ____ is a sequence of characters that is used as data - ANSWER-string
A ___ is a storage location in memory that is represented by a name - ANSWER-
variable
A ____ is any hypothetical person that is using a program and providing input for it. -
ANSWER-user
A(n) _____ is a message that tells (or asks) the user to enter a specific value -
ANSWER-prompt
A(n) ____ sets a variable to a specified value - ANSWER-assignment statement
, In the expression 12 + 7, the values on the right and left of the + symbol are called -
ANSWER-operands
A(n) ____ operator raises a number to a power - ANSWER-exponent
A(n) ____ operator performs division, but instead of returning the quotient it returns
the remainder. - ANSWER-Modulus
A(n) ____ specifies a variable's name and data type. - ANSWER-variable declaration
Assigning a value to a variable in a declaration statement is called _____ -
ANSWER-intilization
A(n) ___ variable is one that has been declared, but has not been initialized or
assigned a value - ANSWER-unintialized
A(n) ___ is a variable whose content has a value that is read only and cannot be
changed during the program's execution - ANSWER-named constant
A debugging process in which you imagine that you are the computer executing a
program is called ____ - ANSWER-hand tracing
Short notes placed in different parts of a program, explaining how those parts of the
program work, are called ____ - ANSWER-comments
A group of statements that exist within a program for the purpose of performing a
specific task is a(n) _____ - ANSWER-module
A benefit of using modules that helps to reduce the duplication of code within a
program is ____ - ANSWER-Code Reuse
The first line of a module definition is known as the ____ - ANSWER-Header and
Body
You ____ the module to execute it - ANSWER-Start
A ____ point is the memory address of the location in the program that the computer
will return to when a module ends - ANSWER-Return Point
A design technique that programmers use to break down an algorithm into modules
is known as ___ - ANSWER-Top-down design
A ____ is a diagram that gives a visual representation of the relationships between
modules in a program - ANSWER-Heirarchy Charts
A ____ is a variable that is declared inside a module - ANSWER-Local Variable
A(n) ___ is the part of a program in which a variable may be accessed - ANSWER-
scope
edition by Tony Graddis | Chapter 1 - 5
answers
The words that make up a high-level programming langage are called - ANSWER-
Key Words
The rules that much be followed when writing a program are called ___ - ANSWER-
Syntax
A(n) _____ program translates a high-level language program into a separate
machine language program - ANSWER-Computer
A ____ error does not prevent the program from running, but causes it to produce
incorrect results - ANSWER-logic
A ____ is a single function that the program must perform in order to satisfy the
customer - ANSWER-software requirement
A(n) ___ is a set of well-defines logical steps that must be take to perform a task -
ANSWER-algorithm
An informal language that has no syntax rules, and is not meant to be compiled or
executed is called _____ - ANSWER-pseudocode
A ___ is a diagram that graphically depicts the steps that take place in a program -
ANSWER-flowchart
A(n) ___ is a set of statements that execute in the order that they appear. -
ANSWER-sequence structure
A ____ is a sequence of characters that is used as data - ANSWER-string
A ___ is a storage location in memory that is represented by a name - ANSWER-
variable
A ____ is any hypothetical person that is using a program and providing input for it. -
ANSWER-user
A(n) _____ is a message that tells (or asks) the user to enter a specific value -
ANSWER-prompt
A(n) ____ sets a variable to a specified value - ANSWER-assignment statement
, In the expression 12 + 7, the values on the right and left of the + symbol are called -
ANSWER-operands
A(n) ____ operator raises a number to a power - ANSWER-exponent
A(n) ____ operator performs division, but instead of returning the quotient it returns
the remainder. - ANSWER-Modulus
A(n) ____ specifies a variable's name and data type. - ANSWER-variable declaration
Assigning a value to a variable in a declaration statement is called _____ -
ANSWER-intilization
A(n) ___ variable is one that has been declared, but has not been initialized or
assigned a value - ANSWER-unintialized
A(n) ___ is a variable whose content has a value that is read only and cannot be
changed during the program's execution - ANSWER-named constant
A debugging process in which you imagine that you are the computer executing a
program is called ____ - ANSWER-hand tracing
Short notes placed in different parts of a program, explaining how those parts of the
program work, are called ____ - ANSWER-comments
A group of statements that exist within a program for the purpose of performing a
specific task is a(n) _____ - ANSWER-module
A benefit of using modules that helps to reduce the duplication of code within a
program is ____ - ANSWER-Code Reuse
The first line of a module definition is known as the ____ - ANSWER-Header and
Body
You ____ the module to execute it - ANSWER-Start
A ____ point is the memory address of the location in the program that the computer
will return to when a module ends - ANSWER-Return Point
A design technique that programmers use to break down an algorithm into modules
is known as ___ - ANSWER-Top-down design
A ____ is a diagram that gives a visual representation of the relationships between
modules in a program - ANSWER-Heirarchy Charts
A ____ is a variable that is declared inside a module - ANSWER-Local Variable
A(n) ___ is the part of a program in which a variable may be accessed - ANSWER-
scope