Exam 2: Elements of High-Quality Programs

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags
Match each term with a statement below.
Premises:
The feature of programs that assures you a module has been tested and proven to function correctly
Responses:
Prompt
Identifier
Reliability
Correct Answer:
Verified
Premises:
Responses:
The feature of programs that assures you a module has been tested and proven to function correctly
Prompt
(Matching)
4.7/5
(30)

When the variable starts with a lowercase letter and any subsequent word begins with an uppercase letter, this is called ____.

(Multiple Choice)
4.9/5
(31)
Match each term with a statement below.
Premises:
Named memory locations whose contents can vary or differ over time
Responses:
String variable
Data dictionary
Declaration
Correct Answer:
Verified
Premises:
Responses:
Named memory locations whose contents can vary or differ over time
String variable
(Matching)
4.8/5
(31)

The mainline logic of almost every procedural computer program consists of these three distinct parts: ____ .

(Multiple Choice)
4.8/5
(39)

The assignment operator has left-to-right-to-left associativity, which means that the value of the expression to the left of the assignment operator is evaluated first and that the result is assigned to the operand on the right.

(True/False)
4.9/5
(37)

Discuss why it is important to use meaningful names for identifiers.

(Essay)
4.9/5
(37)

A variable's unknown value is commonly called ____.

(Multiple Choice)
4.9/5
(34)

____ is the process of paying attention to important properties while ignoring nonessential details.

(Multiple Choice)
4.9/5
(30)

Explain the purpose of detail loop tasks.

(Essay)
4.8/5
(30)

Declaring a starting value for a variable is known as ____ the variable.

(Multiple Choice)
4.9/5
(30)
Match each term with a statement below.
Premises:
The act of repeating input back to a user either in a subsequent prompt or in output
Responses:
Prompt
Variables
Data dictionary
Correct Answer:
Verified
Premises:
Responses:
The act of repeating input back to a user either in a subsequent prompt or in output
Prompt
(Matching)
4.9/5
(28)

Whole number variables are known as ____________________ variables.

(Short Answer)
4.8/5
(44)

A string variable can hold digits such as account numbers and zip codes.

(True/False)
4.8/5
(33)

Program ___________________ are written explanations that are not part of the program logic but that serve as documentation for readers of the program.

(Short Answer)
4.7/5
(40)

A specific numeric value is often called a(n)____.

(Multiple Choice)
4.8/5
(35)

The assignment operator is the ____ sign.

(Multiple Choice)
4.7/5
(29)

Depending on the programming language being used, modules are also known as ____ .

(Multiple Choice)
4.9/5
(34)

In most programming languages, before you can use any variable, you must include a ____ for it.

(Multiple Choice)
4.8/5
(29)

A ____ variable is not used for input or output, but instead is just a working variable that you use during a program's execution.

(Multiple Choice)
4.8/5
(27)

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)
4.7/5
(53)
Showing 21 - 40 of 60
close modal

Filters

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