Unit 1 Assignment 1: Homework

272 Words2 Pages
Introduction to Programming NT1420 Unit 1 Assignment 1: Homework Short answer questions and answers: 1) Why is the CPU the most important component in a computer? The CPU is the part of the computer that actually runs the program. 2) What number does a bit that is turned on represent? What number does a bit that is turned off represent? A bit that is turned on represents the number 1. A bit that is turned off represents the number 0. 3) What would you call a device that works with binary data? A digital device is any device that works with binary data. 4) What are the words that make up a high-level programming language called? Key words or reserve words are the words that make up a high-level programming language. 5) What are the short words that are used in assembly language called? Mnemonics are the short words used in assembly language. 6) What is the difference between a compiler and an interpreter? A compiler is a program that translates a high-level language program into a separate machine language program. The machine language program can then be executed any time it is needed. An interpreter is a program that both translates and executes the instructions in a high-level language program. As the interpreter reads each individual instruction in the program, it converts it to a machine language instruction and then immediately executes it. This process repeats for every instruction in the program. 7) What type of software controls the internal operations of the computer’s hardware? The operating system controls the internal operations of the computer’s

More about Unit 1 Assignment 1: Homework

Open Document