Chapter 1 in class review Flashcards

1
Q

True or False

The Python language uses a compiler which is a program that both translates and executes the instructions in a high-level language

A

false

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

What is an alternative method to using a text editor to write, execute, and test a Python program?

A

Integrated Development and Learning Environment (IDLE)

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

What is considered to be the worlds first programmable electronic computer?

A

ENIAC

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

Where does a computer store a program and the data that the program is working with while the program is running?

A

in main memory

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

Modern CPUs are much more what than the CPUs of early computers

A

smaller and more powerful

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

The process known as the blank cycle is used by the CPU to execute instructions in a program

A

fetch-decode-execute

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

Which language is referred to as a low-level language?

A

Assembly language

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

The following is an example of an instruction written in which computer language?
10110000

A

Machine language

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

True or False

All programs are normally stored in ROM and are loaded into RAM as needed for processing

A

false

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

True or False

The instruction set for a microprocessor is unique and is typically understood by the microprocessor

A

true

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

True or False

The CPU understands instructions written in a binary machine language

A

true

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

True or False

A bit that is turned off is represented by the value -1

A

false

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

True or False

The main reason to use secondary storage is to hold data for long periods of time, even when the power supply to the computer is turned off

A

true

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

True or False

RAM is a volatile memory used for temporary storage while a program is running

A

true

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

Programs are commonly referred to as

A

software

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

What type of volatile memory is usually only used for temporary storage while running a program?

A

RAM

17
Q

Which computer language used short words known as mnemonics for writing programs?

A

Assembly

18
Q

The encoding technique used to store negative numbers in the computers memory is called

A

twos complement

19
Q

The coding scheme contains set of 128 numeric characters that are used to represent characters in a computers memory

A

ASCII

20
Q

The smallest storage location in a computers memory is known as

A

bit

21
Q

What is the largest value that can be stored in one byte?

A

255

22
Q

The disk drive is a secondary storage device that stores data by blank encoding it onto a spinning circular disk

A

magnetically

23
Q

A blank has no moving parts and operates faster than a traditional disk drive

A

solid state drive

24
Q

Which of the following is not a major component of a typical computer system?

a. the CPU
b. main memory
c. the operating system
d. secondary storage devices

A

c. the operating system

25
Q

Which type of error prevents the program from running?

A

syntax

26
Q

What is the decimal value of the following binary number 10011101

A

157