Exam 2: Elements of High-Quality Programs

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

____ variables and constants are known to the entire program.

Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
Verified

D

What are end-of-job tasks?

Free
(Essay)
4.7/5
(41)
Correct Answer:
Verified

End-of-job tasks are the steps you take at the end of the program to finish the application. You can call these finish-up or clean-up tasks. They might include displaying totals or other final messages and closing any open files.

Declaring a starting value is known as ____________________ the variable.

Free
(Short Answer)
4.9/5
(34)
Correct Answer:
Verified

initializing

In a flowchart, an ____ is most often represented by a three-sided box that is connected to the step it references by a dashed line.

(Multiple Choice)
4.8/5
(38)

Variable names can be more than one word with blanks between the words.

(True/False)
4.9/5
(34)

Fractional numeric variables that contain a decimal point are known as ____ variables.

(Multiple Choice)
4.8/5
(37)

Each programming language has a few reserved ____________________ that are not allowed as variable names because they are part of the language's syntax.

(Short Answer)
4.9/5
(42)

List three design features that you can use while creating programs to make them easier to write and maintain.

(Essay)
4.7/5
(39)
Match each term with a statement below.
Premises:
A statement that provides a data type and an identifier for a variable
Responses:
Echoing input
Variables
Identifier
Correct Answer:
Verified
Premises:
Responses:
A statement that provides a data type and an identifier for a variable
Echoing input
(Matching)
4.9/5
(32)

Programmers say that variables and constants declared within a module are ____ only within that module.

(Multiple Choice)
4.8/5
(46)

Modularization makes it harder for multiple programmers to work on a problem.

(True/False)
4.8/5
(30)

Programmers generally write programs as one long series of steps.

(True/False)
4.8/5
(34)

What does a data item's data type describe?

(Essay)
5.0/5
(31)

Because one memory location can be used repeatedly with different values, you can write program instructions once and then use them for thousands of separate calculations

(True/False)
4.8/5
(37)

___________________ tasks include any steps you must perform at the beginning of a program to get ready for the rest of the program.

(Short Answer)
4.8/5
(30)
Match each term with a statement below.
Premises:
Can hold digits and have mathematical operations performed on it
Responses:
Data dictionary
Identifier
Echoing input
Correct Answer:
Verified
Premises:
Responses:
Can hold digits and have mathematical operations performed on it
Data dictionary
(Matching)
4.9/5
(44)

The process of naming program variables and assigning a type to them is called ____ variables.

(Multiple Choice)
4.7/5
(37)

Program comments are a type of internal documentation.

(True/False)
5.0/5
(38)

____ is where a variable's data type or other information is stored as part of the name.

(Multiple Choice)
4.8/5
(32)

Most modern programming languages require that program statements be placed in specific columns.

(True/False)
4.8/5
(30)
Showing 1 - 20 of 60
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)