Unit Test — Unit test Answers

15 verified answers4 views
1
Free Preview

Which of the following is true about the task of calculating paychecks?

A
It can always be correctly executed by using a random process.
B
It can always be correctly executed by using ill-defined steps.
C
It is an example of a logic problem that computers can solve.
D
It is an example of a task that cannot be automated on a computer.
3

What is one advantage of top-down programming design?

A
It enables multiple programmers to work on the code at the same time.
B
Programmers can take advantage of abstraction to focus on specific tasks.
C
The same object can be used to process data from a variety of sources.
D
It presents a solution from start to finish.
4

What do flowcharts communicate to programmers?

A
how to use methods to test code
B
how data will flow through program
C
how the compiler will translate code into assembly language
D
how the to use a debugger to eliminate bugs in code
5

Which of the following explains why giving directions to a location is suitable for creating an algorithm?

A
An algorithm provides step-by-step instructions.
B
An algorithm is written in computer code.
C
An algorithm gives different steps each time it is used.
D
An algorithm posts directions on a website.
6

Which is an example of an incremental approach to solving a problem?

A
writing the program code of the solution informally
B
representing the steps of a solution in a flowchart
C
representing the code of the solution in different programming languages
D
writing the steps of a solution in small pieces of code
7

What is an algorithm?

A
a way to make an informed judgment
B
used only on a computer
C
used only with map directions
D
a set of directions for problem solving
8

Which of the following is an example of a real-world logic problem for which computers may be used?

A
banking transactions performed at ATMs
B
selecting a company for processing accounts payable
C
delivering blank checks to the payroll department
D
mailing monthly invoices to those who owe money
9

What are three things to consider in programming design?

A
the problem being addressed, the goals of the project, and the programming language that will be used
B
the problem being addressed, the goals of the project, and the age of the end users
C
the age of the end users, the programming language that will be used, and the programming style of the programmers working on the project
D
the age of the end users, the goals of the project, and the programming style of the programmers working on the project
10

What happens in the process represented by the flowchart?

Question illustration
A
The person drinks water if the answer to “Thirsty?” is no.
B
The person always drinks water.
C
The person drinks water if the answer to “Thirsty?” is yes.
D
The person never drinks water.
11

Which statement about programming languages is true?

A
Lisp was designed for artificial intelligence research.
B
BASIC was the first high-level programming language.
C
FORTRAN was an early programming language designed for business use.
D
Pascal was the first programming language for personal computers.
12

Which event occurred in the 1990s?

A
Niklaus Wirth developed Pascal.
B
The Department of Defense released Ada.
C
Sun Microsystems released Java.
D
Bjarne Stroustrup developed C++.
13

An effective problem statement ensures that

A
problems are effectively hidden in the development process.
B
the software design process will not exceed the budget.
C
the software design effectively addresses the issues.
D
will always shrink software design time.
14

Research and a well-written problem statement are important because

A
they give a clear understanding of the problem and its solution.
B
they ensure that anyone in the general public will be able to understand and solve the problem.
C
they give a list of the needs of the stakeholders.
D
they ensure that questions still need to be asked about the problem.

Did you find these answers helpful?

Unit Test — Unit test Answers — Introduction to…