Filters
Question type

Study Flashcards

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

Correct Answer

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

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.


A) hierarchy chart
B) tree chart
C) flow chart
D) data diagram

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

Correct Answer

verifed

verified

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


A) decomposing
B) modularization
C) fragmentation
D) caching

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

Correct Answer

verifed

verified

Explain the purpose of temporary variables.

Correct Answer

verifed

verified

When you need several mathematical opera...

View Answer

What items should you include when you create a module?

Correct Answer

verifed

verified

When you create a module, you include th...

View Answer

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


A) decreases
B) is inefficient
C) is not necessary
D) increases

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

Correct Answer

verifed

verified

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


A) rules of precedence
B) statement rules
C) operation rules
D) rules of arithmetic

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

Correct Answer

verifed

verified

Match each term with a statement below.

Premises
A program component's name
Responses
Declaration
String variable
Data dictionary
Type-safety
Identifier
Echoing input
Variables
Numeric variable
Prompt
Reliability

Correct Answer

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

All programming languages support four broad data types.

A) True
B) False

Correct Answer

verifed

verified

Explain the purpose of annotation symbols.

Correct Answer

verifed

verified

In a flowchart, you can use an annotatio...

View Answer

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


A) unnamed constant
B) literal
C) named constant
D) constant

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

Correct Answer

verifed

verified

List three reasons for modularizing a large program.

Correct Answer

verifed

verified

1)Modularization provides abst...

View Answer

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


A) values, variables (or named values) , and unnamed values
B) variables, named constants, and named memory
C) variables, literals (or unnamed constants) , and named constants
D) variations, RAM (or unnamed constants) , and named values

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

Correct Answer

verifed

verified

Programmers refer to programs that contain meaningful names as ____.


A) undocumented
B) procedurally documented
C) formally documented
D) self-documenting

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

Correct Answer

verifed

verified

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
String variable
Prompt
Variables
Type-safety
Identifier
Numeric variable
Declaration

Correct Answer

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

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


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

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

Correct Answer

verifed

verified

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


A) embedded
B) decomposed
C) encapsulated
D) modularized

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

Correct Answer

verifed

verified

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

Correct Answer

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

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
String variable
Data dictionary
Variables
Numeric variable
Reliability
Identifier
Declaration

Correct Answer

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

Discuss why it is important to maintain good programming habits.

Correct Answer

verifed

verified

When you learn a programming language an...

View Answer

Showing 41 - 60 of 60

Related Exams

Show Answer