Sunday, 11 November 2018

COMPUTER STUDIES (SS3 FIRST TERM)

ToC
      Database
      Computer Networking
      Computer Cables and Connectors


TOPIC ONE: DATABASE
A database is an organized collection of related data kept in a format that makes it easy to retrieve, access, modify, process and store. An example of simple database is an address book or a list containing students’ results.
A database package, also known as Database Management System (DBMS) is the term used to describe any computer software that is designed for creating databases and managing the information stored in them i.e. it manipulates, retrieves, and manages data in a database as well as interacts with the users and other applications. DBMS allows users create, query, update and administer databases. It also helps to maintain the integrity and security of stored data.

Examples of DBMS
1.       DBase III
2.       DBase IV
3.       Foxbase
4.       Oracle
5.       Ingress
6.       Paradox
7.       MySql
8.       Microsoft Access
9.       PostgreSql
10.   Microsoft SQL Server

Elements of a database
The following are the elements of a database:

1.       Table: A table stores records about a particular entity, and each record contains data about instances of the table subject.
2.       Records: this is the complete set of information concerning a specific item. It is a row of data in a table
3.       Field: this is individual column or piece of information about a record.
4.       Key: A key field contains unique data used to identify each record so that it can be easily retrieved and processed. A key field, for this context, is the primary key. Another type of key is the foreign key which is the primary key of a table that is also a field in another table. This forms the basis of table relationship. The AuthorID is primary to the Author’s table, while it is foreign to the book table, as shown below.
       


Forms of database

Flat File Database 
A flat file database is a type of database that stores data in a single table. Example of this database is a telephone directory book that shows the list of telephone subscribers.

Relational databases
In a relational database, data is stored across multiple tables. The tables are related to each other through foreign keys. In database terminology, tables are called "relations", rows are called "entities" and columns are called "attributes”. Consider the diagram below, a teacher is related to the class through the teacherID attribute.


  
Hierarchical databases
The hierarchical database is a form that arranges data items in a tree-like structure. In this form of database, there are parent and child data segments in the hierarchy. A child can have only one parent but a parent may have more than one child. Invariably, this database gives a one to many relationship.




  
Network databases
In this form of database, there are multiple interrelationships among records (many-to-many relationship). An  example is shown in the diagrma below






TOPIC TWO: COMPUTER NETWORKING

A Computer network is a connection of two or more computers via communication devices in order to share data and resources (printer, software, hard disk etc.). Computers on a network are called nodes or hosts.

Types of computer network

Local area network (LAN): This is a kind of network that involves connecting computers and other devices within a limited geographical local such as a building, school, or home. A Wireless LAN (WLAN) is similar to a LAN but uses wireless medium for connection.
Metropolitan Area Network (MAN): This network generally expands throughout a city such as cable TV. MAN can help an organization to connect all of its offices in a city.

Wide Area Network (WAN): This network covers a wide geographical area such as a country or even the world. Most WANs consist of two or more LANs that are connected by routers. Communication channels can include telephone systems, fiber optics, satellites, microwave etc. The largest WAN is the internet.
Other variations include Personal Area Network (PAN), Campus Area Network (CAN), Home Area Network (HAN) etc.

Network architecture

Peer-to-peer: In this network, the computers connected together are called peers and each handles its security. Peer-to-peer networks are designed to satisfy the networking needs of home networks or of small companies that do not want to spend a lot of money on a dedicated server but still want to have the capability to share information or devices.

Client/Server: Computers (clients) are connected to a server. The server takes responsibility of storing clients’ data and managing other computers (clients) in the network.

Network topology
Topology is the arrangement of nodes (computers) and other devices within a network. Topology can either be:
Physical topology: this is the actual layout of the computers and other connected devices.

Logical topology: this describes the logical pathway signal flow as it passes among the network nodes. It defines the way data passes among the nodes.

Types of topology

Bus topology: A bus topology uses one cable as a main trunk (or backbone) to connect all of the systems together. Both ends of the shared channel have line terminator. The data is sent in only one direction and as soon as it reaches the extreme end, the terminator removes the data from the line.


Star topology: In star topology, all computers are connected to a centralized device called a hub or a switch. All data that is transferred from one computer to the other must pass through the hub/switch.


Ring topology: In ring topology, each host machine connects to exactly two other machines, creating a circular network structure. When one host tries to communicate or send message to a host which is not adjacent to it, the data travels through all intermediate hosts.

Mesh topology: In this type of topology, a host is connected to one or multiple hosts. This topology has hosts in point-to-point connection with every other host or may also have hosts which are in point-to-point connection with few hosts only.

 

The other variation is the tree which a hybrid topology.

Click here for advantages and disadvantages of the network topologies 


Transmission medium

·       Wired medium (guided medium): physical cables (coaxial, twisted pairs, fiber optic cables). 
      Wireless medium (unguided medium): infrared (IrDA), Wi-Fi, Bluetooth, Li-Fi, Satellite, Microwave

Twisted pair (TP) cables

Characteristics
       A twisted pair cable consists of two insulating copper wires arranged in a regular spiral pattern.
       A number of these pairs are bundled together into a cable by wrapping them into a tough protective sheath.
       Twisting decreases crosstalk interference between adjacent pairs in the cable
       Susceptible to interference and noise because of its easy coupling with electromagnetic fields.
       The standard connector is RJ45 (Register Jack 45)
       Most common in the telephone network
       Can either be Unshielded Twisted Pair (UTP) and Shielded Twisted Pair (STP)

Coaxial cable

Characteristics
       It consist of hollow outer cylindrical conductor that surround only a single inner wire conductor
       A single coaxial cable has a diameter of from 1 to 2.5cm
       Can be used over long distances
       Less susceptible to interference and crosstalk than TP.
       More expensive than twisted pair cable
       Connectors include BNC, BNC-T
       Used in Television distribution – cable TV, long distance telephone lines –NITEL wire, LAN – bus topology

Fiber optics

Characteristics
       Made up of glass or plastic and transmit signals in form of light.
       Glass or plastic core is surrounded by a cladding of less dense glass or plastic
       Can be single mode or multi-mode
       Outer jacket is made of Teflon or Polyvinylchloride (PVC)
       Best in terms of performance – can span longer distance and very low attenuation
       Immune to electromagnetic interference (it’s not made of copper wire)
       Connectors include Subscriber channel (SC) connector, Straight –tip (ST) connector, MT-RJ connector
       They are used in long distance telecommunication link, found in backbone network and LAN.

Wireless Media

·         Infrared (IrDA): This type of transmission is used for communication over short distances between sender and receiver that are within the line of sight.

·         Bluetooth: Bluetooth technology uses radio waves to connect mobile devices such as phones, PDAs, computer etc. It has a limited transmission range of 10 meters.

·         Wi-Fi (Wireless Fidelity): This is a technology that uses radio waves to provide high speed wireless connection between electronic devices based on the IEEE 802.11x standards.

·         Li-Fi (Light-Fidelity): LI-Fi is a form of visible light communication system that uses common household LED (light emitting diode) light bulbs to enable data transfer, boasting speeds of up to 224 gigabits per second.

·         Microwave: microwave signals are sent through space in the form of electromagnetic waves. Just like radio signals, they also must be sent in straight lines from one microwave station to another. To avoid interference, most microwave stations are built on mountain tops or placed on top of buildings.

·         Satellite: communication satellites are placed in orbit 22300 feet above the earth surface. This allows the satellite to maintain a constant position above one point on the earth surface by rotating at the same speed as the earth.

Networking devices

       Modem (modulator-demodulator) – allows the computer to transmit data over analog telephone lines.
       Network Interface Card (NIC) – enables and controls the sending and receiving of data between the computers in a network.
       Gateway: A software or hardware that link two different types of network that use different protocols.
      Bridges: A bridge allows different networks to communicate with each other. However, in all connections with another network, the data packets that pass between the networks must be in the same format. Because of this disadvantage, most modern networks use routers, instead of bridges.
       Wireless Access Point (WAP)- a device that connects wireless communication devices together to create a wireless network.
       Switch – an intelligent layer 2 networking device, that forwards data based on MAC (Media Access Control) address. Forward directly to the destination. One broadcast domain, multiple collision domain
       Hub – a layer one device used to connect many computers within a network.  One broadcast domain, one collision domain.
       Repeater – repeats signals that are tending towards attenuation.
       Router: A router connects multiple networks and determines the fastest available path to send packets of data to their destination. though it is similar to bridges in by their basic function, routers have several advantages over a bridge because it manages data packets by:
·        Deciding where it is going and the best route to take
·        Deciding whether it should be transmitted or not
·        Formatting it so that it can be accessed by the receiving network.


Benefits of networking
       Information sharing- authorized users can access the computers on the network to share information and data. May include special database, blogs, fax, FTP, internet telephony, IM, chat rooms
       Hardware sharing – printer or scanner can be shared on a network.
       Software sharing – software can be installed on a server, all users can access the program on the central location.
       Collaborative environment – shared environment enables users to work together on group projects using capabilities of diverse equipment and software

Disadvantages
       Vulnerability to unauthorized access- hackers can access and steal or delete data
       Malicious code  - networked computers are more vulnerable to virus, worms, spyware than stand-alone computer
       Network fault- problems to networking equipment can result in loss of data
       Setup and management cost - setting up a network requires investing in hardware and software and maintenance of the network requires the care and attention of IT professional.






TOPIC THREE: COMPUTER CABLES AND CONNECTORS

A computer cable can either be a power cable or a data cable.
A.      A power cable is any cable that powers the device. The power cord that connects to your computer and a Molex style cable inside the computer are both good examples of power cables.












Molex cable

                           
B.      A data cable is any media that allows baseband transmission (binary 0s and 1s)from a transmitter to a receiver.  The following data cables exist:
a.       Serial (RS-232) : serial input/output cable that uses either a 25-pin or 9-pin connector. Some modern printers do still use these cables, but most modern computers only feature minimal support for both the 25-pin and 9-pin connectors, necessitating an adapter in most cases.
b.      Parallel cable: parallel cables typically have different connectors on either end of the cable – a DB-25 25-pin connector that connects to the computer much like serial cable, and the 36-pin micro ribbon connector that connects to the printer. It can also be used for a scanner.


c.       Firewire: FireWire is a digital bus with a bandwidth of 400-800 Mbps. It can handle up to 63 units on the same bus, and is hot swappable. It was first developed by Apple in 1995.





d.      High Definition Multimedia Interface, HDMI is a connector and cable capable of transmitting high-quality and high-bandwidth streams of audio and video between devices. The HDMI technology is used with devices such as an HDTV, Projector, DVD player, or Blu-ray player.




e.       Universal Serial Bus, USB (pronounced yoo-es-bee) is a plug-and-play interface that allows a computer to communicate with peripheral and other devices. USB-connected devices cover a broad range; anything from keyboards and mice, to music players and flash drives.

USB 2.0USB 3.0










Connectors

Electrical connector is a device for joining electrical circuits together (sometimes known as ports, plugs, or interfaces)

A male connector is a connector attached to a wire, cable, or piece of hardware, having one or more exposed, unshielded electrical terminal s, and constructed in such a way that it can be inserted snugly into a receptacle (female connector) to ensure a reliable physical and electrical connection. This type of connector is also known as a plug. A male connector can be recognized by the fact that, when it is disconnected or removed, the unshielded electrical prongs are plainly visible.




A female connector is a connector attached to a wire, cable, or piece of hardware, having one or more recessed holes with electrical terminals inside, and constructed in such a way that a plug with exposed conductors (male connector) can be inserted snugly into it to ensure a reliable physical and electrical connection. A female connector is also known as a jack, outlet, or receptacle. This type of connector can be recognized by the fact that, when it is disconnected or removed, the electrical conductors are not directly exposed, and therefore are not likely to make accidental contact with external objects or conductors.

 

No comments:

Post a Comment

Please leave a comment

SYSTEM DEVELOPMENT CYCLE (SDC)

Software Development Cycle (SDC) or Software Development Life Cycle (SDLC) is a process that consists of a series of planned activities, w...