1. Computers and Programs Flashcards
True/False
Computer science is the study of computers.
False
Computers are to computer science what telescopes are to astronomy.
True/False
The CPU is the “brain” of the computer.
True
The central processing unit (CPU) is where all the bacis operations of the computer are carried out.
True/False
Secondary memory is also called RAM.
False
The main memory is called RAM (Random Access Memory).
True/False
All information that a computer is currently working on is stored in main memory.
True
True/False
The syntax of a language is its meaning, and semantics is its form.
False
Syntax = form Semantics = meaning
True/False
A function definition is a sequence of statements that defines a new command.
True
Function = a sequence of statements that define a new command.
True/False
A programming environment refers to a place where programmers work
True
But it is not a physical place. It’s like IDLE
True/False
A variable is used to give a name to a value so it can be referred to in other places.
True
A variable is used to give a name to a value so that we can refer to it at other points in the program.
True/False
A loop is used to skip over a section of a program.
False
A loop is a device that tells Python to do the same thing over and over again.
True/False
A chaotic function can’t be computed by a computer.
False
A chaotic function can be computed by a computer. Altough the program has a well-defined underlying behavior, the output seems unpredictable.
What is the fundamental question of computer science?
a) How fast can a computer compute?
b) What can be computed?
c) What is the most effective programming language?
d) How much money can a programmer make?
What can be computed?
An algorithm is like a…
a) newspaper
b) venus flytrap
c) drum
d) recipe
recipe
A problem is intractable when…
a) you cannot reverse its solution
b) it involves tractors
c) it has many solutions
d) it is not practical to solve
it is not practical to solve
Which of the following is NOT an example of secondary memory?
a) RAM
b) hard drive
c) USB flash drive
d) DVD
a) RAM
Computer languages designed to be used and understood by humans are…
a) natural languages
b) high-level computer languages
c) machine languages
d) fetch-execute languages
High-level computer languages