CH5-Written Report
CH5-Written Report
Data Dictionary
- contains an index and descriptions all of data stored in database.
- Directory describes the locations of the data and the access method
Database Object
- Structure that stores or references data, most common example is a table.
Metadata
- Another word for “data about data,” most common example is the description you read
on Google before clicking a link.
Each coding language (JAVA, SQL, etc) has its own data types, but we almost always use SQL
(Structured Query Language) data types, as this is the dominant database language.
Each butterfly is one unit of observation. You may collect information such as the continent
where the butterfly is found, the color of its wings, its weight, and its speed. Each of these pieces
of information are called dimensions, and each entry in a cell is a data point. Each data point
describes the unit of observation (aka each butterfly).
Data points are either words, numbers, or other symbols. These are the types of data points we
create in, and query from, data tables.
A data dictionary is an essential component of a database that stores metadata—data about data.
It describes the structure, format, and definitions of data elements in a database, making it easier
for database administrators and users to understand, manage, and maintain the system.
An active data dictionary is directly linked to the database management system (DBMS). It
automatically updates whenever changes are made to the database structure. This means that any
modifications to tables, columns, or relationships are immediately reflected in the data dictionary
without requiring manual updates.
Example:
A large corporation using an active data dictionary in its DBMS would automatically see updates
in the metadata when a new table or field is added.
Examples:
• A spreadsheet (e.g., an Excel file) listing all the tables and fields in a database.
• A text-based document explaining database structures for non-technical users.
A data structure is a system for organizing and storing data efficiently in a computer. It affects
the performance of a program by determining how data is accessed, manipulated, and stored.
In the hierarchical database model, data is structured in a tree-like format, where each record has
a parent-child relationship. This means that each child record has only one parent, but a parent
can have multiple child records.
Characteristics:
• Uses a 1:N (one-to-many) relationship between records.
• Data is stored in a top-down format, similar to an organizational chart.
• Efficient for applications that require quick data retrieval, such as banking
systems.
Example:
An employee database where a manager (parent) supervises multiple employees (children).
The network database model allows more flexible relationships between records by enabling
many-to-many (M:N) relationships. Instead of a strict hierarchy, data is organized using a
network-like structure.
Characteristics:
• Uses sets to define relationships between records.
• A record can have multiple parent and child connections.
• Provides more flexibility than the hierarchical model but is more complex.
Example:
A university database where students are linked to multiple courses, and each course can have
multiple students.
The relational database model organizes data into tables (also called relations) with rows (tuples)
and columns (attributes). It is the most widely used database model today.
Characteristics:
• Uses tables to store data.
• Relationships between tables are defined using primary and foreign keys.
• Supports high-level query operations using SQL (Structured Query Language).
Example:
A sales database where one table stores customer details, another table stores order details, and
both tables are linked using customer ID’s
OSI ARCHITECTURE
OSI Model was developed by the International Organization for Standardization (ISO) in 1984,
and it is now considered as an architectural model for the inter-computer communications.
OSI Model is a reference model that describes how information from a software application in
one computer moves through a physical medium to the software application in another computer.
The OSI Model was defined in ISO/IEC 7498, which has the following parts:
o ISO/IEC 7498-1 The Basic Model
o ISO/IEC 798-2 Security Architecture
o ISO/IEC 7498-3 Naming and addressing
o ISO/IEC 7498-4 Management framework
OSI LAYERS
1. Physical Layer – The physical layer provides the hardware that transmits and receives
the bit stream as electrical, optical, or radio signals over an appropriate medium or
carrier.
- lowest layer, concerned with electrically/optically transmitting raw unstructured data
bits from the Physical Layer of the sending device to the Physical Layer of the receiving
device.
2. Data-Link Layer – The data link layer is used for the encoding, decoding, and logical
organization of data bits. Data packets are framed and addressed by this layer, which has
two sublayers.
- Directly connected nodes are used to perform node-to-node data transfer where data is
packaged into frames.
- The OSI layer responsible for error detection and encryption
3. Network Layer – This layer is responsible for assigning IP addresses, as well as routing
and forwarding. This layer prepares the packets for the data link layer.
- Responsible for receiving frames from the data link layer & delivering them to their
intended destinations based on the addresses contained inside the frame.
4. Transport Layer – The transport layer provides reliable and transparent transfer of data
between and points, end-to-end error recovery and flow control.
- Regulates the size, sequencing, & ultimately the transfer of data between systems &
hosts.
5. Session Layer – The session layer controls the dialogs (sessions) between computers. It
establishes, manages and terminates the connections between the local and remote
application layers.
- A session/connection between machines is set up, managed, & determined.
- Manages dialog, synchronizes data transfer with checkpoints.
6. Presentation Layer – The presentation layer converts the outgoing data into a format
acceptable by the network standard and then passes the data to the session layer. (It is
responsible for translation, compression, and encryption)
- Formats/translates data for the application layer based on the syntax/semantics that the
app accepts.
7. Application Layer – provides a standard interface for applications that must
communicate with devices on the network (e.g., print files on a network-connected
printer, send an email or store data on a file server)
- Sees network services provided to end-user applications such as web browser or office
365.