Database Concepts
Chapter 11 · Tamil Nadu State Board
- 9 min read
- 5-question quiz
Every key point below shows the sentence from your textbook it comes from. Book back answers are solved and checked against the book; answers we could not prove are left out. How we check content
In short
This lesson explains how databases organize data and how a DBMS helps users store, manage and protect it. It introduces database components, data models and relationships, and shows how tables represent records and fields. It also teaches relational algebra operations for querying and combining tables. These ideas matter because they help students understand how database systems store and retrieve information.
Written by AI from this lesson. How we check it
Key points
- A database is a collection of related data arranged so it can be accessed, managed and updated.
From your textbook
“Database is a repository collection of related data organized in a way that data can be easily accessed, managed and updated.”
- A DBMS is software for creating and manipulating databases, and it can also help protect data and keep it consistent.
From your textbook
“A DBMS is a software that allows us to create, define and manipulate database”
- RDBMS stores data in tables and uses normalization to reduce repeated data.
From your textbook
“RDBMS follows Normalisation which divides the data in such a way that repetition is minimum.”
- In a database table, a row is a tuple and a column is an attribute.
From your textbook
“A Row is known as a TUPLE A column is known as an ATTRIBUTE”
- The lesson presents five data models: Hierarchical, Relational, Network, Entity Relationship and Object.
From your textbook
“Hierarchical Model • Relational Model • Network Database Model • Entity Relationship Model • Object Model”
- Database relationships can be one-to-one, one-to-many, many-to-one or many-to-many.
From your textbook
“1. One-to-One Relationship 2. One-to-Many Relationship 3. Many-to-One Relationship 4. Many-to-Many Relationship”
- Relational algebra operations work on relations and produce a new relation as their output.
From your textbook
“The output of these operations is a new relation, which might be formed by one or more input relations.”
Data, Information, Databases and DBMS
Definition
- Data
- Data are raw facts stored in a computer, such as characters, words, text or numbers.
Definition
- Information
- Information is processed data arranged so that it can be used in a meaningful way.
Definition
- Database
- A database is a collection of related data organized so that it can be accessed, managed and updated easily.
Data may be a set of words and numbers without a clear meaning. When it is processed, organized and formatted, it can become useful information, such as an institution's contact address. A class register with names arranged alphabetically is an example of a database.
Definition
- DBMS
- A DBMS is software that helps users create and manage databases, store and process data, and protect the data.
Definition
- RDBMS
- An RDBMS is an advanced form of DBMS used to store and manipulate data in tables.
DBMS and RDBMS
| DBMS | RDBMS |
|---|---|
| Helps create, define and manipulate a database. | Stores and manipulates data in tables. |
| Examples: Foxpro, dbase. | Examples: MySQL,Oracle, MS-Access etc., |
Key features of an RDBMS
- It can store, modify and delete data.
- Normalisation reduces unnecessary repetition of data.
- It helps maintain data consistency, including when several users work at the same time.
- A query language can be used to fetch, insert, delete and update data.
- User accounts and access permissions help protect data from unauthorized access.
- It supports transactions and helps manage data integrity.
Advantages of an RDBMS
- Application programs are separated.
- Data duplication or redundancy is minimal.
- Data can be retrieved easily using the query language.
- Development time and maintenance are reduced.
Components of a DBMS
A DBMS has five major components. Together, they provide the physical equipment, programs, data and instructions needed to manage a database.
Five components
- Hardware: physical parts involved in storing data, such as the computer, hard disk and I/O channels.
- Software: the program that controls the system and interprets Database Access Languages as database commands.
- Data: the resource that the DBMS is designed to store and use.
- Procedures/Methods: instructions for tasks such as installing the DBMS, managing databases, taking backups and generating reports.
- DataBase Access Languages: languages used to write commands to access, insert, update and delete stored data.
Database Tables and Structure
A table stores related data in rows and columns. Each row contains the data for one database entry, while each column groups a particular kind of data.
Database table terms
| Table part | Database term |
|---|---|
| Table | Relation |
| Row | Tuple |
| Column | Attribute |
For example, StuNo., StuName, StuAge, StuClass and StuSec are fields, or columns. Each row groups the values for one entry. In a relational database, a relation key is an attribute that uniquely identifies a tuple.
Remember: Remember the table terms: table = relation, row = tuple, and column = attribute.
Data Models and Their Types
Definition
- Data model
- A data model describes how data can be represented and accessed in software after implementation.
A data model is a simple representation of a complex real-world data environment. It gives an idea of what the completed system or software will look like.
Types of data model
- Hierarchical Model
- Relational Model
- Network Database Model
- Entity Relationship Model
- Object Model
Hierarchical and Network models
| Hierarchical Model | Network Model |
|---|---|
| Data is arranged as a tree-like structure. | It is an extended form of the hierarchical model. |
| A child has only one parent, while a parent may have many children. | A child may have many parents; it represents many-to-many relationships. |
| Mainly used in IBM Main Frame computers. | The model is easier and faster for accessing data. |
The Relational Model stores information in tables, also called relations. It was first proposed by E.F. Codd in 1970 and is widely used for database applications.
The Entity Relationship Model, or ER model, represents objects as entities and their characteristics as attributes. It is useful for planning a database and making its logical view easy to understand.
ER diagram symbols
- A rectangle represents an entity, such as Doctor or Patient.
- An ellipse represents an attribute, such as D-id, D-name, P-id or P-name.
- A diamond represents a relationship, such as a Doctor diagnosing a Patient.
Object Model and DBMS Users
The Object model stores data as objects, attributes, methods, classes and inheritance. It represents real-world objects and their behaviours. It is useful for complex applications and gives code a modular structure that is easy to maintain and modify.
Shape model example
- Circle has the attribute radius.
- Rectangle has the attributes length and breadth.
- Triangle has the attributes base and height.
- Circle, Rectangle and Triangle inherit from Shape.
Types of DBMS users
- Database Administrators (DBAs) manage the complete DBMS, including its security, license keys, user accounts and access.
- Application Programmers or Software Developers develop and design parts of the DBMS.
- End users store, retrieve, update and delete data using applications.
- Database designers identify what data to store and choose suitable structures for it.
DBMS and RDBMS Differences
DBMS compared with RDBMS
| DBMS | RDBMS |
|---|---|
| Expansion: Database Management System | Expansion: Relational DataBase Management System |
| Uses a navigational model with linked records. | Uses a relational model with data arranged in tables of rows and columns. |
| Data redundancy is present. | Data redundancy is not present. |
| Normalization is not performed. | Normalization is used to reduce redundancy. |
| Data access consumes more time. | Data access is faster compared to DBMS. |
| Does not use keys to establish relationships. | Uses keys to establish relationships. |
| Transaction management is inefficient, error prone and insecure. | Transaction management is efficient and secure. |
| Distributed databases are not supported. | Distributed databases are supported. |
| Examples: Dbase, FoxPro. | Examples: SQL server, Oracle, mysql, MariaDB, SQLite, MS Access. |
Database normalization was proposed by Dr. Edgar F Codd as part of RDBMS. It aims to reduce data redundancy and improve data integrity. Its rules are known as E F Codd Rules.
Database Relationships
Types of relationships
| Relationship | Meaning and example |
|---|---|
| One-to-One | One row in a table links to only one row in another table, and vice versa. A student can have only one exam number. |
| One-to-Many | One row in table A links to many rows in table B, while each row in table B links to only one row in table A. One Department has many staff members. |
| Many-to-One | Many entities can be related to one entity. Many staff members can work in one Department. |
| Many-to-Many | Multiple records in one table are associated with multiple records in another. Customers can purchase various products, and products can be purchased by many cu |
Other many-to-many examples
- A student can register for many Courses, and a Course may include many students.
- Many Books in a Library can be issued to many students.
Relational Algebra Operations
Relational Algebra is a procedural query language used to query database tables using SQL. Operations work on one or more relations and produce a new relation. SELECT and PROJECT are unary operations. UNION, INTERSECTION, DIFFERENCE and CARTESIAN PRODUCT come from set theory.
Definition
- SELECT (σ)
- SELECT returns the tuples in a relation that satisfy a given condition and filters out the rest.
σc ( R )
R is the relation, and c is a condition on its attributes.
Worked example
Apply σcourse = “Big Data” (STUDENT) to Table 11.1.
Try it first, then show the solutionSolution
- Keep only the tuples whose Course is Big Data.
- The matching students are Kannan and Lenin.
Answer: The result contains cs1 Kannan Big Data II and cs3 Lenin Big Data I.
Definition
- PROJECT (Π)
- PROJECT keeps only the attributes named in the projection list and removes duplicate rows.
Worked example
Apply Πcourse (STUDENT) to Table 11.1.
Try it first, then show the solutionSolution
- Keep the Course attribute only.
- Remove duplicate rows from the result.
Answer: The result contains Big Data, R language and Python Programming.
Set operations
| Operation | Result |
|---|---|
| UNION (∪) | Includes tuples in A or B and removes duplicates. |
| SET DIFFERENCE (−) | A − B includes tuples in A but not in B. Matching attribute names are required. |
| INTERSECTION (∩) | Includes tuples found in both A and B. The relations must be union-compatible. |
| CARTESIAN PRODUCT (X) | Combines two relations with different attributes. The result contains both relations. |
Worked example
Table A has 3 rows and Table B has 2 rows. How many rows are in Table A x Table B?
Try it first, then show the solutionSolution
- Multiply the number of rows in Table A by the number in Table B.
- 3 x 2 = 6.
Answer: Table A x Table B has 6 rows.
Remember: SELECT filters rows using a condition. PROJECT keeps chosen columns and removes duplicate rows.
Questions students ask
Short, direct answers to what students search for in this chapter.
What is the difference between data and information?
Data are raw facts stored in a computer, such as words or numbers. Information is data that has been processed, organized and formatted so that it can be used meaningfully. A set of address details becomes useful information when arranged as a contact address.
What is an RDBMS and what are its features?
An RDBMS is an advanced form of DBMS that stores and manipulates data in tables. It can store, modify and delete data, reduce repetition through Normalisation, maintain consistency for multiple users, support query language and transactions, and protect data using user permissions.
What are the components of a DBMS?
The five components are hardware, software, data, Procedures/Methods and DataBase Access Languages. Hardware provides physical storage equipment. Software controls the system, while procedures give instructions and access languages provide commands for working with stored data.
What is the difference between a relation, tuple and attribute?
A relation is a table in a database. A tuple is a row in that table, and an attribute is a column. Each tuple contains data for a database entry, while each attribute groups one kind of data across the records.
How are the hierarchical and network database models different?
In a Hierarchical Model, data forms a tree and each child has only one parent, though a parent may have many children. In a Network Model, a child may have many parent nodes, so it can represent many-to-many relationships.
What is the Object model in DBMS?
The Object model stores data as objects, attributes, methods, classes and inheritance. It represents real-world objects and behaviours. It is used for complex applications and provides a modular structure that is easy to maintain and modify.
Show 9 more questions
What is the difference between DBMS and RDBMS?
DBMS uses a navigational model with linked records, while RDBMS stores data in tables of rows and columns. DBMS has data redundancy and does not perform normalization. RDBMS uses normalization to reduce redundancy, supports keys and offers faster data access.
What are the four types of database relationships?
The four types are One-to-One, One-to-Many, Many-to-One and Many-to-Many. They describe how rows in one table are connected to rows in another table, from a single match to multiple matches on either side.
What is the difference between SELECT and PROJECT in Relational Algebra?
SELECT (σ) filters tuples according to a condition and removes tuples that do not satisfy it. PROJECT (Π) keeps only the attributes named in the projection list. PROJECT also removes duplicate rows from its result.
What does a Cartesian product do in DBMS?
A Cartesian product combines two relations with different attributes. Its result contains the rows from both relations combined. For example, if Table A has 3 rows and Table B has 2 rows, Table A x Table B has 3 x 2 = 6 rows.
What is the difference between the Hierarchical and Network data models?
The Hierarchical model represents a parent-child relationship. The Network model is similar, but it allows a record to have more than one parent.
What is an ER model?
An ER model consists of entities, attributes and relationships. These are the parts used to describe the model.
What is normalization in a database?
Normalization reduces data redundancy and improves data integrity. Database Normalization was proposed by Dr.Edgar F Codd.
What are the different types of relationships in a database?
The four types of relationships are one-to-one, one-to-many, many-to-one and many-to-many.
What is Relational Algebra used for?
Relational Algebra is used for modeling data stored in relational databases and for defining queries on that data. The SELECT statement uses the symbol σ.
Book back answers
20 textbook exercises, solved and checked against the book. Questions we could not prove are left out.
Choose the best answer (1 Mark)
What is the acronym of DBMS?
- a) DataBase Management Symbol
- b) Database Managing System
- c) DataBase Management System
- d) DataBasic Management System
Try it, then show the answerAnswer
c) DataBase Management System
DBMS stands for DataBase Management System.
From the book: “A DBMS is a software that allows us to create, define and manipulate database”
2 A table is known as
- a) tuple
- b) attribute
- c) relation
- d) entity
Try it, then show the answerAnswer
c) relation
In database structure, a table is known as a relation.
From the book: “A Table is known as a RELATION”
3 Which database model represents parent-child relationship?
- a) Relational
- b) Network
- c) Hierarchical
- d) Object
Try it, then show the answerAnswer
c) Hierarchical
The hierarchical model represents a one-to-many parent-child relationship.
From the book: “This model represents a one-to-many relationship i.e parent-child relationship.”
4 Relational database model was first proposed by
- a) E F Codd
- b) E E Codd
- c) E F Cadd
- d) E F Codder
Try it, then show the answerAnswer
a) E F Codd
The chapter states that E.F. Codd first proposed the relational database model in 1970.
From the book: “The Relational Database model was first proposed by E.F. Codd in 1970”
Practice
What does a row in a database table represent?
Exam questions
Practice questions with model answers. These are not from an official paper.
What is the difference between data and information?2 marks
Data is raw facts stored in a computer. Information is data that has been processed, organized and formatted so it has meaning.
State two functions of a DBMS.2 marks
A DBMS helps create and manipulate databases. It also provides protection and security, and helps maintain data consistency when multiple users access the database.
How does a hierarchical model differ from a network model?2 marks
In a hierarchical model, a child has only one parent, while a parent can have many children. In a network model, a child may have many parent nodes, allowing many-to-many relationships.
Explain the four types of database relationships.5 marks
A database relationship describes how records in one table are associated with records in another table. The chapter identifies four types of relationships.
- One-to-One: One entity is related to only one other entity. Each row in one table links to only one row in the other table, and vice versa.
- One-to-Many: One entity is related to many other entities. A row in table A can link to many rows in table B, while each row in table B links to only one row in table A.
- Many-to-One: Many entities can be related to only one entity in the other table. For example, several staff members may be related to one department.
- Many-to-Many: Multiple records in one table are associated with multiple records in another table. For example, a student can register for many courses, and a course may include many students.
Example: Students and Courses: A student can register for many Courses and a Course may include many students
Thus, database relationships are classified as one-to-one, one-to-many, many-to-one and many-to-many.
Watch out
- Do not confuse a tuple with an attribute: a tuple is a row, while an attribute is a column.
- Do not treat SELECT and PROJECT as the same operation: SELECT filters tuples by a condition, while PROJECT chooses attributes.
Still stuck on this lesson?
Get an AI answer grounded in your actual textbook — with the exact page reference.
Ask AI about this topic →