Chapter 1 Flashcards
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
By convention, the statement of a program are often placed in a function called
main
One difference between a compiler and an interpreter is
A compiler is no longer needed after a program is translated
Which of the following is not true of comments
The make a program more efficient
The items listed in the parentheses of a function definition are called
Parameters
True/False
Computer science is the study of computers
False
True/False
The CPU is the brain of the computer
True
Secondary memory is called RAM
False
The syntax of a language is its meaning, and semantics is its form
False
True/False
A function definition is the sequence of statements that defines a new command
True