Section 4 - Computer systems Flashcards

1
Q

Construct an AND truth table. And describe what the logic circuit symbol looks like

A
A  B  Q
0  0  0
0  1   0
1   0  0
1   1   1

Circuit looks like a D

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

Construct an OR truth table. And describe how the logic circuit symbol looks.

A
A  B  Q
0  0  0
0  1   1
1   0  1
1   1   1

Circuit symbol looks like a D but instead of a straight edge, it is curved like so )

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

Construct an XOR truth table. And describe how the logic circuit symbol looks.

A
A  B  Q
0  0  0
0  1   1
1   0  1
1   1   0

Circuit symbol looks like an OR gate with an extra ) line

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

Construct a NOT truth table. And describe how the logic circuit symbol looks.

A

A Q
0 1
1 0

Circuit symbol looks like triangle with circle at the front

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

What are the boolean operators for the logic gates?

A

. to represent an AND gate
+ to represent an OR gate
+ with a circle around it to represent XOR gate
Overbar to represent NOT gate

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

Explain what is meant by an:

  • – application software
  • – system software
A

Application software:
— Apps used for the user benefit e.g. word processor, presentation, games etc.

System software:
— Things that are required for the hardware to operate e.g. OS, utility software, encryption software etc.

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

What are the functions of the operating system?

A
  • – User interface: an environment that allows the user to interact with the machine e.g. CLI and GUI
  • – Security management: security through user accounts and passwords
  • – Input / output device: manages the device drivers to convert between the peripheral signals and OS
  • – Application management: manages applications installed
  • – Memory management: allocates memory blocks in RAM
  • – Processor management: allows the OS to multitask so more than one program can run at once
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the utility softwares?

A
  • – Disk defragmentation software: takes fragmented segments and rearranges them so that computer performance is faster
  • – Encryption software: disguises the contents of the files using an encryption key
  • – Data compression software: reduces the file size because smaller files are easier to transmit
  • – Backup software: makes a copy of files locally and remotely then backs up data to prevent data loss
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the main differences between low level and high-level language? Give some advantages and disadvantages.

A

Low-level languages are often written in binary format which makes high-level languages easier to read and understand as they are written in English/normal languages that humans can read.

High-level languages are easier to learn and faster to program. Also, it allows the program to be debugged and maintained better if there are any errors. However an advantage of a low level is that code is written specifically for the processor therefore it stores less memory and executes the program faster.

High-level languages are portable as they are not specific to one hardware.

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

What are the examples of low-level language? Explain the difference between them.

A

Machine code:

  • – Written in binary specific for the processor as each processor has its own specific machine code instruction set
  • – All languages have to be converted into machine code before being executed by the processor

Assembly code:

  • – Written using mnemonics and binary in the form of opcode and operand.
  • – Opcode tells the instruction and operand tells the data to execute with the instruction
  • – Needs to be converted into machine code
  • – Used in embedded systems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the three different translators? Explain each in detail.

A

Assembler:
— Translates assembly code into machine code

Interpreter:

  • – Translates high-level code line by line into machine code.
  • – If code wants to be transported then the source code will be transported as well as machine code
  • – Takes a long time as it is done line by line
  • – Customers require the interpreter to be downloaded for the software to run

Compiler:

  • – Scans high-level source code then translates it all at once into machine/object code
  • – If it wants to be distributed then the source code is not seen by customers
  • – Error message displayed at the end so it is difficult to find the exact location of the error
  • – Compiler does not need to be installed to run the software
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Explain the different types of memory within a computer.

A

Main memory:

  • – RAM (random access memory) and ROM (read-only memory)
  • – RAM is volatile as it loses its contents when power is lost
  • – ROM is non-volatile as it does not lose its data when power is lost
  • – RAM is used to store general programs being executed and their data. Loads from the hard disk
  • – ROM is used to boot up the contents of the computer as it stores the BIOS/BOOTSTRAP loader

Cache:

  • –Faster than main memory but smaller than main memory
  • – Stores frequently used data
  • – Closer to the CPU so that data can be fetched and exceuted faster

Registers:

  • – Located inside the CPU
  • – Smaller in size than cache but way much faster
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is secondary storage and how do all the different types work?

A

Secondary storage is a non-volatile form of memory that is not directly accessible by the CPU.

Optical:
— A laser is shone onto the pits and lands to read the disk as a series of 0s and 1s. The light reflects off lands and is refracted off a pit.
There is one singular track on an optical disk

Magnetic:
— A hard disk uses rotating platters coated in magnetic material. The iron particles are polarised to either become a north or south state which is represented as a 0 or 1. The disk is also divided into tracks which are further divided into sectors. As the disk spins, the read/write head moves back and forth on the disk to read or write data to the disk.

Solid-state drives:
— They use flash memory. Built from transistors and logic gates which do not lose their contents when power is lost

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

Explain how you would choose a storage device.

HINT: use words like capacity, durability, portability, reliability, speed, cost

A

Magnetic:

  • – Relatively cheap
  • – Large capacity
  • – Reliable but not durable as there are moving parts
  • – Not portable
  • – Can be noisy and generate heat

Optical:

  • – Small capacity
  • – Reliable but easily scratched so not as durable
  • – Very portable

Solid State Drives:

  • – Quite a small capacity
  • – Very fast
  • – Quite expensive for small storage
  • – Very durable and reliable as no moving parts
  • – Easily portable
  • – Silent
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Give a summary of the advantages and disadvantages of the three secondary storage.

A

Magnetic advantages:
— Inexpensive, high capacity, very reliable
Magnetic disadvantages:
— Moving parts make it more susceptible to damage, not very portable

Optical advantages:
— Inexpensive, fast access speeds, very reliable, easily portable
Optical disadvantages:
— Small capacity, easily susceptible to damage due to sunlight or scratches

SSD advantages:
— Easily portable, fast access speeds, very durable and reliable
SSD disadvantages:
— Quite expensive for small capacity and does not last as long as a hard disk

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

What exactly is cloud storage?

A

Cloud storage:

— Storing data at a remote location using a magnetic or solid-state drive

17
Q

What are the advantages and disadvantages of using cloud storage?

A

Advantages;

  • – Files can be accessed from anywhere
  • – No physical equipment is required
  • – Data is held by the host/provider therefore backup is no longer an issue
  • – Several people can collaborate as data can be shared easily

Disadvantages:

  • – Internet connection is required to access the cloud storage
  • – Not as secure especially large companies as they are targeted by hackers
18
Q

Define an embedded system. What are some examples of an embedded system?

A

Embedded system:
— A computer system designed for a specific purpose that is built into another device.

Examples include:

  • – Washing machine
  • – Traffic lights
  • – Cameras
  • – Microwave ovens