Unlock access to all the studying documents.
View Full Document
Textbook Reading Assignment
Thoroughly read Chapter(s) 1 and 2 in your Programming with C + + textbook.
Part 1 Glossary Terms
Define, in detail, each of these glossary terms from the realm of computer programming logic and
design and computer topics, in general. If applicable, use examples to support your definitions.
Consult your notes or course textbook(s) as references or the Internet by visiting Web sites such as:
http://www.weboped
ia.com
An algorithm is a formula or set of steps for solving a particular problem. An example of an
algorithm is a recipe to make cookies.
Compiler is a program that translates source code
into
object code
a logic error is a bug in a program that causes it to operate incorrectly, but not to terminate
abnormally. an example of a logic error is a simple syntax error can cause your code to
malfunction
(d) Run – Time Error
run time error is a program error that occurs while the program is running. An example of a run
time error is a logic error, which produces the wrong output
A syntax error is an error in the source code of a program. An example of a syntax error is when
you forget to end a statement with “}”.