LibreOffice Base interface showing table creation for Class 10 database project
πŸ—ƒοΈ Unit 3: Database Management System – Class 10 Computer Applications

πŸ“˜ Introduction

A Database Management System (DBMS) is a software that allows users to store, manage, retrieve, and manipulate data efficiently. In the digital age, from school records to online banking and mobile apps, databases form the backbone of information systems. This unit introduces you to the world of databasesβ€”how to organize data in tables, run queries, create forms and reports, and build relationships between data fields.Database Management System Class 10

Let’s explore how DBMS helps in organizing and handling large volumes of data with ease and accuracy.


πŸ” 3.1 Introduction to Database and DBMS

πŸ”Ή What is a Database?

A database is an organized collection of related data that can be easily accessed, managed, and updated.

Examples:

  • Student records in a school
  • Customer information in a bank
  • Product details in an online store

πŸ”Ή What is DBMS?

A Database Management System (DBMS) is software that helps users create and maintain a database.

Popular DBMS tools:

  • LibreOffice Base
  • MS Access
  • MySQL
  • Oracle
  • SQLite

πŸ“‚ 3.2 Basic Concepts of Database

πŸ”Ή Data, Field, Record, Table

TermDescriptionExample
DataRaw facts or values“John”, 15, “10th Grade”
FieldA column in a table representing a data itemName, Age
RecordA row in the table that stores one complete set of related dataJohn, 15, 10th Grade
TableA collection of related recordsStudent table with fields: Name, Age, Class

πŸ”Ή Field Types

Each field in a table must have a data type.

Data TypeDescriptionExample
TextAlphanumeric characters“Delhi”, “A101”
NumberNumeric values50, 100.25
Date/TimeDates and times01/01/2025
BooleanTrue or FalseYes/No

πŸ—οΈ 3.3 Creating a Database and Table

πŸ”Ή Steps to Create a Database in LibreOffice Base

  1. Open LibreOffice Base.
  2. Select Create a new database.
  3. Choose to register the database and click Finish.
  4. Save the file with .odb extension.

πŸ”Ή Creating a Table

You can create a table in two ways:

  • Design View: Manually define field names and types.
  • Using Wizard: Choose from predefined templates.

πŸ”Έ Fields to Define:

  • Field Name (e.g., Name, RollNo)
  • Field Type (Text, Number, etc.)
  • Field Properties (Length, Default value, Required, etc.)

πŸ”‘ 3.4 Primary Key

A primary key is a field (or a combination of fields) that uniquely identifies each record in a table.

πŸ”Ή Why Primary Key?

  • Prevents duplicate records
  • Helps link tables in relationships

Example: In a student table, “Roll Number” can be a primary key because it’s unique for each student.


🧠 3.5 Relationships Between Tables

When a database contains multiple related tables, we use relationships to connect them.

πŸ”Ή Types of Relationships

  1. One-to-One (1:1)
    Example: Each student has one unique ID card.
  2. One-to-Many (1:N)
    Example: One teacher teaches many students.
  3. Many-to-Many (M:N)
    Example: Students can enroll in many courses, and courses can have many students.

πŸ”Ή Foreign Key

A foreign key is a field in one table that links to the primary key of another table.


πŸ” 3.6 Creating Queries

πŸ”Ή What is a Query?

A query is a request to retrieve or modify data from one or more tables.

πŸ”Ή Types of Queries

Query TypeFunction
Select QueryRetrieves data
Action QueryInserts, updates, or deletes data
Parameter QueryAsks user input at runtime
Cross-tab QuerySummarizes data like pivot tables

πŸ”Ή Creating a Select Query (LibreOffice Base)

  1. Go to Queries > Create Query in Design View.
  2. Add a table.
  3. Select fields to include.
  4. Set criteria (e.g., “Marks > 60”).
  5. Click Run (lightning bolt icon).

🧾 3.7 Forms and Reports

πŸ”Ή Forms

Forms are used for data entry and editing in a user-friendly interface.

Steps:

  1. Go to Forms > Create Form Wizard.
  2. Select the table or query.
  3. Add desired fields.
  4. Choose layout and style.
  5. Save and open the form.

Advantages:

  • Easy data entry
  • Error-free input
  • Guided format

πŸ”Ή Reports

Reports are used to present data in printable format.

Steps:

  1. Go to Reports > Create Report Wizard.
  2. Choose data source (table/query).
  3. Arrange fields and group data.
  4. Customize layout and design.
  5. Preview and print.

Uses:

  • Progress reports
  • Sales summaries
  • Invoice generation

🧠 Summary Table

FeaturePurposeTool in DBMS
TablesStore structured dataTable View
Primary KeyUniquely identify recordsTable Design
RelationshipsLink related tablesRelationship Window
QueriesExtract specific dataQuery Wizard/Design
FormsUser-friendly data entryForm Wizard
ReportsPrintable summariesReport Wizard

πŸ“ Practice Questions

πŸ”Έ Short Answer

  1. Define a database and give two examples.
  2. What is the difference between a field and a record?
  3. Explain the purpose of a primary key.

πŸ”Έ Long Answer

  1. Describe how to create a table using Design View.
  2. Explain different types of relationships in a DBMS.
  3. Describe the steps to create a form and report in LibreOffice Base.

🎯 Multiple Choice Questions (MCQs)

  1. Which of the following is a DBMS?
    a) MS Word
    b) LibreOffice Base
    c) Photoshop
    d) Chrome
    βœ… Answer: b)
  2. What is used to uniquely identify each record?
    a) Foreign Key
    b) Row ID
    c) Primary Key
    d) Header
    βœ… Answer: c)
  3. Which data type is used to store numbers?
    a) Text
    b) Boolean
    c) Number
    d) Date
    βœ… Answer: c)
  4. What is the purpose of a query?
    a) Store data
    b) Print data
    c) Retrieve data
    d) Edit layout
    βœ… Answer: c)
  5. In a one-to-many relationship, which is true?
    a) One record is linked to one record
    b) Many records are linked to one
    c) One record is linked to many records
    d) All records are the same
    βœ… Answer: c)

πŸ“š Real-Life Application Examples

  • School: Database of student attendance and marks
  • Hospital: Patient medical history system
  • Business: Inventory management and billing
  • Banking: Account details and transaction history

🧠 Conclusion

Databases are essential tools in the modern world for handling and organizing information in a structured way. In this unit, we’ve learned how to use DBMS software like LibreOffice Base to create tables, set primary keys, link tables through relationships, generate queries for data analysis, and build forms and reports for user interaction and presentation.

therefore By understanding how to work with a DBMS, you’re not only preparing for examsβ€”you’re learning a powerful digital skill that will benefit you in almost every field.

Unit 3: Database Management System – Class 10 Computer Applications

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts

Unit 4: Web Applications and Security – Class 10 Computer Applications

Introduction The internet is an essential part of our daily lives. We use web applications to communicate, learn, shop, bank,…

Chapter 13: Magnetic Effects of Electric Current – Class 10 Science

Introduction Electricity and magnetism, although once studied separately, are now understood as closely related phenomena. In fact, the discovery that…

Chapter 9: Heredity and Evolution – Class Science

🌱 Introduction to Heredity and Evolution Every living organism, from a tiny bacterium to a human being, inherits traits from…