chapter 1 instruction
Chapter 1 Why should you learn to write programs? What is the function of the secondary memory in a computer? Stores programs and data and retains the information even when the power is turned off. Generally slower than main memory. Examples of secondary memory include disk drives and flash memory in USB sticks. What is a program? A set of instructions that specifies a computation. What is the difference between a compiler and an interpreter? Compiler: to translate a program written in a high-level language into a low-level language all at once, in preparation for later execution. Interpreter: