Unit 1: Introduction to Computer Architecture and Organization

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

1/16

flashcard set

Earn XP

Description and Tags

Flashcards covering Unit 1: Introduction to Computer Architecture and Organization (CSC 321), including computer architecture vs. organization, system levels, program translation stages, and problem-solving abstractions.

17 Terms

1
New cards

How does the transcript define computer architecture, and what four elements of computers does it study?

Computer architecture is the conceptual design and fundamental operational structure of a computer system, referring to attributes visible to the programmer. It studies:

  • Structure: static arrangement of the parts
  • Organization: dynamic interaction of the parts and their control
  • Implementation: design of specific building blocks
  • Performance: behavioural study of the system or some of its components
2
New cards

What are the three categories of computer architecture described in the lecture notes?

The three categories are:

  1. System Design: Includes all hardware components in the system including data processors aside from the CPU (such as the GPU and direct memory access), memory controllers, data paths, multiprocessing, and virtualization.
  2. Instruction Set Architecture (ISA): The interface between hardware and software, serving as the embedded programming language of the CPU.
  3. Micro-architecture (Computer Organization): Defines the data paths, data processing, and storage elements, as well as how they should be implemented in the ISA.
3
New cards

What four elements make up the Instruction Set Architecture (ISA)?

The ISA consists of:

  1. Instructions (operations and how they are encoded)
  2. Information units (size, how they are addressed, etc.)
  3. Registers (or more generally processor state)
  4. Input-output control
4
New cards

What is the primary difference between computer architecture and computer organization, and what example is given to illustrate this?

Computer architecture refers to attributes that have a direct impact on the logical execution of a program (the abstract image seen by a programmer, such as instruction sets and addressing modes), whereas computer organization refers to the operational units, physical interconnections, and control signals that realize those architectural specifications.

Example: The fact that a multiply instruction is available is a computer architecture issue; how that multiply instruction is implemented is a computer organization issue.

5
New cards
<p>What are the six hierarchical levels of a computer system shown in the diagram?</p>

What are the six hierarchical levels of a computer system shown in the diagram?

From highest to lowest:

  • Level 55: Problem-Oriented Language Level
  • Level 44: Assembly Language Level
  • Level 33: Operating System Machine Level
  • Level 22: Instruction Set Architecture Level
  • Level 11: Microarchitecture Level
  • Level 00: Digital Logic Level
6
New cards

What comprises Level 00 (Digital Logic Level) of a computer system?

Level 00 consists of the machine's true hardware, including wires and gates built from transistors. Gates compute simple functions such as AND or OR from digital inputs (00 or 11). A small number of gates can combine to form a 1-bit1\text{-bit} memory, which can be grouped into 1616, 3232, or 6464 bits to form registers or the main computing engine.

7
New cards

What is a data path at Level 11 (Microarchitecture Level), and how is its operation controlled?

A data path is a collection of state elements, computation elements, and interconnections that together provide a conduit for the flow and transformation of data in the processor during execution (involving local memory registers ranging from 88 to 32 bits32\text{ bits} and the ALU). Its operation is controlled either by a program called a microprogram or directly by hardware.

8
New cards

What are the main responsibilities of Level 33 (Operating System Machine Level)?

Its responsibilities include multiprogramming, synchronization processes, and protecting memory.

9
New cards

How does assembly language differ from high-level languages, and what utilities are used to convert it into machine code?

Assembly language is a low-level programming language specific to a computer's particular architecture, unlike high-level languages which are generally portable across systems. It is converted into executable machine code by a utility program called an assembler (such as NASM or MASM).

10
New cards
<p>What sequence of stages converts a C++ high-level program into executing memory code as illustrated in the lecture diagram?</p>

What sequence of stages converts a C++ high-level program into executing memory code as illustrated in the lecture diagram?

  1. C++ program is processed by a Compiler into an Assembly Language Program.
  2. The Assembler converts it into an Object: Machine Language Module.
  3. The Linker combines the module with Object: Library Routine (machine language program) to produce an Executable: Machine Language Program.
  4. The Loader copies the executable into Memory.
11
New cards

What is the distinction between object code and executable code?

Object code is the machine language representation of programming source code created by a compiler or assembler that still requires linking. Executable code is the final machine code generated after the linker combines modules and resolves library references into a form directly usable by the computer.

12
New cards

What functions do the Linker and Loader perform?

  • Linker: Combines one or more files containing object code from separately compiled program modules and library routines into a single file containing loadable or executable code.
  • Loader: Copies an executable program into memory for execution by the processor.
13
New cards
<p>What are the seven transformation steps used to solve a problem using a computer as illustrated in the abstraction diagram?</p>

What are the seven transformation steps used to solve a problem using a computer as illustrated in the abstraction diagram?

  1. Problem
  2. Algorithm
  3. Program
  4. Instruction Set Architecture
  5. Microarchitecture
  6. Circuits
  7. Devices
14
New cards

What three characteristics must an algorithm possess in the problem-solving process?

An algorithm must have:

  1. Definiteness
  2. Effective computability
  3. Finiteness (guaranteed to finish via a step-by-step procedure)
15
New cards

What three factors determine the design of the microarchitecture level?

The design of the microarchitecture level depends on:

  1. ISA being implemented
  2. Cost of computer
  3. Performance goals
16
New cards

What primary trade-off drives the most important design choices made by a CPU designer?

The primary trade-off driving the most important choices is speed versus cost.

17
New cards

How do Reduced Instruction Set Computer (RISC) designs compare to complex ISAs like Core i7 regarding instruction execution cycles?

RISC designs feature simple instructions that can usually be executed in a single clock cycle, whereas complex ISAs (such as the Core i7 instruction set) may require many cycles to locate operands, read them, execute, and store results back in memory.