SS3 Note First and Sec Term 3 Editted
SS3 Note First and Sec Term 3 Editted
COMPUTER NETWORK
DEFINITION OF NETWORK/NETWORKING
Definition of Network/Networking: A computer network is a collection of computers and
devices interconnected by communication channels that facilitate communications among
users and allow users to share resources. The act of doing this is therefore called
networking.
Types of Networks:
❖ Ethernet: a bus topology LAN network system that uses coaxial or twisted pair
cables to connect computer systems.
❖ Token Ring: it is a LAN technology in form of a ring topology network.
❖ ARCNET: An acronym for Attached Resource Computer Network which is in the
form of a star topology.
Definition of Topology: it refers to the layout of connected devices or the arrangement of
computers and its resources in a network either physically (layout of cables and network
devices) or logically (method of communication of network devices).
Types of Topologies
❖ Star Topology: network devices are connected to a central point like a star.
❖ Bus Topology: uses a common backbone like a cable to connect all devices.
❖ Ring Topology: all network devices are connected together in form of a ring.
WEEK 1(2nd Contact) 12/9/2019
i. STAR TOPOLOGY
Server
1
RING TOPOLOGY
Practice Questions
i. Define network and networking
ii. Listthe three main types of networks and state the difference between them.
iii. Define the term TOPOLOGY
iv. Mention 3 types of network topologies
v. Draw a sketched diagram showing the various types of network topologies.
vi. Draw flow diagram for each Network Topology.
vii. Mention at least one major advantage and disadvantage of each type of Network
Topology.
List any 5 network devices you know.
WEEK 2(1stContact) 17/9/2019
NETWORK DEVICES
Network Devices:
❖ The Hub
❖ The network interface card
❖ The switch
❖ The router
❖ The modem
Description of Network Devices
❖ The Hub: connects all other devices in a star topology directly through a single cable
by receiving a message from a device and broadcasting it to all other devices.
❖ The network interface card:Also called network interface controller or adapter is a
computer hardware component that connects computer to a computer network.
❖ The Switch: a device that channels incoming data from any network device to the
specific device that is the destination of the data.
❖ The Router: connects two or more dissimilar networks together like ring with star
network.
❖ The Modem: it is an acronym for modulator/demodulator which converts a digital
data to an analog data and vise versa.
Benefits of Computer Networking
1. It helps to enhance connectivity.
2. It helps in sharing hardware resources.
3. It eases out the management of data.
2
4. It makes internet connection possible
5. It facilitates data sharing
6. It promotes computer games.
Practice Questions
a. Define the term “INTERNET”
b. Differentiate between INTERNET and INTRANET
c. Define the common related terms to the concept of the internet.
d. State five uses of the internet.
e. List 10 examples of web browsers
DATABASE PACKAGE
DATABASE MANAGEMENT SYSTEM
DEFINITION OF DATABASE AND DATABASE PACKAGE
A database is a single organized collection of data for one or more purposes stored with
minimum duplication of data items so as to provide a consistent and controlled pool of
data.
A database package is a Data Base Management System (DBMS) and Relational Data Base
Management System used to create a database.
EXAMPLES OF DBMS
i. Microsoft Access
ii. Dbase IV
iii. Oracle
iv. MYSQL
v. FoxBASEPlus
vi. Sybase
BASIC TERMININOLOGIES IN DATABASE
i. Data: it is defined as raw facts or unprocessed facts or known facts.
5
ii. Field: it is a single piece of attribute about an entity, place or evente.g. surname,
date of birth, address etc represented as columns in database.
iii. Record: it is a complete set of attributes (fields) about an entity, place or
event,that is, a collection of fields and can be represented as rows in most cases
in a database.
iv. File: It is a single collection of related records
v. Key: it is an attribute that can be used to identify a record in a database table or
file.
An example is a record of students scores in a test as follows:
S/N NAME MATHS ENGLISH COMPUTER A field
1. Andrew Bitrus 67 50 68
2. Aminadanladi 45 62 59 Data Items
3. ChigozieChukwuka 63 44 61
Practice Questions
i. Define database and database package
ii. Identify database packages in Data Base Management System
iii. Mention the basic terms in database
iv. State the different forms of database organization
WEEK 4 (2ndContact)
FORMS OF DATABASE
DEFINITION OF DATABASE MODEL
A database Model is the fundamental specification describing how a database is structured
and used, that is, how the data is stored, organized, related and manipulated. It defines the
set of operations that can be performed on the data.
DATABASE MODELS
i. Hierarchical database model
ii. Network database model
iii. Relational database model
DATABASE MODELS
i. Hierarchical Database model: it is organized into an upside-down tree-like
structure implying a single upward link in each record to describe the nesting
and a sort field to keep the records in a particular order.
ii. Network Model: it organizes data using two fundamental constructs called
records and sets. Records contain fields (which may be organized hierarchically)
as done in COBOL while Sets define one-to –many relationships between
records, one owner,many members.
iii. Relational Model: it is a way to make database management systems more
independent of any particular application by showing rows and columns to
reveal relationships amongst the data.
BASIC PROGRAMMING
ONE- DIMENSIONAL ARRAY
DEFINITION OF A ONE-DIMENSIONAL ARRAY
An Arrayis a list of variables of the same data type which is useful for organizing multiple
variables.
Creating a one-dimensional array
Code Without Array Code With Array
10 a= 5 10 DIM nos (3)
20 b =10 20 DIM nos (1) =5
30 c= 1530 nos (2) =10
40 Print a,b,c 40 nos (3) =15
7
50 END 50 Print nos (1),nos (2),nos (3)
List of Operations on Array
i. Input on array
ii. Output of an array
iii. Arithmetic on array
Practice questions:
i. Define Array in BASIC
ii. Create a one-dimensional array
iii. List operations on Array
iv. Write simple BASIC programs in one-dimensional Array
ASSIGNMENT: Calculate the average of one-dimensional array with 100 numeric values.
ONE-DIMENSIONAL ARRAY
Example:
Calculating the average of a one-dimensional array with 100 numeric values
10 DIM array (100)
20 FOR i=1 to 100
30 array (i) =i
40 NEXT i
50 SUM =0
60 FOR I =1 to 100
70 SUM =SUM + array (i)
80 NEXT i
90 average = SUM/100
100 Print “The Average of the array is”, Average
Practice questions
i. Calculate the average of a one-dimensional array
ii. Calculate the area of 10 different rectangles
iii. Output the sum of the sum of the first 100 integers
iv. Output the value elements of a given array
ASSIGNMENT:Output the sum of the first 50 integers
8
WEEK 9 (1stContact) 5/11/2019
Practice questions
i. Mention at least two main features of Machine Language.
ii. Identify the characteristics of Low Level Programming Language codes.
iii. State the features of High Level Languages( C, PASCAL,FORTRAN,BASIC)
iv. Mention three advantages of HLL over ML and LLL
ASSIGNMENT:Describe the features of Machine Language.
9
WEEK 10(1st Contact)12/11/2019
HIGH LEVEL LANGUAGE
PRACTICALS ON BASIC PROGRAMMING
Practice questions
i. Identify at least two main features of Machine Language on the instructional
resources.
ii. Open the built-in Low Level Programming Language codes.
iii. Write a simple High Level Language Code(BASIC)
iv. Execute the HLL code written
ASSIGNMENT: Draft a simple C’ programming language code
WEEK 11 (1stContact) 19/11/2019
NUMBER BASES
DECIMAL AND HEXADECIMAL NUMBERS
• Bases: the base of a number indicates how many absolute values are used in the system.
• Absolute value: it denotes whole numbers represented by a symbol e.. 6,7,8.
• Position: in the decimal system, the zero position has the positional value 10 0 or 1.
Practice questions
i. List digits in number bases
i. Define common terms in number system
ii. Convert from one number base to another.
iii. Add and Subtract in number bases
ASSIGNMENT: convert 17078 to decimal (10)
10