Section One: Components of a computer Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Chapter One : Processor components
What is the CPU?

A

Central processing unit
The internal hardware component of the computer that is responsible for executing the instructions of programs

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

Chapter One : Processor components
What is included in the CPU?

A
  • Control unit
  • Buses
  • Arithmetic logic unit(ALU)
  • Dedicated registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Chapter One : Processor components
What is a control Unit?

A

Handles the flow of data and instructions.
It includes all the inputs and outputs required of the CPU.
It also sends commands to the ALU and directs operations on memory.
The Immediate Access Store is the internal memory of the CPU including its registers and caches.

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

Chapter One : Processor components
What are buses?

A

A ‘bus’ consists of a number of parallel wires (conductors). And each wire handles a single data bit, so it is either at logic 1 (true) or logic 0 (false).
When the CPU wishes to access a particular main memory location, it sends this address to memory on the address bus. The data in that location is then returned to the CPU on the data bus. Control signals are sent along the control bus.

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

Chapter One : Processor components
What is a control bus?

A

The CPU needs to receive and send control information between other parts of the computer. For example there is a control line between the power supply and the CPU that tells the CPU to boot up once the power supply is steady enough. There is another control line that handles external interrupts and so on. Collectively these lines are called the control bus.

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

Chapter One : Processor components
What is a data bus?

A

The data bus in a standard (Von Neumann) CPU handles both data and instructions. The purpose of the data bus is to allow data to pass from one area to another. The one above is shifting data between the CPU and main memory. But there are also internal data buses to move information around.

The width of the bus determines how many bits the CPU can handle at once.

Typical widths are 8 bit, 16 bit, 32 bit and 64 bits.

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

Chapter One : Processor components
What is an address bus?

A

The CPU must be able to define where the content of the data bus is going to or coming from. And to do this, there is a separate bus called the ‘Address Bus’. The CPU places the location of the data (or instruction) on the address bus. Just like the data bus, each wire in the address bus is a single data bit, so it is at logic 1 or logic 0.

The width of the address bus determines how many locations it can access. For example a 16 bit address bus can access up to 216 locations or 65,536 locations.

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

Chapter One : Processor components
What is an arithmetic logic unit?

A

An ALU performs basic arithmetic and logic operations.
Examples of arithmetic operations are addition, subtraction, multiplication, and division.
Examples of logic operations are comparisons of values such as NOT, AND, and OR.

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

Chapter One : Processor components
What types of Registers are there?

A
  • Accumulator
  • Program counter(PC)
  • Current instruction register(CIR)
  • Memory address register (MAR)
  • Memory data register (MDR)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Chapter One : Processor components
What is the role of an accumulator?

A

A type of register for short-term, intermediate storage of arithmetic and logic data in a computer’s CPU

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

Chapter One : Processor components
What is the role of an Program counter?

A

Holds the address of the next instruction to be executed.

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

Chapter One : Processor components
What is the role of current instruction register(CIR)?

A

Holds the current instruction being executed, divided into operand and opcode.

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

Chapter One : Processor components
What is the role of memory address register(MAR)?

A

Holds the address of the memory location from which data (or an instruction) is to be fetched or to which data is to be written.

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

Chapter One : Processor components
What is the role of memory data register(MDR)?

A

Used to temporarily store the data read from or written to memory. It is also sometimes known as the memory buffer register.

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

Chapter One : Processor components
What is the Fetch-decode-execute cycle?

A

The sequence of operations involved in executing an instruction can be divided into three phases – fetching, decoding and executing it. This cycle is repeated over and over as each instruction of the program is executed.

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

Chapter One : Processor components
How the registers are used in the Fetch-Execute cycle?

A

(Fetch phase)
1. The address of the next instruction is copied from the program counter (PC) to the memory address register (MAR).
2. The instruction held at that address is copied to the memory data register (MDR). Simultaneously, the content of the PC is incremented so that it holds the address of the next instruction.
3. The contents of the MDR are copied to the current instruction register (CIR).

(Decode phase)
4. The instruction held in the CIR is decoded. The instruction is split into opcode and operand and the opcode is used to determine the type of instruction and what hardware to use to execute it. The operand holds either:
- the address of the data to be used with the operation, which is then copied to the MAR, or
- the actual data to be operated on, which will be copied to the MDR
- the data to be operated on may be passed to the ALU/accumulator

(Execute phase)
5. The appropriate instruction/opcode is carried out on the operand.

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

Chapter Two: Processor performance
What are the factors affecting processor performance?

A
  • Clock speed
  • The number of cores, or duplicate processors, linked together on a single chip
  • The amount and type of cache memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Chapter Two: Processor performance
What is Clock speed?

A

Clock speed is the number of cycles that are performed by the CPU per second. It is measured in hertz — one hertz is one cycle per second

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

Chapter Two: Processor performance
What are number of core?

A

The number of cores indicates the number of processing units in a computer. Nowadays, computers can contain two (dual-core), four (quad-core), six, twelve, or even more cores.

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

Chapter Two: Processor performance
What is cache memory?

A

Cache memory is a very fast type of memory, which is used to store the instructions and data that are used most commonly. When the CPU has a data request, it checks the cache first, before it accesses the much slower main memory. Therefore, increasing the cache size can increase the chance of retrieving the required data faster, which, in turn, improves the CPU performance.

Adding larger sizes of cache to a CPU makes it more expensive to produce, so there is always a trade-off between cost and speed.

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

Chapter Two: Processor performance
What is pipelining?

A

Pipelining is the process of completing the fetch, decode, and execute cycles of three separate instructions simultaneously, holding appropriate data in a buffer in close proximity to the CPU until it’s required. While one instruction is being executed, another can be decoded and another fetched.

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

Chapter Two: Processor performance
What is an address bus?

A

Used to ​transport memory addresses​, specifying where data is to be sent to or retrieved from. Increasing the width of the address bus ​increases the range of addresses​ that it can specify, hence increasing the computer’s amount of ​addressable memory

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

Chapter Two: Processor performance
What is a data bus?

A

A computer’s data bus sends data and instructions to and from the different components of the computer system. Increasing the width of the data bus increases the volume of data that can be transferred over the bus at any one time.

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

Chapter Three: Types of processer
What is the von Neumann machine?

A

Von Neumann architecture was first published by John von Neumann in 1945.

His computer architecture design consists of a Control Unit, Arithmetic and Logic Unit (ALU), Memory Unit, Registers and Inputs/Outputs.

Von Neumann architecture is based on the stored-program computer concept, where instruction data and program data are stored in the same memory. This design is still used in most computers produced today.

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

Chapter Three: Types of processer
What is the harvard architecture?

A

Harvard Architecture is the computer architecture that contains separate storage and separate buses (signal path) for instruction and data. It was basically developed to overcome the bottleneck of Von Neumann Architecture. The main advantage of having separate buses for instruction and data is that the CPU can access instructions and read/write data at the same time.

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

Chapter Three: Types of processer
Von Neumann machine Vs harvard architecture

A

Von Neumann machine
- It is ancient computer architecture based on stored program computer concept.
- Same physical memory address is used for instructions and data.
- There is common bus for data and instruction transfer.
- Two clock cycles are required to execute single instruction.
- It is cheaper in cost.
- CPU can not access instructions and read/write at the same time.
- It is used in personal computers and small computers.

Harvard architecture
- It is modern computer architecture based on Harvard Mark I relay based model.
- Separate physical memory address is used for instructions and data.
- Separate buses are used for transferring data and instruction.
- An instruction is executed in a single cycle.
- It is costly than Von Neumann Architecture.
- CPU can access instructions and read/write at the same time.
- It is used in micro controllers and signal processing

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

Chapter Three: Types of processer
What are contemporary processor architecture?

A

Contemporary Processing Contemporary processors use a ​combination of Harvard and Von Neumann​ architecture. Von Neumann is used when working with data and instructions in main memory, but uses Harvard architecture to divide the cache into instruction cache and data cache.

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

Chapter Three: Types of processer
What is a complex instruction set computers (CISC)?

A

A computer architecture in which single instructions can execute several low-level operations (such as a load from memory, an arithmetic operation, and a memory store) or are capable of multi-step operations or addressing modes within single instructions.

29
Q

Chapter Three: Types of processer
What is a reduced instruction set computers (RISC)?

A

A processor architecture that shifts the analytical process of a computational task from the execution or runtime to the preparation or compile time. By using less hardware or logic, the system can operate at higher speeds.

30
Q

Chapter Three: Types of processer
What is a co-processor systems?

A

A special set of circuit s in a microprocessor chip that is designed to manipulate numbers or perform some other specialized function more quickly than the basic microprocessor circuits could perform the same task.

31
Q

Chapter Three: Types of processer
What is a multi-core and parallel system?

A

Parallel processing can be done inside a single core with multiple threads. Multi-Core processing means distributing those threads to make use of the multiple cores in a CPU

32
Q

Chapter Three: Types of processer
What is a graphics processing unit(GPU)?

A

is a specialised electronic circuit which is very efficient at manipulating computer graphics and image-processing. Whereas a CPU has a few cores optimised for sequential serial processing, a GPU has a massively parallel architecture consisting of thousands of smaller, more efficient cores designed for handling multiple tasks simultaneously. Its highly parallel structure makes it suitable for tasks where processing of large blocks of visual data is done simultaneously, i.e. in parallel.

33
Q

Chapter Three: Types of processer
GPU A level

A

A GPU is a form of co-processor, and can be used with a CPU to accelerate scientific, engineering, analytics and other applications, offloading compute-intensive parts of an application to the GPU while the reminder of the code runs on the CPU. From a user perspective, performance is significantly better.

34
Q

Chapter Three: Types of processer
Case study: DeepMind AlphaGo program

A

In March 2016 world champion Go player Lee Se-dol from South Korea was defeated by Google’s DeepMind AlphaGo program. This was the first time a computer had been able to beat a human player at the game. DeepMind started by taking a huge database of professional Go matches and training a program to try to predict what move would come next in any given situation. AlphaGo runs on Google’s cloud computer network, using 1,920 processors and a further 280 GPUs. A simpler version of the program that uses only 48 processors and 8 GPUs has been built to run on one machine.

35
Q

Chapter Four: Input devices
What are barcodes?

A

Barcodes are printed diagrams that consist of light and dark portions. They contain
information which can be read by a computer using a barcode reader. There are two main types of barcode: 1D and 2D.

2D barcodes can contain more information in the same amount of space as a 1D barcode but require more processing in order for the information to be extracted.

36
Q

Chapter Four: Input devices
What are barcode reader?

A
  • Pen type readers
  • Laser scanner
  • Digital camera
  • camera-based reader
37
Q

Chapter Four: Input devices
What are pen-type reader?

A

A light source and a photo diode are placed next to each other in the tip of a pen.

38
Q

Chapter Four: Input devices
What are laser scanners?

A

they use a laser beam as the light source. They are available in a variety of forms, the most familiar being the in-counter units in supermarkets. They are reliable and economical for low-volume applications.

39
Q

Chapter Four: Input devices
What are digital cameras?

A

digital camera uses a CCD or CMOS (Complementary Metal Oxide Semiconductor) sensor comprising millions of tiny light sensors arranged in a grid. The binary data from each sensor is recorded onto the camera’s memory card so that the image can be reproduced using suitable software at a computer.

40
Q

Chapter Four: Input devices
What are Camera-based readers?

A

A camera-based imaging scanner uses a camera and image processing techniques to decode a 1D or 2D bar code. An imaging scanner can read a barcode on any surface, printed or onscreen, and can also read a code that is damaged or poorly printed.
- age verification by scanning an individual’s driving licence
- couponing – a 2D barcode coupon is emailed to a customer, which can be scanned from their phone screen at the POS (Point of Sale). Unique codes for each customer and promotion can be stored in the bar code, so that tracking coupon usage is easy
- event ticketing – tickets can be issued electronically and then scanned off a phone screen
Consumers can use a cell phone to scan a QR code which can, for example:
- display a catalogue of movies or DVDs
- play an MP3 when scanned
- display nutrition information about a product

41
Q

Chapter Four: Input devices
What is a Radio Frequency Identification (RFID)?

A

This technology uses both input and output – an input device to read the signal from an RFID chip, and output to transmit a signal from an active tag

42
Q

Chapter Four: Input devices
What is a passive tag?

A

Passive tags are much cheaper to produce as they do not have a battery. They rely on the radio waves emitted from a reader up to a metre away to provide sufficient electromagnetic power to the card using its coiled antenna. Once energised, the transponder inside the RFID tag can send its data to the reader nearby. These are most common in tagging items such as some groceries, music CDs, and for smart cards such as Transport for London’s Oyster Card or a contactless bank card.

43
Q

Chapter Four: Input devices
What is an active tag?

A

Active tags are physically larger as they include a battery to power the tag so that it actively transmits a signal for a reader to pick up. These are used to track things likely to be read from further away, such as cars as they pass through a motorway toll booth or runners in a marathon as they pass mile markers.

44
Q

Chapter 5- Output devices
What are output devices and what can they included?

A

Output devices take data produced by the computer and turn it into a form that humans can understand. This could be, for example, written or spoken text, an image on a screen, music or a multimedia presentation.
Common output devices include
- screens
- printers
- multimedia projectors
- speakers
- actuators

45
Q

Chapter 5- Output devices
What are screens?

A

the physical surface on which visual information is presented.

46
Q

Chapter 5- Output devices
What are LCD monitors?

A

Liquid crystal display (LCD) monitors contain groups of red, green and blue diodes to form each pixel.
The screen is typically back-lit using light-emitting diodes (LEDs). These have several advantages over older technology:
- they reach their maximum brightness almost immediately
- the image is sharper with more realistic and vivid colours
- they produce a brighter light which leads to better picture definition
- since LEDs are very small, screens can be much thinner in construction
- they last almost indefinitely which makes the screens much more reliable
- they consume very little power and therefore produce very little heat as well as reducing running costs

47
Q

Chapter 5- Output devices
What is an Organic LED (OLED) screen?

A

These are brighter, thinner and lighter than traditional LCD or LED screens. The screen is plastic rather than glass so they are flexible.

48
Q

Chapter 5- Output devices
Advantages of Organic LED (OLED) screens

A

They have many advantages over LCDs:
- when made of plastic rather than glass, they are theoretically flexible enough to print onto clothing
- they are much thinner
- they are brighter and need no backlighting, so they consume less power, which translates into longer battery life in a portable device
- LCDs can be slow to refresh (a problem in fast-moving sports or computer games), OLEDs respond up to 200 times faster
- they produce truer colours through a much bigger viewing angle, unlike LCDs where the colours darken and disappear if you look from the side

49
Q

Chapter 5- Output devices
What is a laser printer?

A

Laser printers offer high-quality, high-speed printing. Their function is similar to that of a photocopier, using powdered ink called toner.

50
Q

Chapter 5- Output devices
What is a inkjet printer?

A

Inkjet printers work by spraying minute dots of ink onto paper to create an image. Depending on the resolution (dots per inch) of the model, the number of colour cartridges used and the quality of the paper being used, they can produce excellent, photo-realistic images. They are cheaper than laser printers but much slower, and the ink cartridges have to be replaced quite frequently.

51
Q

Chapter 5- Output devices
What is a dot matrix printer?

A

These are known as impact printers. The print head has a matrix of pins which strike the surface of the paper through an inked ribbon to form letters. These printers are useful when multi-part stationery is required, and they can operate in damp or dirty environments. However, they are noisy, slow and the print quality is poor.

52
Q

Chapter 5- Output devices
What are 3D printers?

A

a machine allowing the creation of a physical object from a three-dimensional digital model, typically by laying down many thin layers of a material in succession.

53
Q

Chapter 5- Output devices
What are Multimedia projectors?

A

A video projector is an image projector that receives a video signal and projects the corresponding image on a projection screen using a lens system

54
Q

Chapter 5- Output devices
What are computer speakers?

A

Computer speakers, or multimedia speakers, are speakers sold for use with computers, although usually capable of other audio uses, e.g. for an MP3 player

55
Q

Chapter 5- Output devices
What are Actuators?

A

Actuators are motors that are commonly used in
conjunction with sensors to control a mechanism,
for example:
- opening a window or valve
- starting or stopping a pump
- turning a wheel
- moving an aircraft aileron
- controlling devices in a “smart home”

56
Q

Chapter 6- Storage Devices
Why do we need secondary storage?

A

Secondary storage is not directly accessible to the processor and has slower access speeds. Secondary storage, however, has the advantage that it retains its contents when the computer’s power is turned off. This includes the computer’s internal hard disk, optical media and solid state disks.

57
Q

Chapter 6- Storage Devices
How do storage devices store data?

A

Hard disks, optical disks and solid state disks all use different methods to store data, but in each case, use a technique which allows them to create and maintain a toggle state without power to represent either a 1 or a 0.

58
Q

Chapter 6- Storage Devices
What is a hard disk?

A

A hard disk uses rigid rotating platters coated with magnetic material. Ferrous (iron) particles on the disk are polarised to become either a north or south state. This represents 0 and 1.

58
Q

Chapter 6- Storage Device
What is the structure of a hard disk?

A

The disk is divided intotracks in concentric circles, and each track is subdivided into sectors. The disk spins very quickly at
speeds of up to 10,000 RPM. Like an old record player, a drive head (like the needle on a record player) moves across the disk to access different tracks and sectors.

59
Q

Chapter 6- Storage Devices
How is data handled in a hard disk?

A

Data is read from or written to the disk as it passes under the drive head. When the drive head is not in use, it is parked to one side of the disk in order to prevent damage from movement. A hard disk may consist of several platters, each with its own drive head.

60
Q

Chapter 6- Storage Devices
Size and capacities of Hard disk

A

3.5 inch disks have capacities of up to 640GB

61
Q

Chapter 6- Storage Devices
What is an optical disk?

A

An optical disk is any computer disk that uses optical storage techniques and technology to read and write data. It is a computer storage disk that stores data digitally and uses laser beams (transmitted from a laser head mounted on an optical disk drive) to read and write data.

62
Q

Chapter 6- Storage Devices
What are the different format of Optical disk?

A
  • read-only (e.g. CD-ROM)
  • recordable (e.g. CD-R)
  • rewritable (e.g. CD-RW)
63
Q

Chapter 6- Storage Devices
Different size and capacities of Optical disk?

A

CD-ROM = 700MB
Blu-Ray = 50GB

64
Q

Chapter 6- Storage Devices
What is a Solid-state disk(SSD)

A

Solid-state drives (SSDs) consist of ​NAND flash memory cells​ and a ​controller ​that manages the structure of data on the drive. The memory cells store information by trapping electrical charge​. Data is stored on SSDs in ​pages​, which are combined to form ​blocks

65
Q

Chapter 6- Storage Devices
Capacities of SSDs

A

120GB to 30.72TB

66
Q

Chapter 6- Storage Devices
What is RAM(Random Access Memory)?

A

RAM is used to store programs and data that are currently being used. It is volatile, meaning that its
contents are lost when the computer is switched off.

67
Q

Chapter 6- Storage Devices
What is ROM(Read-Only Memory)?

A

ROM is used to hold information that needs to be permanently in memory. The bootstrap loader, for
example, (the small program that starts up as soon as the computer is switched on and causes the
operating system to be loaded) has to be held in ROM.

68
Q

Chapter 6- Storage Devices
What is Virtual Memory?

A

Virtual memory is a section of volatile memory created temporarily on the storage drive. It is created when a computer is running many processes at once and RAM is running low