Introduction to Computer Science, 3rd Ed."
by John Zelle Questions and Answers
T/F Computer science is the study of computers. - answer FALSE the fundamental
question is "what can be computed?"
T/F The CPU is the "brain" of the computer. - answer TRUE
T/F Secondary memory is also called RAM. - answer FALSE main memory is called
RAM. secondary memory is hard disks, solid-state disks, flash drives, CDs, and DVDs
T/F All information that a computer is currently working on is stored in main memory. -
answer TRUE
T/F The syntax of a language is its meaning, and semantics is its form. - answer
FALSE syntax is form and semantics is meaning
T/F A function definition is a sequence of statements that defines a new command. -
answer TRUE
T/F A programming environment refers to a place where programmers work. - answer
FALSE a programming environment is a program designed to help programmers write
programs
T/F A variable is used to give a name to a value to it can be referred to in other places. -
answer TRUE
T/F A loop is used to skip over a section of a program. - answer FALSE a loop is
used to repeat a section of code
T/F A chaotic function can't be computed by a computer. - answer FALSE we literally
wrote the chaos.py program that computes a chaotic function
What is the fundamental question of computer science? - answer What can be
computed?
An algorithm is like a _____ - answer recipe
A problem is intractable when ___________ - answer it is not practical to solve
Which of the following is /not/ an example of secondary memory? - answer RAM