Computer Systems Flashcards

1
Q

What are the units of storage?(7)

A
  1. Bit = binary digit
  2. Byte = a group of 8 bits
  3. Kilobyte (Kb) = 1,024 bytes
  4. Megabyte (Mb) = 1,024 kilobytes
  5. Gigabyte (Gb) = 1,024 megabytes
  6. Terabyte (Tb) = 1,024 gigabytes
  7. Petabyte (Pb) = 1,024 terabytes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How are positive numbers stored in a computer?

A

Binary

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

How are integers stored in a computer?

How does it work?

A

Two’s compliment

The most significant bit (128) is made negative

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

What are real numbers?

How are real numbers stored in a computer?

What is the advantage?

Disadvantage?

A

Positive, negative numbers including fractions and decimals

Through floating point notation, where the decimal part is the mantissa and the fractional part is the exponent.

It allows very large and very small numbers to be stored in a fewer number of bits

Accuracy is lost since the mantissa gives the number rounded to a certain number of significant figures.

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

What increases the accuracy of floating point numbers?

What increases the range?

A

Increasing the number of bits assigned to the mantissa

Increasing the number of bits assigned to the exponent

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

What is ASCII?

How does it store characters in a computer?

What are control characters?

What is Unicode?

A

An 8 bit code that can represent 256 characters

Each character is assigned a number from 0 -255 (8 - bit code)

RETURN and TAB

A 16 bit code that can represent many more characters

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

What is the advantage of Unicode over ASCII?

Disadvantage?

A

Unicode can store many more characters in different languages so more people all over the world can use it

Unicode requires more storage

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

What are bit mapped graphics?

How much is each pixel worth

Advantages? (2)

Disadvantages? (4)

A

A 2 dimensional array of pixels stored in a binary code where 1’s represent black pixels and 0’s represent white pixels

1 bit

Advantages

  1. Can be edited at pixel level so that fine detail and irregular shapes can be produced
  2. Good for editing photographic images captured by a digital camera

Disadvantages

  1. File size can be very large because each pixel must be stored
  2. The resolution of the image is fixed so when enlarged it becomes jagged
  3. Parts of the image cannot be separated
  4. No advantage is gained from sending the image to a high resolution device such as a printer because the resolution is fixed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are vector graphics?

What are the advantages? (4)

Disadvantages? (1)

A

Stores an image as a list of objects and their attributes eg.

Advantages

  1. File size is smaller than bit mapped graphics because only a description is stored
  2. Editing can be done on each object at an attribute level eg. change the length
  3. Overlapping objects can be separated again
  4. Resolution is not fixed so when enlarged the shapes do not become jagged

Disadvantages
1. Not suitable for creating and editing images with fine detail such as photographs taken by a camera. More suitable for shapes

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

What are the parts of the CPU?

What are the parts of the processor?

What are the parts of the main memory

A

A processor and main memory

Control unit
ALU
Registers

RAM / ROM

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

What is a peripheral device and what does it do?

Give examples of:
Input
Output
Backing storage

A

Any device that can be attached to the CPU for input, output or backing storage

Input = keyboard, scanner, digital camera
Output = printer, projector
Backing storage = CD, hard disc drive, USB memory stick. These are used to permanently store program and data files

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

What is the function of the:
Control unit
ALU
Registers

A

CONTROL UNIT-
Fetches and executes the program instructions stored in the main memory one at a time

ALU
Preforms arithmetic operations

Registers
Used to store items of data the the proces is currently working on

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

What is main memory?

RAM?

ROM?

A

Used to store the programs and data currently being executed by the processor

Used to temporarily store the programs currently being executed by the processor. Loses contents when computer is switched off. Contents can be changed.

Used to store programs that stay the same. Keeps contents when computer is switched off. Cannot change contents.

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

What is the address?

What are processor buses?

What are the three kinds?

A

A unique code used so the processor can identify each location.

A set of parallel wires used to connect the processor and main memory

Address bus = used to specify which memory location is to be used to read or write data

Data bus = used to carry data from a memory location to the processor and vice verse

Control bus = used to send out signal to initiate events

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

What is machine code?

Why are high level languages much easier to read and find errors than low level languages? (5)

Give some examples of high level languages

A

The computers own language using binary codes to represent instructions and data. Low level language. Very difficult for humans to write and find errors

  1. They use English command words
  2. Complex mathematic equations can be performed in one instruction
  3. One high level instruction is the equivalent of many machine code instructions
  4. They have in built functions
  5. The program can be broken down into procedures

Scratch, Visual Basic and python

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

What must happen to a high level language before it can be run?

How is this done?

A

It must be translated into machine code

Using a translator. It translates the high level language (source code) into machine code (object code)

17
Q

What does a compiler do?

What are the:

  • Advantages (4)
  • Disadvantages (1)
A

Translates the program into machine code before the program is run

Advantages-

  1. Runs fast since there is no translation at run time
  2. Produces a stand alone program which runs by itself without the need of a compiler or source code in the memory
  3. Uses less memory
  4. The source program will only be used again if the program needs changed

Disadvantages-
1. Errors are only identified once the program has been compiled. Once corrected they need to be compiled all over again

18
Q

What does an interpreter do?

What are the:

  • Advantages (2)
  • Disadvantages (2)
A

Translates and executes the program one statement at a time while the program is run

Advantages-

  1. They are easier to edit since the program will run up to the point of error, be corrected and run again immediately
  2. It is simpler and less expensive

Disadvantages-

  1. It will run slower as the statement need to be translated and executed as the program is being run
  2. The interpreter and source code must be in memory when the program is executed, therefor it requires more memory
19
Q

What is carbon footprint?

A

A term to describe how much carbon dioxide is produced in the making and use of electrical goods

20
Q

What can be done to reduce the amount of power being used by your monitor? (3)

A
  1. Brightness levels can be turned down or set to an appropriate level to the brightness of the environment
  2. Monitors can be set to automatically go to sleep mode after a set period of time
  3. Remove any used peripheral devices
21
Q

What happens when a computer is shut down?

Why is this not always good?

What is a more efficient way of saving power?

A

All of it’s programs and data are closed. The computer now uses almost no power. Some components such as an internal clock may still use up very small amounts of power.

When you want to go on the computer again, you have to restart everything which takes a lot of time.

Stand by/sleep mode. This is when the computer enters a low power state, which keep the data in memory but other parts of the computer are switched off and wont use any power. When the computer is turned back on it takes almost no time at all and the user can begin again where the left off.

22
Q

What is a firewall?

What is encryption?

A

A barrier to control network traffic in and out of an organisations network. Data is passed over the internet in blocks of data called packets. The firewall protects a computer system by filtering out any unwanted packets. It inspects it’s contents and sees if they should be aloud through of not. Firewalls also control which internet sites a compute can access.

Data is encrypted by an encryption key, into a code that can only be decrypted with the correct key. Details such as passwords and credit card details are usually encrypted.

23
Q

What increases power consumption?

A

Peripheral devices

24
Q

What harmful chemicals are contained in computers?

What can help to reduce these harmful chemicals being let out into the air?

A

Mercury, lead and cadmium

Recycling of materials

25
Q

How do computers increase carbon footprint? (2)

How do they decrease carbon footprint? (2)

A
  1. The making and use of computers uses energy is which is produced by burning fossil fuels, which releases carbon dioxide
  2. They are made of plastic, glass and steel which produce harmful chemicals
  3. They allow people to work from home and not use trains and buses which burn fossil fuels
  4. Saves people printing things out and using paper, which saves trees and means there is more intake of carbon dioxide