3. hardware Flashcards

1
Q

what is the cpu

A

An integrated circuit which accepts data input into the computer and processes it into information ready for output.

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

what is a microprocessor

A

An integrated circuit which accepts data input into the computer and processes it into information ready for output. Sometimes used interchangably with Central Processing Unit (CPU), but not all microprocessors are CPUs.

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

what are the components of a cpu

A

control unit
arithematic logic unit
registers:
-pc
-mar
-mdr
-cir
-acc
buses:
-control bus
-address bus
-data bus

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

control unit

A

manages the other components of the CPU and the overall operation of the CPU. This includes initiating each step of the fetch-decode-execute cycle and managing the Arithmetic Logic Unit

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

arithmetic logic unit

A

responsible for carrying out mathematical calculations or logical operations, uses the Accumulator (ACC) register to temporarily store data while performing these calculations.

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

what are registers

A

small areas of storage found within the CPU. The register size depends on the CPU model, Registers are extremely fast to access because they are located directly within the CPU.

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

PC register

A

holds the address (memory location) of the next instruction to be fetched.

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

MAR register

A

used when reading data from RAM or writing data to RAM. The MAR will contain the address of the RAM location to be written to or read from.

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

MDR register

A

used when reading and writing data to and from RAM. The MDR will contain the data to be written to RAM, or the data that has just been read from RAM

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

CIR register

A

holds the instruction which is currently being decoded or executed.

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

ACC register

A

used to hold the data being worked on by the ALU

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

what are buses

A

A bus is a way of communicating between two components, there are three which carry different type of data

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

address bus

A

carries addresses from the Memory Address Register to RAM, to indicate which address will be selected. The address bus is a unidirectional bus – it only carries addresses in one direction (to RAM).

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

control bus

A

A communication channel that carries control signals within the CPU and between the Control Unit of the CPU and RAM.

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

data bus

A

During a write operation, the data bus carries the data to be written from the Memory Data Register to RAM. During a read operation, the data bus carries data from RAM to the Memory Data Register. The data bus is bidirectional – it carries data to and from RAM.

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

what is the fetch decode execute cycle

A

a simple cycle to run programs

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

basic steps in the fetch decode execute cycle

A

Fetch: An instruction is fetched from RAM to the CPU.
Decode: The instruction is ‘decoded’ by the Control Unit (CU) to determine what type of instruction it is.
Execute: The instruction is executed. This is usually performed by the Arithmetic Logic Unit (ALU). Some instructions may involve reading additional data from RAM (for example, reading a number which is to be added to a value in a register). Executing an instruction will also often include storing the result.

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

describe the fetch procedure

A

The Program Counter (PC) contains the address of the next instruction.
The contents of the PC are copied to the Memory Address Register (MAR).
The PC is incremented by 1, so that it still points to the next instruction.
The address bus carries the value in the MAR to RAM.
The control bus sends a ‘read’ signal to RAM.
The data bus carries the contents of the desired RAM address from RAM to the Memory Data Register (MDR).
The contents of the MDR is copied to the Current Instruction Register (CIR).

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

describe the decode procedure

A

The Control Unit (CU) decodes the instruction in the CIR.

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

describe the execute procedure

A

The instruction is sent to the Arithmetic Logic Unit (ALU) to be executed.
The ALU may use the Accumulator (ACC) to temporarily store its results.

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

what affects cpu speed

A

clock speed number of cores and size of cache

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

clock speed

A

speaking, the clock speed determines the number of cycles a CPU can perform each second,Higher clock speeds generate more heat and use more energy slowing down cpu performance

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

cores

A

A core is a processor within a CPU.a single core can only work on one instruction at a time. This limited the performance of earlier CPU designs

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

cache

A

extremely fast memory that is located within the CPU. It is used to store temporary copies of the data in the most commonly accessed RAM locations

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

what are instruction sets

A

An instruction set is a list of all the commands that can be processed by a CPU and the commands are machine code

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

what is an embedded system

A

An embedded system is used to perform a
dedicated function, e.g. domestic appliances, cars, security systems, lighting systems or vending machines. This is different to a general purpose computer that is used to perform many different functions, e.g. a personal computer (PC)
or a laptop

26
Q

what is an input device

A

A hardware device used to enter data into a computer system

27
Q

barcode scanner

A

input device:
Barcode scanners shine a light at a barcode and measure the reflected light to read the data. This is quicker than typing in the barcode number manually.

28
Q

digital camera

A

input device:
A digital camera uses an image sensor to measure light and take a photograph, which is stored digitally on a device such as an SD card. Many digital cameras can record both still images and video.

29
Q

keyboard

A

input device:
Keyboards are one of the most common input devices, allowing users to type text and numeric data quickly. Keyboards may have a standard layout
may be concept keyboards with custom layouts. For example, on a keyboard used in a restaurant one particular key may order a drink and another may order a burger

30
Q

microphone

A

input device:
A microphone allows sound to be input. The sound could be recorded for playback, or used together with voice recognition software to turn it into text or commands.

31
Q

optical mouse

A

input device:
A mouse is commonly used to control a cursor or pointer on screen. Most mice have at least two buttons, but some have more.

32
Q

QR code scanner

A

input device:
A QR (quick response) code is similar to a barcode. It consists of a square black and white pattern which represents a small number of text characters (usually fewer than 100). QR codes are often used to store URLs to connect users directly to websites. A QR code is read using a digital camera.

33
Q

touch screen (resistive, capacitive and
infra-red)

A

input device:
Touch screens allow users to input data by pointing and touching options with their fingers

resistive:
use two very thin metal sheets over the screen. When the user applies pressure to the screen these two metal sheets make contact, completing an electrical circuit. This can be used to detect exactly where the user pressed.

capacitive:
use a transparent layer over the screen. This layer is sensitive to the static electrical charge in the human body. When the user touches the screen, this charge is detected and the touch location can be determined.

infrared:
create a grid of infra-red (IR) light over the screen. This grid is invisible to users. When the user touches the screen, the light beams are broken. This information can be used to detect the location of the touch.

34
Q

2d scanner

A

input device:
documents are laid flat on the device and light is used to scan the document into a digital image.

OCR (optical character recognition) software can scan text documents and turn them into editable text in a word processor.

35
Q

3d scanner

A

input device:
can take measurements of objects in order to create a 3D computer model of them. It does this by scanning an object using lasers to measure the dimensions (height, width, depth) of an object. The laser detects details about the shape of the object and converts this into digital data

36
Q

output device

A

A device used to present information from a computer in a human-friendly format. Examples include printers, screens and speakers.
1. light shined into code using camera
2. light hits image and bounces back
3. electrical signals converted to digital using adc
4. scanner combines digital data into an image
5. image processed by scanner (rotates qr code)
6. data read from qr code
7. data used by device

37
Q

actuator

A

output device:
An actuator takes a digital signal and outputs it as a physical movement. For example, in an automatic door system the computer might send a signal to open the door and an actuator would convert this into a motor movement that causes the door to open.

38
Q

digital light processing (DLP) projector

A

output device:
use thousands of tiny mirrors to reflect a digital image from a computer onto a screen.

DLP projectors are usually smaller and more portable than LCD projectors, but LCD projectors produce higher quality images than DLP projectors.

39
Q

inkjet printer

A

output device:
use ink cartridges to spray tiny droplets of ink at a piece of paper to form an image. Inkjet printers are comparatively cheap and, although they can be slow, they can produce high-quality images with excellent colour blending.

40
Q

laser printer

A

output device:
use a laser to apply a static charge to areas on the paper. Toner (a powdered ink) is then attracted to the static charge and sticks to the paper in these areas, forming an image.

Laser printers produce higher quality text documents than inkjet printers, but inkjet printers produce better quality colour gradations on images and photos. Laser printers can print faster than inkjets, but they are more expensive.

41
Q

light emitting diode (LED) screen

A

output:
function in a similar way to LCD displays. The main difference is the type of back light. Instead of using a fluorescent backlight, LED displays use light emitting diodes to generate the light. This often results in better contrast.

LED displays generally produce better image quality than LCD displays, with better contrast and colour reproduction. They use less electricity than LCD displays, making them more cost effective in the long run. However, their initial cost is higher.

42
Q

liquid crystal display (LCD) screen

A

output:
work by sandwiching crystals between two sheets of glass. A white back light illuminates the screen from behind. When the crystals are solid, light cannot pass through. When an electrical current is applied to the crystals in individual pixels, light is passed through and an image forms.

43
Q

liquid crystal display (LCD) projector

A

output:
create an image by projecting light in three colours: red, green and blue. These colours are combined to form a final image on the projector screen.

44
Q

speaker

A

output:
A speaker produces output in the form of sound, by converting electrical signals into vibrations.

45
Q

3-d printer

A

output:
3D printers are relatively modern output devices that can print physical objects. They do this by building up thin layers of material, layer by layer, until the object is complete. Objects are usually created from plastic filaments (such as ABS or PLA plastic) or from resin.

46
Q

sensors

A

are a specific type of input device, used to gather information about the physical environment for direct input into a computer

47
Q

sensors general answer:

A

-sensor send data readings to microprocessor at set intervals
-to be understood this data may have to be converted using an ADC (analogue to digital converter)
-microprocessor compares data against pre set values that it has stored
-microprocessor makes decision as to wheather any action is needed
-if needed the microprocessor send signal to instruct output device to do something, may involve actuator
-this process repeats in loop

48
Q

what is meant by primary storage + example and explanation

A

Primary storage is directly accessed by the CPU, there are RAM and ROM
RAM:
used for temporary storage of programs and data that are currently being used, extremelly fast to access, volatile
ROM:
contains data that can be read but cannot be altered or deleted. non volatile.ROM is essential because it contains the first instructions the computer needs when it is turned on

49
Q

what is secondary storage + examples and explanations

A

are not directly accessible by the CPU. non volatile, ideal fro storing users permamenent data, larger storage capacities.
examples:
hard disk drive, CD-ROM, DVD, blue ray, flash drive, sd card

50
Q

what are the 3 types of secondary storage devices

A

Magnetic storage
Optical storage
Solid-state storage

51
Q

explain magnetic storage + examples

A

devices store data by applying a magnetic charge to a magnetised material, cheap, fast, hold large amount of data
eg. hard disk drive

52
Q

explain optical storage + examples

A

measuring reflected light from tiny ‘pits’ and ‘lands’ on the disc surface. On the disc surface, there are microscopic ‘high’ and ‘low’ points, called ‘lands’ and ‘pits’. When a laser is pointed at the disc surface, the lands reflect light while the pits scatter light. This information is then interpreted as binary data by a light sensor
eg.compact Discs (CDs), Digital Versatile Discs (DVDs) and Blu-ray Discs
low storage capacities, slow, light, longer term storage

53
Q

solid state devices + examples

A

Solid-state devices storage data using electronic circuits which are created using transistors, used to represent binary data
eg.solid-state drives, memory cards and USB flash drives
more durable, produce less heat require less power, excellent portable

54
Q

what is virtual memory

A

A system that allows a computer’s operating system to use secondary storage as though it were RAM.hen more RAM is needed than is available, a chunk of data called a page is moved from RAM to virtual memory (secondary storage). This is called ‘paging out’ and frees up space in RAM. however slower to access than RAM

55
Q

what is cloud storage

A

Instead of using local storage on a user’s computer (such as a hard disk drive), cloud storage uses servers on the internet.Cloud storage can be accessed remotely in
comparison to storing data locally.user can access their files from anywhere with an internet connection, and reduces the need for local storage. However, because the data is not stored on the user’s computer, they must have a working internet connection to access their files.

56
Q

advantages and disadvantages of
storing data on the cloud in comparison to
storing it locally

A

local:
Data only be accessed on the local computer, take your computer or device with you.
Data is accessible even if there is no internet connection.
fast accessibility
risk of hardware failure, should have backups
initial cost may be higher but no monthly costs
data fully under users control

cloud:
data can be accessed from any device
internet connection is necessary
slower to access
at risk from unauthorised access. However, most cloud service providers have excellent security features.
also hardware failure in data centers, must have backups
initial cost may be lower but monthly fees

57
Q

what is a NIC

A

network interface card, a hardware device that is needed to connect a computer to a network

58
Q

what is a MAC address and what is its purpose + structure

A

All network interface cards have a unique address assigned to them when they are manufactured. This address is known as the media access control (MAC) address. MAC addresses are unique for every network card created and they cannot be altered.
48 bits long written in hexadecimals first 24 bits are manufacturer codes and last 24 automatically generated serial number

59
Q

what is an IP address

A

a unique address assigned to each computer on a network. IP addresses are essential for identifying and managing computers on the network

60
Q

what are the types of IP address + explanation for each

A

static IP address:
An IP address which is always the same for a particular device every time it connects to a network.
dynamic IP address:
An IP address which is assigned each time a device connects to a network.

61
Q

what are differences between IPV4 and IPv6

A

4-An older form of IP address, that uses 32 bits.
6-A more modern form of IP address, that uses 128 bits. written in hexadecimal

62
Q

what is a router in a network

A

are hardware devices used to connect devices together to form a local area network (LAN). They can also be used to connect multiple LANs to each other to form a wide area network (WAN).

63
Q

roles of router in a network

A

They allow devices to connect to a LAN
They can assign IP addresses to devices joining a LAN
They connect a LAN to the internet
They send (route) data to the correct destination on a network, and faster route