04 Computer Components & Operations

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

What is the primary role of the Operating System in a computer?

  • To follow the program's instructions.
  • To store data persistently.
  • To perform common operations and make the computer a useful device. (correct)
  • To execute instructions in a specific cycle.

What is the function of the Arithmetic Logic Unit (ALU)?

  • Carries out arithmetic and logical operations. (correct)
  • Follows the program's instructions.
  • Stores data and instructions.
  • Manages input and output devices.

What does the Fetch/Execute Cycle primarily do?

  • Executes instructions from a program. (correct)
  • Translates code into different programming languages.
  • Stores data in memory.
  • Manages the computer's hardware.

Which component of a computer stores data and instructions?

<p>Memory (D)</p> Signup and view all the answers

What aspect of a device driver is correct?

<p>Device drivers give peripherals their standard meaning and behavior. (A)</p> Signup and view all the answers

What is the role of 'Indirect Reference' in machine instructions?

<p>Referring to a value by referring to its address in memory. (B)</p> Signup and view all the answers

After the Instruction Fetch (IF) step in the Fetch/Execute cycle, what is the next step?

<p>Instruction Decode (ID) (A)</p> Signup and view all the answers

Which of the following is a characteristic of Random Access Memory (RAM)?

<p>It allows the computer to access memory locations in any order. (D)</p> Signup and view all the answers

What is the primary function of the Control Unit in a computer?

<p>Fetching instructions and controlling their execution. (B)</p> Signup and view all the answers

What is the role of a compiler in the context of software?

<p>To translate source code into assembly code. (A)</p> Signup and view all the answers

In the context of memory organization, what does the term 'word' typically refer to?

<p>A collection of four bytes. (A)</p> Signup and view all the answers

Why is photolithography essential in the manufacturing of integrated circuits?

<p>It prints the circuit pattern onto a silicon wafer. (A)</p> Signup and view all the answers

What is the relationship between clock speed and the Fetch/Execute Cycle in a computer?

<p>Clock speed determines the rate at which the Fetch/Execute Cycle operates. (B)</p> Signup and view all the answers

What distinguishes assembly language from machine code?

<p>Assembly uses words instead of 0s and 1s, while machine code is purely binary. (B)</p> Signup and view all the answers

Which sequence accurately describes the translation of a program from source code to execution?

<p>Source code -&gt; Compiler -&gt; Assembler -&gt; Binary (D)</p> Signup and view all the answers

What is the significance of miniaturization in the context of integrated circuits (ICs)?

<p>It allows computer clocks to run at higher GHz rates. (B)</p> Signup and view all the answers

How does a transistor function within an integrated circuit?

<p>It is a connector between two wires that can be controlled to allow a charge to flow between the wires (conduct) or not. (D)</p> Signup and view all the answers

How does the program counter (PC) influence the execution of instructions by the CPU?

<p>The PC keeps track of the next instruction. (D)</p> Signup and view all the answers

What is the purpose of the 'Data Fetch' (DF) step in the Fetch/Execute Cycle?

<p>To retrieve data values from memory for use in the instruction. (B)</p> Signup and view all the answers

Which of the following best describes the concept of 'integration' in the context of computer hardware?

<p>The manufacturing of active components and the wires that connect them together, on similar materials and by a single (multi-step) process. (B)</p> Signup and view all the answers

In the context of computer architecture, what is a 'pipeline' and how does it improve performance?

<p>A technique that allows modern computers to start a new instruction each clock cycle, by working like an automobile assembly line. (A)</p> Signup and view all the answers

What best describes the role of logic gates in the Arithmetic Logic Unit (ALU)?

<p>They implement basic logical operations, such as AND, OR, and NOT, enabling the ALU to perform arithmetic and logical computations. (A)</p> Signup and view all the answers

You are debugging a program and notice that a variable's value is not what you expect after an ADD instruction. The instruction in assembly looks like ADD 4000, 2000, 2080. What is the most likely explanation for this behavior if the instruction itself is correctly implemented?

<p>The values at memory addresses 2000 and 2080 were not correctly initialized before the ADD instruction was executed. (C)</p> Signup and view all the answers

Consider a hypothetical computer that uses 24 bits to represent memory addresses. Each memory location stores one byte. What is the maximum amount of RAM this computer can support, expressed in gigabytes (GB)? (Note: 1 GB = $2^{30}$ bytes)

<p>16 GB (A)</p> Signup and view all the answers

What is the role of the 'Result Return' (RR) step in the Fetch/Execute Cycle?

<p>To store the result of the execution back into memory. (A)</p> Signup and view all the answers

Why is a device driver essential for peripheral devices?

<p>It provides the specific instructions for the computer to interact with the device. (C)</p> Signup and view all the answers

What is the primary function of the Instruction Decode (ID) stage in the Fetch/Execute cycle?

<p>To determine which operation the ALU will perform and set up the ALU accordingly. (B)</p> Signup and view all the answers

What is the significance of the 'program counter' (PC) in a computer?

<p>It holds the address of the next instruction to be executed. (C)</p> Signup and view all the answers

What is the function of a MOS transistor in an integrated circuit?

<p>It acts as a switch, controlling the flow of charge between two points based on a control signal. (B)</p> Signup and view all the answers

Which process is utilized to manufacture integrated circuits?

<p>Photolithography (A)</p> Signup and view all the answers

Which of the following is the correct sequence of steps in photolithography?

<p>Deposit material, cover with photoresist, expose to UV light, etch, remove photoresist (C)</p> Signup and view all the answers

What best describes the role of the Control Unit within a CPU during the Fetch/Execute Cycle?

<p>It directs the sequence of operations, including fetching and decoding instructions. (A)</p> Signup and view all the answers

How does increasing the clock speed typically affect a computer's performance?

<p>It allows the Fetch/Execute Cycle to run more quickly, increasing the number of instructions executed per second. (C)</p> Signup and view all the answers

What distinguishes Random Access Memory (RAM) from hard disk drives (HDD) in terms of function?

<p>RAM provides faster access to data for active processes, while HDDs provide non-volatile storage. (C)</p> Signup and view all the answers

What is a primary advantage of using assembly language over machine code?

<p>Assembly language uses mnemonic codes, making it easier for programmers to read and write. (A)</p> Signup and view all the answers

Which of the following accurately describes the translation process from source code to executable code?

<p>Source code -&gt; Compiler -&gt; Assembler -&gt; Executable code. (A)</p> Signup and view all the answers

How is miniaturization essential in the manufacturing of integrated circuits (ICs)?

<p>It increases the speed and reduces the power consumption of ICs. (B)</p> Signup and view all the answers

What is the effect of 'indirect referencing' in computer instructions?

<p>It allows an instruction to refer to a value by its memory address, rather than the value itself. (A)</p> Signup and view all the answers

Which of the following is the best definition of a 'software stack'?

<p>A linear arrangement of system software layers that provide services to each other. (D)</p> Signup and view all the answers

In modern computer architecture, what benefit does pipelining provide?

<p>Increases instruction throughput by overlapping instruction execution. (D)</p> Signup and view all the answers

Which statement best describes the functionality of the Arithmetic Logic Unit (ALU)?

<p>To perform arithmetic and logical operations. (B)</p> Signup and view all the answers

What operation does the 'Data Fetch' (DF) step perform in the Fetch/Execute cycle?

<p>Retrieves data required for the instruction. (D)</p> Signup and view all the answers

What are 'registers' within the context of computer architecture?

<p>High-speed storage locations within the CPU used to hold data and instructions. (D)</p> Signup and view all the answers

How does the use of a peripheral, such as a keyboard, relate to I/O ports?

<p>Peripherals connect to the computer via I/O ports, enabling input of data. (A)</p> Signup and view all the answers

What is a key function of the Basic Input/Output System (BIOS) during the computer startup process?

<p>Searching for the boot sector and loading the Operating System. (D)</p> Signup and view all the answers

Which of the following best describes the concept of ‘integration’ in the context of computer hardware?

<p>The manufacture of active components and the wires that connect them together in a single process. (A)</p> Signup and view all the answers

In the context of the software stack, what does the Common Language Runtime (CLR) primarily handle?

<p>Executing code and managing resources for various programming languages. (B)</p> Signup and view all the answers

Why does the processor increase the Program Counter (PC) by 4 after fetching an instruction (assuming each instruction is 4 bytes)?

<p>To point to the next instruction in memory, given that instructions are stored sequentially. (C)</p> Signup and view all the answers

What is the term for a memory location's fixed identifying number used to access data?

<p>Address (D)</p> Signup and view all the answers

Which of the following is not a basic part or subsystem of a computer?

<p>Transistor (C)</p> Signup and view all the answers

How do branch and jump instructions affect the program counter (PC)?

<p>They load a specific address into the PC, altering the sequence of execution. (B)</p> Signup and view all the answers

One GHz is equal to how many cycles per second?

<p>$10^9$ (C)</p> Signup and view all the answers

What is the main role of a compiler during software development?

<p>To translate source code into assembly code. (D)</p> Signup and view all the answers

Within the memory hierarchy, what is the general relationship between access time and unit cost?

<p>As access time decreases, unit cost increases. (C)</p> Signup and view all the answers

Silicon is classified as a semiconductor because its electrical conductivity can be:

<p>Controlled to switch between conducting and insulating states. (D)</p> Signup and view all the answers

Which computer component handles encoding keystrokes into binary form?

<p>Keyboard (D)</p> Signup and view all the answers

Which of the following memory types is considered volatile?

<p>Random Access Memory (RAM) (A)</p> Signup and view all the answers

What is the main purpose of the 'Fetch' stage in the Fetch/Execute cycle?

<p>To retrieve the instruction from memory. (D)</p> Signup and view all the answers

How does the data in memory react following the Data Fetch?

<p>The data in memory remains unchanged, and is copied to the ALU circuitry (A)</p> Signup and view all the answers

You are examining assembly code and encounter an instruction like ADD 4000, 2000, 2080. In this context, what do the numbers 4000, 2000, and 2080 likely represent?

<p>Memory addresses where the operands are stored and the result will be stored. (B)</p> Signup and view all the answers

During the instruction fetch (IF) stage of the Fetch/Execute cycle, what circuit receives the bits of instruction?

<p>The Control Unit decoder circuit (C)</p> Signup and view all the answers

Consider a computer that uses a memory addressing scheme where the program counter (PC) is incremented by 4 after each instruction fetch. However, a particular instruction occupies 8 bytes in memory. What adjustment must occur during fetching to ensure the correct subsequent instruction is accessed?

<p>The PC must be incremented by 8 instead of 4. (B)</p> Signup and view all the answers

Given the layered approach of system software and its dependencies, suppose a programmer alters a function within the Base Class Library on a Windows system. What potential outcome should be considered?

<p>Programs may encounter compatibility issues because the services of reused layers have been changed. (B)</p> Signup and view all the answers

In the context of modern computer architecture, what is the most accurate interpretation of 'multitasking' by an Operating System (OS)?

<p>The OS rapidly switches between processes, creating the illusion of simultaneous execution on a single processor. (D)</p> Signup and view all the answers

What role does the operating system play in managing main memory, particularly when multitasking?

<p>It ensures processes do not interfere with each other's memory spaces, maintaining system stability. (C)</p> Signup and view all the answers

A program involves the frequent allocation and deallocation of small memory blocks. If the OS is unable to meet these memory requests for some reason, what is the most likely next operation?

<p>The OS would use a swap/page/virtual memory file to allocate unused hard drive for extra storage. (B)</p> Signup and view all the answers

What is the disadvantage of virtual memory for performance?

<p>Writing out and reading in a process to storage requires additional time. (B)</p> Signup and view all the answers

What is the advantage of flash memory over magnetic HD?

<p>Flash memory is much faster. (D)</p> Signup and view all the answers

What is the purpose of the 'program counter' (PC) in a computer that uses branch and jump instructions?

<p>To keep track of the next instruction to be executed, which might not be the next instruction in memory. (B)</p> Signup and view all the answers

What is the primary function of photolithography in the manufacturing of integrated circuits?

<p>To create the circuit pattern on a silicon wafer using light and masks. (A)</p> Signup and view all the answers

Which of the following best describes the role of an assembler?

<p>Converts assembly language code into machine code. (B)</p> Signup and view all the answers

What is the significance of miniaturization in integrated circuits (ICs)?

<p>It allows for higher clock speeds and faster processing. (D)</p> Signup and view all the answers

What role do transistors play in integrated circuits?

<p>They serve as connectors between two wires that can be controlled to allow a charge to flow between the wires. (D)</p> Signup and view all the answers

Why is silicon classified as a semiconductor?

<p>It can either conduct electricity or not, depending on specific conditions. (C)</p> Signup and view all the answers

Which component encodes keystrokes into binary form?

<p>Keyboard (C)</p> Signup and view all the answers

What is the role of a device driver?

<p>To translate generic commands into device-specific instructions. (C)</p> Signup and view all the answers

What is 'indirect reference' in the context of machine instructions?

<p>Referring to a value by referring to its address in memory. (C)</p> Signup and view all the answers

How is the program counter (PC) altered during the execution of branch and jump instructions?

<p>The PC is updated to point to a specified memory location, deviating from sequential execution. (A)</p> Signup and view all the answers

During photolithography, what happens after a layer is covered with photoresist and a mask is applied?

<p>The surface is exposed to UV light to harden the exposed areas. (B)</p> Signup and view all the answers

What is the role of the Common Language Runtime (CLR) within a software stack, such as the .NET framework?

<p>Providing a platform for executing managed code and offering services like memory management and exception handling. (D)</p> Signup and view all the answers

How does the use of machine instructions facilitate different computations, even with the same instruction?

<p>By changing the data in the referenced memory locations. (B)</p> Signup and view all the answers

Which statement accurately relates clock speed to computer performance?

<p>Clock speed determines the rate at which Fetch/Execute Cycles occur, so computers with higher clock speeds usually perform faster than computers with lower clock speeds. (B)</p> Signup and view all the answers

What is the most likely outcome if a programmer changes a function within the Base Class Library?

<p>Unintended consequences and potential instability in all applications dependent on the Base Class Library. (C)</p> Signup and view all the answers

In modern computer architecture, what is the role of the 'pipeline'?

<p>A mechanism for improving performance by overlapping the execution of multiple instructions. (D)</p> Signup and view all the answers

Which of the following is a characteristic of flash memory?

<p>Non-volatile and easily rewritable. (B)</p> Signup and view all the answers

Why is 'integration' important in the context of computer hardware?

<p>It makes it possible to manufacture active components and the wires that connect them by a single process, leading to smaller and more reliable devices. (B)</p> Signup and view all the answers

Suppose advancements in material science allowed transistors to switch states instantaneously (i.e., with zero switching time). What is the most direct implication of this advancement on computer architecture?

<p>Clock speeds could increase without being limited by transistor switching times, if cooling systems were adequate. (A)</p> Signup and view all the answers

A computer has 8 memory locations, each capable of storing one byte. An ADD instruction takes the contents of two memory locations, adds them, and stores the result in a third memory location. If the values in memory locations are unsigned integers, what instruction sequence would result in both an overflow and incorrect result in memory location 7, assuming location 7 starts with a value of zero?

<p><code>ADD 7, 1, 2; ADD 7, 3, 4;</code> given locations 1-4 are initially set to {200, 100, 150, 110}. (A)</p> Signup and view all the answers

Flashcards

Processor

Follows the program's instructions.

Operating System

Software that manages computer hardware and software resources.

Software

A set of instructions for the computer.

Instructions

Commands that tell the processor what to do.

Signup and view all the flashcards

Fetch/Execute Cycle

The cycle that executes instructions (Fetch, Decode, Execute).

Signup and view all the flashcards

Memory

Stores data and program instructions.

Signup and view all the flashcards

Hardware

The physical components of a computer system.

Signup and view all the flashcards

System Software Layers

Arranged in layers, each providing services to the layer above.

Signup and view all the flashcards

Fetch/Execute Cycle

A series of operations the computer repeats to execute instructions.

Signup and view all the flashcards

Registers

Where data elements and instructions are stored during process.

Signup and view all the flashcards

Memory

Stores running programs and the data they operate on.

Signup and view all the flashcards

Address

A memory location's unique identifier.

Signup and view all the flashcards

Value

The data stored at a memory address.

Signup and view all the flashcards

Random Access Memory (RAM)

Computer can refer to the memory locations in any order

Signup and view all the flashcards

Control Unit

Where Fetch/Execute Cycle happens.

Signup and view all the flashcards

Arithmetic/Logic Unit (ALU)

Performs arithmetic and logical operations

Signup and view all the flashcards

Input and Output Units

Wires and circuits for information moving in and out.

Signup and view all the flashcards

Peripherals

Component that encodes or decodes information between processor and devices.

Signup and view all the flashcards

Keyboard

Encodes keystrokes into binary form.

Signup and view all the flashcards

Monitor

Decodes information to display on a screen.

Signup and view all the flashcards

Device Driver

Added processing that gives peripherals meaning and behavior.

Signup and view all the flashcards

Indirect Reference

Referring to a value by referring to its address in memory

Signup and view all the flashcards

Program Counter

Memory address of next instruction.

Signup and view all the flashcards

Fetch/Execute Cycle

A five step data processing routine.

Signup and view all the flashcards

First step in the Fetch/Execute Cycle

Instruction Fetch (IF)

Signup and view all the flashcards

Instruction Decode (ID)

Operation for which ALU is set up

Signup and view all the flashcards

Data Fetch instruction (DF)

Values retrieved from memory.

Signup and view all the flashcards

Instruction Execution step (EX)

The actual math being done.

Signup and view all the flashcards

Result Return (RR)

Result from EX is saved to a particular result return (RR)

Signup and view all the flashcards

Computer Clock

Computer's clock determines the rate of the cycles.

Signup and view all the flashcards

Pipelining

An attempt to start a new instruction each clock tick.

Signup and view all the flashcards

Translator

Computer needs assembly language to do work.

Signup and view all the flashcards

Compiler

Translates source code to assembly language.

Signup and view all the flashcards

Assembler

Assembly to machine language.

Signup and view all the flashcards

Integrated Circuits

Miniaturization

Signup and view all the flashcards

Integration

components manufactured together by single process.

Signup and view all the flashcards

Photolithography

Printing process.

Signup and view all the flashcards

Transistor

Connector between two wires.

Signup and view all the flashcards

Semiconductor

Conductor and an insulator.

Signup and view all the flashcards

Field Effect

Can conduct electricity in a charged field.

Signup and view all the flashcards

On-Again, Off-Again

Controls if a transistor conducts signals

Signup and view all the flashcards

Access Time

Necessary to read or write content.

Signup and view all the flashcards

Unit Cost

The cost per stored byte.

Signup and view all the flashcards

Volatile Memory

Information lost when off

Signup and view all the flashcards

Persistent Memory

Hard-Disk

Signup and view all the flashcards

Magnitiude

The degree to which it's built to be large.

Signup and view all the flashcards

Software

What is needed to get from the user to the computer

Signup and view all the flashcards

Operating System

Make effective environ. for users+manage hardware++Translate user to resources.

Signup and view all the flashcards

Bootstrap

Loading OS is indicated in bootseter

Signup and view all the flashcards

IOS(Basic Input-Output System)

Located in ROM

Signup and view all the flashcards

Study Notes

Core Elements of Computer Operation

  • Computers are utilized daily for continuous computation.
  • Examples are laptops, cameras, tablets, smart devices and GPS.

Key Computer Components

  • Processor executes program instructions.
  • Operating System manages common operations making the computer usable.
  • Software refers to programs.
  • Instructions are what the processor needs to perform a task.
  • Fetch/Execute Cycle carries out the instructions.
  • Memory stores data.
  • Hardware constitutes the computer’s physical components.

Understanding New Apps

  • New apps are often long sequences of bits, typically not typed one by one by programmers.
  • These bits are produced through a program
  • Programs consist of instructions in an algorithm, lines are sparse with a few symbols, and they may include English words naming available facilities.

Software Characteristics

  • Specialized training may be needed to derive a program's meaning.
  • Typographical errors, even minor ones, can lead to software bugs.

Software Organization

  • System software is structured in layers where each layer utilizes services from the layer below and provides services to the layer above.
  • This promotes shared effort, reusability, consistent behavior, and easier bug fixing.

Instruction Execution

  • Computers execute instructions through the Fetch/Execute Cycle.
  • The cycle involves getting the next instruction, figuring out what to do, gathering data, executing the instruction, saving the result, and repeating the process.
  • The process repeats billions of times per second.

Anatomy of Computers

  • Regardless of technology, basic computer architecture comprises five key parts: memory, control unit, Arithmetic Logic Unit (ALU), input unit, and output unit.

Registers Role

  • Registers are memory areas for storing data elements and instructions during computer operations.

Memory Attributes

  • Memory stores running programs while also storing operated data.
  • Memory discrete locations are organized as a sequence.
  • In modern memory, each location is one byte (8 bits).
  • Memory has addresses and values.
  • Every memory location has an address starting with 0.
  • Values are recorded or stored in memory locations.
  • Memory has finite capacity
  • Memory locations have limited sizes.
  • Data may not fit in its memory location.

Common Memory Visualization

  • Memory is represented as boxes each holding 1 byte with addresses displayed above the box.

Byte Uses

  • A 1-byte memory location can store one ASCII character, part of a number, or part of an instruction.
  • Four-byte blocks are commonly referred to as memory "words."
  • The software determines usage of a memory location's content.

RAM Information

  • Computer memory is known as Random Access Memory (RAM), which allows access to memory locations in any order.
  • RAM is measured in megabytes (MB) or gigabytes (GB).
  • Sufficient RAM provides necessary space for programs and data.

Control Unit Role

  • The control unit facilitates the Fetch/Execute Cycle.
  • The circuitry fetches instructions from memory and executes the Fetch/Execute Cycle.

ALU Core Functions

  • The Arithmetic/Logic Unit (ALU) performs mathematical operations.
  • Circuits within the ALU can add numbers using logic gates to implement operations like AND and OR.
  • ALUs can multiply and compare numbers using separate circuits for each machine instruction.

I/O Units Importance

  • Input and output units are essential for computers to receive and send information.
  • A computer cannot function without them.

Defining Peripherals

  • Peripherals connect to input/output ports to provide input or receive output, but are not part of the processor.
  • They function as specialized encoding and decoding gadgets.

Peripheral Examples

  • Keyboards encode keystrokes into binary.
  • Monitors decode information for display.
  • Peripherals handle the physical aspect of operations.

Portable Storage Facts

  • Peripherals like USB drives and hard disks serve as both input and output.
  • They function as storage devices.
  • Hard disks act as primary peripherals with tight computer integration.

Device Drivers Role

  • Peripheral devices are "dumb", requiring software drivers for intelligible operation.
  • Device drivers provide standard meaning and behavior to peripherals.

Machine Instructions Breakdown

  • ADD 4000, 2000, 2080
  • It adds the numbers in memory locations 2000 and 2080 and stores the result in location 4000.
  • Computer instructions encode memory addresses, not numbers.
  • Indirect reference refers to a value by its memory address.

Machine Instructions Operation

  • Computers determine the instruction by using the Program Counter (PC), which points to the next instruction's address in memory.
  • The computer increases the PC by 4 after each instruction, where instructions use 4 bytes of memory.

Branch and Jump Operation

  • Not all instructions need to be in a strict order
  • The instruction contains a memory location to go to next
  • The computer "jumps" or "branches."

Fetch/Execute Cycle Steps

  • Cycle includes Instruction Fetch (IF), Instruction Decode (ID), Data Fetch (DF) / Operand Fetch (OF), Instruction Execution (EX), and Result Return (RR) / Store (ST).

Instruction Fetch Explanation

  • Execution begins by transferring the instruction from the PC's address to the control unit.
  • Bits of instruction are placed into the CU decoder circuit.
  • After fetching, the PC can prepare for the next instruction.

Instruction Decode Facts

  • The ALU is set up for the operation.
  • The decoder finds the memory addresses (Source Operands).
  • Most instructions operate on two data values
  • The decoder identifies the destination address and determines the ALU operation, setting up the ALU for the ADD instruction.

Data Fetch Purpose

  • Data is retrieved from the location of its memory and is operated on.
  • Values at memory are then copied to ALU circuitry.
  • Data values are not destroyed in the memory.

Instruction Execution Function

  • The addition circuit adds the source operands and their sum is held in ALU circuitry.
  • This is the actual computation.

Result Returns Impact

  • The RR process returns the result to the specified memory location, after which the cycle repeats.

Clock Significance

  • The speed of the system is determined by how many cycles that are done each second
  • The execution clock rates are in Megahertz(MHz) or millions of hertz
  • A 1,000 MHz clock ticks a billion times per second which is 1 GHz

Nanosecond Relation

  • A 1 GHz clock has one billionth of a second or one nanosecond to run the Fetch/Execute.

Pipelining Benefits

  • Modern computers start new instructions each clock tick, using a pipeline concept similar to an assembly line.
  • Pipelines fetch and pass along instructions, allowing continuous fetching of others.

ALU Operations Information

  • Computers have a limited set of instructions, around 100, recognized by decoder hardware .
  • Typically, there are about 20 different kinds of operations.
  • Every computation is a combination of these instructions

Source Code Translation

  • Source code is what programmers write, such as this.Opacity += 0.02.
  • It's converted into assembly, which uses words instead of 0s and 1s, then to binary.
  • The bits needed by the processor are object code, binary code, or just binary.

Compiler Functions

  • A compiler is a program that translates another program into assembler language and each language requires its compiler.
  • The assembly language is converted to machine language by an assembler.

Integrated Circuit Importance

  • Integrated Circuits run at GHz rates due to their small processor chips because Electrical signals can travel 30 cm in a nanosecond.

Integration Details

  • Early computers were made from separate parts (discrete components) wired together by hand
  • Each transistor, resistor, and capacitor needed to be connected to wires of another.
  • Active components and the wires that connect them are manufactured together from similar materials by a single (multi-step) process
  • IC technology places transistors in the silicon along the connection and is small and reliable.

Photolithography Process

  1. Deposit aluminum on the silicon
  2. Cover with photoresist material, and place a mask over it
  3. The mask pattern creates the features with UV light exposure
  4. Unexposed areas are washed away
  5. Hot gases etch the layer above
  6. The remains create the patterns.

Transistors Basic Details

  • A transistor is a connector between two wires
  • It controls the charge that flows between the wires.
  • A transistor being used is MOS or Metal Oxide Semiconductor.

Semiconductor Basics

  • Semiconductors conduct and don't conduct electricity, controlling for computer construction.
  • Silicon in a channel conducts electricity with a charged field from a positive gate.
  • Electrons attract from the silicon until the field is removed, and the channel disperses.

ALU in Relation to Transistors

  • Logical ALU's such as AND or OR built from transistors for complicated combinations.
  • Memory and control units are made by parts.
  • Eventually, ALU then processor.

Memory Access

  • This refers to the time necessary to read or write the content of a memory location.

Regarding Cost

  • This is the cost by stored byte

Memory of Volatility

  • Volatile memory loses information when turned off.
  • Persistent memory stays safe when computers are turned off.

Memory Size

  • Memory size refers to the maximum a given technology has.

Main Memory Tradeoff

  • The amount of each memory should be optimized and cost-effective.

Caching for RAM and CPU registers

  • This allows transfer times to be optimal.

Storage as a Standard

  • Hard disks are known to have the safest storage

HCI Implementations

  • Peripherals execute it but implement data entering and exiting at the external computer.
  • Details are put onto cards that connect to the BUS "data highway".

BIOS Function

  • The BIOS manages tasks such as checking hardware resources, initializing programs, diagnosing issues, and searching for the boot sector.
  • BIOS is stored in a ROM provided by a computer manufacturer.

Processors and Processes

  • A processor executes programs while processes load and execute in main memory and their states depend on the OS.
  • Processor life will be completely controlled by the OS.

Mutlitasking

  • OS allow process execution
  • The processor allows one process a time with the OS assigning processor usage.
  • The resources should be properly used for all processes.

Virtual Memory Accesses

  • When main memory usage is full, processes will be stored in the secondary memory and read again.
  • This only effects speed, but not function, reading processes requires additional time.

OS List

  • PC: Windows, Apple Mac OSX, Linux
  • Mobiles: Android, iOS
  • Mainframes: Unix, IBM

Software's Stored and Translated

  • Task performed is done by large application program > commands compiled with assembly instructions > Assembly translated into computer's binary > Cycle executed > Processor provides logic

Software Summary

  • Software's are in coded language with terms and operations
  • Repeat fetches of each instruction (by PC), decodes operation, retrieves, performs and stores result.
  • Data isn't referred to directly nor machine but indirectly.
  • Computes are done on data on referenced locations of a instruction.
  • This process involves components with a processor and bytes that stores data and the running programs in the Alu.
  • Coding involves sophisticated programming to create complex OS.
  • Basics of IC involves integrating the components with production by photo effect to control conductivity.

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

Related Documents

More Like This

Use Quizgecko on...
Browser
Browser