WGU D278 ZYBOOKS CHAPTER 7 AND 8
QUESTIONS AND ANSWERS
Programs solve - ANSWER problems.
Before writing a program, a programmer must first create an - ANSWER
algorithm to correctly solve the given problem.
An algorithm is a sequence of steps that - ANSWER solves a problem,
generating correct output for any valid input values. Ensuring an algorithm's
correctness is a key job for a programmer.
algorithm time efficiency: - ANSWER The number of calculations required to
solve a problem. For the same problem, some algorithms may be much more
time efficient than others.
Simple programs are more likely to be - ANSWER correct, and correctness is
always most important.
Efficient algorithms tend to be less - ANSWER simple, so programmers
should consider efficiency only when needed, like when dealing with very large
data sets that result in slow program execution.
An algorithm describes a - ANSWER sequence of steps to solve a
computational problem or perform a calculation. An algorithm can be described
in English, pseudocode, a programming language, hardware, etc.
A computational problem specifies an - ANSWER input, a question about the
input that can be answered using a computer, and the desired output.
Shortest path/Navigation Algorithm - ANSWER Given a user's current
location and desired location, what is the fastest route to walk to the
destination?
QUESTIONS AND ANSWERS
Programs solve - ANSWER problems.
Before writing a program, a programmer must first create an - ANSWER
algorithm to correctly solve the given problem.
An algorithm is a sequence of steps that - ANSWER solves a problem,
generating correct output for any valid input values. Ensuring an algorithm's
correctness is a key job for a programmer.
algorithm time efficiency: - ANSWER The number of calculations required to
solve a problem. For the same problem, some algorithms may be much more
time efficient than others.
Simple programs are more likely to be - ANSWER correct, and correctness is
always most important.
Efficient algorithms tend to be less - ANSWER simple, so programmers
should consider efficiency only when needed, like when dealing with very large
data sets that result in slow program execution.
An algorithm describes a - ANSWER sequence of steps to solve a
computational problem or perform a calculation. An algorithm can be described
in English, pseudocode, a programming language, hardware, etc.
A computational problem specifies an - ANSWER input, a question about the
input that can be answered using a computer, and the desired output.
Shortest path/Navigation Algorithm - ANSWER Given a user's current
location and desired location, what is the fastest route to walk to the
destination?