100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten 4.2 TrustPilot
logo-home
Tentamen (uitwerkingen)

CNIT 176 Exam Study Guide | Latest and Verified

Beoordeling
-
Verkocht
-
Pagina's
44
Cijfer
A+
Geüpload op
07-03-2025
Geschreven in
2024/2025

CNIT 176 Exam Study Guide | Latest and Verified

Instelling
CNIT 176
Vak
CNIT 176











Oeps! We kunnen je document nu niet laden. Probeer het nog eens of neem contact op met support.

Geschreven voor

Instelling
CNIT 176
Vak
CNIT 176

Documentinformatie

Geüpload op
7 maart 2025
Aantal pagina's
44
Geschreven in
2024/2025
Type
Tentamen (uitwerkingen)
Bevat
Vragen en antwoorden

Onderwerpen

Voorbeeld van de inhoud

CNIT 176 Exam Study Guide | Latest and Verified
Direct Memory Access - Required conditions

-The I/O interface and memory must be connected
-The I/O controller must be capable of reading and writing to memory
-Conflicts between the CPu and the I/O controller must be avoided
-Interrupt required for completion

Basic Model of I/O

Processing speed or program execution
-Determined primarily by ability of I/O operations to stay ahead of processor
-Input --> Processor --> Output

I/O Requirements

1. Means for addressing different peripheral devices
2. A way for peripheral devices to initiate communication
with the CPU
3. An efficient means of transferring data directly between
I/O and memory for large data transfers since programmed I/O is suitable only for slow devices
and individual word transfers
4. Buses that interconnect high-speed I/O devices with the computer must support high data
transfer rates
5. Capability of handling devices operating at varying speeds with varying delays
6. Means for handling devices with extremely different control requirements

Peripherals

External devices what you connect to a computer (other than CPU, Power, memory)

Simple I/O configuration

CPU -> I/O Controller -> I/O device

,Northbridge

special chip to handle communication between CPU, GPU, and RAM

Southbridge

Special chip to handle communication between northbridge and interfaces such as the USB and
SATA (harddrive) interfaces

More Complex I/O Module, Intel Xeon

Separate IO controller chipes might have been present for Ethernet, Audio, if not part of
Southbridge

In the Intel Core Series

Northbridge is now a part of the CPU

Advanced I/O techniques - Programmed I/O

-CPU controlled I/O and CPU initiated
-I/O data and address registers in CPU
-one word transfer per I/O instruction
-Address information for each I/O device
-Full instruction fetch/execute cycle
--Used or keyboard and other communication with I/O controllers

Advanced I/O techniques - Interrupt Driven I/O

-External input controls
-CPU adopts whatever it wants
-Not CPU initiated

Advanced I/O techniques - Direct Memory Access Controllers

Method for transferring data between main memory and a device that bypasses the CPU

Programmed I/O example

,see docs

Accumulator

where the CPU does its scratch work, in the ALU

Interrupts in the CPU

-Signal that causes the CPU to alter its normal flow of instruction execution
-Frees CPU from waiting for events
-Provides control for external I/O initiation

Interrupts in the CPU - examples

-Unexpected input
-Abnormal situation
-Illegal situations
-Multitasking, multiprocessing

Interrupt Teminology - Interrupt lines

Hardware on one mor more special control lines to the CPU

Interrupt Terminology - Interrupt request

see docs

Interrupt Terminology - Interrupt handlers

-Program that services the interrupt
-Also known as an interrupt routine or device driver

Interrupt Terminology - Context

-Saved registers of a program before control is transferred to the interrupt handler
-Allows program to resume exactly where it left over when control returns to interrupted
program

Use of Interrupts

, Notify that an external event has occurred
- Real or time sensitive


Signal Completion
-Printer ready or buffer full


Allocate CPU time
-Time sharing


Indicate abnormal event(aCPU originates for notification and recovery)
-Illegal operation, hardware error


Software Interrupts

Servicing the interrupt

Lower priority interrupts are held until higher priority interrupts are complete --> Suspend
program in progress --> Save context, including last instruction executed and data values in
registers, in the PCB or the stack area in memory --> Branch to interrupt handler program

Servicing the interrupt - Steps

1. Before interrupt arrives, program A is executing. The program counter points to the current
instruction


2. When the interrupt is received by the CPU, the current instruction is completed, all the
registers are saved in the stack area ( or in special area known as a process control block). The
PC is loaded with the starting location of program B, the interrupt handler program. This causes
a jump to program B, which becomes the executing program


3. When the interrupt routine is complete, the register are restored, including the program
counter, and the original program resumes exactly where it left off.
€11,44
Krijg toegang tot het volledige document:

100% tevredenheidsgarantie
Direct beschikbaar na je betaling
Lees online óf als PDF
Geen vaste maandelijkse kosten


Ook beschikbaar in voordeelbundel

Maak kennis met de verkoper

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
KenAli West Virginia University
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
84
Lid sinds
1 jaar
Aantal volgers
5
Documenten
17177
Laatst verkocht
23 uur geleden

2,9

19 beoordelingen

5
4
4
4
3
4
2
0
1
7

Recent door jou bekeken

Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via Bancontact, iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo eenvoudig kan het zijn.”

Alisha Student

Veelgestelde vragen