Computer Jss2 First Term
Computer Jss2 First Term
Week One
Classification by size
The following computers are classified by their size
Micro Computer
Mini Computer
Mainframe Computer
Super Computer
Micro computer
Also personal computer (PC) uses a single microprocessor
storage purpose
Super computer
This performs at a speed which is far above that of other
computers
They are sophisticated and powerful .they perform highly
By degree of versatility
General purpose computer
These are computer designed to perform in a reasonable
a specific function .
Examples
The ultrasound machine.
Processing
Output
Whatever that is being entered into the computer as input
determine the output .
Software
People-ware
THE HARDWARE COMPONENTS
WEEK 3
Definition
The hardware components is the physical parts of the
computer which can be touched and seen. The computer
hardware is responsible for performing four basic
functions.:-
Input
Processing
Output
storage
The hardware also includes
The CPU which comprises of the ALU, control unit and the
memory unit
Input devices
Output devices
The central processing unit (CPU)
It is solely responsible for the processing of data and
Plotter Speakers
SOFTWARE
WEEK 4
Software is the collection of computer programs,
software developer.
A program is a list of instructions given to the computer to
WEEK 5
People ware can refer to anything that has to do with the role
of people in the development or use of computer software and
hardware systems.people ware can be divided into two distinct
groups such as :
Computer Professionals
Computer Users
Computer Professionals
These are individuals who have in one way or the other
acquired formal education or training in the use of computers
e.g.
Computer Managers
Computer Programmers/software Developers
Computer operators
Computer Engineers
System Analyst
Software Engineers
Database Administrators.
Computer Users
These are the group of people who make use of the
computer systems in discharging their day to day
activities.
We can simply say they are people who work with the
computer. These people May not have any formal training
in computer but can engage the services of some
computer professionals
OPERATING SYSTEM
WEEK 6
Definition
An operating system (OS) is system software
that manages computer hardware and software
resources and provides common services for
computer programs. The operating system is a
component of the system software in a
computer system. Application programs usually
require an operating system to function.
Examples of operating system
MS-DOS-(Micro soft disk operating system) a simgle user OS
Mac OS
IBM OS/2 Warp
Unix and Variants
Windows CE
Windows 3.x
Windows 95
Windows 98
Windows 98 SE
Windows ME
Windows NT
Windows 2000
Windows XP
Windows Vista
Windows 7
Windows 8
Windows 8.1
Novell Netware -a multi-user operating System
Functions of the operating system
1. . Resource allocation- it allocate recourses such as CPU
Memory management-
File management-it help in storage, changing and modification
of files.
Interpretation of commands and instructions
Co-ordination of compilers, assemblers, utility programs, and
other software
Facilitate easy communication between the computer system
WEEK 7/8
INTRODUCTION
Representation of data in the computer make use of
number system.
When the data and instruction is entered into the
computer, the computer will convert it into machine
language i.e. 0’s and 1’s which are called binary digits
Numbers Bases system
There are different number base systems. These are
Decimal Number system ( Base Ten)
Binary Number system ( Base Two)
Octal Number system ( Base Eight)
Hexadecimal Number system ( Base 16)
Terms in Number base system
Bases – the base of a number indicates the absolute values
use in the system. E.g. in Decimal there are ten absolute
values represented by 0,1,2,3,4,5,6,7,8,9
Absolute values :- denotes whole numbers represented by
a figure e.g. 6,7,8,4,5 etc.
These are values assigned to digits denoting their position.
E.g. 26 25 24 23 22 21 20
Exponents
20 = 1
21 = 2
22 = 2 x 2 =4
23 = 2 x 2 x 2 = 8
x5 * x10 = x 10 + 5 = x15
1 / x2 = x -2
Decimal Numbering systems
Base: 10
Digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9
Representation
5234
Thousands Hundreds Tens Units
5 2 3 4
Binary Numbering systems
Base: 2
Digits: 0, 1
binary number: 1101012
positional powers of 2: 2 5 2 4 2 3 22 2 1 2 0
decimal positional value: 32 16 8 4 2 1
binary number: 1 1 0 1 0 1
Binary to Decimal Conversion
To convert to base 10, add all the values where a one digit
occurs.
Ex: 1101012
positional powers of 2: 2 5 2 4 2 3 22 2 1 2 0
decimal positional value: 32 16 8 4 2 1
binary number: 1 1 0 1 0 1
32 + 16 + 4 + 1 = 5310
Assignment :-Binary to Decimal
Conversion
1010112
positional powers of 2: 25 24 2 3 22 2 1 2 0
decimal positional value:
binary number:
Binary to Decimal Conversion
Ex: 1010112
positional powers of 2: 2 5 2 4 2 3 22 2 1 2 0
decimal positional value: 32 16 8 4 2 1
binary number: 1 0 1 0 1 1
32 + 8 + 2 + 1 = 4310
Decimal to Binary Conversion
The Division Method. Divide by 2 until you reach zero, and then
collect the remainders in reverse.
Ex 1: 5610 = 1110002
2 ) 56 Rem:
2 ) 28 0
2 ) 14 0
2) 7 0
2) 3 1
2) 1 1
0 1
Decimal to Binary Conversion
Ex 2: 3510 =
2 ) Rem:
2 )
2 )
2 )
2 )
2 )
Answer: 3510 = 2
Octal Numbering systems
Base: 8
Digits: 0, 1, 2, 3, 4, 5, 6, 7
Octal number: 12468
powers of : 84 8 3 82 81 80
decimal value: 4096 512 64 8 1
Octal number: 1 2 4 6
Octal to Decimal Conversion
To convert to base 10, beginning with the rightmost digit
multiply each nth digit by 8(n-1), and add all of the results
together.
Ex: 12468
positional powers of 8: 8 3 82 81 80
decimal positional value: 512 64 8 1
Octal number: 1 2 4 6
512 + 128 + 32 + 6 = 678 10
Assignment :-Octal to Decimal
Conversion
Ex: 103528
positional powers of 8: 84 83 82 81 80
decimal positional value:
Octal number:
Decimal to Octal Conversion
The Division Method. Divide by 8 until you reach zero, and then
collect the remainders in reverse.
Ex 1: 433010 = 103528
8 ) 4330 Rem:
8 ) 541 2
8 ) 67 5
8) 8 3
8) 1 0
0 1
Decimal to Octal Conversion
Ex 2: 81010 =
8 ) 810 Rem:
8 )
8 )
8 )
Answer: 81010 = 8
Hexadecimal Numbering systems
Base: 16
Digits: 0, 1, 2, 3, 4, 5, 6, 7,8,9,A,B,C,D,E,F
Hexadecimal number:1F416
16 ) 810 Rem:
16 )
16 )
Answer: 81010 = 16
Binary Addition & Subtraction
WEEK 9
Addition Rules
0 + 0 = 00 ( 0 with a 0 carry )
0 + 1 = 01 ( 1 with a 0 carry )
1 + 0 = 01 ( 1 with a 0 carry )
1 + 1 = 10 ( 0 with a 1 carry )
Addition Rules
0 1 0 1
+0 +0 +1 +1
0 0 0 1 0 1 1 0
78
Addition Rules w/Carries
0 1 1 1 0 0 0
28 00011100
+ 43 + 00101011
71 01000111
80
Subtraction in Binary
Rules of Binary Subtraction
0 - 0 = 0
0 - 1 = 1, and borrow 1 from the next more significant bit
1 - 0 = 1
1 - 1 = 0
81
For example,
00100101 - 00010001 0 borrows
= 00010100 0 0 1 10 0 1 0 1 = 37(base 10)
-0 0 0 1 0 0 0 1 = 17(base 10)
0 0 0 1 0 1 0 0 = 20(base 10)
-0 0 0 1 0 1 1 0 = 22(base 10)
0 0 0 1 1 1 0 1 = 29(base 10)
82
Binary Multiplication
Rules of Binary Multiplication
0 x 0 = 0
0 x 1 = 0
1 x 0 = 0
1 x 1 = 1, and no carry or borrow bits
83
For example,
00101001 × 00000110 = 0 0 1 0 1 0 0 1 = 41(base 10)
11110110
×0 0 0 0 0 1 1 0 = 6(base 10)
0 0 0 0 0 0 0 0
0 0 1 0 1 0 0 1
0 0 1 0 1 0 0 1
0 0 1 1 1 1 0 1 1 0 = 246(base 10)
1 1 1 1 1 carries
0 0 0 1 0 1 1 1
0 0 0 1 0 1 1 1
0 0 1 0 0 0 1 0 1 = 69(base 10)
84
Unit of storage in computer
WEEK 10
Definition
Computer data storage, often called storage
or memory, is a technology consisting of
computer components and recording media
used to retain digital data.
The computer memory is a storage location where data and
information are kept. The main memory Is divided into two
namely:
1. ROM (Read only memory)
2. RAM (Random Access Memory)
Computer understands "0"s and "1"s which are referred to as
binary. The "0" stand for OFF and "1" ON meaning electrically
discharged and charge state respectively.
The various unit of storage are as follows
Bit :- (binary digit)it is the smallest unit of data/information.
E.g. 11011
Nibble:- it is a unit storage that is made up of 4 bits (or half of
an octal).
Byte :-this is the smallest unit of information that can be
processed.it is an orderly collection of bits, equivalent to 2
nibbles or 8bits (11001101)
Kilobyte :- is use to measure memory space (or memory units)
1000 byte (approx.)=1 kilobyte
The following are conversion rate of unit of storage
8bits = 1 byte
1024 bytes = 1kilobyte (thousands)
10242 bytes = 1 megabyte (millions)
10243 bytes = 1 Gigabyte (billions)
10244 Bytes = 1 terabyte (trillions)
Word
A word is the smallest unit of information, that can be
transferred at a time. A word is made up of two bytes I.e. 4
nibbles or 16 bits
Double word
Double word