Cmis 130

25 July 2022
4.7 (114 reviews)
132 test answers

Unlock all answers in this set

Unlock answers (128)
question
The entire set of actions an organization must take to switch over to using a new program or set of programs is called ____.
answer
conversion
question
In a flowchart, you use a ____ to represent a processing symbol.
answer
rectangle
question
The ____ of a language are the rules that govern word usage and punctuation.
answer
syntax error
question
An important feature of modern programming is the ability to build programs from smaller segments. This is known as ____.
answer
modularity
question
The ____ dictate the order in which operations in the same statement are carried out.
answer
rules of operation
question
__ programming focuses on objects, or "things," and describes their attributes and behaviors.
answer
Object-oriented
question
____ are named memory locations, whose contents can vary over time.
answer
Variables
question
____ are the two major components of any computer system.
answer
Hardware and software
question
____ is an English-like representation of the logical steps it takes to solve a problem.
answer
Pseudocode
question
___ is the process of updating programs after the programs are put into production
answer
Maintenance
question
A(n) ____ loop is a repeating flow of logic that never ends.
answer
infinite
question
A variable's ____ describes the kind of values the variable can hold, how much memory the value occupies, and the types of operations that can be performed with the data stored there.
answer
data type
question
The language translation software that converts a programmer's statements to binary form is called a ____.
answer
compiler
question
In many modern programming languages, the equal sign is the _______.
answer
assignment operator
question
____ programming focuses on breaking down programming processes into manageable subtasks.
answer
Procedural
question
____ a program is when a programmer can execute the program with some sample data to see whether the results are logically correct.
answer
Testing
question
Word-processing programs, spreadsheets, payroll and inventory programs, and even games are considered to be ____.
answer
application software
question
____ are instruction sets written by programmers.
answer
Programs
question
To use a computer program, you must first load it into the computer's ____.
answer
Memory
question
You must always ____ a variable before you can use it for the first time in a program.
answer
declare
question
____ is the process of walking through a program's logic on paper before you actually write the program.
answer
Desk-checking
question
The ____ dictate the order in which operations in the same statement are carried out.
answer
rules of precedence
question
A(n) ____ is the sequence of steps necessary to solve any problem.
answer
algorithm
question
A ____ variable can have mathematical operations performed on it.
answer
numeric
question
In a flowchart, you use a ____ to represent a processing symbol.
answer
Rectangle
question
You represent a decision in a flowchart by drawing a decision symbol, which is shaped like a ____.
answer
diamond
question
A ____ variable can hold letters of the alphabet and other special characters such as punctuation marks.
answer
string
question
A(n) ____ value is a predetermined value that means "Stop the program!"
answer
sentinel
question
A(n) ____ is a pictorial representation of logical steps it takes to solve a problem.
answer
Flowchart
question
You can use an ____ statement to clearly show where the actions that depend on a decision end.
answer
endif
question
In a loop, if the answer to the question results in the loop being entered and the loop statements executing, then the logic ____.
answer
returns to the question that started the loop
question
The endif and endwhile statements are know as ____ statements.
answer
end-structure
question
Programs that do not follow the rules of structured logic are ____ programs.
answer
unstructured
question
Years ago, programmers could avoid using structure by inserting a ____ statement into their pseudocode.
answer
go to
question
The ____ used in the pseudocode reflects the logic you can see laid out graphically in the flowchart.
answer
indentation
question
In a ____ structure, you continue to repeat actions while a condition is true.
answer
loop
question
The popular name for logically snarled program statements is ____ code.
answer
spaghetti
question
One way to straighten out an unstructured flowchart segment is to use the "____" method.
answer
spaghetti bowl
question
The purpose of the ____ input step is to control the upcoming loop.
answer
priming
question
A ____ input is the statement that reads the first input value in a program.
answer
priming
question
A group of statements that executes as a single unit is a(n) ____.
answer
block
question
Programs that use ____ code are so difficult to alter that when improvements are required, developers often find it easier to abandon the existing program and start from scratch.
answer
spaghetti
question
A repetition or iteration loop is known as a(n) ____ structure.
answer
while...do
question
Placing a structure within another structure is called ____.
answer
Nesting
question
Structured programs can be easily broken down into routines or ____ that can be assigned to any number of programmers.
answer
modules
question
The action or actions that occur within a loop are known as ____.
answer
loop body
question
The following pseudocode is an example of a(n) ____ structure. get firstNumber get secondNumber add firstNumber and secondNumber print result
answer
sequence
question
The following pseudocode is an example of a ____ structure. if on the beach use sunscreen
answer
single-alternative selections
question
With a decision structure or ____ structure you ask a question, and, depending on the answer, you take one of two courses of action.
answer
selection
question
With a(n) ____ structure, you perform an action or task, and then you perform the next action in order.
answer
sequence
question
A ____ can contain any number of tasks, but there is no chance to branch off and skip any of the tasks.
answer
sequence
question
____ structures are attached end-to-end.
answer
Stacking
question
A ____ is a basic unit of programming logic; each structure is a sequence, selection, or loop.
answer
structure
question
The following pseudocode is an example of a ____ structure. if firstNumber is bigger than secondNumber then print firstNumber else print secondNumber
answer
selection
question
All logic problems can be solved using only the three structures—____.
answer
sequence, selection, and loop
question
In structured programs, structures can be stacked or connected to one another only at their entry point or ____.
answer
exit point
question
if-else examples can also be called ____, because they contain the action taken when the tested condition is true and the action taken when it is false.
answer
dual-alternative selections
question
When you use a(n) ____ check, you compare a variable to a series of values that mark the limiting ends of ranges.
answer
Range
question
C#, C++, C, and Java use the symbol ____ to represent the logical OR.
answer
||
question
In an OR decision, it is more efficient to first ask the question that is more likely to be ____.
answer
True
question
A ____ of values is every value between low and high limits.
answer
range
question
True/false evaluation is "natural" from a computer's standpoint because computer circuitry consists of two-state on-off switches, often represented by ____.
answer
1 or 0
question
The ____ operator evaluates as true when the left operand is less than or equivalent to the right operand.
answer
X AND Y OR Z
question
You use the logical ____ operator to reverse the meaning of a Boolean expression.
answer
NOT
question
In any Boolean expression, the two values compared can be either variables or ____.
answer
constants
question
Which of the lettered choices is equivalent to the following decision? if a > 10 then if b > 10 then output "OK" endif endif
answer
if a > 10 AND b > 10 then output "OK"
question
When several decisions are based on the value of the same variable, many programming languages offer a shortcut called the ____ structure.
answer
case
question
The conditional AND operator in Java, C++, and C# consists of ____.
answer
||
question
A(n) ________ or unreachable path is a logical path that can never be traveled.
answer
dead
question
In an AND decision, it is more efficient to first ask the question that is less likely to be ____.
answer
true
question
A(n) ____ is a value on either side of an operator.
answer
operand
question
Which of the following pseudocode selects all people over 21?
answer
if age > 21 then
question
Any decision can be made using combinations of just three types of comparisons: _____.
answer
equal to, greater than, and less than
question
There are ____ relational comparison operators supported by all modern programming languages.
answer
six
question
In C++, Java, and C#, the ____ is the symbol used for the NOT operator.
answer
exclamation point
question
A series of nested if statements is also called a ____ if statement.
answer
cascading
question
____ are diagrams used in mathematics and logic to help describe the truth of an entire expression based on the truth of its parts.
answer
Truth tables
question
When you combine AND and OR operators, the AND operators take ____, meaning their Boolean values are evaluated first.
answer
precedence
question
Each part of an expression that uses an AND operator is evaluated only as far as necessary to determine whether the entire expression is true or false, this feature is called ____ evaluation.
answer
short-circuit
question
A ____ is created when you need to ask multiple questions before an outcome is determined.
answer
compound condition
question
A ____ is one that represents only one of two states, true or false.
answer
Boolean expression
question
Many programming languages allow you to use ____ to correct your logic when using ANDs and ORs and force the OR expression to be evaluated first.
answer
parentheses
question
Sometimes you want to take action when one or the other of two conditions is true, this type of compound condition is called a(n) ____ decision.
answer
OR
question
When one loop is nested within another, the containing loop is the ____ loop.
answer
Outer
question
When one loop is nested within another, the loop that is contained is the ____ loop.
answer
inner
question
The ____ is the location on your computer screen at which you type entries to communicate with the computer's operating system using text.
answer
command prompt
question
Which of the following is NOT a mistake that programmers commonly make with loops?
answer
Which of the following is NOT a mistake that programmers commonly make with loops?
question
A(n) ____ is a variable that you use to gather or accumulate values.
answer
accumulator
question
When you write a loop, you must control the number of repetitions it performs; if you do not, you run the risk of creating a(n) ____ loop.
answer
infinite
question
A ____ is the structure that repeats actions while some condition continues.
answer
loop
question
Programmers use the term "____" to describe programs that are well designed and easy to understand and maintain.
answer
elegant
question
As long as a Boolean expression remains true, a ____ loop's body executes.
answer
While
question
Many programs are not run at the command prompt in a text environment, but are run using a ____, which allows users to interact with a program in a graphical environment.
answer
GUI
question
Program logic gets more complicated when you must use loops within loops, creating ____ loops.
answer
nested
question
When you use a ____ within a computer program, you can write one set of instructions that operates on multiple, separate sets of data.
answer
loop
question
A loop for which the number of iterations is predetermined is called a(n) ____ loop, or counted loop.
answer
definite
question
To indicate end-of-file, use the ____ indicator.
answer
EOF
question
Reports that include some output for every input record are ____ reports.
answer
Detail
question
With a ____ loop, the loop body executes once before the loop-controlling condition is tested.
answer
Controlled
question
Every high-level computer programming language contains a ____ statement that you can use to code any loop, including both indefinite and definite loops.
answer
while
question
Some loops are controlled by reducing, or ____.
answer
decrementing
question
Often, the value of a loop control variable is not altered by arithmetic, but instead is altered by ____.
answer
user input
question
A(n) ____ is any numeric variable you use to count the number of times an event has occurred.
answer
counter
question
Loops are frequently used to ____ data; that is, to make sure values fall within an acceptable or reasonable range.
answer
validate
question
Business reports that list no individual detail records, just totals, are called ____ reports.
answer
Summary
question
A(n) ____ value is a number you use to increase a loop control variable on each pass through a loop.
answer
step
question
The decision that controls every loop is always based on a ____ expression.
answer
Boolean
question
The ____ statement uses a loop control variable and provides you with three actions automatically in one compact statement: initialization, evaluation and incrementation.
answer
for
question
When you search through a list from one end to the other, you are performing a ____ search.
answer
linear
question
When you use parallel arrays, a ____ relates the arrays.
answer
Subscript
question
In most modern programming languages, the highest subscript you should use with an 8-element array is ____ .
answer
7
question
All array elements have the same ____ name.
answer
Group
question
An element in an array is 3 bytes long and there are 10 elements in the array. How big is the array?
answer
30 bytes
question
Most programming languages use a statement similar to the following to declare a three-element array and assign values to it: ____
answer
num someVals[3] = 20, 30, 40
question
The relationship between an item's number and its price is a(n) ____ relationship.
answer
indirect
question
The true benefit of an array lies in your ability to use a(n) ____ as a subscript to the array.
answer
Variable
question
In ____ arrays, each element in one array is associated with the element in the same relative position in the other array.
answer
parallel
question
When declaring an array, depending on the syntax rules of the programming language you use, you place the subscript within parentheses or ____ following the group name.
answer
Square Brackets
question
Each individual element in an array has a unique ____ indicating how far away it is from the first element.
answer
Subscript
question
When you use parallel arrays, two or more arrays contain ____ data.
answer
Related
question
Frequently, a flag holds a ____ value.
answer
True or False
question
A ____ search starts looking in the middle of a sorted list, and then determines whether it should continue higher or lower.
answer
Binary
question
When you have a six element array and use subscript 6, your subscript is said to be out of ____.
answer
Bounds
question
The ____ is a particularly convenient tool when working with arrays because you frequently need to process every element of an array from beginning to end.
answer
For loop
question
A(n) ____, also called an index, is a number that indicates the position of a particular item within an array.
answer
subscript
question
Any array's subscripts are always a ____ of integers.
answer
sequence
question
When working with arrays, you can use ____ in two ways: to hold an array's size and as the array values.
answer
constants
question
Each separate array variable is one ____ of the array.
answer
Element
question
A ____ is a variable that you set to indicate whether some event has occurred.
answer
Flag
question
Leaving a loop as soon as a match is found improves the program's ____.
answer
efficiency
question
Learning to use arrays correctly can make many programming tasks far more ____ and professional.
answer
efficient
question
A(n) ____ is a contiguous series of variables in computer memory.
answer
array