COMP3370-02-fundamentals-of-computer-systems Flashcards

1
Q

What is the purpose of the footer in a presentation?

A

To insert footer text on every slide

The footer is modified through Insert > Header and Footer…

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

What are the three basic components of the Von Neumann Architecture?

A
  1. I/O interfaces
  2. CPU
  3. Memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a bit?

A

Basic unit of information in digital devices (true/false, 1/0, on/off)

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

What does the Arithmetic Logic Unit (ALU) do?

A

Performs arithmetic and logic operations on words

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

What is the function of the Control Unit in the CPU?

A

Directs the operation of the CPU by converting instructions into signals

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

What is Random Access Memory (RAM)?

A

Memory that stores data and instructions in a Von Neumann architecture

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

Fill in the blank: A _______ is a group of 8 bits.

A

Byte

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

What does the fetch-decode-execute cycle involve?

A
  1. Fetching the next instruction
  2. Decoding the instruction
  3. Executing the instruction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a program counter (PC)?

A

Holds the address of the next instruction to be executed

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

What is the function of registers in the CPU?

A

Store small amounts of fast memory for quick access during instruction execution

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

True or False: The ALU can perform both addition and multiplication.

A

True

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

What is the role of an assembler?

A

Translates assembly code into machine code

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

What does memory-mapped I/O refer to?

A

A special region of memory associated with I/O peripherals

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

What is the significance of logic gates?

A

They allow us to process bits and build circuits with different functionalities

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

Fill in the blank: The _______ is built from logic gates and performs basic arithmetic operations.

A

Arithmetic Logic Unit (ALU)

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

What is a functional unit in computer architecture?

A

A component like the ALU, Control Unit, Memory, or Registers that performs specific tasks

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

How is data typically loaded for execution in the CPU?

A

Data and specific instruction opcode are loaded from memory to registers

18
Q

What are input/output devices?

A

Devices used to interact with computers, like keyboards and screens

19
Q

Fill in the blank: A _______ is an array of bytes/words in memory.

20
Q

What are the two operations supported by Random Access Memory?

A
  1. Read a byte/word from an address
  2. Write a byte/word to an address
21
Q

What is the fetch stage in the instruction cycle?

A

The CU takes the next instruction and advances the program counter

22
Q

What is the decode stage in the instruction cycle?

A

The CU interprets the instruction

23
Q

What is the execute stage in the instruction cycle?

A

The CU sends signals to relevant functional units to perform the instruction

24
Q

What are examples of x86 instructions?

A

Examples of x86 instructions include various assembly language commands

25
What are Assemblers?
Programs that take assembly code and translate it to machine code
26
What are Input/Output devices?
Devices used to interact with computers, such as keyboards, mouses, screens, and network cards
27
What is Memory-mapped IO?
A special region of memory associated with I/O peripherals that allows CPU instructions for accessing memory to be used for accessing peripherals
28
What is Port-mapped IO?
A method where special instructions perform I/O operations
29
What are Interrupts?
Signals sent by I/O devices to the CPU to indicate that an I/O action has occurred
30
What is Direct Memory Access (DMA)?
A method used to transfer data directly between I/O devices and memory, bypassing the CPU
31
What does DMA require?
A DMA controller
32
What is Vectorisation?
Running the same instruction on multiple data at the same time
33
What is the challenge of writing sequences of bits?
It is quite hard and error-prone
34
What is assembly code?
A slightly easier form of programming compared to writing sequences of bits
35
What are high-level programming languages?
Languages that are close to the way humans think
36
What are low-level programming languages?
Languages that are close to the machine instructions
37
What are Compilers?
Software that translates high-level languages to low-level code
38
What is the challenge of running multiple programs?
Programs need to share the same machine and run concurrently
39
How do programs use I/O devices?
By reading/writing to memory without interfering with each other
40
What is the Von Neumann architecture?
A model that describes a digital system's components: Memory, CPU (ALU, Control, Registers), I/O devices, Logic gates