2.1 Hardware & Communication (Remember Diagram) Flashcards

1
Q

What is a register?

A

An area to store data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of the Program Counter?

A

Stores the location of the next instruction.
When its time to load the next instruction, the content of the PC is loaded into the MAR.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the purpose of the Current Instruction Register?

A

Holds the current instruction ready to be decoded and executed by the Control Unit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the purpose of the Memory Address Register?

A

Temporarily stores the address of the next instruction in main memory.
This is then passed along the address bus to RAM.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the purpose of the Memory Data Register?

A

The contents of the data stored in the MAR is temporarily stored in the MDR.
Program instructions are then passed from main memory to the CPU.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the purpose of the accumulator?

A

It temporarily stores the results of the calculations made by the ALU or any data to be processed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What occurs during the Fetch stage of the FDE cycle?

A
  1. The PC stores the address of the next instruction and the value in the PC is incremented by 1 as instructions are held sequentially and it needs to point to the next one.
  2. The address of the next instruction is then copied into the MAR.
  3. The data stored at the address in the MAR is then copied into the MDR.
  4. Once it is ready, the executable part of the instructions is copied into the CIR.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What occurs during the Decode stage in the FDE cycle?

A
  1. The instructions in the CIR are split into two parts: the address and the operation.
  2. The address part is placed in the MAR and the data fetched is put in the MDR.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What occurs during the execute stage in the FDE cycle?

A
  1. The contents of both the MAR and MDR are sent to the central processor.
  2. The ALU will keep referring back to where the data and instructions are stored while executing them.
  3. The Control Unit will then follow the instructions that tell them where to fetch the data from. It will then read it and send the necessary signals to other parts of the computer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are 2 advantages of the Von Neumann Architecture?

A
  • Nearly all types of data can be processed with this architecture.
  • It is cheaper than alternative methods of processing.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are 4 disadvantages of the Von Neumann Architecture?

A
  • Can be slower than other methods
  • Can be limited by the bus transfer rate
  • Doesn’t always maximise the use of the CPU
  • Poorly written programs result in data mixups as both programs use the same memory.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is RAM and what is it used for?

A

Random Access Memory holds programs and associated data when an application is running.
It also holds the operating system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is Cache and what is it used for?

A

Cache is small, extremely fast memory located near the processor that holds intermediate data during processing.

It is much faster to access than RAM and also more expensive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is stored in Cache memory?

A

Regularly used data and instructions are stored in cache.
When the cache is full, the least recently used data is discarded.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is Parallel Processing?

A

Two or more processors will work together to perform a single task.

The task is split into smaller sub tasks which are then executed simultaneously by all available processors.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are 2 advantages of Parallel Processing?

A

More instructions can be processed in a shorter time as they are processed simultaneously.

Tasks can be shared to reduce the load on individual processors and to avoid bottlenecks.

17
Q

What are 4 disadvantages of Parallel Processing?

A
  • It is difficult to write programs for multi-core systems.
  • Results from different processors need to be combined at the end of processing which adds to the complexity and time spent.
  • Not all tasks can be split across multiple processors.
  • Concurrency (Executing out of order) introduces new software bugs.
18
Q

What is Amdahl’s law?

A

Parallel processing time = Time using a single processor system x (Fraction of processing which is linear + Fraction which can be run in parallel/number of processors)

19
Q

What are 3 examples of input devices?

A

Microphone
Camera
On-Screen Keyboard

20
Q

What are 4 examples of output devices?

A

Monitors
Speakers
LEDs
Printer

21
Q

What are 3 examples of optical storage as well as a rating for their capacity, speed, portability and durability?

A
  • CDs, DVDs and Blu-Ray Discs.
  • Small capacity (Around 25GB for Blu-Ray)
  • Slower than hard disk but faster than tape.
  • It is fairly portable as it can easily fit into a bag.
  • It is not very durable as it can be easily scratched.
22
Q

What are 3 examples of magnetic storage as well as a rating for their capacity, speed, portability and durability?

A
  • Floppy Disks, Internal/External Hard Disks.
  • Can store the largest amounts of data (Up to 4TB)
  • Fairly portable but larger than a CD and USB.
  • Fairly reliable as it can still be damaged if dropped or exposed to strong heat or magnetic fields.
23
Q

What are 3 examples of Solid State storage as well as a rating for their capacity, speed, portability and durability?

A
  • USB Flash drives or Solid State Drives (Internal)
  • It is very fast and it has no moving parts.
  • It is very portable and if it is a USB, it can fit in a pocket.
  • It is very durable as it isn’t affected by magnets or heat.
24
Q

What storage type is the most cost-efficient?

A

Although Hard Disk Drives are cheaper and typically more cost-effective, SSDs offer cost savings in the long run by offering greater productivity and lower energy usage.

25
Q

What is a network?

A

Consists of more than one device connected together to communicate and share resources

26
Q

What is a client-server structure?

A

Services such as file storage are made available on servers to which the clients will connect to in order to access it.

27
Q

What is a Peer-To-Peer structure?

A

Every computer has the same status as the others therefore no computer acts as a server.
The peers must work together to fulfill the required task.
Distributed processing is utilised which allows the workload to be shared.

28
Q

What is a networking protocol?

A

A set of rules that governs communication between computers.

29
Q

What is the HTTP protocol?

A

Hypertext Transfer Protocol - Controls the transmission of webpages.

30
Q

What is the FTP protocol?

A

File Transfer Protocol - Allows the transfer of files across the internet, typically used when uploading files to a web server.

31
Q

What is the SMTP protocol?

A

Simple Mail Transfer Protocol - Directs email messages from server to server over the internet.

32
Q

What are the TCP/IP protocols?

A

Transfer Control Protocol - As suite of protocols which controls how data is broken down for transmission from sender to receiver.

33
Q

What is the IMAP protocol?

A

Internet Message Access Protocol - Once SMTP has directed an email to a server, IMAP allows it to be uploaded/downloaded from a device.

34
Q

What is the DHCP protocol?

A

Dynamic Host Configuration Protocol - Ensures that each host has a unique IP address.

35
Q

What is the UDP protocol?

A

User Datagram Protocol - Sends data across the internet quickly as no checking takes place

36
Q

What is the RTSP protocol?

A

Real Time Streaming Protocol - Designed to handle occasional lost packets so only slight degradation in quality occurs.

37
Q

What is handshaking?

A

The process where two devices establish their readiness to communicate.