Computer Systems Arcutecture

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/43

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

44 Terms

1
New cards

Who was the first programmer?

Ada Lovelace

2
New cards

What does abstraction mean?

The concept of hiding lower-level details of a system and exposing only the essential features or interfaces needed for higher-level operations.

3
New cards

Is the ALU automatic?

No, operands & operations must be supplied in the correct sequence by the control unit

4
New cards

What does ALU stand for?

Arithmetic (and) logic unit

5
New cards

What does the control unit do?

Orchestrates the execution of instructions for the ALU

<p>Orchestrates the execution of instructions for the ALU</p>
6
New cards

What is the form of the data that is processed by von Neumann architecture?

Digital (binary)

7
New cards

What are the defining features of the von Neumann architecture?

knowt flashcard image
8
New cards

Where is data stored in the von Neumann architecture?

Data store unit, which is combined with the instruction store in a single store

<p>Data store unit, which is combined with the instruction store in a single store</p>
9
New cards

Where do the operation information come from?

From the instruction store (in the main memory) which also stores the data store

10
New cards

How does the control unit work? (3-word cycle)

knowt flashcard image
11
New cards

Difference between Harvard & von Neumann?

Separates stores of data and instructions, allowing the CPU to access both simulaneously.

<p>Separates stores of data and instructions, allowing the CPU to access both simulaneously.</p>
12
New cards

What is a microcontroller?

A device with ALU, control unit, I/O & memory. Usually uses Harvard Architecture

<p>A device with ALU, control unit, I/O &amp; memory. Usually uses Harvard Architecture</p>
13
New cards

When is Harvard Architecture used?

Microcontrollers 

Sophisticated high-performance processors which exploit the parallel of fetching instructions & data at the same time

14
New cards

What are the 5 main components of von Neumann architecture?\

knowt flashcard image
15
New cards

What are buses?

A set of physical wires or communication pathways that carry data, addresses, and control signals between different parts of a computer system — mainly the CPU, memory, and input/output (I/O) devices.

16
New cards

What does the control unit enable?

Automation

17
New cards

What is the von Neumann bottleneck?

The limitation on data transfer speed between the CPU and main memory, because both program instructions and data share the same communication path

18
New cards

Benefit of cache?

Reduce the time the CPU spends waiting for data from the slower main memory.

19
New cards

How does cache work?

  • Cache holds a copy of recently used data or instructions from main memory.

  • The original data remains in main memory; the cache just keeps a faster, nearby copy.

  • When the CPU accesses memory:

    • Cache hit: CPU uses the copy in cache.

    • Cache miss: CPU fetches data from main memory, also storing a copy in the cache for future access.

20
New cards

What are registers?

Registers are small, very fast storage locations located inside the CPU.

They are the fastest type of data store

<p><strong>Registers</strong> are <strong>small, very fast storage locations</strong> located <strong>inside the CPU</strong>.</p><p></p><p>They are the fastest type of data store</p>
21
New cards

What is a uniprocessor?

A single central processing unit (CPU) that executes instructions one at a time.

22
New cards

What are the 2 control architectures for multiprocessors?

knowt flashcard image
23
New cards

What is an array?

Contiguous (unbroken sequence) collection of elements of the same data type. Can be accessed directly using an index or subscript

<p>Contiguous (unbroken sequence) collection of elements of the same data type. Can be <strong>accessed directly</strong> using an <strong>index</strong> or <strong>subscript</strong></p>
24
New cards

What is Flynn’s Taxonomy?

knowt flashcard image
25
New cards

What are the 4 different types of parallel processing?

/watch?v=MJ-ettBDJqQ

<p>/watch?v=MJ-ettBDJqQ</p>
26
New cards

What are the 2 types of memory architecture?

knowt flashcard image
27
New cards

Benefits/Cons to shared/distributed memory?

Shared is an efficient use of space, but leads to memory-to-CPU bottlenecks & cache coherence issues.

Distributed easy to scale up, but communication between processors is indirect and inefficient (message passing)

28
New cards

What is cache coherence?

When multiple caches store copies of the same memory location, any change made by one processor must be visible to all other processors. Shared memory can become a problem unless solved with “coherence protocols”.

29
New cards

What are some solutions to both shared and distributed memory architectures?

knowt flashcard image
30
New cards

What is Amdahl’s law?

P is the proportion of the program that can be run in parallel. N is the number of parallel parts

<p>P is the proportion of the program that can be run in parallel. N is the number of parallel parts</p>
31
New cards

How to convert numbers to different bases?

knowt flashcard image
32
New cards
<p>How to add this?</p>

How to add this?

knowt flashcard image
33
New cards

Where are bytes stored?

In memory cells

34
New cards

What is a store?

A collection of cells, each cell has an address (usually positive integers)

35
New cards

How are addresses numbered?

Addresses are numbered from 0 to (m-1) for a store with m cells.

<p>Addresses are numbered from 0 to (m-1) for a store with m cells.</p>
36
New cards

What is sequential memory access?

You must go through earlier data to reach later data.

Magnetic tape is the classic example of sequential access storage.
If you want to read record #90, the drive has to start at the beginning and move through records 1 → 2 → 3 ... → 90.

37
New cards

What is a flip-flop?

A flip-flop is like a tiny memory cell that:

  • Can hold either 0 or 1.

  • Remembers its state even when input changes — until told to change again.

38
New cards

What is binary-coded decimal?

knowt flashcard image
39
New cards

How do you represent negative integers in binary? (Using one’s complement)

First bit represents sign of integer:

0 = positive

1 for negative

e.g: 0111 1111 is +127

1111 1111 is -127

Only 255 values are represented in a cell.(since 0000 0000 and 1000 0000 both represent 0! (0 and -0)

40
New cards

How does 2’s complement system work?

  • Invert all bits (change 0 → 1, 1 → 0).

  • Add 1 to the result.

41
New cards

Benefit of using 2’s complement system?

There is only 1 way to represent 0, so not 256 possible data representations, not 255 like in 1’s complement.

42
New cards

How do you add 2 data points represented with 2’s complement?

Just like normal!

<p>Just like normal!</p>
43
New cards

What is a mantissa?

The part of a floating-point number which represents the significant digits of that number.

44
New cards

How to convert IEEE standard to decimal?

DOnt forget there is always a 1 at the front. All of this just represents the significant digits.

<p>DOnt forget there is always a 1 at the front. All of this just represents the significant digits.</p>