Exam 2: Elements of High-Quality Programs

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

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.

(Multiple Choice)
4.9/5
(40)

List three reasons for modularizing a large program.

(Essay)
4.9/5
(39)

When the first letter of a variable name is uppercase, as in HourlyWage , the format is known as ____ casing.

(Multiple Choice)
4.9/5
(33)
Match each term with a statement below.
Premises:
A program component's name
Responses:
Declaration
String variable
Data dictionary
Correct Answer:
Verified
Premises:
Responses:
A program component's name
Declaration
(Matching)
4.7/5
(34)

Programmers refer to programs that contain meaningful names as ____.

(Multiple Choice)
4.9/5
(32)

The process of breaking down a large program into modules is called ____.

(Multiple Choice)
4.9/5
(35)
Match each term with a statement below.
Premises:
A list of every variable name used in a program, along with its type, size, and description
Responses:
String variable
Identifier
Variables
Correct Answer:
Verified
Premises:
Responses:
A list of every variable name used in a program, along with its type, size, and description
String variable
(Matching)
4.9/5
(38)

What items should you include when you create a module?

(Essay)
4.8/5
(41)

Explain the purpose of annotation symbols.

(Essay)
5.0/5
(34)

A(n)____ is similar to a variable, except it can be assigned a value only once.

(Multiple Choice)
4.9/5
(30)

When you write programs, you work with data in three different forms: ____.

(Multiple Choice)
4.9/5
(37)
Match each term with a statement below.
Premises:
The feature of programming languages that prevents assigning values of an incorrect data type
Responses:
Prompt
Identifier
Numeric variable
Correct Answer:
Verified
Premises:
Responses:
The feature of programming languages that prevents assigning values of an incorrect data type
Prompt
(Matching)
4.8/5
(45)

Discuss why it is important to maintain good programming habits.

(Essay)
4.9/5
(38)

Programmers say the statements that are contained in a module have been ____.

(Multiple Choice)
4.8/5
(40)

As programs become larger and more complicated, the need for good planning and design ____ .

(Multiple Choice)
4.9/5
(38)

Explain the purpose of temporary variables.

(Essay)
4.9/5
(44)
Match each term with a statement below.
Premises:
A message that is displayed on a monitor to ask the user for a response and perhaps explain how that response should be formatted
Responses:
Reliability
Data dictionary
Echoing input
Correct Answer:
Verified
Premises:
Responses:
A message that is displayed on a monitor to ask the user for a response and perhaps explain how that response should be formatted
Reliability
(Matching)
4.9/5
(38)
Match each term with a statement below.
Premises:
Can hold text, such as letters of the alphabet, and other special characters, such as punctuation marks
Responses:
Type-safety
Echoing input
Prompt
Correct Answer:
Verified
Premises:
Responses:
Can hold text, such as letters of the alphabet, and other special characters, such as punctuation marks
Type-safety
(Matching)
4.8/5
(31)

All programming languages support four broad data types.

(True/False)
4.8/5
(30)

The ____ dictate the order in which operations in the same statement are carried out.

(Multiple Choice)
4.8/5
(44)
Showing 41 - 60 of 60
close modal

Filters

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