Filters
Question type

Study Flashcards

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
Echoing input
Numeric variable
Identifier
Prompt
Variables
Reliability
Type-safety

Correct Answer

String variable
Data dictionary
Declaration
Echoing input
Numeric variable
Identifier
Prompt
Variables
Reliability
Type-safety

A variable's unknown value is commonly called ____.


A) initial
B) default
C) random
D) garbage

E) None of the above
F) B) and D)

Correct Answer

verifed

verified

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


A) initializing
B) declaring
C) defining
D) identifying

E) B) and D)
F) A) and B)

Correct Answer

verifed

verified

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


A) Hungarian notation
B) Pascal casing
C) camel casing
D) Turing notation

E) B) and D)
F) A) and D)

Correct Answer

verifed

verified

Whole number variables are known as ____________________ variables.

Correct Answer

verifed

verified

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


A) Abstraction
B) Modularization
C) Abbreviation
D) Decomposition

E) B) and C)
F) C) and D)

Correct Answer

verifed

verified

Explain the purpose of detail loop tasks.

Correct Answer

verifed

verified

Detail loop tasks do the core work of th...

View Answer

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


A) housekeeping tasks, main tasks, and end-of-job tasks
B) clearing tasks, detail loop tasks, and end-of-job tasks
C) housekeeping tasks, detail loop tasks, and end-of-job tasks
D) housekeeping tasks, detail loop tasks, and math tasks

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

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


A) named constant
B) defined constant
C) arithmetic constant
D) numeric constant

E) A) and B)
F) B) and D)

Correct Answer

verifed

verified

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


A) subroutines, procedures, or methods
B) subroutines, receptacles, or methods
C) tasks, functions, or methods
D) procedures, functions, or containers

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

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


A) declaration
B) definition
C) header
D) proclamation

E) C) and D)
F) All of the above

Correct Answer

verifed

verified

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


A) programming
B) throw away
C) temporary
D) calculating

E) All of the above
F) None of the above

Correct Answer

verifed

verified

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
Numeric variable
Echoing input
Reliability
Identifier
String variable
Type-safety
Declaration

Correct Answer

Prompt
Variables
Data dictionary
Numeric variable
Echoing input
Reliability
Identifier
String variable
Type-safety
Declaration

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

A) True
B) False

Correct Answer

verifed

verified

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.

A) True
B) False

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

Creating a data item named someData or a...

View Answer

The assignment operator is the ____ sign.


A) *
B) +
C) =
D) /

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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
Type-safety
Echoing input
Numeric variable
Data dictionary
Variables
String variable
Declaration

Correct Answer

Prompt
Identifier
Reliability
Type-safety
Echoing input
Numeric variable
Data dictionary
Variables
String variable
Declaration

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.

A) True
B) False

Correct Answer

verifed

verified

Showing 21 - 40 of 60

Related Exams

Show Answer