Class 10 Information Technology (402)
Unit 3: Database Management System (DBMS)
Software: LibreOffice Base
Introduction
A Database Management System (DBMS) is software used to store, organize, and manage
large amounts of data efficiently. LibreOffice Base is a part of LibreOffice suite that provides
tools to create and manage databases, tables, queries, forms, and reports.
Components of DBMS
1. Data – The raw facts stored in the database.
2. Hardware – The physical devices used for storage.
3. Software – The DBMS software (e.g., LibreOffice Base, MySQL, Oracle).
4. Users – People who interact with the database (Administrators, Developers, End-users).
5. Procedures – Rules and instructions for designing and using the database.
Database Concepts
- Database: A collection of related data organized in a structured way.
- Table: A collection of rows and columns.
- Record (Row): One complete set of related data.
- Field (Column): A single piece of data or attribute.
- Primary Key: A field that uniquely identifies each record.
- Foreign Key: A field linking two tables.
Advantages of DBMS
1. Reduces data redundancy.
2. Ensures data consistency.
3. Improves data security.
4. Allows multiple users to access data.
5. Provides backup and recovery options.
Creating a Database in LibreOffice Base
Steps:
1. Open LibreOffice Base → Choose ‘Create a new database’.
2. Click Next → Yes, register the database.
3. Save the database with a name.
4. You can now create Tables, Queries, Forms, and Reports.
Tables in DBMS
Tables store data in rows and columns.
Steps to create a table:
1. Click on ‘Tables’ → Create Table in Design View.
2. Enter field names and data types.
3. Set a Primary Key → Save the table.
Data Types in Base
Common data types:
- Text [VARCHAR]
- Number [INTEGER, DECIMAL]
- Date/Time
- Boolean [YES/NO]
- Currency
- Memo [Long Text]
Forms and Reports
Forms: Used for entering and viewing data easily.
Reports: Used for printing and summarizing data in a formatted way.
Queries
Queries are used to retrieve specific data from one or more tables.
Example: SELECT * FROM Students WHERE Marks > 80;
Relationship Between Tables
Relationships connect data from different tables using keys.
Types:
1. One-to-One
2. One-to-Many
3. Many-to-Many
Multiple Choice Questions (MCQs)
1. Which of the following is a DBMS software?
Answer: b) LibreOffice Base
2. Which field uniquely identifies each record?
Answer: c) Primary Key
3. Which command retrieves data from a table?
Answer: b) SELECT
4. What is a collection of related data called?
Answer: a) Database
5. Which component of DBMS includes hardware and storage?
Answer: b) Hardware
6. Which data type stores long text?
Answer: c) Memo
7. A table is made up of rows and ____?
Answer: b) Columns
8. Which key connects two tables?
Answer: c) Foreign Key
9. Reports are mainly used for ____.
Answer: d) Printing and summarizing data
10. Which view is used to create a table manually?
Answer: b) Design View
Short Answer Questions (2–3 Marks Each)
1. What is a database?
Answer: A collection of related data stored in an organized way.
2. What is DBMS?
Answer: Software used to manage and organize databases (e.g., LibreOffice Base).
3. Define a table.
Answer: A structure that stores data in rows and columns.
4. What is a primary key?
Answer: A field that uniquely identifies each record in a table.
5. Define a foreign key.
Answer: A key that links one table to another.
6. What are queries used for?
Answer: To retrieve specific data from one or more tables.
7. What is a form?
Answer: A user-friendly interface used to enter or view data.
8. What is a report?
Answer: A formatted output used for printing and summarizing data.
9. List two advantages of DBMS.
Answer: Reduces data redundancy and ensures data consistency.
10. What is data consistency?
Answer: It ensures that data remains accurate and uniform throughout the database.
Long Answer Questions (4–5 Marks Each)
1. Explain the components of DBMS.
Answer: Data, Hardware, Software, Users, and Procedures are the five components. Each
plays a vital role in storing, managing, and retrieving data.
2. Describe the steps to create a database in LibreOffice Base.
Answer: 1. Open Base → Create new database. 2. Register database → Save. 3. Create tables,
queries, forms, and reports as needed.
3. Explain the difference between Primary Key and Foreign Key with example.
Answer: Primary Key uniquely identifies a record in a table; Foreign Key establishes a link
between tables. Example: StudentID in Students (PK) linked to Marks table (FK).
4. What are the advantages of using DBMS?
Answer: Reduces redundancy, improves consistency, enhances security, allows sharing, and
provides data backup.
5. What is a Query? Explain its uses.
Answer: A query is a command used to retrieve specific data from tables. It helps filter, sort,
and calculate data.
6. Write the steps to create a table in LibreOffice Base.
Answer: 1. Tables → Create Table in Design View. 2. Define fields and data types. 3. Set
Primary Key. 4. Save the table.
7. What are the different data types in Base?
Answer: Text, Number, Date/Time, Boolean, Currency, and Memo.
8. Explain Forms and Reports in Base.
Answer: Forms help in entering/viewing data; Reports summarize and print data in a
formatted manner.
9. What is a Relationship in DBMS? Write its types.
Answer: A relationship connects tables. Types: One-to-One, One-to-Many, and Many-to-
Many.
10. Explain the importance of DBMS in daily life.
Answer: DBMS is used in schools, banks, hospitals, and companies to manage records
efficiently and securely.