Chapter 1 - Introduction Flashcards

(104 cards)

1
Q

Define Computer Organization

A

* Addressing issues such as control signals and memory types
* Encompasses all physical aspects of computer systems

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

The following is an aspect of what:

*Addressing issues such as control signals and memory types

A

Computer Organization

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

The following is an aspect of what:
* Encompasses all physical aspects of computer systems

A

Computer Organization

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

What is Computer Architecture?

A

The structure and behavior of a computer system, including the logical/ abstract aspects of system implementation by a programmer

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

What does the following describe:

* The structure and behavior of a computer system

A

Computer Architecture

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

What is included as an aspect of computer architecture?

A

The logical/ abstract aspects of a system implemented by a programmer

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

What are some logical/ abstract aspects of computer architecture?

A

* Instruction sets and formats
* Operation codes
* Data types
* Various I/O mechanisms
* The number and types of registers
* Addressing modes
* Main memory access methods

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

What is the following describing in terms of computer architecture:

* Instruction sets and formats

A

A logical and abstract aspects of computer architecture

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

What is the following describing in terms of computer architecture:

* Operation codes

A

A logical and abstract aspect of computer architecture

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

What is the following describing in terms of computer architecture:

* Data types

A

A logical and abstract aspect of computer architecture

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

What is the following describing in terms of computer architecture:

* Various I/O mechanisms

A

A logical or abstract aspect of computer architecture

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

What is the following described in terms of computer architecture:

* The number and types of registers

A

A logical or abstract aspect of computer architecture

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

What is the following describing in terms of computer architecture:

* Addressing modes

A

A logical and abstract aspect of computer architecture

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

What is the following describing in terms of computer architecture:

* Main memory access methods

A

A logical and abstract aspect of computer architecture

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

What does ISA stand for

A

Instruction Set Architecture

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

What is ISA/ Instruction Set Architecture?

A

The agreed-upon interface between software and hardware

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

What does the following describe:
The agreed-upon interface between software and hardware

A

ISA / Instruction Set Architecture

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

What does ISA allow for?

A

It allows for communication between a user and a computer

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

What does the following describe:
It allows for communication between a user and a computer

A

The responsibility of the ISA / Instruction Set Architecture

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

True or False:
There is a fundamental relationship between the hardware and software within a computer system

A

True

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

True or False:
Modern computers can be seen as a physical representation of implemented algorithms

A

True
A computer can be seen as an implemented algorithm that executes other algorithms until it executes the algorithm of a piece of software

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

What is the Principle of Equivalence of Hardware and Software

A

Any task that is done on hardware can be done on software, and vice versa

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

What does the following describe:
Any task that is done on hardware can be done on software, and vice versa

A

The Principle of Equivalence of Hardware and Software

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

What are the three pieces that make a computer?

A

* A processor/ CPU to interpret/ execute programs
* A memory to store both data and programs
* A mechanism for transferring data to and from the outside world

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What does the following describe: A processor/ CPU to interpret/ execute programs
A component of a computer
26
What does the following describe: A memory to store both data and programs
A component of a computer
27
What does the following describe: A mechanism for transferring data to and from the outside world
A component of a computer
28
What does a processor consist of?
\* ALU - Arithmetic Logic Unit \* Control Unit \* Registers
29
What are the following a part of: \* ALU - Arithmetic Logic Unit \* Control Unit \* Registers
The processor
30
What is the following a part of: \* ALU - Arithmetic Logic Unit
The processor
31
What is the following a part of: \* Control Unit
The processor
32
What is the following a component of: \* Registers
A component of the processor
33
What does ALU stand for?
Arithmetic Logic Unit
34
What does the ALU(Arithmetic Logic Unit) do?
Perform computations and making decisions
35
What does the following describe: Perform computations and making decisions
The ALU (Arithmetic Logic Unit)
36
What does the control unit do?
Directs data to the correct location
37
What component does the following describe: Directs data to the correct location
The control unit
38
What do the registers do?
Holds data the CPU needs to access quickly
39
What component does the following describe: Holds data the CPU needs to access quickly
Registers
40
What does memory do?
Stores resources (ex: current programs) that the CPU needs
41
``` What does the following describe: Stores resources (ex: current programs) that the CPU needs ```
Memory
42
What are the two types of memory?
\*Long term memory/storage \*Short term/ temporary memory/ storage
43
What is long-term storage/memory?
Data that persists even when the machine is powered off
44
What does the following describe: Data that persists even when the machine is powered off
Long term memory/ storage
45
What is temporary memory/ storage
\* Data that is currently being worked on \* Data that will get lost when the machine powers off
46
What does the following describe: \* Data that is currently being worked on \* Data that will get lost when the machine powers off
\* Short term memory \* Short term storage \* Temporary memory \* Temporary storage
47
What are examples of short-term storage?
\* Registers \* RAM (Random Access Memory)
48
What do the following components describe: \* Registers \* RAM (Random Access Memory)
\* Short term memory \* Short term storage \* Temporary memory \* Temporary storage
49
What is a bus?
A data line connecting the ALU(Arithmetic Logic Unit), Registers, and Memory
50
What does the following describe: A data line connecting the ALU(Arithmetic Logic Unit), Registers, and Memory
Bus
51
What is a datapath
A collection of busses
52
What does the following describe: A collection of busses
Datapath
53
What does I/O stand for?
Input/Output
54
What does I/O do?
Allows for a user to communicate with a computer system
55
What are the following an example of: \* Keyboard \* Mouse \* USB drive \* Monitor
I/O (Input/Output)
56
What is a datapath responsible for?
Running programs by transferring the data across busses
57
What is the most important software in a computer
The operating system
58
True or False and explain why: Only brand-specific equipment can work with a given machine(ex: a Dell monitor cannot work with an HP computer)
False Computer equipment manufacturers have agreed to comply with connectivity and operational specifications established by a number of government and industry organizations
59
What is a semantic gap?
The logical gap that exists between the physical components of a computer and a high-level language
60
What does the following definition describe: The logical gap that exists between the physical components of a computer and a high-level language
The semantic gap
61
What is a virtual machine?
1. A hypothetical computer. 2. A self-contained operating environment that gives the illusion of the existence of a separate physical machine. 3. A software emulation of a real machine.
62
What do the following definitions describe: 1. A hypothetical computer. 2. A self-contained operating environment that gives the illusion of the existence of a separate physical machine. 3. A software emulation of a real machine.
A virtual machine
63
How do virtual machines operate?
They executes their own particular set of instructions, calling upon machines at lower levels to carry out the tasks when necessary
64
What is the commonly accepted representation of the abstract virtual machine layers
65
What are the 6 levels of abstraction for a computer system (in order)?
* Level 6: The User Layer * Level 5: The High-Level Language Level * Level 4: The Assembly Language Level * Level 3: The System Software Level * Level 2: The Instruction Set Architecture (ISA) * Level 1: The Control Level
66
What is Level 6 of the abstract virtual machine layer
The User Layer
67
What are the properties of Level 6: The User Layer?
* Composed of user usable applications * Run programs such as word processors, games, ect.
68
What is Level 5 of the abstract virtual machine levels?
The High-Level Language Level
69
What are the properties of Level 5, the High-Level Language Level
* Consists of languages such as C, C++, Fortran, Lisp, Pascal, and Prolog * Compiles high-level languages into assembly language and that into machine code
70
What is Level 4 of the abstract virtual machine layer?
The Assembly Language Level
71
What are the properties of Level 4, the Assembly Language Level?
* Encompasses some type of assembly language * Translates assembly language into machine language * One to one translation * Reduces the semantic gap between high-level languages and machine language
72
What is Level 3 of the abstract virtual machine levels?
The System Software Level
73
What are the properties of Level 3, the System Software Level?
* Deals with Operating System instructions * Passes the translation of assembly language to machine language to the level below
74
What is the responsibility of Level 3, the System Software Level
* Multiprogramming * Protecting memory * Synchronizing processes
75
What is Level 2 of the abstract virtual machine level?
* The Instruction Set Architecture (ISA) * Machine Level
76
What are the properties of Level 2, the Instruction Set Architecture (ISA)?
* Consists of the machine language recognized by the particular architecture of the computer system * Programs written in a computer’s true machine language on a hardwired computer can be executed directly by the electronic circuits without any interpreters, translators, or compilers
77
What is Level 1 of the abstract virtual machine levels?
The Control Level
78
What are the properties of Level 1, the Control Level
* The control unit makes sure that instructions are decoded and executed properly * Data is moved where and when it should be
79
What are the two ways a control unit can be designed?
* Hardwired * Microprogrammed
80
What are the properties of a hardwired control unit?
* Control signals emanate from blocks of digital logic components that direct all the data and instruction traffic to appropriate parts of the system * Typically very fast because they are actually physical components * Very difficult to modify due to being physical
81
True or False: Control units are slow because they are physical components
False Control units are typically very fast because they are actually physical components
82
True or False: Once implemented, control units are very difficult to modify
True Control units are very difficult to modify because they are physical
83
What is a microprogram?
A program is written in a low-level language that is implemented directly by hardware
84
True or False: A microprogram is program is written in a high-level language that is implemented directly by hardware
False A microprogram is program is written in a program is written in a low-level language that is implemented directly by hardware
85
How do microprograms operate?
Interprets the instructions by activating hardware suited to execute the original instruction
86
Is there a one-to-one correlation between assembly language and machine language when involving a microprogram?
No, a microprogram can translate a machine-level instruction into several microcode instructions
87
What are the benefits and tradeoffs of a microprogram?
* Easily modifiable * Slower instruction execution due to the additional layer of translation
88
What is Level 0 of the abstract virtual machine levels?
The Digital Logic Level
89
What are the properties of Level 0, the Digital Logic Level
* Consists of the physical components of the computer system: gates and wires
90
What are the properties of gates and wires?
* Fundamental building blocks of a computer system * Implementation of mathematical logic
91
What is the vonNeumann Architecture
A stored-program machine architecture consisting of a CPU, an ALU, registers, and main memory.
92
What does the following definition describe: A stored-program machine architecture consisting of a CPU, an ALU, registers, and main memory.
The von Neumann Architecture
93
True or False Hungarian mathematician John von Neumann is the true inventor of the von Neumann Architecture
False John W. Mauchly and J. Presper Eckerts are the true inventors of the von Neumann Architecture
94
What are the characteristics of today's version of the stored-program machine architecture?
* Consisting of three hardware systems * A CPU with a control unit, ALU, registers, and a program counter * Main Memory System * I/O System * The capacity to carry out sequential instruction processing * Consists of either a physical or logical single path between the main memory to the CPU's control unit (von Neumann bottleneck)
95
What best describes the following characteristics: * Consisting of a CPU, a Main Memory System, and an I/O System * The capacity to carry out sequential instruction processing * Containing either a single physical or logical path between the main memory and the CPU's control unit (von Neumann bottleneck)
The characteristics of the modern stored-program machine architecture
96
What is the von Neumann Bottleneck
The name given to the single path between main memory and the control unit of the CPU. The single path forces alternation of instruction and execution cycles and often results in a bottleneck, or slowing of the system.
97
What does the following definition describe: The name given to the single path between main memory and the control unit of the CPU. The single path forces alternation of instruction and execution cycles and often results in a bottleneck, or slowing of the system.
A von Neumann Bottleneck
98
What is the Fetch-Decode-Execute Cycle/ von Neumann Execution Cycle
The instruction cycle a computer follows to execute a program
99
What does the following definition describe: The instruction cycle a computer follows to execute a program
The Fetch-Decode-Execute Cycle/ von Neumann Execute Cycle
100
What is another name for the Fetch-Decode-Execute Cycle?
The von Neumann Execute Cycle
101
What is another name for the von Neumann Execute Cycle?
The Fetch-Decode-Execute Cycle
102
What does the following image describe:
The von Neumann/ Fetch-Decode Execute Cycle
103
What are the steps associated with the following implementation of the von Neumann/ Fetch-Decode Execute Cycle:
1. The control unit fetches the next program instruction from the memory, using the program counter to determine where the instruction is located. 2. The instruction is decoded into a language the ALU can understand. 3. Any data operands required to execute the instruction are fetched from memory and placed in registers in the CPU. 4. The ALU executes the instruction and places the results in registers or memory.
104
What is the benefit of the von Neumann/ Fetch-Decode Execute Cycle?
It allows for data from slow to access storage to be copied to fast access storage prior to execution