Computer Systems Flashcards

1
Q

What is hardware?

A

Hardware is the physical components that make up a computer system, such as a CPU and motherboard.

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

What is software?

A

Software is the programs that run on a computer (e.g operating systems).

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

What are the two types of software?

A
  • System software: Software that is needed to communicate with the hardware and launch application software. (Examples include operating systems, utility software.)
  • Application software: Programs launched from the operating system that help the user perform specific tasks. (Examples include word processors, web browsers, games.)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Computer systems can either be general purpose or dedicated systems. Explain what these mean. Give examples of both.

A
  • General purpose: Designed to perform many tasks. Examples include PCs and tablets.
  • Dedicated systems: Designed for one particular function. Examples include controlling the function of a dishwasher.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are embedded systems?

A

A dedicated system which is part of a larger system. They are computers built into other devices, like dishwashers, microwaves and TVs.

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

What do embedded systems normally do?

What are the advantages of embedded systems?

A
  • Embedded systems are often used as control systems. They monitor and control machinery in order to achieve a desired result.
  • As they’re usually dedicated systems, and only serve one purpose, they are easier to design, cheaper to produce, and more efficient at doing their task than general purpose computers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Define a computer system.

A

A computer system takes a set of digital inputs, processes them and creates a set of outputs, which is done by a combination of software and hardware.

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

What is the CPU? What is a CPU’s processing power dependant on?

A
  • The Central Processing Unit. It is the brain of the computer, and processes all data and instructions.
  • A CPU’s processing power is dependant on many characteristics, such as clock speed, number of cores, cache size and type.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the 6 main parts of a CPU?

A
  • The Control Unit (CU)
  • The Arithmetic Logic Unit (ALU)
  • Cache
  • The Clock
  • Buses
  • Registers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the control unit (CU)?
What is its main job?
What does it do?

A
  • The control unit controls the CPU.
  • Its main job is to manage the fetching, decoding, and execution of program instructions, by following the Fetch-Execute cycle.
  • It controls the flow of data inside the CPU and outside the CPU.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Arithmetic Logic Unit (ALU)

A
  • Does all the calculations in the CPU
  • It completes simple addition, subtraction, and compares the size of numbers. It can do multiplications and divisions by using repeated addition and subtraction.
  • It performs logic operations such as AND, OR, and NOT, and binary shifts.
  • (Registers are used to store intermediate results of calculations.)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is cache? How expensive is it? What does it store? Where is it found, and how does this determine its speed?

A
  • Very fast memory in the CPU. Slower than registers, but faster than RAM.
  • Stores regularly used data so the CPU can access it quickly whenever it’s needed.
  • Caches have a very low capacity and are expensive compared to RAM and secondary storage.
  • Speed is based on distance from the CPU.
  • Some cache is on the motherboard, some is directly on the CPU.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

The Clock

A
  • The clock (quartz crystal) sends out a regular electronic pulses at a consistent rate, to synchronise all components in a CPU. (acting like a metronome).
  • This pulse is used to synchronise when instructions will be carried out.
  • The number of clock cycles per second is called the clock speed. (measured in gigahertz).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are buses, and what are there different buses for?

A
  • Buses are collections of wires that are used to transmit data between components of the CPU, and to other parts of the computer system.
  • A processor may have separate buses for carrying data, instructions, and memory addresses.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Registers

A
  • Small, high-speed storage locations that temporarily hold data and instructions.
  • Super-quick to read/write to, quicker than any other form of memory.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Describe the ‘Fetch’ of the FDE cycle

A

1) The control unit reads the memory address of the next CPU instruction.

2) The instruction stored in that address is copied from memory to one of the registers.

3) The memory address in the control unit is incremented to point to the address of the next instruction, ready for the next cycle.

17
Q

Describe the ‘Execute’ of the FDE cycle

A
  • The instruction is performed. This could be: Loading data from memory. writing data to memory, doing a calculation or logic operation, changing the address in the CU, or halting the operation.
18
Q

4 different types of memory in a computer

A
  • Registers
  • Random Access Memory (RAM)
  • Cache
  • Read Only Memory (ROM)
19
Q

Purposes of an operating system.

A
  • Communicate with input/output devices via devices drivers.
  • Provide a platform for applications to run on, and a user interface.
  • Control memory management and allocation.
  • Organise the CPU and its processing tasks.
  • Manage system security and user accounts.
  • Deal with file management and disk management.
20
Q

What is an operating system?

A

A piece of system software that acts as an interface between the use and the hardware, managing the hardware and all other software (also launching all software).

21
Q

I/O devices and Operating Systems - How do they communicate?

A

-Every I/O device requires a device driver to be used. Drivers act as ‘translators’ for the signals between the OS and the device.
- When a device is booted up, the OS chooses the correct drivers for each detected device.
- Driver updates to fix bugs or add features can be installed automatically by the OS.

22
Q

Operating System’s User Interface (UI)

A
  • Most computers use GUIs (graphical user interfaces) that are WIMP based. (Windows, icons, menus, pointers).
  • These interfaces are ideal for mouse/keyboard input.
  • Devices with different input methods (e.g. touchscreen on tablet) have different interfaces.
  • Applications are written from a particular OS to take advantage of its features.
23
Q

What tasks do operating systems perform?

A

usually (user interface)
master (memory management)
shifu (scheduling/multitasking)
fudging (file management)
despises (device drivers)
u (user management)
Po (peripheral management)

24
Q

List some commonly used operating systems.

A

Windows, Ios, linux, Android, macOS.

25
Q

What are peripherals?

A

Peripherals are external pieces of hardware, not directly connected to the CPU.

26
Q

Are operating systems always necessary?

A

The operating system is essential to the smooth running of any personal computer system. However it is not necessary within some embedded systems that have a set of pre-defined tasks that never change (e.g. dryer).

27
Q

What are utility programs? Give the 7 types of common utility programs on a computer.

A

Utility programs are programs that are used to maintain or configure a computer. Many useful utilities are installed with the operating system, but others can be installed later.

  • Defragmentation Software
  • Disk Health
  • System Clean-up
  • Compression
  • Backup
  • Encryption
  • Virus Scanners
28
Q

Defragmentation Utility Software

A
  • Files are stored on a hard disk in available spaces. As files are moved and deleted, gaps appear on the disk.
  • The OS has to split new files up to fill up these gaps. This makes reading these files slower as the read/write head has to move back and forth across the disk.
  • Defragmentation software places all related files together (e.g. files for the same game), so that they can be accessed quicker.
29
Q

Disk Health Utility Software

A

Over time, hard drives can start to deteriorate, causing corrupted data and slow read/write speeds. Disk health utilities scan the drive for problems and fix issues where possible.

30
Q

System Cleanup Utility Software

A

Programs like web browsers leave lots of temporary files on your hard drive. These files end up unnecessarily taking up lots of space, so system clean-up utilities go through hard drives and get rid of these files.

31
Q

Compression Utility Software

A

Compression software reduces the size of files so they take up less disk space. This is used on the internet alot to make files quicker too download.

32
Q

Backup Utility Software

A
  • A backup is a copy of a computer system’s files and settings that is stored externally. Backups are used to restore data in the event of data loss.
  • Data loss can occur for many reasons, such as, fire, theft, water damage, malware, hardware failure, or accidentally deleting files.
33
Q

Encryption Utility Software

A

Encryption software encrypts (scrambles) data to stop third-parties from accessing it. Encrypted data can be decrypted using a special ‘decryption key’.

34
Q

Virus Scanners Utility Software

A

Virus Scanners inspect each file on a computer, looking for viruses. They usually have a list of viruses to check for, and so they need to be updated regularly to add any new viruses.

35
Q

What is Von Neumann Architecture?

A

Von Neumann Architecture is a type of computer system where both data and software currently being used is stored in the main memory (RAM). idkkkk