Exam 2: Elements of High-Quality Programs
Exam 1: An Overview of Computers and Programming60 Questions
Exam 2: Elements of High-Quality Programs60 Questions
Exam 3: Understanding Structure60 Questions
Exam 4: Making Decisions60 Questions
Exam 5: Looping60 Questions
Exam 6: Arrays60 Questions
Exam 7: File Handling and Applications60 Questions
Select questions type
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:
Premises:
Responses:
(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:
Premises:
Responses:
(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)
____ is the process of paying attention to important properties while ignoring nonessential details.
(Multiple Choice)
4.9/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:
Premises:
Responses:
(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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)