Chapter 1 Questions
1.) A program is a set of instructions that a computer follows to perform a task.
2.) The physical devices that a computer is made of are referred to as hardware.
3.) The part of a computer that runs programs is called the CPU.
4.) Today, CPUs are small chips knows as microprocessors.
5.) The computer stores a program while the program is running, as well as he data that the program is working with, in main memory.
6.) This is a volatile type of memory that is used only for temporary storage while a program is running: RAM.
7.) A type of memory that can hold data for long periods of time-even when there is no power to the computer- is called ...view middle of the document...
22.) The assembler translates an assembly language program to a machine language program.
23.) The words that make up a high-level programming language are called key words.
24.) The rules that must be followed when writing a program are called syntax.
25.) A compiler program translates a high-level language program into a separate machine language program.
6.) The difference between a compiler an an interpreter is that a compiler is a program that translates a high-level language program into a sewerage machine language program, while an interpreter is a program that both translates and executes the instructions in a high-level language program.
Chapter 2 Questions
1.) A logic error does not prevent the program from running, but causes it to produce incorrect results.
2.) A software requirement is a single function that the program must perform in order to satisfy the customer.
3.) An algorithm is a set of well-defined logical steps that must be taken to perform a task.
4.) An informal language that has no syntax rules, and is not meant to be compiled or executed is called pseudocode.
5.) A flowchart is a diagram that graphically depicts the steps that take place in a program.
6.) A sequence structure is a set of statements that execute in...