Chapter 3
Chapter 3
Data stored in computer systems form a hierarchy extending from a single bit to a database, the major
Each higher rung of this hierarchy is organized from the components below it.
1. Bits (characters)
2. Fields
3. Records
4. Files
5. Databases
Bit (Character) - a bit is the smallest unit of data representation (value of a bit may be a 0 or 1).
Bits can be organized into units called bytes. A byte is typically eight bits. Each byte represents a character.
Character: A basic building block of most information, consisting of uppercase letters, lowercase letters, numeric digits, or
Field - a field consists of a grouping of characters. A data field represents an attribute (a characteristic or quality) of some
entity (object, person, place, or event). A field is typically a name, number, or combination of characters that describes an
Record: A collection of data fields all related to one object, activity, or individual is called a record.
A record consists of fields, with each field describing an attribute of the entity.
File - A collection of related records or a group of related records. Files are frequently classified by the application for
The data is managed by systems software called database management systems (DBMS).
The data stored in a database is independent of the application programs using it and of the types of secondary
storage devices on which it is stored.
DATA MANAGEMENT
Data consists of raw facts, such as employee numbers and sales figures.
For data to be transformed into useful information, it must first be organized in a meaningful way.
Data Entities, Attributes, and Keys
An entity is a general class of people, places, or things (objects) for which data is collected, stored, and maintained.
Attributes are usually selected to reflect the relevant characteristics of entities such as employees or customers.
The specific value of an attribute, called a data item, can be found in the fields of the record describing an entity.
A key is a field or set of fields in a record that identifies the record. A primary key is a field or set of fields that uniquely
The primary key is used to distinguish records so that they can be accessed, organized, and manipulated.
Each distinct operational system used data files dedicated to that system.
This approach to data management is called the traditional approach to data management.
Today, most organizations use the database approach to data management, whereby multiple information systems share a pool
of related data.
To use the database approach to data management, additional software a database management system (DBMS) is required.
A DBMS consists of a group of programs that can be used as an interface between a database and the user of the database.
Typically, this software acts as a buffer between the application programs and the database itself.
DATA MODELING AND DATABASE
CHARACTERISTICS
A database should be designed to store all data relevant to the business and provide quick
access and easy modification.
Data Modeling
When organizing a database, key considerations includes determining what data to collect,
who will have access to it, and how they might want to use it.
A physical design.
The logical design of a database is an abstract model of how the data should
be structured and arranged to meet an organization’s information needs.
The logical design involves identifying relationships among the data items and grouping
them in an orderly fashion.
The physical design starts from the logical database design and fine-tunes it
for performance and cost considerations.
A data model is a diagram of entities and their relationships.
Data modeling usually involves understanding a specific business problem and analyzing the data and
Entity-relationship (ER) diagrams use basic graphical symbols to show the organization of and relationships
between data.
ER diagrams show data items in tables (entities) and the ways they are related.
ER diagrams help ensure that the relationships among the data entities in a database are correctly structured so
that any application programs developed are consistent with business operations and user needs.
In addition, ER diagrams can serve as reference documents after a database is in use.
• Relational model: A database model that describes data in which all data elements are
placed in two-dimensional tables, called relations, which are the logical equivalent of files.
• Manipulating Data: After entering data into a relational database, users can make inquiries
and analyze the data. Basic data manipulations include selecting, projecting, and joining.
• Selecting involves eliminating rows according to certain criteria.
• Projecting involves eliminating columns in a table.
• Joining involves combining two or more tables.
• Domain: The allowable values for data attributes.
• Selecting: Manipulating data to eliminate rows according to certain criteria.
• Projecting: Manipulating data to eliminate columns in a table.
• Joining: Manipulating data to combine two or more tables.
• Linking: Data manipulation that combines two or more tables using common data attributes
to form a new table with only the unique data attributes
DATABASE MANAGEMENT SYSTEMS
• The functional units responsible for managing the data are:
• Data administrator (DA): The person who has the central responsibility for an
organizations data.
• Database administrator (DBA): is a specialist responsible for maintaining standards for the
proficient in the use of selected database management systems, and stay abreast of emerging
• DBMSs are used to manage all kinds of data for all kinds of purposes.
• Database management system (DBMS): A group of programs that manipulate the database
and provide an interface between the database and the user of the database and other
application programs.
BIGDATA
Big Data: Big data is the term for a collection of data sets so large and complex
that it becomes difficult to process using on-hand database management tools or
traditional data processing applications.
Big data is characterized by:
Volume: large amounts of data Zeta bytes/Massive datasets
It is done to enable the computers to communicate and share available resources.
APPLICATIONS:
Sharing of resources such as printers
The network provided to the users can be divided into two categories:
Increased speed
Reduced cost
Improved security
Centralized software managements
Electronic mail
Flexible access
The Internet and World Wide Web
The internet is a worldwide public network of computers on which people can join and use multiple
services such as sharing of information.
By internet users at any one computer can get information from any other computer.
HISTORY OF INTERNET
It was developed by the United States Defense Advanced Research Projects Agency in the 1970s and was
initially known as ARPANET.
The Internet was designed to be used by companies and Universities doing military research so that they
could share information.
HISTORY OF INTERNET
It was developed by the United States Defense Advanced Research Projects Agency in the
The Internet was designed to be used by companies and Universities doing military research so
Telephone line
Web browser, e.g. internet explorer, firefox, chrome, safari, opera etc
• MODEM: A device which convert analog signals to digital signals and digital signals to analog for
transmitting data over internet.
• WEB BROWSER: Web Browser is Software used to display the Web pages. Examples:
• Internet explorer
• Firefox
• Chrome
• Safari
• Opera
WHAT IS WEB SITE ADDRESS?
Every web site has a specific address which is also called URL that is Uniform Resource Locator. EXAMPLE:
http://www.paknews.com
HTTP: Hyper Text Transfer Protocol, is rule to send and receive text on internet
WWW: World Wide Web, It consists of a large number of web servers that host websites.
A web page can contain text, images, video, animation and sound.
Com: type of web site there are many other types of web sites like
Com: commercial
ADVANTAGES OF INTERNET DISADVANTAGES OF INTERNET:
Email.
Viruses
Sharing Information.
Services. Security problem
Buy or sell products. Immorality
Communities
News Many information is not accurate
Searching jobs Wastage of time
Advertisement
Communication
Entertainment
Online education and research
EMAIL: Electronic Mail (email) is a system which allows users of a computer
network to send messages to each other. Users can usually:
Send a message to another user, or group of users.
Keep their messages in a mailbox.
Read, print and delete messages from their mailbox.
It is not only typewritten messages that can be sent using Electronic Mail.
Pictures, music, videos, in fact almost any sort of information you can think of, can
also be sent.
There are many email service provider companies which allow any user to send and
receive electronic mail like
Hotmail www.hotmail.com
Yahoo www.yahoo.com/mail
Gmail www.gmail.com
The Internet of Things
• IoT is the networking of smart objects, meaning a huge number of devices
intelligently communicating in the presence of internet protocol that cannot be
directly operated by human beings.
• IoT is the interaction of everyday object’s computing devices through the Internet
that enables the sending and receiving of useful data.
• The Internet of Things consists of any device with an on/off switch connected to the
Internet.
CLOUD COMPUTING
The term Cloud refers to a Network or Internet. In other words, we can say that Cloud is something, which is
present at remote location.
Cloud can provide services over network, i.e., on public networks or on private networks, i.e., WAN, LAN or
VPN.
Applications such as e-mail, web conferencing, customer relationship management (CRM), all run in cloud.
Cloud Computing refers to manipulating, configuring, and accessing the applications online.
Cloud computing is a means of networking remote servers that are hosted on the Internet.
1. Public Cloud: The Public Cloud allows systems and services to be easily accessible to the general public.
Public cloud may be less secure because of its openness, e.g., e-mail.
2. Private Cloud: The Private Cloud allows systems and services to be accessible within an organization. It
3. Community Cloud: The Community Cloud allows systems and services to be accessible by group of
organizations.
4. Hybrid Cloud: The Hybrid Cloud is mixture of public and private cloud. However, the critical activities are
performed using private cloud while the non-critical activities are performed using public cloud.
SERVICE MODELS
Service Models are the reference models on which the Cloud Computing is
based.
These can be categorized into three basic service models as listed below:
2. Platform As A Service (PAAS): PaaS provides the runtime environment for applications,
development & deployment tools, etc.
This includes any business transaction executed electronically between companies, companies and consumers,
consumers and, public sector and business, and the public sector to citizens.
Business activities that are strong candidates for conversion to e-commerce are ones that are
Paper based,
B2B e-commerce is a subset of e-commerce in which all the participants are organizations.
B2B e-commerce is a useful tool for connecting business partners in a virtual supply chain to
cut resupply times and reduce costs.
• Citizens can use G2C applications to submit their state and federal tax returns online, renew
auto licenses, apply for student loans, and make campaign contributions.
• G2B applications support the purchase of materials and services from private industry by government
procurement offices, enable firms to bid on government contracts, and help businesses receive current
government regulations related to their operations.
• G2G applications are designed to improve communications among the various levels of government.
Accounting systems
Purchasing systems