![Page 1: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/1.jpg)
1Systems
Higher / Intermediate 2Computer – Systems
Mr Climie
Part 1
![Page 2: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/2.jpg)
2Systems
Data Representation
What you will learn here is how a computer that uses an odd number system called binary can still store all kinds of data such as numbers, text, sound or graphics.
![Page 3: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/3.jpg)
3Systems
Representing Numbers
How We Change From Binary to Decimal
![Page 4: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/4.jpg)
4Systems
Why Computers Use Binary
Even if there is a slight drop in voltage it will still be detected as a 1
There are only four rules for addition in binary compared to 100 in decimal[0+0=0 ; 0+1=1 ; 1+0=1; 1+1=10]
![Page 5: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/5.jpg)
5Systems
Binary to Decimal
We can change from our number system, decimal, to the computer number system, binary
![Page 6: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/6.jpg)
6Systems
Two’s Complement
Two's complement is the most popular method of working with negative binary numbers.
Do examples.
H
![Page 7: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/7.jpg)
7Systems
Terms Used for Sizes
1Byte = 8 Bits1KiloByte = 1024 bytes1MegaByte = 1024 Kbytes1GigaByte = 1024 Mbytes1TeraBytes = 1024 GBytes
![Page 8: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/8.jpg)
8Systems
Representing Real Numbers
What you will learn here is how numbers with fractions, real numbers, are stored on computers.
You need to know the terms mantissa and exponent.
![Page 9: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/9.jpg)
9Systems
Mantissa and Exponent
A real number such as 612.987 can be rewritten as 0.612987 x 103
The 0.612987 is the mantissa The power of 10, the 3, is the
exponent
![Page 10: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/10.jpg)
10Systems
Real Numbers
Real numbers are stored by a group of connected bytes of memory.
It sets aside a few bytes for the mantissa and a few for the exponent.
![Page 11: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/11.jpg)
11Systems
Increase the Mantissa
If we increase the amount of storage for the mantissa we get a more accurate number stored, but we get a smaller range of numbers.
![Page 12: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/12.jpg)
12Systems
Increase the Exponent
If we increase the amount of storage for the exponent, we increase the range of numbers, but we decrease the accuracy.
![Page 13: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/13.jpg)
13Systems
Representing Text
![Page 14: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/14.jpg)
14Systems
Text Representation
In this section, you will find out how text is stored on computers and how we can guarantee that what you type is exactly what is printed out or sent to someone else.
![Page 15: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/15.jpg)
15Systems
Coding Text
When we type text into the computer, a numeric code is used to store it as a number.
![Page 16: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/16.jpg)
16Systems
ASCII
This was developed in the 1960’s Due to peripherals being made by
many different makers they needed a common code.
American Standard Code for Information Interchange became the common code.
![Page 17: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/17.jpg)
17Systems
ASCII Control Codes
Control codes can be used for device control such as cursor movement, page eject, or changing colours
![Page 18: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/18.jpg)
18Systems
Character Set This is the set of characters that can be
displayed. If a different language is being used
then a different character set may be used.
Examples could be Latin set for English Cyrillic for Russian Chinese character set.
![Page 19: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/19.jpg)
19Systems
Problems With ASCII
It is American. There is no code for the £. There is not a code for European
languages and the characters they use.
![Page 20: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/20.jpg)
20Systems
Unicode
This was designed to replace ASCII and have a unique numeric code for every written language.
H
![Page 21: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/21.jpg)
21Systems
Advantage of Unicode
The advantage is guaranteed correct communication between Countries Peripherals
H
![Page 22: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/22.jpg)
22Systems
ASCII or Unicode
ASCII files are smaller than Unicode files
Unicode has every possible character
ASCII is an 8-bit code Unicode is a 16-bit code
H
![Page 23: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/23.jpg)
23Systems
Representing Graphics
![Page 24: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/24.jpg)
24Systems
Representing Graphics
In this section you will find out how graphics are stored on computers.
There are a couple of methods in use and we discuss them.
![Page 25: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/25.jpg)
25Systems
Graphics Representation The computer uses two methods to
store a graphic on the computer. Bit mapped
Records ever single dot or pixel used and stores the pixels directly in the computers memory.
Vector Records how the diagram is made up by
recording how we would draw the lines and shapes used in the diagram.
H
![Page 26: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/26.jpg)
26Systems
Bit Mapped Graphics The screen is
drawn using dots called PIXELS.
Each pixel is connected directly to a set (map) of memory locations.
![Page 27: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/27.jpg)
27Systems
Bit Map Graphics and Colour If we use colour, we need
more than one bit of memory to record the pixel.
This is called bmp graphics. A drawback is the very large
size of file that can be produced by some pictures.
An advantage is we can edit individual pixels.
![Page 28: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/28.jpg)
28Systems
Bit Depth or Number of Colours
2n is the amount of colours we can display when we use n bits to store the colours.
Sometime said as n-bit depth. 8 – bit depth or 8 bit colour= 256
colours 24 – bit colour (sometimes called true
colour)H
![Page 29: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/29.jpg)
29Systems
Vector Graphics
This records ‘how’ to draw the shape by recording the ‘attributes’ of the shape.
A big advantage is it takes up very little space to record the picture.
H
![Page 30: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/30.jpg)
30Systems
Example - Circle A circle is drawn
knowing the centre co-ordinates, the radius, and the colour of the circumference.
Circle1, 200,400, 15, red.
H
![Page 31: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/31.jpg)
31Systems
Bit Mapped Picture Vector Graphic Picture
![Page 32: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/32.jpg)
32Systems
Graphic File Formats
![Page 33: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/33.jpg)
33Systems
Graphic File Formats
In this section you will find out the different ways graphic programs save their files.
No single program or format is the best, they all have different advantages, disadvantages and uses.
![Page 34: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/34.jpg)
34Systems
Graphic File Formats
Use the Internet to research the following graphic file formats
BMP JPEG Gif Tiff
1. What it stands for2. An advantage3. A disadvantage4. A likely use of each
H
![Page 35: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/35.jpg)
35Systems
BMP Bit Mapped Pictures The standard format for Windows based
computers. It is a resolution-dependent file format.
A picture drawn on a screen of 800x600 pixel will look poor on a screen 1280x768 pixel
A drawback is the large file size An advantage is being able to work at
individual pixel levelH
![Page 36: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/36.jpg)
36Systems
JPEG JPEG is a format that uses compression. This can lose data from an image.
If you save the compressed file again and again using the compression feature, you will lose detail over time.
JPEG files have the extension .Jpeg or .jpg
A major advantage is the file size, it is usually far smaller than BMPH
![Page 37: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/37.jpg)
37Systems
GIF
Graphic Interchange Format Its resolution is low, it is designed
for screen only use, making it unsuitable for printing purposes.
Animated GIF images are the most common method of creating a moving banner or animation for the web.H
![Page 38: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/38.jpg)
38Systems
TIFF Tagged Image File Format TIFF is a platform-independent
format The TIFF format was specifically
designed for scanned images and use in DTP.
Uses bitmapped images There are different versions in use,
so it is not commonly used!H
![Page 39: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/39.jpg)
39Systems
Need for Compression
Graphic files can be very large. Compression is used to make the
file size smaller. This may mean the picture loses
some quality, but it is a more manageable size.
![Page 40: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/40.jpg)
40Systems
Memory Used By A Picture
In this section you will find out, by calculation, how much storage is required to store pictures.
![Page 41: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/41.jpg)
41Systems
Memory Used Calculation
We can calculate how much memory a picture will take up when stored.
There are two methods employed, it depends on whether it is displayed on a Screen
Or As a photograph
![Page 42: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/42.jpg)
42Systems
Photograph
When we scan a photo we need to know the scan resolution in dots per inch (dpi) and the number of colours or bit depth.
We can calculate the memory required to hold it as Area of photo x dpi x dpi x bit depth
![Page 43: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/43.jpg)
43Systems
Monitor Screen
A computer screen uses resolution and bit depth only.
We need to know the screen size in pixels and the bit depth used.
Width in pixels times height in pixels times bit depth.
![Page 44: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/44.jpg)
44Systems
Examples
![Page 45: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/45.jpg)
45Systems
NOW WE LOOK AT SOFTWARE DEVELOPMENT
![Page 46: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/46.jpg)
46Systems
Computer Structure
![Page 47: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/47.jpg)
47Systems
Computer Structure
In this section you will find out some detail about the physical parts that make up a computer system.
The first part is the main central chip of the computer called the CPU.
![Page 48: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/48.jpg)
48Systems
Simple Diagram
Processor
Main Memory
Input Output
Backing Storage
![Page 49: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/49.jpg)
49Systems
ALU – Arithmetic Logic Unit This is the part of the CPU where
data is processed and manipulated. The processing consists of
Arithmetical operations Logical comparisons
It will also include registers to temporarily store the results of calculations.
![Page 50: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/50.jpg)
50Systems
Arithmetic Unit Most computer
calculations involve adding so a specialist arithmetic unit is part of the CPU.
3 times 4 or 3x4 is 3 added together 4 times.
![Page 51: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/51.jpg)
51Systems
Logic Unit
This is special circuits designed to work out comparisons such as A<B Age > 12 (Seats=‘yes’) and (number < 6)
![Page 52: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/52.jpg)
52Systems
Control Unit This is the part of the CPU that manages
the execution of instructions. It fetches each instruction in sequence Decodes the instruction Synchronises the commands Then executes the command
This is done by sending out control signals to the other parts of the computer.
![Page 53: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/53.jpg)
53Systems
Registers
These hold Data being processed Instructions being executed Addresses to be accessed
![Page 54: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/54.jpg)
54Systems
Internal Busses
Higher Content Only
![Page 55: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/55.jpg)
55Systems
Internal Busses
In this section you will find out how the various chips that make up the main section, or motherboard, of the computer can communicate between themselves.
![Page 56: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/56.jpg)
56Systems
What is a Computer Bus?
A bus is a set of physical connections which are used by hardware components in order to communicate with one another.
H
![Page 57: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/57.jpg)
57Systems
The Computer Busses
There are three Address bus Data bus Control bus
H
![Page 58: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/58.jpg)
58Systems
Address Bus
This transports memory addresses which the processor wants to access in order to read or write data.
The size of the address bus will determine how many memory locations can be addressed.
The amount of memory accessible for a bus of width n is 2n
It is a unidirectional bus. H
![Page 59: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/59.jpg)
59Systems
Data Bus
The data bus is used to transfer data either way between the memory and the CPU.
It is a bi-directional bus
H
![Page 60: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/60.jpg)
60Systems
Control Bus
It sends signals to other parts of the computer to synchronise their tasks.
It also transmits response signals from the hardware.
It is a bidirectional bus.
H
![Page 61: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/61.jpg)
61Systems
Example Control Lines Reset - to return a device back to its
original state. Interrupt - the processor has to stop
doing what it was doing and deal with this new more important task.
Read – to initiate the transfer of data from the memory to the processor
Write - to initiate the transfer of data from the processor to the memory.
H
![Page 62: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/62.jpg)
62Systems
Fetch Execute Cycle The main task a computer does It gets an instruction that is stored
in the memory of the computer, loads it into the cpu, then does the command it is set.
This is called the fetch/execute cyle as it does this repeatedly many times per second.
![Page 63: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/63.jpg)
63Systems
Fetch Execute Cycle
Setup address bus Enable read line Data transferred
using data bus Command decoded Command executed
H
![Page 64: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/64.jpg)
64Systems
Data Storage
![Page 65: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/65.jpg)
65Systems
Data Storage
In this section you will get more details of how a computer stores the data it is using and storing.
Also there is a common method used to speed up the access to that data.
![Page 66: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/66.jpg)
66Systems
Data Storage
Computers make use of various styles of storage, they include: Main memory Cache Registers Backing storage
![Page 67: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/67.jpg)
67Systems
Main Memory
There are two styles of memory in use RAM
Random access memory is a type of computer storage whose contents can be accessed in any order
ROM Read only memory is memory whose
contents can be accessed and read but cannot be easily changed
![Page 68: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/68.jpg)
68Systems
![Page 69: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/69.jpg)
69Systems
Use of each type
RAM holds the program and data in use at this moment.
ROM will hold parts of the operating system we need when we start the computer.
![Page 70: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/70.jpg)
70Systems
RAM
Random access memory The contents are lost when the
power is off, this means it is volatile.
It uses a system of unique memory locations to record where the data is stored.
![Page 71: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/71.jpg)
71Systems
ROM
Read Only Memory ROM cannot be altered. Any software held in ROM is fixed
during manufacture. Typical use is to store a basic set
of operating system commands.
![Page 72: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/72.jpg)
72Systems
What comes next is mainly higher content, Int 2 pupils can
investigate how RAM and ROM work.
![Page 73: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/73.jpg)
73Systems
Cache Memory –1
Cache memory is a relatively small amount (normally less than 1MB) of high speed memory that resides on the CPU
H
![Page 74: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/74.jpg)
74Systems
Cache Memory – 2
Cache memory is designed to supply the CPU with the most frequently requested data and instructions.
H
![Page 75: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/75.jpg)
75Systems
Backing Store Usually magnetic disks,
storing data and programs.
Backing store is cheaper but RAM is faster.
Can also be re-writeable DVD’s or CD’s, called optical storage.
H
![Page 76: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/76.jpg)
76Systems
Solid State Storage Device
These devices are now very common, this is due to the capacity, physical size and robustness. They can store much more than cd’s and can match DVD’s capacity of 5 Gbytes.
H
![Page 77: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/77.jpg)
77Systems
Addressability
The computer assigns numbers or addresses to physical memory locations on boot-up to keep track of the information that the CPU has access to.
H
![Page 78: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/78.jpg)
78Systems
Memory Maps
The O.S. Places into RAM a list of all the known, important locations.
This is known as a memory map.
Comparison of memory maps for different O.S.
H
![Page 79: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/79.jpg)
79Systems
System Performance
![Page 80: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/80.jpg)
80Systems
How Fast Is That Computer?
In this section you will find out how we can compare computers in terms of overall speed.
We use terms such as powerful and fast but how do we compare them properly.
![Page 81: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/81.jpg)
81Systems
Clock Speed A computer's system clock resides on
the motherboard. It sends out a signal to all other
computer components in sync. Every action in the computer is timed
by these clock cycles and takes a certain number of cycles to perform.
![Page 82: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/82.jpg)
82Systems
Clock Speed as System Performance
This is only a basic measure. We can only compare them if they
are made by the same company. Even then they must be from the
same ‘family’ of processors.
![Page 83: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/83.jpg)
83Systems
MIPS
Millions of instructions per second. This measures how many simple
instructions can be performed by the CPU in one second.
MIPS measures CPU performance only, not the overall system performance.
![Page 84: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/84.jpg)
84Systems
Flops
Floating point operations per second.
This is similar to Mips but it uses real numbers with fractions in the calculations.
Is still in use for modern computers.
![Page 85: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/85.jpg)
85Systems
How Do We Compare Computer Systems?
Mips and Flops look at the processor on its own, but that does not take into account that some disc drives are much faster than others, so we need to be careful how we measure a computers speed.
For a full comparison we use application tests which test many different programs and aspects of the whole system.
![Page 86: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/86.jpg)
86Systems
Application Based Tests
A test that serves as a standard by which computer systems may be compared.
This takes into account the complete computer system as well as software.
Also known as benchmarks.
![Page 87: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/87.jpg)
87Systems
More Influences
There are more methods of influencing how fast a computer works. These are in the way the computer is designed.
On the next page you will learn of some of the ways this can be designed.
![Page 88: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/88.jpg)
88Systems
Factors That Affect System Performance
Data bus width Wider the better
Use of cache memory On board the CPU is better
Rate of data transfer to and from peripherals Modern interfaces are much faster,
USB2 is 40 times faster than USB1
![Page 89: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/89.jpg)
89Systems
Other Methods of Increasing System Speed
Increasing clock speeds New parallel processors Increasing memory, 2 or 3 Gb Backing storage capacity1 Tb
available
![Page 90: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/90.jpg)
90Systems
Peripherals
![Page 91: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/91.jpg)
91Systems
What Is a Peripheral?
Peripherals may be internal or external.
Examples of peripherals include printers, monitors, disk drives, scanners and so on.
You will find out how we compensate for the difference in speed of the fast computer and the slow peripheral.
![Page 92: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/92.jpg)
92Systems
Peripheral list
ItemMono laser
Colour laser
Inkjet printer
DVD writer Scanner
Internal disc drive
external disc drive
tft monitor
Details
Resolution
Capacity
Speed
Compatibility
Name
Cost
![Page 93: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/93.jpg)
93Systems
Practical Work
The following few slides indicate the type of peripheral you are going to research.
Write down the details as you find them.
Note we want typical information NOT specific details of an actual peripheral.
![Page 94: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/94.jpg)
94Systems
1. Typical Characteristics of
Keyboard Mouse Microphone Touchpad
![Page 95: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/95.jpg)
95Systems
2. Typical Characteristics of
Digital camera Scanner Webcam
![Page 96: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/96.jpg)
96Systems
3. Typical Characteristics of
Monitor LCD panel Inkjet printer Laser printer Loudspeaker
![Page 97: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/97.jpg)
97Systems
4. Typical Characteristics of
Hard disc drive Magnetic tape drive CD-rom, CD-R, CD-RW DVD-rom, DVD-R, DVD-RW
![Page 98: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/98.jpg)
98Systems
Choice of Peripherals A peripheral is hardware that is
added to a computer in order to expand its abilities.
You can take in to account Resolution Capacity Speed of data transfer Compatibility Cost
![Page 99: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/99.jpg)
99Systems
Compensating for Speed Peripherals are slow in comparison to
the computer There are methods employed to
compensate for these speed differences. Buffers Spoolers
![Page 100: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/100.jpg)
100Systems
BUFFERS An amount of RAM on
the peripheral, used for temporary storage of data that is waiting to be sent to a device, typically a printer.
Used to compensate for differences in the rate of flow of data between components of a computer system.
![Page 101: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/101.jpg)
101Systems
Spoolers A method by which a
disc drive can store data and feed it gradually to a printer, which is operating more slowly than the computer.
More commonly used in a network.
![Page 102: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/102.jpg)
102Systems
Interfaces
![Page 103: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/103.jpg)
103Systems
Interfaces
Interfaces are more than just a connector, the wrong choice can slow the speed of the computer system considerably, the right choice can speed it up.
Most of the times you do not realise the interface is there, as it should be.
![Page 104: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/104.jpg)
104Systems
Purpose of an Interface Interfaces are used
to pass data that are different in style but can be used by the equipment connected together by that interface.
![Page 105: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/105.jpg)
105Systems
Functions of an Interface
Buffering Data format conversion Voltage conversion Protocol conversion Handling of status signals
![Page 106: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/106.jpg)
106Systems
Buffering
This is when a section of RAM is set aside to store the data being transferred.
It waits until a complete block of data is created, then transfers the data completely in one block.
It then creates a new block of data.
![Page 107: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/107.jpg)
107Systems
Digital to Analogue Converter
This converts digital signals into analogue signals.
![Page 108: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/108.jpg)
108Systems
Parallel to Serial Parallel
All bytes of data sent at once in a ‘row’
One cable per bit of data being sent
Serial One bit sent at a time,
one after the other down the same cable.
![Page 109: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/109.jpg)
109Systems
Voltage Conversion
This may transform the mains AC to DC for the computer peripherals.
It may convert the 240volts mains to the 5 volts the computer needs.
![Page 110: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/110.jpg)
110Systems
Interface Protocol
A formal description of the rules and formats used to allow computer and peripheral to work properly together.
![Page 111: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/111.jpg)
111Systems
Status Registers
There will be a special register on the interface that can communicate with the CPU.
The status register could hold The printer is out of paper The disc drive is not ready The internet connection can not be
made
![Page 112: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/112.jpg)
112Systems
Wireless
This is becoming increasingly more and more common.
There are two styles Bluetooth Wi-Fi
![Page 113: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/113.jpg)
113Systems
Wi-Fi
It can let you use a printer in another room of the house.
You can use peripherals up to quite a long distance away. (30m).
You can share a Wi-Fi link with other users or make it secure.
![Page 114: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/114.jpg)
114Systems
Bluetooth This is also wireless but is
much less powerful. It is designed to allow
peripherals of any kind to communicate with others.
It only works over about 10 metres distance or so.
It is much slower than Wi-Fi.
![Page 115: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/115.jpg)
115Systems
Computer types A loose description
of computer types is Embedded Palmtop Laptop Desktop Mainframe
![Page 116: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/116.jpg)
116Systems
Embedded
These are incorporated into other devices, rather than being stand alone computers.
Examples include digital cameras, mobile phones, music players and almost any kind of industrial or domestic control system
![Page 117: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/117.jpg)
117Systems
Palmtop The name for pocket computers of small
size, low weight and long battery life. Its disadvantage, comparing to a PC,
are reduced functions due to smaller memory and small screen.
It is more intended for time planning, listing addresses and notes.
Being replaced by Smart Phones such as the iPhone and similar.
![Page 118: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/118.jpg)
118Systems
Laptop
A laptop is a computer that is characterized by mobility.
Its components are similar to a desktop except miniaturized and made for low power consumption.
Now being called a portable or notebook.
![Page 119: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/119.jpg)
119Systems
Desktop
Designed to be used by one person only.
The most commonly used style of computer.
Easily upgraded and extended..
![Page 120: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/120.jpg)
120Systems
Mainframe
A physically large computer which has an extensive amount of memory and disk space and is able to perform several different tasks simultaneously.
It can have hundreds or even thousands of users connected to it.
![Page 121: Systems 1 Higher / Intermediate 2 Computer – Systems Mr Climie Part 1](https://reader036.vdocument.in/reader036/viewer/2022062511/5517674f55034645368b4939/html5/thumbnails/121.jpg)
121Systems
Computer Task
Can you compare the types of computer on Type of processor Speed of processor Size of main memory Backing storage Input and out put devices