Revision Worksheet
2024-2025
Subject: Information Technology (code 402) Grade: X Sec: __
Topic: Part B – Subject Specific Skills U.3: Database Management System using LibreOffice Base
Name: _____________________________________________ Date: _________
I. Choose the correct Option: [1 mark each]
1. Which of the following is an example of a database?
a) MS Word
b) Telephone Directory
c) Notepad
d) Paint
Answer: b) Telephone Directory
2. What does DBMS stand for?
a) Data and Book Management System
b) Database Management System
c) Data Broadcasting Management Software
d) Digital Base Management System
Answer: b) Database Management System
3. Which of these is NOT an example of a DBMS?
a) MS Access
b) MySQL
c) Excel
d) Oracle
Answer: c) Excel
4. What is the purpose of a primary key in a database?
a) To store large values
b) To uniquely identify each record
c) To store relational data
d) To manage duplicates
Answer: b) To uniquely identify each record
5. Which type of relationship is established when one record in Table A corresponds to many
records in Table B?
a) One-to-One
b) One-to-Many
c) Many-to-One
d) Many-to-Many
Answer: b) One-to-Many
6. Which key combination is used to save a table in LibreOffice Base?
a) Ctrl+S
b) Ctrl+A
c) Ctrl+Shift+S
d) Alt+S
Answer: a) Ctrl+S
7. What does the ‘Memo’ data type in LibreOffice Base represent?
a) Fixed-length text data
b) Variable-length numeric data
c) Large text data up to 64,000 characters
d) Date and time data
Answer: c) Large text data up to 64,000 characters
8. Which menu is used to set relationships in LibreOffice Base?
a) File
b) Tools
c) Edit
d) View
Answer: b) Tools
9. What is the default file extension for a LibreOffice Base database?
a) .doc
b) .ods
c) .odb
d) .dbf
Answer: c) .odb
10. Which property ensures that related fields in tables maintain consistent and accurate data?
a) Primary Key
b) Foreign Key
c) Referential Integrity
d) Data Redundancy
Answer: c) Referential Integrity
11. Which of the following best describes "data"?
a) Processed information
b) Raw facts and figures
c) Organized reports
d) Tables and graphs
Answer: b) Raw facts and figures
12. Information is obtained by:
a) Organizing raw data
b) Adding redundancy
c) Deleting unrelated records
d) Storing duplicate entries
Answer: a) Organizing raw data
13. What is an example of "information"?
a) Temperature readings
b) Report showing average temperature
c) Humidity levels
d) Daily rainfall data
Answer: b) Report showing average temperature
14. Which of the following is NOT a type of data model?
a) Relational
b) Hierarchical
c) Network
d) Tree-based
Answer: d) Tree-based
15. Which model organizes data into tables with rows and columns?
a) Relational Data Model
b) Hierarchical Data Model
c) Network Data Model
d) Functional Data Model
Answer: a) Relational Data Model
16. What does a "field" represent in a database table?
a) A single row
b) A collection of tables
c) A column in a table
d) A relationship between tables
Answer: c) A column in a table
17. A database's structure, describing how data is stored and retrieved, is known as:
a) Query Model
b) Data Model
c) Data Mapping
d) Data Link
Answer: b) Data Model
18. What is a candidate key?
a) A primary key selected for indexing
b) Any field eligible to be a primary key
c) A foreign key used for relationships
d) A key used to store null values
Answer: b) Any field eligible to be a primary key
19. Which key establishes a relationship between two tables?
a) Composite Key
b) Primary Key
c) Alternate Key
d) Foreign Key
Answer: d) Foreign Key
20. If a field uniquely identifies each record in a table, it is called:
a) Composite Key
b) Foreign Key
c) Primary Key
d) Candidate Key
Answer: c) Primary Key
21. What is the first step to creating a database in LibreOffice Base?
a) Design a table
b) Create relationships
c) Define data types
d) Open the Database Wizard
Answer: d) Open the Database Wizard
22. What must you specify when creating a table field?
a) Default value
b) Primary key
c) Data type
d) Field length
Answer: c) Data type
23. Which design method allows maximum flexibility when creating a table?
a) Wizard
b) Design View
c) Datasheet View
d) Query Design
Answer: b) Design View
24. What does the "VARCHAR" data type store?
a) Fixed-length text
b) Variable-length text
c) Numeric data
d) Boolean values
Answer: b) Variable-length text
25. What is the significance of a "Boolean" data type?
a) Stores textual data
b) Represents monetary values
c) Stores true/false values
d) Represents timestamp data
Answer: c) Stores true/false values
26. Which relationship type is most common in relational databases?
a) Many-to-Many
b) One-to-Many
c) One-to-One
d) Many-to-One
Answer: b) One-to-Many
27. What does a "referenced field" refer to in a relationship?
a) The primary key in the master table
b) The foreign key in the related table
c) The shared data type field
d) Any field used in queries
Answer: a) The primary key in the master table
28. Which of the following maintains referential integrity?
a) Prevents redundant data
b) Ensures consistent data in related tables
c) Allows deletion of the master record without warning
d) Automatically generates primary keys
Answer: b) Ensures consistent data in related tables
29. Which feature retrieves data from a database based on specific criteria?
a) Query
b) Form
c) Report
d) Table
Answer: a) Query
30. The process of sorting records in a particular order is called:
a) Indexing
b) Querying
c) Sorting
d) Grouping
Answer: c) Sorting
31. What is the purpose of a report in LibreOffice Base?
a) Input data
b) Retrieve specific data
c) Generate formal output for presentation
d) Create tables
Answer: c) Generate formal output for presentation
32. Which view in LibreOffice Base allows adding descriptions for fields while designing a table?
a) Datasheet View
b) Design View
c) Form View
d) Report View
Answer: b) Design View
33. To delete a record from a table, which key can be used?
a) Delete
b) Backspace
c) Shift
d) Ctrl+D
Answer: a) Delete
34. What does the “Memo” data type allow in LibreOffice Base?
a) Storing fixed-length numbers
b) Storing large text data
c) Storing currency values
d) Storing boolean values
Answer: b) Storing large text data
35. Which dialog box is used for multi-field sorting in LibreOffice Base?
a) Sort Order
b) Field Properties
c) Navigation Box
d) Table Wizard
Answer: a) Sort Order
36. In a One-to-Many relationship, the “Many” side is usually:
a) A master table
b) A transaction table
c) A report
d) A query result
Answer: b) A transaction table
37. Which relationship type requires at least one common field between two tables?
a) Relational
b) Hierarchical
c) Network
d) Referential
Answer: a) Relational
38. Referential integrity ensures:
a) Foreign key values exist in the related master table
b) Data duplication across tables
c) Auto-deletion of unrelated records
d) No primary keys in tables
Answer: a) Foreign key values exist in the related master table
39. What happens if a master record is deleted with "Set NULL" referential integrity?
a) Related fields are deleted
b) Related fields are set to NULL
c) Related fields are updated to default
d) Deletion is not allowed
Answer: b) Related fields are set to NULL
40. Which relationship type connects multiple records in both master and transaction tables?
a) One-to-One
b) One-to-Many
c) Many-to-Many
d) Referential
Answer: c) Many-to-Many
41. What is a form used for in LibreOffice Base?
a) Data entry
b) Data retrieval
c) Data sorting
d) Data reporting
Answer: a) Data entry
42. Which query retrieves all rows where a condition is true?
a) Action query
b) Select query
c) Update query
d) Delete query
Answer: b) Select query
43. What feature is used to display data in a structured and printable format?
a) Table
b) Query
c) Report
d) Form
Answer: c) Report
44. Which of the following is true about queries?
a) Queries are used to create tables
b) Queries are used to modify database structure
c) Queries retrieve specific data from tables
d) Queries generate graphs automatically
Answer: c) Queries retrieve specific data from tables
45. The shortcut key to open an existing database in LibreOffice Base is:
a) Ctrl+O
b) Ctrl+N
c) Ctrl+E
d) Ctrl+D
Answer: a) Ctrl+O
46. How many sections are in the Design View window of LibreOffice Base?
a) 1
b) 2
c) 3
d) 4
Answer: b) 2
47. Which menu option is used to rename a table?
a) File > Rename
b) Edit > Rename
c) Tools > Rename
d) Right-click on the table and select Rename
Answer: d) Right-click on the table and select Rename
48. When data is entered into a table, the active record is indicated by:
a) A blinking cursor
b) A black pointing arrow
c) A highlighted row
d) A bold column header
Answer: b) A black pointing arrow
49. To move to the next field while entering data in a table, press:
a) Enter
b) Tab
c) Shift
d) Ctrl
Answer: b) Tab
50. Which data type is suitable for storing digitized images in LibreOffice Base?
a) Binary
b) Memo
c) Text
d) Float
Answer: a) Binary
II. Answer the following questions: [ 2 marks each]
1. What is a database? Give an example.
Answer:
A database is a collection of logically related data stored systematically for easy access and
management.
Example: A library database storing book details and member records.
2. Define data and information.
Answer:
o Data: Raw facts or figures, e.g., "20, 30, 40".
o Information: Processed and meaningful data, e.g., "Average score: 30".
3. What is DBMS?
Answer:
DBMS (Database Management System) is software for creating, managing, and accessing
databases.
Example: MySQL, Oracle.
4. What are two advantages of using a DBMS?
Answer:
o Reduces data redundancy.
o Ensures data consistency and security.
5. What is a primary key?
Answer:
A primary key uniquely identifies each record in a table.
Example: Roll Number in a student table.
6. What is a foreign key?
Answer:
A foreign key links two tables by referencing the primary key in another table.
Example: StudentID in a marks table linked to StudentID in a student table.
7. What is a composite key?
Answer:
A composite key combines two or more fields to uniquely identify a record.
Example: (OrderID, ProductID) in an order-details table.
8. What is a candidate key?
Answer:
A candidate key is any field or combination of fields that can serve as a primary key.
9. What is a One-to-Many relationship? Give an example.
Answer:
A single record in Table A corresponds to multiple records in Table B.
Example: A teacher teaches many students.
10. What is a Many-to-Many relationship?
Answer:
Multiple records in Table A relate to multiple records in Table B.
Example: Students enrolled in multiple courses.
11. What is the default file extension for LibreOffice Base?
Answer:
The default file extension for LibreOffice Base is .odb.
12. What are two ways to create a table in LibreOffice Base?
Answer:
• Using the Table Wizard.
• Using Design View.
13. What is the purpose of forms in LibreOffice Base?
Answer:
Forms provide a user-friendly interface for entering, viewing, and modifying data in a table.
14. What is a query in a database?
Answer:
A query retrieves specific data from one or more tables based on conditions.
15. Name two commonly used data types in databases.
Answer:
• Text (VARCHAR): Stores variable-length text.
• Numeric (INTEGER): Stores whole numbers.
16. What is the purpose of the Boolean data type?
Answer:
The Boolean data type stores true/false or yes/no values.
17. What is sorting in a database?
Answer:
Sorting arranges records in ascending or descending order based on a field.
Example: Sorting students by marks.
18. What is filtering in a database?
Answer:
Filtering displays only records that match specific conditions.
Example: Filtering employees with a salary > ₹50,000.
19. What is referential integrity?
Answer:
Referential integrity ensures that foreign key values in a table match valid primary key values in the
related table.
20. What is the purpose of a report in a database?
Answer:
A report presents data in a structured and printable format for analysis and decision-making.
III. Answer the following questions: [ 4 mark each]
1. What are the advantages of using a database management system (DBMS)?
Answer:
A Database Management System (DBMS) offers several advantages:
o Organized Storage: Data is stored systematically in tables, making it easy to search,
retrieve, and update information. For example, student records can be stored and accessed
by roll numbers or names.
o Data Consistency: By reducing data redundancy, DBMS ensures consistency across tables.
For example, if a student's name changes in one table, it is automatically updated in
related tables.
o Data Sharing: A single database can serve multiple users or applications simultaneously,
increasing efficiency. For instance, an organization can share a central employee database
across departments.
o Security: Access controls, such as passwords and encryption, prevent unauthorized data
access. Sensitive data like financial transactions can be protected.
2. Explain the difference between hierarchical, network, and relational data models.
Answer:
Data models define how data is structured in a database:
o Hierarchical Model: Organizes data in a tree structure, with parent and child records. Each
parent can have multiple children, but each child has only one parent. Example:
Organizational hierarchy where a manager supervises multiple employees.
o Network Model: Data is represented as records connected by links, forming an inverted
tree structure. A record can have multiple parents and children. Example: Students
enrolled in multiple courses.
o Relational Model: Data is organized in tables (relations) with rows (records) and columns
(fields). Relationships are established using keys like primary and foreign keys. Example: A
student database with tables for personal details and marks linked by student ID.
3. What are primary, foreign, and composite keys? Give examples.
Answer:
o Primary Key: A unique identifier for a record in a table. Example: Roll Number in a student
database uniquely identifies each student.
o Foreign Key: A field in one table that references the primary key in another table, creating
a relationship between the two tables. Example: StudentID in a marks table referencing the
StudentID in the student details table.
o Composite Key: Combines two or more fields to uniquely identify a record when a single
field is insufficient. Example: OrderID and ProductID together uniquely identify an order in
an order-details table. These keys ensure data consistency and eliminate redundancy in
relational databases.
4. Describe the three types of relationships in a relational database with examples.
Answer:
o One-to-One (1:1): A single record in Table A corresponds to a single record in Table B.
Example: An employee table linked to an access card table, where each employee has a
unique card.
o One-to-Many (1): A single record in Table A corresponds to multiple records in Table B.
Example: A teacher can teach multiple students, but each student has only one teacher.
o Many-to-Many (M): Multiple records in Table A correspond to multiple records in Table B.
This relationship requires an intermediary table. Example: Authors and books, where one
author can write multiple books, and one book can have multiple authors.
5. What are the steps to create a database using LibreOffice Base?
Answer:
To create a database in LibreOffice Base, follow these steps:
o Open LibreOffice Base and choose Create a New Database. This starts the Database
Wizard.
o In the wizard, decide whether to register the database for external access. Select No, do
not register, and click Next.
o Save the database with an appropriate name (e.g., [Link]) and choose a folder
location.
o Create tables using either the Table Wizard or Design View. Define fields, data types, and
primary keys for each table.
o Once the database is created, you can add forms, queries, and reports to manage and
analyze the data.
6. Explain the difference between using the Table Wizard and Design View in LibreOffice Base.
Answer:
o Table Wizard:
▪ Provides pre-built templates for quick table creation.
▪ Offers predefined field names and types, making it ideal for beginners.
▪ Suitable for standard tables like customer records or product lists.
o Design View:
▪ Allows customization of table structure.
▪ Users can define fields, set data types, specify primary keys, and assign field
properties manually.
▪ Best for advanced users needing specific fields or complex tables.
Both methods help users create tables but differ in flexibility and ease of use.
7. What are the commonly used data types in LibreOffice Base? Explain their uses.
Answer:
Common data types in LibreOffice Base include:
o Text (VARCHAR): Stores variable-length text such as names or addresses. Example:
Employee names.
o Numeric (INTEGER, DECIMAL): Stores whole numbers or decimals for calculations.
Example: Student roll numbers or salaries.
o Date/Time: Stores date and time information. Example: Date of birth or appointment time.
o Boolean: Stores true/false or yes/no values. Example: Whether a student is enrolled
(Yes/No). These data types ensure proper data entry and accurate computations.
8. Explain field properties in LibreOffice Base and their importance.
Answer:
Field properties control data entry and ensure data accuracy.
o Length: Sets the maximum number of characters or digits allowed. Prevents excessive
input.
o Default Value: Automatically assigns a value if the user leaves the field blank. Example:
Setting "Active" as the default for a status field.
o Entry Required: Ensures mandatory fields are filled. Example: Roll numbers must be
entered for student records.
o Validation Rules: Restricts input to specific criteria, such as allowing only values greater
than zero for a quantity field. These properties enhance data consistency and minimize
errors.
9. What is referential integrity? How is it implemented in LibreOffice Base?
Answer:
Referential integrity ensures that foreign key values in a table correspond to valid primary key
values in the related table.
o Implementation in LibreOffice Base:
▪ Define relationships between tables in Tools > Relationships.
▪ Specify a common field (foreign key) in the transaction table linked to the primary
key in the master table.
▪ Use referential integrity options like No Action, Set NULL, or Cascade
Update/Delete to manage updates or deletions. Referential integrity ensures data
consistency and prevents orphan records.
10. List the steps to sort and filter data in a LibreOffice Base table.
Answer:
o Sorting:
1. Open the table in Datasheet View.
2. Click on the column header to select the field for sorting.
3. Use the toolbar to choose Sort Ascending or Sort Descending.
o Filtering:
1. Open the table in Datasheet View.
2. Select Standard Filter from the toolbar.
3. Specify conditions, such as "Marks > 50."
4. Apply the filter to display only matching records. These operations help in
analyzing and organizing data effectively.
11. What is the purpose of forms in a database? How are they created in LibreOffice Base?
Answer:
Forms provide a user-friendly interface for entering, viewing, and modifying data in a database.
They allow users to interact with tables easily without directly accessing the raw data.
o Purpose of Forms:
▪ Simplify data entry with an intuitive layout.
▪ Validate input to ensure data accuracy.
▪ Customize fields for better user experience (e.g., dropdown lists, checkboxes).
o Steps to Create a Form in LibreOffice Base:
1. Open LibreOffice Base and select Forms from the Database Pane.
2. Click Use Wizard to Create Form or choose Create Form in Design View.
3. Select the table or query the form will use.
4. Add fields to the form, arrange them, and customize properties.
5. Save the form with a suitable name for future use.
12. Differentiate between Select Queries and Action Queries.
Answer:
Queries retrieve or manipulate data in a database:
o Select Query:
▪ Retrieves specific data based on conditions.
▪ Does not alter the database; only displays filtered results.
▪ Example: Fetch students scoring more than 90 marks.
o Action Query:
▪ Modifies data in the database by performing tasks like updating, deleting, or
inserting records.
▪ Can change data permanently.
▪ Example: Increasing employee salaries by 10%.
Both types of queries are essential for analyzing and managing database records
efficiently.
13. What is a report in a database? What are its uses?
Answer:
A report is a formatted output of data from a database, designed for analysis, presentation, or
printing.
o Uses of Reports:
▪ Summarize data for stakeholders. Example: Monthly sales summary.
▪ Present query results in a structured format, making them more readable.
▪ Serve as formal documents for decision-making, such as balance sheets or
inventory lists.
Reports are customizable to include headers, footers, charts, and grouping,
enhancing their utility for various purposes.
14. Describe the steps to generate a report in LibreOffice Base.
Answer:
o Open LibreOffice Base and select Reports from the Database Pane.
o Click Use Wizard to Create Report.
o Choose the table or query to use as the report's data source.
o Select the fields you want to include in the report.
o Arrange the fields, set grouping levels, and choose sorting options.
o Customize the layout and style (e.g., tabular or columnar format).
o Save and preview the report for printing or sharing. Reports simplify the presentation of
database information in an organized and professional format.
15. Explain the difference between master and transaction tables. Give an example.
Answer:
o Master Table:
▪ Stores main or primary information.
▪ Contains unique records identified by a primary key.
▪ Example: A Student_Details table with fields like Admission Number, Name, and
Class.
o Transaction Table:
▪ Stores related, detailed records linked to the master table.
▪ Contains a foreign key referencing the primary key of the master table.
▪ Example: A Marks table with fields like Admission Number (foreign key), Subject,
and Marks.
Master tables ensure data consistency, while transaction tables allow for detailed
record-keeping.
16. What is a Many-to-Many relationship? How can it be implemented?
Answer:
A Many-to-Many relationship exists when multiple records in one table relate to multiple records
in another table.
o Example:
▪ Students and Courses: A student can enroll in multiple courses, and each course
can have multiple students.
o Implementation:
▪ Create an intermediary (junction) table to establish relationships.
▪ The table includes foreign keys from both tables.
▪ Example: A Student_Course table with fields StudentID and CourseID links Students
and Courses. This approach ensures data normalization and avoids redundancy.
17. What is the importance of sorting and filtering data in a table?
Answer:
Sorting and filtering are crucial for organizing and analyzing database records:
o Sorting: Arranges records in a logical order (ascending/descending) based on a selected
field. Example: Sorting students alphabetically or by marks.
o Filtering: Displays only the records matching specific criteria. Example: Showing employees
with salaries above ₹50,000.
These operations help users focus on relevant data, identify trends, and make informed
decisions.
18. Differentiate between Design View and Datasheet View in LibreOffice Base.
Answer:
o Design View:
▪ Used to define or modify the structure of a table.
▪ Allows users to set field names, data types, and field properties.
▪ Example: Creating a table with fields like Name (Text) and Age (Integer).
o Datasheet View:
▪ Used to view, edit, and enter data into a table.
▪ Displays data in a tabular format (rows and columns).
▪ Example: Entering student names and marks into a table.
Both views are essential for managing tables effectively, with Design View focusing
on structure and Datasheet View on content.
19. What is data redundancy? How can a DBMS minimize it?
Answer:
o Data Redundancy: Refers to unnecessary duplication of data across a database. Example:
Storing a student's name multiple times in different tables.
o Minimizing Redundancy in DBMS:
▪ Use normalization techniques to design efficient table structures.
▪ Establish relationships using primary and foreign keys to avoid duplicate entries.
▪ Example: Store student details in a Student_Details table and use foreign keys in
related tables (e.g., Marks).
A DBMS reduces redundancy, ensuring consistency and efficient storage.
20. Explain the importance of the Query feature in a database.
Answer:
Queries are essential for retrieving and managing data from a database efficiently:
o Allow users to filter and extract specific data. Example: Retrieving employees with salaries
above ₹1,00,000.
o Perform calculations like totals or averages. Example: Calculating the average marks of a
class.
o Enable data analysis by combining multiple tables. Example: Joining Orders and Customers
tables to generate sales reports.
Queries streamline data analysis and help users make informed decisions quickly.