Unit Test — Unit test Answers

25 verified answers2 views
1
Free Preview

Question text not available

Answer not available
2
Free Preview

How does the use of modules provide flexibility in a structured programming design?

A
Modules enable multiple programmers to work on a program at the same time
B
Modules enable a linear approach to software development
C
Modules ensure the reuse of code variables.
D
Modules ensure that a program will be completed on time.
3

What is one characteristic of a logic problem?

A
a problem that can have three solutions
B
a problem that can be solved in a methodical manner
C
a problem that can have ill-defined steps
D
a problem that can be solved using a chart
4

Which of the following explains why computers can be used in accounts payable?

A
Computers can use random steps to identify the due dates of payments.
B
Computers can be automated to process invoices without direction.
C
Computers can find the due dates of payments differently each month.
D
Computers can identify criteria related to payments and take specified action.
5

Which is true regarding diagramming?

A
It involves writing an algorithm.
B
It presents the programming code.
C
It shows the flow of information and processes to solve the problem.
D
It models solutions for large problems only.
6

Which statement is true?

A
Bill Gates and Guido van Rossum cofounded Microsoft.
B
Bjarne Stroustrup published the first reference guide for C++.
C
Paul Allen developed object-oriented programming.
D
John McCarthy led a team that developed FORTRAN.
7

Which shape denotes a process to be carried out in a flowchart?

A
an oval
B
a parallelogram
C
a rectangle
D
a diamond
8

Which uses flowcharts to communicate?

A
incremental project design
B
solution modeling
C
programming code
D
writing the problem statement
9

Why is it important to begin development of a software solution with a programming design in place?

A
A programming design summarizes the results of a software development process.
B
A programming design summarizes the marketability of a software solution and the strategy for product placement.
C
A programming design communicates decisions about the programming approach and saves time, money, and effort.
D
A programming design communicates decisions about the approach for hiring contractors and saves time, money, and effort.
10

What are the three types of programming design?

A
top-down, structured, objectified
B
top-down, structured, object-oriented
C
simple, structured, objectified
D
simple, structured, bottom-up
11

Which is true regarding a problem statement?

A
It provides a vision of the unsolved problem.
B
It is not usually necessary for a successful software development effort.
C
It describes how to increase profits and decrease expenses.
D
It clearly describes the issues that contribute to a problem.
12

Which of the following is a unique feature of Object-oriented programming?

A
They have syntax.
B
They are web-based.
C
They use objects that contain data and functions.
D
They are interpreted by compilers into binary machine language.
13

What is one strategy that programmers use to solve logic problems?

A
create a new programming language
B
delete all algorithms from their programs
C
break the problem into steps
D
write a program with random instructions
14

Why does a business need to use effective strategies to find a solution for a problem?

A
to thoroughly understand the problem
B
to find several solutions to a problem
C
to properly diagram the flow of information to solve the problem
D
to find a solution that cannot be replicated
15

Which set of steps would help track accounts payable at a business?

A
Calculate payment amounts that are due, determine due dates for payments, identify if there is an early payment discount, and identify vendors to whom payments are due.
B
Calculate payment amounts that are due, extend due dates for payments, determine if there is an early payment discount, and identify invoices that are paid in full.
C
Calculate payment amounts that have been made, determine due dates for payments, identify if there is an early payment discount, and identify customers with payments due.
D
Calculate payment amounts that have been made, extend due dates for payments, identify if there is an early payment discount, and calculate the tax owed by each customer.
16

Which is a characteristic of an effective problem statement?

A
It is based on research.
B
It contains outside information.
C
It contains technical language.
D
It is reviewed by competitors.
19

One evening, a teacher uses a computer program to record each student’s test grade. She then uses the program to calculate each student’s test average for the year. The teacher then plans her lessons for the following week. Which of the following best explains how the computer algorithm helps the teacher?

A
It gives the teacher step-by-step directions on how to grade tests.
B
It makes a simple task more complex for the teacher.
C
It reduces the errors the teacher makes in writing tests.
D
It saves time for the teacher so that she can do other tasks.
20

Which statement is true?

A
A completed algorithm is important because it communicates the instructions of the solution.
B
Modeling a solution is important because it is the ending point for all other activities.
C
Diagramming a solution is important because it shows all solutions for the problem.
D
Pseudocode is important because it gives a graphical representation of the process.

Did you find these answers helpful?