Unit Test — Unit test Answers

0 verified answers
1
Free Preview

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.
2
Free Preview

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
3

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++.
4

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.
5

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
7

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.
8

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.
9

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.
11

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
12

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
13

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.
14

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
15

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.

Did you find these answers helpful?