intro lect1
intro lect1
Cos102(3 UNIT)
Lecture 1 – Introduction
By
Malan Auwal Mustafa Muhammad
1
Computer
• A computer is an electronic device, operating
under the control of instructions stored in its own
memory that can accept data (input), process the
data according to specified rules, produce
information (output), and store the information
for future use.
2
Functionalities of a computer
Any digital computer carries out five functions in gross terms:
• Takes data as input.
• Stores the data/instructions in its memory and use them
when required.
• Processes the data and converts it into useful information.
• Generates the output
• Controls all the above four steps
3
Functionalities of a computer
Processing
Data Information
4
Data and Information
• Data - Facts and figures which relay something specific
• But which are not organized in any way and which provide no
further information regarding patterns
• unstructured facts and figures
Data and Information
• Information - for data to become information, it must be
contextualized, categorized, calculated and condensed.
(Processing)
• It is data with relevance and purpose
• data that are processed to be useful; provides answers to
"who", "what", "where", and "when" questions
• Processing data produces information
Data, Information and Knowledge
7
Computer Components
• Hardware
• Software
• Human ware / peopleware
8
Computer Components
9
Hardware
• Computer hardware is the collection of physical elements that
constitutes a computer system.
• The actual machinery, wires, transistors, and circuits … etc.
10
Hardware
11
Software
• The instructions given to the computer to perform certain task
is known as Computer Software.
• A programmer – is the person who writes the codes or
instructions that direct the computer on how to process the
data into information
• Computer Software are of two types
– System software e.g operating system and Utility program
– Application software
12
System software
• Known as Operating System
• is responsible for controlling, integrating, and managing the
individual hardware components of a computer system
• Windows is an example of OS.
• Examples of System Software:
– Microsoft Windows, Linux, Unix, Mac OSX and DOS
Application software
• Is used to accomplish specific tasks other than just running the
computer system.
• It may consist of:
– a single program, such as an image viewer;
– a small collection of programs (often called a software package) that
work closely together to accomplish a task, such as a spreadsheet or
text processing system;
– a larger collection (often called a software suite) of related but
independent programs and packages that have a common user interface
or shared data format, such as Microsoft Office.
Human ware
• Humanware refers to the user of the computer hardware and
software.
• It is about the individual that uses the computer for productive
or entertainment purposes.
• Humanware can be classified into the following:
– Computer professional/expert
– Computer end users
15
Computer Units
• Input Unit
• Central processing Unit
• Primary memory Unit
• Secondary Storage Unit
• Output Unit
16
Computer Units
17
Input Devices
• Input device is any peripheral or piece of
computer hardware equipment to provide data
and control signals to an information processing
system such as a computer.
• Input device Translate data from form that
humans understand to one that the computer can
work with. Most common are keyboard and
mouse
18
Input Devices
19
Example of Input Devices
Keyboard Mouse (pointing device) Microphone
Touch screen Scanner Webcam
Touchpads MIDI keyboard
Graphics Tablets Cameras Pen Input
Video Capture Hardware Microphone Trackballs
Barcode reader Digital camera Joystick
Gamepad Electronic Whiteboard
20
Central Processing Unit
• CPU
• known as microprocessor or processor
• It is responsible for all functions and processes
21
CPU Components
• The CPU is comprised of three main parts
– ALU (Arithmetic Logic Unit)
– Control Unit (CU)
– Registers: Stores the data that is to be executed next.
22
ALU
• Executes all arithmetic and logical operations.
• Arithmetic calculations like as addition,
subtraction, multiplication and division.
• Logical operation like compare numbers, letters,
or special characters
23
Control Unit (CU)
25
Primary Memory
• RAM
• ROM
26
Primary Memory
• RAM: Random Access Memory: is a memory scheme within the
computer system responsible for storing data on a temporary
basis, so that it can be promptly accessed by the processor as
and when needed.
– It is volatile in nature, which means that data will be erased once supply
to the storage device is turned off.
– RAM stores data randomly and the processor accesses these data
randomly from the RAM storage.
– RAM is considered "random access" because you can access any memory
cell directly if you know the row and column that intersect at that cell.
27
Primary Memory
• ROM (Read Only Memory): ROM is a permanent
form of storage. ROM stays active regardless of
whether power supply to it is turned on or off.
• ROM devices do not allow data stored on them to
be modified.
28
Secondary Memory
29
Hard Disk
• Called Disk drive or HDD
• stores and provides relatively quick access to large amounts of
data.
• Stores data on an electromagnetically charged surface or set of
surfaces.
30
Optical Disk & Flash
• an optical disc drive (ODD) is a disk derive that uses laser light
to store data.
• There are three main types of optical media: CD, DVD, and Blu-
ray disc
– CD “Compact Disk” can store up to 700MB
– DVD “ Digital Video Disk “ can store up to 8.4 GB
– Blu-ray disc. can store up to 50 GB
31
Flash Disk
32
Output Unit
• An output device is any piece of computer hardware
equipment used to communicate the results of data
processing carried out by an information processing
system (such as a computer)
• converts the electronically generated information into
human-readable form.
33
Output devices Examples
35
Output devices
Examples
Printer: transfers data from a computer onto paper
Printer types:
Laser Printer.
Ink Jet Printer.
Dot Matrix Printer
36
Unit of Measurements - Storage
Storage Units
Bit BIT 0 or 1
Byte B 8 bits
37
Classes of Computer
• Analog Computers -This class of computer are special purpose
machines that surfaced in the late forties (1948).
– They are used in solving scientific and mathematical equations or
problems.
– An example is the thermal analyzer
• Digital Computers- they are machines made up of
combinations of chips, flip-flops, buttons and other
electronic devices to make them function at a very fast
speed.
– A digital computer has its numbers, data letters or
other symbols represented in digital format.
• hybrid computer- are computers that combines the
features of a digital and analog computer
Computer Classification
• Computers can be classified by size and power to:
– Personal computer (PCs)
– Workstation
– Minicomputer
– Mainframe
– Supercomputer
– Embeded computer add to slide
40
Computer Classification
• Personal computer (PC) a small, single-user computer
based on a microprocessor. In addition to the
microprocessor, a personal computer has a keyboard for
entering data, a monitor for displaying information, and a
storage device for saving data.
• Workstation: a powerful, single-user computer. A
workstation is like a personal computer, but it has a more
powerful microprocessor and a higher-quality monitor.
41
Computer Classification
• Minicomputer: multi-user computer capable of supporting
from 10 to hundreds of users simultaneously.
powerful multi-user computer capable of supporting many
hundreds or thousands of users simultaneously.
• Supercomputer: an extremely fast computer that can
perform hundreds of millions of instructions per second.
42
Laptop computer
• Is a portable computer.
• personal computer that can be easily carried and used in a
variety of locations.
• run the same software and applications in PCs
43
Netbook Computer
44
Mobile Devices
• A mobile device is basically any handheld
computer.
• It is designed to be extremely portable.
• Some mobile devices are more powerful
• Types:
– Tablet Computers
– Smartphones
45
Tablet Computers
• designed to be portable.
• The most obvious difference is that tablet
computers don't have keyboards or touchpads.
• Best used for tasks like web browsing, watching
videos, reading e-books, and playing games.
46
Tablet Computers
• The most obvious difference is that tablet computers
don't have keyboards or touchpads. Instead, the entire
screen is touch-sensitive, allowing you to type on a
virtual keyboard and use your finger as a mouse
pointer.
• Tablet computers are mostly designed for consuming
media, and they are optimized for tasks like web
browsing, watching videos, reading e-books, and
playing games
47
Smartphones
48
Characteristics of Computer
1.Speed
2.Accuracy
3.Diligence
4.Storage Capability
5.Versatility
49
Characteristics of Computer
50
Characteristics of Computer
• Viruses
• E-mail viruses
• Trojan horses
• Worms
52
Viruses
53
E-mail viruses
• e-mail virus travels as an attachment to e-mail messages
• Replicates itself by automatically mailing itself to dozens of people in the
victim's e-mail address book.
54
Trojan horses
55
Worms
56
Malicious Software
• How do you know if you have a virus?
– Lack of storage capability
– Decrease in the speed of executing programs
– Unexpected error messages
– Halting the system
57
Tips to avoid viruses and lessen their impact?