Chapter 1 Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is the fundamental question of computer science?

A

What can be computed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

An algorithm is like a

A

Recipe

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A problem is intractable when

A

It is not practical to solve

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which of the following is not an example of secondary memory?

A

RAM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Computer languages designed to be used and understood by humans are

A

High-level languages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A statement is

A

A complete computer command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

By convention, the statement of a program are often placed in a function called

A

main

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

One difference between a compiler and an interpreter is

A

A compiler is no longer needed after a program is translated

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which of the following is not true of comments

A

The make a program more efficient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The items listed in the parentheses of a function definition are called

A

Parameters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

True/False

Computer science is the study of computers

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

True/False

The CPU is the brain of the computer

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Secondary memory is called RAM

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The syntax of a language is its meaning, and semantics is its form

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

True/False

A function definition is the sequence of statements that defines a new command

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

True/False

A programming environment refers to a place where programmers work

A

False

17
Q

True/False

A variable is used to give a name to a value that can be referred to in other places

A

True

18
Q

True/False

A loop is used to skip over a section of a program

A

False

19
Q

True/False

A chaotic function can’t be computed by a computer

A

False

20
Q

All information that a computer is currently working on is stored in main memory

A

True