Geschreven door studenten die geslaagd zijn Direct beschikbaar na je betaling Online lezen of als PDF Verkeerd document? Gratis ruilen 4,6 TrustPilot
logo-home
Samenvatting

Summary Mastering WJEC A-Level Computer Science: Essential Revision Notes for Unit 4

Beoordeling
5.0
(1)
Verkocht
1
Pagina's
44
Geüpload op
17-06-2024
Geschreven in
2023/2024

This comprehensive document is a must-have for any A-Level Computer Science student preparing for exams. It covers critical topics in Unit 4, providing detailed explanations and clear summaries that make complex concepts easy to understand. This glossary-style revision guide is designed to make your study sessions more effective and efficient. It’s packed with key definitions, step-by-step processes, and essential concepts that are crucial for mastering A-Level Computer Science. Whether you’re revising for exams or looking to solidify your understanding of Unit 4, this document is your go-to resource for success.

Meer zien Lees minder
Instelling
Vak

Voorbeeld van de inhoud

WJEC A-Level Computer Science UNIT 4 Revision
Notes


1. Architecture

(*) Fetch Decode Execute Cycle
When instructions are to be executed by the processor, they must be
loaded into the processor one after another and this is done in 3 stages
that are known as:

Fetch - 1

Decode - 2

Execute - 3

A single processor can only execute a single instruction at a time from the
Current Instruction Register (CIR) and this can be slow.



Pipelining – is a technique where multiple instructions are overlapped
during execution. Pipeline is divided into stages and these stages are
connected with one another to form a pipe like structure. Instructions
enter from one end and exit from another end.

This technique is used in parallel processing.



BEFORE FDE CYCLE

 The program instructions have been translated into machine code.
 The program instructions have been loaded (from secondary
storage) into the main memory (RAM).



- FETCH STAGE

Step 1: PC keeps the address of the next instruction to be executed.



Step 2: Contents of PC are copied to the MAR, which is connected to the
address bus. The address of the next instruction to be executed is placed
on the address bus.

,Step 3: Instruction that is stored in address is transferred to MDR through
data bus from the main memory. Simultaneously, the contents of the PC
are incremented by one so that they point to the address of the next
instruction that needs to be fetched.



Step4: Contents of MDR is copied to CIR, to ensure that the current
instruction is kept save so that the MDR can be used during the execute
stage to store additional data.\



- DECODE STAGE

CU decodes the instruction that is kept in the CIR. This involves splitting
the instruction into operand and opcode to determine what type of
instruction needs to be carried out. It checks if additional data are
required from memory, and figuring out where these are kept in main
memory.

Opcode, what needs to be done with the data, in simple words it stores
the instruction that needs to be carried out by the processor. Operand
contains the data that needs to be acted on. The processor is reading the
instructions and doing it with the contents of the opcode.



- EXECUTE STAGE

Exact sequence of operations depends on the type of instruction that is
being executed. For arithmetic instruction any required data are fetched
from the main memory, then calculation is executed by the ALU. The
result of the instruction is stored in the accumulator, a general-purpose
register, or back into main memory.



(*) Parallel Processing
Parallel processing - is a form of computation in which many calculations
are carried out simultaneously. Parallel processing uses multiple cores.

It operates on the principle that large problems can often be divide td into
smaller ones, which are then solved concurrently.

Parallel processing in computer programs is more complex to design and
to write than sequential computer programs.

,Communication and synchronisation between the different subtasks are
typically some of the greatest obstacles to getting efficient parallel
program performance.




(*) Von Neumann
John von Neumann and his team developed the concept of the stored
program computer (allow data to be moved from memory and be stored
in a temporary storage).




ALU – carries out arithmetic and logic operations on the operands in
computer instruction words. It also acts as a means for input and output
to and from the processor.

t

, CU – control signals both within and beyond the CPU to control the
behaviour of other components. Part of the job is to synchronise
instructions using the processors internal clock. Instructions will take one
or more “ticks” of the clock.

Connected to all parts of the computer. The part of the job of CU is to
identify what process need to be done next and how fast it must be done.

A clock cycle is also known as a clock tick.



Busses – is a number of wires used to connect computer components
together to enable communication. The processor makes use of 3 types of
busses:

 Control

It sends signals to devices, such as memory, to control the actions that
they carry out. Control lines must be provided to ensure that access to
and use of the data and address buses by different components of the
system do not result in conflict and errors. Data is sent in one direction.

Purpose – to transmit commands, timing and specific status information
between components.



 Data

If a piece of data is being transferred from memory to the processor to
form part of a calculation, it travels along a data bus (the instruction
consists of address and the actual data, the actual data will be
transmitted through data bus to MDR). It has different number lines of
communication, if width of wire is 16 separate lines, means that you can
send 1 and 0s simultaneously through 16 wires. Data is sent in both
directions.



 Address

When a processor wants a piece of data from a particular location in
memory, it transmits this location along the address bus (transfers the
address of instruction to MAR). We can only read or write from/to a
particular memory location. The data is sent only in one direction.

Geschreven voor

Study Level
Publisher
Subject
Course

Documentinformatie

Geüpload op
17 juni 2024
Aantal pagina's
44
Geschreven in
2023/2024
Type
SAMENVATTING

Onderwerpen

$4.76
Krijg toegang tot het volledige document:

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Maak kennis met de verkoper
Seller avatar
ruslanpavliichuk
5.0
(1)

Ook beschikbaar in voordeelbundel

Beoordelingen van geverifieerde kopers

Alle reviews worden weergegeven
6 maanden geleden

5.0

1 beoordelingen

5
1
4
0
3
0
2
0
1
0
Betrouwbare reviews op Stuvia

Alle beoordelingen zijn geschreven door echte Stuvia-gebruikers na geverifieerde aankopen.

Maak kennis met de verkoper

Seller avatar
ruslanpavliichuk Gower College Swansea
Volgen Je moet ingelogd zijn om studenten of vakken te kunnen volgen
Verkocht
4
Lid sinds
2 jaar
Aantal volgers
1
Documenten
2
Laatst verkocht
2 weken geleden

5.0

1 beoordelingen

5
1
4
0
3
0
2
0
1
0

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 iDeal of creditcard en download je PDF-document meteen.

Student with book image

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

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen