Chapter 1 Review
Which of the following is a general-purpose computing device? A cell phone A portable music player A microwave oven A programmable thermostat
A cell phone
Which of the following are output devices? A digital camera A keyboard A flatbed scanner A monitor
A monitor
Which of the following is an example of an algorithm? A dictionary A recipe A shopping list The spelling checker of a word processor
A recipe
Which of the following contains information? An audio CD A refrigerator An automobile A stereo speaker
An audio CD
Which of the following translates and executes instructions in a programming language? A compiler A text editor A loader An interpreter
An interpreter
What is the purpose of the CPU? Store information Receive inputs from the human user Decode and execute instructions Send output to the human user
Decode and execute instructions
What is IDLE used to do? Edit, compile, and run Python programs Just edit Python programs Just compile Python programs Just run Python programs
Just edit Python programs
Which of the following is an input device? Speaker Microphone Printer Display screen
Microphone
What is the set of rules for forming sentences in a language called? Semantics Pragmatics Syntax Logic
Syntax
Which of the following outputs data in a Python program? The input function The assignment statement The print function The main function
The print function