Professional Documents
Culture Documents
LESOTHO
---------------------------------------------------
CS1311A
COMPUTER APPRECIATION,
AWARENESS AND SKILLS
Morolong KJ (Mr.)
CMP 207
kj.morolong@nul.ls
Course Objectives
Computer Literacy Computer System Computer Hardware
What you will learn? What you will learn? What you will learn?
Computer literacy definitions Basic functions of Tangible components of a
and benefits. computers and categories. computer.
What you will learn? What you will learn? What you will learn?
How to communicate with a Basic computer networking, The internet and basic
computer through programs. together with common computer security.
networking devices
COMPUTER HARDWARE
Hardware defines all the physical and tangible parts of a computer system.
Hardware components are grouped into different categories according to functions of a computer
system.
Input Devices - provide humans with a way to input data into the computer
Processing Devices - process data into information
Output Devices - provide the computer with a means of displaying information
Storage Devices - responsible for storing of data, instructions and results for future use
Communication Devices - responsible for communication between computers and other
peripheral devices.
INPUT DEVICES
Input is any data or instructions entered into the memory of a computer.
An input device is any hardware component that allows a user to enter data
and instructions into a computer.
Qwerty Keyboard.
• A keyboard contains keys that allow a user to enter data and instructions into the computer.
Computer Keyboard
INPUT DEVICES (QWERTY KEYBOARD)
Mouse
• A mouse is the most widely used pointing device with a GUI environment on personal
computers.
Computer Mouse
INPUT DEVICES (COMPUTER MOUSE)
Clicking
The act of pressing and releasing a button on a mouse, with a purpose of
selecting or activating the pointed area on the screen.
Right click – clicking on the right side button of the mouse, usually used for
more advanced functions Right mouse button (for
right click)
INPUT DEVICES (TRACKBALL)
TrackBall
• A trackball is a stationary pointing device with a ball mechanism on its top.
INPUT DEVICES (TOUCHPAD)
Touchpad
• Is a small pressure and motion-sensitive area on a portable computer that you can use to
move the pointer.
INPUT DEVICES (TOUCHSCREEN)
Touchscreen
• A touch screen is an input/output touch-sensitive display.
INPUT DEVICES (BARCODE READER)
Barcode reader
• An input device capable of reading a barcode using a laser beams.
Barcode reader
Barcode
A set of lines representing data
Barcode Image
INPUT DEVICES (BARCODE READER)
Advantages Disadvantages
Scanner
• The scanner is a device that transfers printed text and images to a computer
PROCESSING DEVICES
Processing devices in a computer are parts of the computer hardware responsible for:
The information is processed by the computer processor (CPU), which performs data
calculations, data comparisons, and data copying with the information from the input
devices. The CPU then saves that information to the computer memory (RAM).
PROCESSING DEVICES (CPU)
ALU (Arithmetic and Logic Unit) – The part of the CPU where arithmetic and logic
operations are performed. Sometimes called the arithmetic unit.
• Performs the actual operation on • Gets the instructions from memory Fetch
Execute
the data. • Decides what the instruction means
• The result of the operation is stored and directs the necessary data to be Decode
Store
in memory or a register. moved from the memory to the ALU
Fetch
• All the instructions are stored in memory. Each instruction has its address.
The processor takes this address number from the program counter.
Program counter is responsible for tracking what instructions CPU should
execute next. So fetching basically means taking the instruction from the
memory.
FUNCTIONS OF THE CPU (DECODE)
Decode
• CPU understands instructions that are written in Assembly programming
language. All the programs, that must be executed, are translated to
Assembly instructions. Different CPUs understand different instructions, so
Assembly code must be decoded into binary instructions which are
understandable to your CPU.
FUNCTIONS OF THE CPU (EXECUTE)
Execute
• During the procedure of instruction execution, three things can be done.
1. CPU can do some calculations. To execute calculations, ALU is used.
Store
• CPU must give some feedback after executing the instruction. The output
data is written to the memory. In this phase program counter is
incremented.
PROCESSING DEVICES
After processing the input, the computer will give its output.
Printer
Speaker
Projector
OUTPUT DEVICES (MONITOR)
• Monitor
• Printer
• Some printers are able to print directly on to CD or DVD disks with a suitable holder.
• Impact Types
• Non-Impact Types
OUTPUT DEVICES (PRINTER)
• Impact types
• Create text or image by physically making the print head to press the ink ribbon and cause
the ink deposition on the paper.
• Normally they are quite louder in nature when compared to other types of printers.
• Non-Impact printers
• Speaker
• The sound card is installed in the tower case of the computer. Its role is to
convert the signal coming out of the computer to a format that can be
reproduced by the external speakers. Speakers
Sound Card
OUTPUT DEVICES (PROJECTOR)
• Projector
• A device with which an image and text is projected onto a flat screen.
• Image data is sent to the video card by the computer which is then
translated into a video image and sent to the projector.
• Primary memory
• Secondary memory
STORAGE & MEMORY DEVICES
• Primary memory
• Memory capacity is important because it determines how much data can be processed at once.
o Cache memory
• It is a form of data storage that can be accessed randomly at any time, in any order and
from any physical location, allowing quick access and manipulation.
• It is volatile.
• It is the main 'working' memory used by the computer. When the operating system loads
from disk when you first switch on the computer, it is copied into RAM.
TYPES OF PRIMARY MEMORY
• Cache memory
• Two types of cache are memory cache and disk cache. We focus on memory cache
• Memory cache
• Helps speed the process of the computer because it stores frequently used instructions
and data.
• It has two types, L1 cache build directly in the processor chip with very small capacity
and L2 cache which is slightly slower but has much larger capacity.
TYPES OF PRIMARY MEMORY
• It is non-volatile and retains instructions when the power to the computer is turned off.
• As the name suggests, it is a special type of memory chip that holds software that can be
read but not written to.
• Secondary storage can have memory capacity of several terabytes or more and only small portions of that
data are placed in primary storage at any one time.
• It is non-volatile.
• It takes much more time to retrieve data from secondary storage than it does from primary memory.
• Magnetic
• Optical
• Electronic
MAGNETIC STORAGE
• Floppy disk
• Floppy disks store small amount of data typically not larger than 1.44MB.
• These small diskettes are used mainly to transport small files from one computer to
another.
• Hard disk
• Hard disks are built with metal or glass platters covered with a substance that allows data
to be held in the form of magnetized spots.
• Today hard disks are composed of more than one disk (also named as platter), which are
stacked on each other.
OPTICAL STORAGE
• Optical disks write data with a high power laser beam, which records data by burning tiny pits
onto the surface of the disk.
• In order to read data, a low power laser beam reads data by reflecting smooth areas, which are
interpreted as 1 bits, and not reflecting pitted areas which are interpreted as 0 bits.
EXAMPLES OF OPTICAL STORAGE
CD-ROM (Compact Disk – Read Only Memory) CD-R (Compact Disk – Recordable)
• This is an optical disk where information is stored at the • It is a CD format that allows users to use a CD-R drive to
time of manufacturing. write data, only once, onto a specially manufactured disk
that can then be read by a standard CD-ROM drive.
• Examples of CD-ROM are Music CD’s and software that
one buys from computer shops such as games.
CD-RW (Compact Disk – Rewritable) DVD-ROM (Digital Video Disk or Digital Versatile Disk)
• This type of media allows users to copy and erase data. • This optical disk looks like a normal CD but in fact, it can
Thus, this disk can be used over and over again. store much more data than a CD.
• Flash memory is non-volatile solid-state computer memory storage that can be electrically
erased and reprogrammed.
• It is a technology that is primarily used in memory cards and USB flash drives for general
storage and transfer of data between computers and other digital products.
• There are many examples of communication devices and we will look at a few below.
• Network interface card
• Network hubs
• Network switch
• Modem
• Network router
COMMUNICATION DEVICES
• Computers on a network need be able to communicate with the server and with other
computers. In order to do this, a network interface card(NIC) is required or a built-in
network chip is included on a motherboard.
• Network hub
• A hub, in the context of networking, is a hardware device that relays communication data.
A hub sends data packets (frames) to all devices on a network, regardless of any MAC
addresses contained in the data packet.
COMMUNICATION DEVICES
• Network Switch
• A network switch is a small hardware device that joins multiple computers together within
one local area network (LAN).
• A switch is different than a hub in that it keeps a record of all MAC addresses of all
connected devices. Thus, it knows which device or system is connected to which port.
When a data packet is received, the switch immediately knows which port to send it to.
COMMUNICATION DEVICES
• MODEM
• A modem is a device used to convert digital data to analogue data in order to transmit it
over the telephone network (MODulation).
• It will also convert the analogue data back into digital data when the computer is receiving
data from the telephone line (DEModulation).
• Network router
• It is responsible for sending network traffic to it’s correct destination. It works by reading the
destination network address within each data packet and sends it along it’s way. We can
have a number of routers on a network.
• Switches create a network. Routers connect networks. A router links computers to the
Internet, so users can share the connection. A router acts as a dispatcher, choosing the
best path for information to travel so it's received quickly.
COMMUNICATION DEVICES
• A bit is the smallest unit of information that can be stored or manipulated on a computer.
• The bits are bunched together so the computer uses several bits at the same time, such as for
calculating numbers.
• When a “bunch” consists of eight bits then it is called a byte. i.e. Byte = 8 bits
End of Lecture 2