Choice Study Test.
What is the fundamental question of computer science? - CORRECT ANSWER What can be computed
An algorithm is like a - CORRECT ANSWER recipe
A problem is intractable when - CORRECT ANSWER it is not practical to solve
Which of the following is not an example of secondary memory? - CORRECT ANSWER RAM
Computer languages designed to be used and understood by humans are - CORRECT ANSWER high-level
languages
A statement is - CORRECT ANSWER a complete computer command
One difference between a compiler and an interpreter is - CORRECT ANSWER 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 - CORRECT ANSWER
main
Which of the following is not true of comments? - CORRECT ANSWER They make a program more
efficient
The items listed in the parentheses of a function definition are called - CORRECT ANSWER parameters
What of the following is not a step in the software development process? - CORRECT ANSWER Fee
setting
, What is the correct forumla for converting Celsius to Fahrenheit? - CORRECT ANSWER F = 9/5(C) + 32
The process of describing exactly what a computer program will do to solve a problem is called -
CORRECT ANSWER specification
Which of the following is not a legal identifier? - CORRECT ANSWER 2spam
Which of the following are not used in expressions? - CORRECT ANSWER statements
Fragments of code that produce or calculate new data values are called - CORRECT ANSWER assignment
statements
Which of the following is not part of the IPO pattern? - CORRECT ANSWER Program
The template for <variable> in range(<expr>) describes - CORRECT ANSWER a general for loop
or
(d) a counted loop
Which of the following is the most accurate model of assignment in Python? - CORRECT ANSWER sticky
note (although you'll often see analysis of programs using the variable-as-box diagram)
In Python getting user input is done with a special expression called - CORRECT ANSWER input
What of the following is not a Python data type? - CORRECT ANSWER rational
Which of the following is not a built-in operation? - CORRECT ANSWER sqrt()
In order to use functions in the math library, a program must include - CORRECT ANSWER an import
statement