COMP 1600

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/7

encourage image

There's no tags or description

Looks like no tags are added yet.

8 Terms

1
New cards

Explain the stored program concept and why it is useful

  • The stored-program concept stores both instructions and data in memory, allowing the CPU to fetch and execute instructions sequentially.

  • It makes it easier to modify programs, implement high-level languages, and automate instruction sequencing.


2
New cards

Distinguish between SIMD and MIMD architectures

  • SIMD executes the same instruction on multiple data items in parallel (e.g. GPU image filtering).

  • MIMD executes different instructions on different data simultaneously (e.g. multi-core CPUs).


3
New cards

Two memory cells 6C and 6D each contain integer values. Explain from a computer architecture view point, how the values in the cells can be added.

The CPU reads values from addresses 6C and 6D into registers via the address and data buses, performs the addition in the ALU, and optionally writes the result back to memory.

4
New cards

Carefully explain how the bootloader works

The bootloader initializes hardware via BIOS/UEFI, locates the boot device, loads the OS kernel into memory, and transfers control to the kernel to continue system startup.

5
New cards

What is a critical region

A critical region is a code section that accesses shared resources.

6
New cards

What is an example of a critical region

Example: updating a shared bank account variable.

7
New cards

How can the operating system control access to a critical region

The OS enforces mutual exclusion via locks, semaphores, or atomic operations.

8
New cards

What is the function of the process manager

The process manager adds new processes to the process table and removes completed processes from the process table.