Computer Basics
Computer Basics
Computer Basics
Sharifa A. Dayar
sharipherd@gmail.com
Dar es salaam Maritime Institute (DMI)
1
What we will study
Computer Basics
◦ Hardware
◦ Software
Windows basics
Microsoft Word
2
In this Lecture, we will
Definewhat a computer is.
What are the components of a computer.
How do these components work.
3
What Is A Computer?
4
Devices that comprise a computer system
Monitor
Speaker
(output)
(output) System unit
(processor, memory…)
Printer
(output)
Storage devices
(CD-RW, Floppy,
Hard disk, zip,…)
Mouse
(input)
Scanner Keyboard
(input) (input)
5
What Does A Computer Do?
Computers can perform four general operations, which
comprise the so called information processing cycle.
Input
Process
Output
Storage
6
Data and Information
7
Why Is A Computer So Powerful?
8
How Does a Computer Know what
to do?
9
What Are The Primary Components Of A
Computer ?
Input devices.
Central Processing Unit
(containing the control
unit and the
arithmetic/logic unit).
Memory.
Output devices.
Storage devices.
10
Input Devices
Keyboard.
Mouse and others like……….
11
The Keyboard
The most commonly used input device is the
keyboard on which data is entered by manually
keying in or typing certain keys.
12
The Mouse
Is a pointing device which is used to control the
movement of a mouse pointer on the computer
screen to make selections from the screen. A
typical mouse has one or two buttons. The bottom
of the mouse is flat and contains a mechanism that
detects movement of the mouse.
13
The Central processing Unit
The central processing unit (CPU) contains
electronic circuits that cause processing to occur.
The CPU interprets instructions to the computer,
performs the logical and arithmetic processing
operations, and causes the input and output
operations to occur. It is considered the “brain” of
the computer.
14
Memory
Memory also called Random Access Memory or
RAM (temporary memory) is the main memory
of the computer. It consists of electronic
components that store data including numbers,
letters of the alphabet, graphics and sound. Any
information stored in RAM is lost when the
computer is turned off.
15
Amount Of RAM In Computers
The amount of memory in computers is typically
measured in kilobytes or megabytes. One kilobyte
(K or KB) equals approximately 1,000 memory
locations and one megabyte (M or MB) equals
approximately one million locations A memory
location, or byte, usually stores one character.
Therefore, a computer with 8 MB of memory can
store approximately 8 million characters. One
megabyte can hold approximately 500 pages of
text information.
16
Output Devices
Output devices make the information resulting
from the processing available for use. The two
output devices more commonly used are the
printer and the computer screen.
17
Storage Devices
Auxiliary storage devices are used to store data
when they are not being used in memory. The
most common types of auxiliary storage used on
personal computers are floppy disks, hard disks
and CD-ROM drives.
18
Floppy Disks
A floppy disk is a portable, inexpensive storage
medium that consists of a thin, circular, flexible
plastic disk with a magnetic coating enclosed in a
square-shaped plastic shell.
19
Structure Of Floppy Disks
20
Hard Disks
21
Compact Discs
22
End of the Lesson
23
Computer Software
What is software?
What are the two kinds of software?
What is programming?
What are viruses and how do you
deal with them?
24
Learning outcomes
25
What is a Computer Software
26
What are the tow types of software?
There are two sets of instructions that a
computer must follow:
1. Operating system: These are General
instructions Systems software such as
DOS, Windows, Unix, and Mac OS
2. Application software These are Specific
instructions such as those used for word
processing, spreadsheets, or library
management
27
Operating system
An organized collection of system programs
which serve as the interface between the user
or application and the computer.
It manages the hardware resources:
◦ CPU management to facilitate sharing
execution time of processes
◦ Memory management to allocate memory
resources dynamically
◦ Input/Output (I/O) management to handle
reading and writing devices
28
Types of Operating Systems
DiskOperating System (DOS)
Microsoft Windows
29
Disk Operating Systems (DOS)
31
Microsoft Windows
A graphical user interface (GUI) that allows
multitasking or the ability to run several programs
at the same time.
Windows 3.x runs on DOS
Windows 95 / Windows NT no longer runs on DOS
About 75% of the world’s PCs use the Windows
operating system. The present versions in use are
Windows 98, Windows Me, Windows 2000 and
Windows XP.
32
Windows G.U.I.
33
Other operating systems
IBM OS/2
Macintosh OS
Unix
Linux
34
Application Software
Application Software consists of specific programs
(instructions) that tell a computer how to produce a certain
information. Some of the more commonly used packages
are:
Word processing
Electronic spreadsheet
Database
Presentation graphics
35
Word Processing
36
Electronic Spreadsheets
37
Database Software
38
Presentation Graphics
39
How are programs written?
Programming languages are used to write
computer programs. Some of these are:
Low level languages--Assembler
High level languages
◦ Cobol
◦ Fortran
◦ C++
Programming languages for the Internet
◦ Perl
◦ Java
40
What is a computer virus?
Generally a computer virus is defined as a program
or a code that gains access without the users’
knowledge and/or perform actions not intended by
the user, often damaging data and sometimes the
whole system in the process.
Viruses are activated once unknowing users run,
open, view or copy the file containing it. The action
that will trigger the virus to deliver its “payload”
depends on the type of virus that infected the file.
Some security experts define viruses separately from
worms, and Trojan horses.
41
Characteristics of a virus*
Virus’ common characteristics:
1. A virus is a self-replicating program whose main
purpose is to propagate itself to as many places as
possible.
2. A virus propagates itself by modifying another
program to include itself.
3. A virus can only propagate itself by an act of a user of
the system in which it exists. (opening/viewing files
unknowing that it is infected and/or
copying/transferring files from one system to another
through diskettes, file transfer, e-mail, Internet and
other means…)
42
What is a worm?
Worm is defined as a program propagating
itself in a network of computers exploiting bugs
and vulnerabilities of operating systems and
application software or through guessing /
breaking / stealing passwords to gain access
to other machines in the network.
Worms slow or shut down computer systems
and networks due to its continuous and
uncontrolled replication that consumes system
resources which are needed to run “legitimate”
tasks and operations.
43
What is a worm? Continues
The worm’s capability to replicate
itself without any action from the users
differentiates it from a virus that needs
users action in order to replicate.
44
What is a Trojan horse?
45
How do you protect yourself from viruses,
worms and Trojan horses?
Do not run any program or open any file from untrusted
sources
Always scan using antivirus programs all floppy
diskettes and even CD-ROMs before using.
Install a virus shield to automatically check diskettes
and CDs
Always get an updated version of a virus scan and
cleaner.
Always check you hard drive for possible infection.
Use diskettes only after they have been cleaned
46
What are other ways of ensuring security
of the system and data?
47
End of the lesson
48