Computer Science Notes 1 Mercury
Computer Science Notes 1 Mercury
A primary storage device is quite smaller in size and it's designed to capture or hold data for a
temporary period. Most primary storage devices are found inside the computer, and they have the
fastest access to data. Examples of Primary devices include Cache memory and RAM.
2. Secondary storage/memory
• Non-volatile, which means it holds its contents when the power is removed.
• Used to hold software/files not being used
Storage media
Data needs a material on which to be stored, which is called the storage media. There are
three types of storage media
Optical
Solid state (e.g. memnory card)
Magnetic
1. Optical Drive
Optical disks are flat circular disks on which data is stored as a series of bumps.
Optical disks include CDs and DVDs and are used to store digital data as a binary pattern on
the disk
Both CD and DVD can be used to store computer data and can be used for backup purposes.
Advantages
Portable
A flash memory stick requires no power to operate and has no moving parts,
so there is less danger of losing information.
Disadvantages
can take viruses from one computer to another
if they are lost or stolen, sensitive files can be easily accessed
3. Magnetic tapes
Magnetic tape stores data on a plastic coated with a magnetic layer. Magnetic tape is used
to back up data stored on hard disks. They have a huge storage capacity
Magnetic tape is used in a variety of batch processing applications where the computer can
just be left to process the data without any human intervention during processing eg.
payroll processing, general stock control
Advantages
A single magnetic tape cartridge can store large amounts of data up to 1 Terabyte.
Large cartridges are used by big companies and institutions that require continuous
recording and backup of data.
Data collection can go on without interruption overnight or for an entire weekend.
Magnetic tape can be recorded over and reused repeatedly.
Large amounts of information is stored.
Magnetic tape is inexpensive and budget friendly.
Disadvantages
Special equipment mụst be purchased and set up for recording and storing
data.
The data can only be read on the special equipment
Magnetic tape has a lifespan of 15 years. Data quality gradually erodes over
Time
A computer processing device is the part of the computer that receives input, processes the input
and gives output. In most computers, the central processing is the computer processing device
Computers take in data, process that data with code and give results.
The CPU can be subdivided into two major subunits; the control unit (CU) and the arithmetic
logic unit (ALU). The primary (main) memory is an extension of the CPU and assists the CPU
in its operations.
The unit fetches (obtains) the instruction from the main memory
It then interprets it
It then executes the instruction by sending a command signal to the appropriate
hardware
device in the computer system, ordering it to perform required operations.
The control unit is driven by a 'clock pulse'; the rate of the clock is called the
speed.
Operating systems are programs that control the hardware directly by giving the step-by-
step instructions that tell the computer hardware what to do. An operating system performs
the following tasks:
It handles inputs and outputs hence it selects and also controls the operation of
hardware devices such as keyboards, mice, printers, scanner, etc
The operating system handles, interrupts (an interrupt is a signal to the processor
emitted by hardware or software indicating an event that needs immediate
attention) and decides what action to take-when something happens such as the
printer cannot print because the paper is jammed or it has run out of paper, it will
stop the printer and alert the user.
It keeps track of all the files and directories/folders on the disk thus it handles the
storage of data
The operating system recognizes hardware devices such as pendrive, camera,
portable hard drive, etc, that would have been attached to the computer. The
operating system loads the software it needs, so as to control the device
automatically
It decides where in the memory the program instructions are placed. For example,
some instructions are needed over and over again, whereas others are only needed
now and again. It ensures that the parts of the program needed frequently are put in
the fastest part of the memory.
The operating system supervises the running of other programs - it provides a way
for applications software to work with hardware
Introduction
Computers have many uses in everyday life and in different fields of work which include.
Just the changing of lights at the traffic lights when you cross the road; red, green
then amber is a computer system at work.
Engineers, architects and filmmakers use computers to design things.
Teachers, writers and office workers use computers for research, word processing
and emailing.
Small businesses use computers to make the sale and general record keeping.
Young people also use computers to play games
In this section we will look at all the application of computers in Agriculture, Banking
systems, Education, Social networks, Research and Development.
1. Agriculture
Irrigation of plants. In dry areas like deserts, farmers have embraced technology to
irrigate their crops.
Lamps (to make the plants grow faster) light is the trigger that causes opening
of the tiny pores on the leaf surface known as stomatas. Opening of stomates, in
response to light, allows gas exchange between the plant and the external
environment.
Heater- A good heating system is one of the most important steps to successful
Motor to turn the sprinkler on/off to water the plants plant production. Any heating
system that provides uniform temperature control without releasing material harmful to
the plants is acceptable.
The microprocessor compares the sensor reading to a preset value Motor to open or
close the windows (to cool the greenhouse down if it gets too hot)