100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Computer Science

Rating
-
Sold
-
Pages
69
Grade
A+
Uploaded on
23-07-2024
Written in
2023/2024

Computer Science Paper 1 Control Unit - ANS-A register in the cpu that controls and coordinates the activities of the cpu directing the flow of data Bus - ANS-a series of connectors that transfer signals between internal components Memory Read - ANS-causes data from the addressed location in RAM to be placed on the data bus Memory Write - ANS-Causes data on the data bus to be written into the addressed location. Bus Request - ANS-Indicates that a device is requesting the use of the data bus Bus Grant - ANS-Indicates that the CPU has granted access to the data bus. System bus - ANS-collective term for address, data and control bus Data bus - ANS-A bi-directional path for moving data and instructions between system components Clock - ANS-used to synchronize operations Control bus - ANS-A bi-directional bus to transmit command, timing and specific status information between system components Address bus - ANS-A one directional bus that transmits memory addresses that are used as operands in programming instructions, so that data can be retrieved from main memory ALU - ANS-Arithmetic-Logic unit, preforms logical and arithmetic operations on data e.g. ADD, SUBTRACT, shift operations or Boolean logic Registers - ANS-High speed memory cells, all arithmetic and logic happens in these, typically there are 16 general purpose registers in a CPU, they are very fast Accumulator - ANS-A special purpose register which stores the result of calculations made by the ALU Program Counter (PC) - ANS-Holds the address of the next instruction to be executed, this can be the next instruction in a sequence of instructions, or a branch/ jump Current instruction register (CIR) - ANS-stores the actual instruction that is being decoded Memory address register (MAR) - ANS-stores the address of instructions and data that need to be fetched from or sent to memory Memory data register (MDR) - ANS-stores the data which is to be sent or fetched from memory Interrupt registers - ANS-generates and detects interrupts Fetch Decode Execute register sequence - ANS-PC MAR Address Bus Memory Data bus MDR CIR Decode Unit MAR Address Bus Main Memory Fetch phase - ANS-- Instructions pulled from memory and stored in main memory. - Program Counter (a register) stores the address location of the instruction - Program Counter and instructions are placed in the Instruction Register (IR) - Program Counter is incremented by 1 Decode phase - ANS-1. Instruction in CIR is decoded 2. Instruction is split into opcode and operand 3. the operand determines the type of instruction - if its the address of the data used with the operation it is copied into the MAR - if it the actual data to be operated on it is copied into the MDR 4. the data to be operated on is passed into the ALU/ acc Execute phase - ANS-The appropriate instruction/ opcode is carried out on the data/ operand Main factors affecting preformance - ANS-- Clock speed - Number of cores - The amount and type of cache Clock speed - ANS-The system clock generates a series of signals (1 or 0) synchronising with the CPU operations. The CPU cannot preform faster than the system clock. Positives of increasing clock speed - ANS-You can carry out more instructions in a given time; improved performance What is clock speed measured in? - ANS-Hz Negatives of increasing clock speed - ANS-more heat generated meaning computers must be cooled (either with heat sync/fan or water/oil cooling) Positive of multiple cores - ANS-may speed processing as concurrency is available negatives of multiple cores - ANS-complicated circuitry (more expensive) doesn't always improve performance Positives of increasing cache size - ANS-less time fetching data; improved performance Negatives of increasing cache size - ANS-expensive, physically further from cpu and thus slower Level 1 cache - ANS-Small but extremely fast Level 2 cache - ANS-fairly fast and medium sized Level 3 cache - ANS-slower and bigger Pipelining - ANS-When the computer architecture allows the next instruction to be fetched at the same time as the processor is preforming arithmetic or logical operations. (buffer close to the processor) Bottleneck Address bus - ANS-The width of the address bus determines the maximum possible capacity of the system e.g. is the address bus was 8 lines, the maximum it could transmit would be 256 Bottleneck Data bus - ANS-A wider bus can transmit larger values/ more bits per instruction Von Neumann architecture - ANS-Instructions and data: - Share memory - Share bus system - Stored in same format - Same bit size for memory - Single CPU and ALU Harvard architecture - ANS-Instructions and data are:

Show more Read less
Institution
Graduation In Computer Science
Course
Graduation in computer science











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Graduation in computer science
Course
Graduation in computer science

Document information

Uploaded on
July 23, 2024
Number of pages
69
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$13.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
amon

Get to know the seller

Seller avatar
amon kenyatta university
View profile
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
1 year
Number of followers
0
Documents
35
Last sold
-
Paper Haven curated document for every need.

Welcome to Paper Haven, I\'ve crafted just for you. Dive into a world where documents aren\'t just documents but a promise to excellent research and scores. As the proud owner I\'ve meticulously selected each piece to offer you not just the latest versions of documents but the very best researched document that are going to sky rocket your studies. Simplify your research with documents that are verified, updated and ready to meet your unique needs and specifications.

Read more Read less
0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions