Compter systems v2 Flashcards

1
Q

Define Hardware.

A

The physical components that make up a computer system. (e.g. motherboard)

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

What is a computer system?

A

The hardware and software working together making up a computer, processing data and completing tasks, allowing users to perform specific tasks.

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

Define Software.

A

The programs that run on a computer (e.g. utility software)

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

Describe what systems software is vs. application software.

A

SYSTEMS SOFTWARE - The programs that manage/control computer hardware and application software (e.g. operating system).

APPLICATION SOFTWARE - The programs (launched from OS) which help the user perform specific tasks (e.g. word processors).

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

Describe the roles of the operating system.

A
  1. User interface - communicating with the user (sending and receiving instructions to and from applications and hardware).
  2. **Memory management **- allocating memory addressed for processes/data.
  3. Scheduling - scheduling CPU time between programs, allowing multiple to run.
  4. File management
  5. Device drivers - OS uses them to communicate with with peripherals (software that translates commands).
  6. User management - Authentication, passwords, username.
  7. (Peripheral) I/O device management - moving data to and from secondary storage.
  8. application management
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Utility software?

A

Programs that keep the computer functioning efficiently (e.g. freeing storage space, removing viruses, backing up files).

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

What are roles of Utility software?

A

1) Compression - reducing file size so it can be stores using less space/ transmitted quicker.
2) Defragmentation - Moving separate parts of a file physically together, to speed up disk access.
3) Backing up - Creating copies of files on the same disk, back up device or cloud
(Full Backup - copy of all files; Incremental backup - copy of files created or edited since last backup.)
4) Encryption - data scrambling to prevent unauthorised access of files/data. For secure storage/ secure transmission.

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

Explain Von Neumann architecture.

A

Von Neumann architecture is a system where both data, instructions (+ programs) are stored in the same main memory. Refer to diagram.

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

What are the main parts of the CPU?

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

Describe the roles of the ALU.

A
  • Performing arithmetic operations ( + - x / )
  • Performing relational operations ( < > = )
  • Performing logical operations ( AND, NOT, OR)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Describe the roles of the Control Unit.

A
  • Managing execution of instructions (by coordination activates of other hardware).

e.g. sending signals to RAM to state whether data should be READ or WRITTEN to from memory.

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

Describe the roles of the Clock.

A
  • A signal that synchronises tasks (by synchronising all components of the CPU)
  • 1 tick of the clock, 1 instructions is processed.
    (Clock speed measure in gigahertz)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Describe the roles of the Registers.

A
  • Small areas of memory that hold data and memory addresses used during fetch execute cycle.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Describe the roles of the Buses.

A

Data Bus - moves data back and forth between CPU and memory.
Address Bus - transmits memory locations.
Control Bus - transmits commands to other components.

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

Describe the factors that affect CPU performance.

A

1) Number of Cores
Core - a single unit comprising ALU and Control Unit, which can execute instructions.
(Overhead - time lost to organising which core will follow which instructions, minimal).

2) Clock Speed
Clock Speed - number of clock pulses per second, measured in gigahertz.

3) Cache Size
Cache: Stores copies of data/instructions from RAM which are access regularly.

4) Cache Type
L1,L2 or L3. L1 Smallest fastest, L3 largest, slowest.

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

What is the Fetch-Execute cycle?

A

Fetch Execute Cycle - a continual sequence of tasks that result in instructions being fetched from main memory, decoded so that the CPU knows what to do, and execute (carried out).

17
Q

Describe and Explain the Fetch Stage in the Fetch-Execute Cycle.

A

1) There is 1 Clock Pulse.
2) A register (Program counter) contains the location of where the next instruction is to found.
3) The location (Address) is transmitted along the address bus to memory.
4) Memory responds by sending the contents of the address along the data bus back to processor.

18
Q

Describe and Explain the Decode Stage in the Fetch-Execute Cycle.

A

5) The Instruction is read by the control unit, which prepares the register for the type of data it will be storing.

19
Q

Describe and Explain the Execute Stage in the Fetch-Execute Cycle.

A

6) The instruction is carried out (performing operation, storing something in register etc.)
7) The Program counter is updated as the current instruction has been executed.

20
Q

What is an embedded system?

A

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

21
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.
22
Q

What are the 2 types of programming languages?

A

High Level Languages - more understandable to humans than L.L. (python)
Low Level Languages - hard to understand for humans, easy to execute for computers (machine code, assembly language)

23
Q

What is a translator, and name the 3 types.

A

Translator - program that translates source code into machine code.

Assemblers: translates assembly language
Interpreters: translates and execute HL, one line at time
Compilers: translates HL programs, then executes in one go

24
Q

What is RAM memory?

A
  • Random Access Memory, a form of volatile main memory in a computer.
  • When a program is loaded from a computer’s hard disk, the data and instructions are loaded into RAM.
25
Q

What is ROM memory?

A
  • Read Only Memory, non volatile (contains BIOS as an example).
  • ROM memory stores data and instructions that will not need to be updated. content cannot be edited or deleted.
26
Q

What is cache memory?

A

Cache memory stores copies of data or instructions accessed regularly from RAM.

27
Q

What are the difference between RAM and ROM?

A

RAM:
Random Access Memory
Memory addresses can be read or written to
Increase the capacity, the PC’s overall speed will increase
Volatile (data is lost when power lost)

ROM:
Read only Memory
Memory addresses can only be read to
Non Volatile

28
Q

What is main memory?

A

Main storage directly accessible to the CPU (except cache and registers).

29
Q

What is secondary storage?

A

Secondary storage is non-volatile storage not directly accessible by CPU.

30
Q

How does optical storage work? (Including advantages and disadvantages).

A
  • Read and Written to with a laser
  • Optical disc spins to allow laser to read data from the correct location
  • burned by laser to store values, 1 - land, 0 - pit

(+) 1 disc is very cheap; can’t accident overwrite data; portable; immune to magnetic fields
(-) vulnerable to scratches; low data capacity

31
Q

How does Magnetic Storage work? (Including advantages and disadvantages).

A
  • They are round (but often put in rectangle housing)
  • The surface is divided into tracks and sectors
  • Disk will spin to allow the read-write head to access data in a specific segment
  • In each sector, billions of magnetic particles (1) magnetised, (0) not.

(+) Cheapest storage/ Megabyte; more practical than multiple optical discs
(-) Slower access speed than SS; data is all in 1 device, can be lost, data can be lost near strong magnetic fields

32
Q

How does Solid State Storage work?

A
  • They use electronic circuits to store data electronically
  • sturdy and quiet (no moving parts)
  • non volatile electrical circuits

(+) fastest access speed; no moving parts, harder to damage; very portable
(-) most expensive/Megabyte; limited number of times its written to.

33
Q

Define cloud storage.

A

Storage on remote computers, usually managed by other organisations. When a file is saved or loaded, and then transmitted across the internet, and multiple backups of the file exist around the world. It uses magnetic and SS storage.

34
Q

What are the advantages and disadvantages of cloud storage.

A

(+) Less likely to be damaged (data is stored remotely, in multiple physical locations)
(+) Capacity on your machine is freed up
(+) multiple people can access files at the same time
(+) can access data anywhere

(-) Cloud storage comes with a subscription fee
(-) It requires internet access and speed depends of Wifi speed.
(-) Hosting company could be hacked

35
Q

Order these in terms of data access speed:
Flash drive, RAM, Cache, Hard disk drive, registers, CD

A

Fastest:
Registers (MM)
Cache (MM)
RAM (MM)
Flash drive (SS)
Hard disk drive (magnetic)
CD (Optical)

36
Q

Order these in terms of capacity:
Hard disk drive, CD, Flash drive, DVD

A

Largest Capacity:
Hard disk drive (magnetic)
Flash drive (SS)
DVD (Optical)
CD (Optical)