Graded A+ 2025/2026
T/F A programming environment refers to a place where programmers work. - 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. -
TRUE
T/F A loop is used to skip over a section of a program. - FALSE a loop is used to repeat
a section of code
T/F A chaotic function can't be computed by a computer. - FALSE we literally wrote the
chaos.py program that computes a chaotic function
What is the fundamental question of computer science? - What can be computed?
An algorithm is like a _____ - recipe
A problem is intractable when ___________ - it is not practical to solve
Which of the following is /not/ an example of secondary memory? - RAM
Computer languages designed to be used and understood by humans are _______ -
high-level languages
A statement is ____________ - a complete computer command
One difference between a compiler and an interpreter is ____ - a compiler is no longer
needed after a program is translated
By convention, the statements of a program are often placed in a function called ______
- main
Which of the following is /not/ true of comments? - They make a program more efficient
The items listed in the parentheses of a function definition are called _____ -
parameters (not arguments; arguments are the data stored in parameters)
T/F The best way to write a program is to immediately type in some code and then
debug it until it works. - FALSE there are many steps
T/F An algorithm can be written without using a programming language. - TRUE
T/F Programs no longer require modification after they are written and debugged. -
FALSE they need to be maintained