0% found this document useful (0 votes)
2 views

Unit 3_DBMS_Notes

The document provides notes on Database Management Systems (DBMS) using LibreOffice Base, including multiple choice questions, true/false statements, fill-in-the-blank exercises, and definitions of key terms. It covers topics such as data types, the structure of databases, and the advantages of using a DBMS. Additionally, it includes practical exercises related to table creation and primary key definitions.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Unit 3_DBMS_Notes

The document provides notes on Database Management Systems (DBMS) using LibreOffice Base, including multiple choice questions, true/false statements, fill-in-the-blank exercises, and definitions of key terms. It covers topics such as data types, the structure of databases, and the advantages of using a DBMS. Additionally, it includes practical exercises related to table creation and primary key definitions.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

Unit 3: Database Management System using LibreOffice Base

NOTES
Chapter 8. Introduction to Database Management System
• Multiple choice questions

1. Which of the following can be considered as an example of a database?


(a) Dictionary
(b) Telephone directory
(c) Marks Register
(d) Newspaper

2. Which of the following is NOT a DBMS?


(a) MS Access
(b) Open Office Base
(c) MS Excel
(d) MySQL

3. DBMS stands for ______________________.


(a) Data and Books Management System
(b) Database Management System
(c) Duplicate Books Management System
(d) Data Management Multi System

4. Which of the following data models sets a relation between the two or more tables?
(a) Relational Data Model
(b) Network Data Model
(c) Hierarchical Data Model
(d) Connection Data Model

5. The details associated with an entity are called ____________.


(a) Table
(b) Attributes
(c) Records
(d) Primary key

6. A __________ is represented as rows in a table.


(a) field
(b) attribute
(c) record
(d) candidate key

7. In which of the following forms can a data value be represented?


(a) Numeric
(b) Character
(c) Alphanumeric
(d) All of the above
8. Which of the following uniquely identifies a row in a table?
(a) Primary key
(b) Alternate key
(c) Foreign key
(d) Candidate key

9. A ___________is a feature of a database using which we can enter data in a table in an easy and user
friendly manner.
(a) query
(b) report
(c) form
(d) field

10. A _____________ is a question asked from a database.


(a) query
(b) report
(c) form
(d) field

• State whether the following statements are True or False

1. A database cannot be organised.


2. Data is the collection of raw facts.
3. A table can be created without a primary key.
4. Two tables can be related in a network data model.
5. MS Access is an example of a database.

• Fill in the blanks

1. The raw facts constitute _____________.


2. An _____________ is a real-world object about which information is to be stored in a database
3. The output of a query may be displayed in the form of ________.
4. The data values for all the fields related to a person or object is called a _________.
5. All the field values that are eligible to be the primary key are the ___________ keys for that table

• D. Answer the following questions

1. Define the terms


(a) Database
(b) Data redundancy
(c) Report
Ans.
(a) Database
A database is an organized collection of data that allows easy access, management, and updating. It stores
information systematically, enabling efficient data retrieval and manipulation. Databases are used in
various applications, such as banking and education, and can be managed using Database Management
Systems (DBMS) like MySQL or Oracle.
(b) Data Redundancy
Data redundancy refers to the unnecessary duplication of data within a database or storage system. It can
occur when the same piece of information is stored in multiple places, leading to increased storage usage
and the risk of inconsistency. Techniques like normalization in relational databases help reduce
redundancy.
(c) Report
A report is a formatted document that presents data or information for analysis or decision-making. It
summarizes key findings, insights, or trends in a structured manner, often using tables, graphs, and visual
aids. Reports are commonly used in business, research, and education to communicate results clearly to
stakeholders.

2. Give one point of difference between


(a) Data and Information,
(b) Form and Query,
(c) Network and hierarchical data model
Ans.
(a) Data and Information
Aspect Data Information
Definition Data consists of raw facts and Information is processed data that carries
figures without context. meaning and value.
Meaning Data alone does not convey any Information provides insights that help in
meaning. decision-making.
Example Examples of data include “85” or An example of information is “John scored
“John.” 85 marks in Mathematics.

(b) Form and Query


Aspect Form Query
Purpose A form is used for inputting, A query is used to retrieve
editing, or displaying data. specific data from the database.
Usage Forms are designed for end- Queries are executed by the
users to enter or modify data. system to filter and fetch
required information.
Example A student registration form A query such as SELECT * FROM
allows user input. students WHERE marks > 80
retrieves relevant data.

(c) Network and hierarchical data model


Aspect Network Model Hierarchical Model
Structure The network model organizes The hierarchical model arranges
data in a graph with multiple data in a tree structure with
paths between records. parent-child relationships.
Relationships It supports many-to-many It only supports one-to-many
relationships, making it more relationships between records.
flexible.
Flexibility Although the network model is The hierarchical model is
more flexible, it is also more simpler but less flexible for
complex to manage. complex relationships.

3. Give any four advantages of a DBMS.


Ans.
Data Redundancy Control:
In traditional systems, the same data may be stored in multiple places, leading to redundancy and
inconsistency. A DBMS centralizes data storage, ensuring the same data isn't duplicated unnecessarily
across different applications or departments, which improves consistency and saves storage space.
Data Integrity and Accuracy:
DBMS ensures that the data remains reliable and correct by enforcing integrity constraints such as unique
keys or foreign keys. For example, it prevents entering invalid data (like negative marks) and ensures that
related data remains synchronized, maintaining trust in the information.

Efficient Data Retrieval:


With a DBMS, users can quickly retrieve specific information using structured query languages like SQL.
For example, in a large student database, retrieving the names of students scoring above 80% can be done
in seconds using a query, which enhances productivity and decision-making speed.

Data Security:
A DBMS provides multiple layers of security by restricting access to authorized users through
authentication and role-based permissions. Sensitive information like salaries or medical records is
protected, ensuring that only individuals with appropriate rights can view or modify it.

4. Consider the table given below and answer the questions that follow
Table: Library
Book_Id Book Name Author Name Price Publisher
F001 Pride and Prejudice Jane Austen 550 ABC
S004 Amazing Astronomy E. Shane 1050 ABC
C005 IT and Mankind MHA Diwaan 2500 HYM

(a) Name the fields in the given table.


Ans. The fields (columns) in the table are:
o Book_Id
o Book Name
o Author Name
o Price
o Publisher
(b) Which field should be made the primary key?
Ans The Book_Id field should be made the primary key because it uniquely identifies each book in
the table and no two books will have the same Book_Id.
(c) Is there any alternate key in the table?
Ans. Yes, the Book Name can be considered an alternate key because it may also uniquely identify a
book (assuming that no two books have the same title). However, if duplicate book titles exist, another
unique field (e.g., ISBN) could be required.
(d) How is primary key different from foreign key? Explain with an example.
Ans.
Primary Key:
A primary key is a unique field that identifies each record in a table. It ensures that no two records
have the same value for the primary key field.
Example: In the above table, Book_Id can be the primary key because it uniquely identifies each book.

Foreign Key:
A foreign key is a field in one table that refers to the primary key in another table to establish a
relationship between the two tables.
Example: If another table named Borrowers contains a field Book_Id, it will act as a foreign key linking
it to the primary key (Book_Id) in the Library table, ensuring referential integrity.
ANSWERS
A. Multiple choice questions 1. (d) 2. (c) 3. (b) 4. (a) 5. (b) 6. (d) 7. (d) 8. (a) 9. (c) 10. (a)

B. State whether the following statements are True or False


1. False 2. True 3. False 4. False 5. False

C. Fill in the blanks


1. Data
2. Entity
3. Report
4. Record
5. Candidate
Chapter 9 Starting with LibreOffice Base
• Multiple choice questions

1. Which of the following is NOT a type of text data type?


(a) Memo
(b) Varchar
(c) Float
(d) Char

2. A currency data type can only store monetary data that is


in dollars.
(a) True
(b) False
(c) Neither a nor b
(d) Both a and b

3. Which of the following data can a date data type store?


(a) Date
(b) Time
(c) Both date and time
(d) Neither date nor time

4. Which of the following is true about LibreOffice Base?


(a) It is a spreadsheet software
(b) It is free and open source software
(c) It can store only character data
(d) It is a licensed software.

5. Which of the following methods can be used to create a


table in Base?
(a) Using a table wizard
(b) Design View
(c) Both a and b
(d) Neither a nor b

6. The related objects of a database can be seen in ____________


pane of the Base Database window.
(a) Database
(b) Task
(c) Title Bar
(d) Menu Bar

7. Which is the shortcut key to open an existing database?


(a) Ctrl+ D
(b) Ctrl+O
(c) Ctrl+E
(d) Ctrl+F
8. The Design view of Table Creation window in LibreOffice
Base is divided into ______ sections or panes.
(a) 2
(b) 3
(c) 4
(d) 5

9. While entering records in a table, we can move to the next


field by pressing the _________ key.
(a) Tab
(b) Ctrl
(c) Enter
(d) Shift

10. Which of the following is true about primary key of a table?


(a) Every table must have a primary key
(b) The data values in primary key field cannot be duplicated.
(c) A primary key field cannot be left blank
(d) All of the above

• B. State whether the following statements are True or False

1. The text data can contain special characters.


2. Memo data type can be used to store descriptive data.
3. A Boolean data type can have two or more than two values.
4. We cannot store audio data in LibreOffice Base.
5. The properties of a field change according to the data type selected.
6. Field description may or may not be entered while designing a table.
7. is pressed to move to the last record.
8. appears when the record is being edited.
9. A table once created in a database cannot be edited.
10. Sort dialog box can only help to sort data in ascending order.

• C. Fill in the blanks

1. A data type refers to the type of data that will be stored in that particular field.
2. The _____________ data is a combination of letters, numbers or special characters.
3. ________ data type can be used to store Aadhar number.
4. The __________ data type used to store digitized images.
5. The shortcut key to save a table is _______________.
6. ______________ on the Base Interface Window displays information about the type of view of the
object in the database.
7. A __________ icon appears before the field name indicating that it is a primary key.
8. The data can be entered in a table only in __________ view.
9. The black pointing arrow just before the field name in a table is called ____________.
10. The process of arranging the records in particular order on any filed is called _______________.

• Answer the given questions

1. Differentiate between:
(a) Memo and Varchar data type
(b) Number and Decimal data type
(c) Design View and Datasheet view of a table
Ans.

Memo Varchar
The Memo data type is used to store The Varchar data type is used to store
long text, such as detailed variable-length strings or text, typically for
descriptions, comments, or notes. shorter data like names and addresses.
It can store text up to a certain limit, usually
It can store up to 65,536 characters,
255 characters, depending on the system
depending on the database system.
configuration.
It is ideal for fields that require large It is suitable for fields that contain concise
text storage, such as product information, such as first names, last names,
descriptions or feedback. or city names.
Due to its large size, it may perform Varchar fields perform better since they
slower, especially during indexing store smaller text, making them more
operations. efficient for searches and indexing.

Number Decimal
Used for storing exact numeric values with
Used to store integers or numeric
decimals, ideal for financial or precise
values without fractions.
calculations.
Provides high precision, suitable for
Offers less precision and is not
monetary values, percentages, or scientific
suitable for storing fractional values.
measurements.
Takes up less storage space,
Requires more storage space to maintain
depending on the type (e.g., Integer,
precise decimal points.
Long).
Commonly used for counting items or
Preferred for fields requiring precision, such
storing whole numbers, such as age or
as prices or tax rates.
quantity.
2. Name the menu items present on the Base User Interface

Ans. The following menu items are available in the LibreOffice Base interface:

• File: For creating, opening, saving, exporting, and closing databases.


• Edit: Provides options like Cut, Copy, Paste, Find, and Replace.
• View: Controls how the user interface looks, including toolbars and panes.
• Insert: Used to insert tables, queries, forms, reports, and other objects.
• Tools: Includes options for SQL queries, relationships, and database properties.
• Data: Provides sorting, filtering, and updating options for tables.
• Window: Manages open windows and allows switching between them.
• Help: Offers access to documentation and support for LibreOffice Base.

3. Label the components – Title Bar, Database Pane, Tasks Pane, Status Bar of the LibreOffice Base User
Interface.
Ans. Below are the main components of the LibreOffice Base interface:
• Title Bar: Located at the top, it displays the name of the open database and the LibreOffice Base
application title.
• Database Pane: Found on the left side, it contains options for Tables, Queries, Forms, and
Reports, helping navigate between different database objects.
• Tasks Pane: Situated to the right of the Database Pane, it offers actions like creating or editing
tables, queries, forms, and reports.
• Status Bar: Located at the bottom, it displays the status of the current database, including the
mode and any active tasks.

4. How can we define a primary key in a table?


Ans. To define a primary key in a table in LibreOffice Base:
• Open the table in Design View.
• Select the field you want to set as the primary key.
• Right-click the selected field and choose Primary Key from the context menu.
• A key icon will appear next to the field, indicating it is now the primary key.
• Save the table to apply the changes.

5. Write steps to sort the table in descending order of primary key.


Ans. Follow these steps to sort a table in descending order of its primary key:
• Open the table in Datasheet View.
• Click the column header of the primary key field to select it.
• Go to the Data menu and select Sort Descending (or click the Sort Descending button on the
toolbar).
• The table will now be displayed in descending order of the primary key.

6. What is the use of a navigation box with respect to tables in a database?


Ans. The navigation box in LibreOffice Base helps users efficiently move through the records in a table. It
provides the following functions:
• Allows moving to the next, previous, first, or last record in the table.
• Provides an option to add new records directly.
• Displays the current record number and the total number of records.
• Useful for quick data entry and review without needing to scroll manually through all the
records.
ANSWERS

Multiple choice questions


1. (c) 2. (b) 3. (c) 4. (b) 5. (c) 6. (a) 7. (b) 8. (a) 9. (a) 10. (d)

B. State whether the following statements are True or False


1. True 2. True 3. False 4. False 5. True 6. True 7. False 8. True 9. False 10. False

C. Fill in the blanks


1. Data type
2. Text
3. Text
4. Binary
5. Ctrl+S
6. Tasks Pane
7. Key
8. Datasheet
9. Record pointer
10. Sorting
Chapter 10. Working with Multiple Tables
• Multiple choice questions

1. Which of the following actions can be performed once the tables are created in a database?
(a) Add a field in a table
(b) Rename a table
(c) Delete a table
(d) All of the above

2. Which of the following is checked by a DBMS?


(a) Redundancy
(b) Inconsistency
(c) Both (a) and (b)
(d) Neither (a) nor (b)

3. Which of the following is required to set a relationship between the two tables?
(a) Both the tables must be in different databases
(b) Both the tables must have a common field
(c) Both the tables must have the same name
(d) Both tables must be stored in documents folder only.

4. If a record is added in a master table, which of the following is NOT true for transaction table
(a) The record in the master table is called the master record
(b) The corresponding record in transaction table can only be entered once.
(c) The record in the transaction table is called the transaction record.
(d) It is possible to add a record in the master table

5. Which type of relationship exists between a student and the subjects studied by him/her?
(a) One-to-one
(b) One-to-many
(c) Many-to-many
(d) All of the above

6. Consider the following tables. Which type of relationship can be established between the two tables?
(a) One-to-one
(b) One-to-many
(c) Many-to-many
(d) None of the above

7. Which of the following menus contains the Relationship option?


(a) Edit
(b) File
(c) Tools
(d) View
8. The list of tables to be added is displayed in the __________ dialog box in the Relationship Screen.
(a) Add Tables
(b) Add Databases
(c) Both (a) and (b)
(a) Neither (a) nor (b)

9. In the relationship design screen, the relationship between the two tables is done using __________
operation.
(a) Click
(b) Double Click
(c) Drag and Drop
(d) Right click

10. Which of the following is NOT an option that can be used to maintain referential integrity in a
database?
(a) No Action
(b) Set NULL
(c) Set Default
(d) Set Value

• State whether the following statements are True or False

1. Redundancy is preferred in a database.


2. In a table, a record for a particular entity should not be repeated.
3. A single field should always have only one data value.
4. If a table is edited, the records already entered in it are deleted.
5. The record in master table should be entered before the corresponding record is entered in the
transaction table.
6. In one-to-many relationship, one specific record of the master table has more than one corresponding
records in the related transaction table.
7. The Relationship option is present in the Widows menu.
8. In a database, the referential integrity is maintained by the user.
9. A relationship is always set between the tables based on a common field.
10. If the master record is deleted, the transaction records will always be deleted.

• Fill in the blanks

1. A table to be edited is displayed in ___________ view.


2. The most important prerequisite for setting a relationship between the two tables is that there must
be a ________________between them.
3. In ________________relationship, one specific record of a master table has one and only one
corresponding record in the transaction table.
4. ___________________is one of the most common types of relationship between the tables in a
database.
5. A record being entered in a _________ table must always exist in a ________ table.
6. The principle of _______________helps prevent missing data by keeping deleted data from getting
out of synch.
7. Creating ____________ between tables restricts the user from entering invalid data in the referenced
fields.
8. Data integrity is maintained by ______________.
9. A relationship between customers and products is an example of __________________ relationship.
10. The __________________ window is used to set relationships between the tables.

• Answer the following questions

1. Give any two advantages of relating a table in a database.


Ans.
• Data Consistency: Relating tables ensures data consistency by storing data only once in a
specific table and linking it through relationships. This avoids redundant data.
• Efficient Querying: It simplifies data retrieval. Related tables can be joined through keys,
enabling complex queries and analysis across different data sets.

2. How is redundancy or inconsistency controlled in a database? Explain with an example.


Ans.
Redundancy and inconsistency are controlled using Normalization and Constraints.
Example:
• Suppose we store a student's details and their courses in a single table. If the same student's
name and address are repeated for every course, it leads to redundancy.
• By normalizing the database, we split the data into two tables: Student (StudentID, Name,
Address) and Enrollment (EnrollmentID, StudentID, CourseID). This way, the student's
information is stored once, reducing redundancy and ensuring data consistency.

3. Define referential integrity. Who maintains referential integrity in a database?


Ans.
• Referential Integrity ensures that a foreign key in one table must have a matching primary key
in another table or be null. This prevents invalid or orphaned records.
• Database Management System (DBMS) maintains referential integrity by enforcing
constraints defined during table creation (e.g., FOREIGN KEY constraints).

4. Differentiate between one to one relationship and one to many relationship. Give suitable examples
to explain your answer.
Ans.

• One-to-One Relationship: Each record in Table A relates to one and only one record in Table
B, and vice versa.
Example: A Person table and a Passport table. Each person has one unique passport, and
each passport belongs to one person.
• One-to-Many Relationship: One record in Table A can relate to multiple records in Table B, but
each record in Table B relates to only one record in Table A.
Example: A Customer table and an Orders table. A customer can place multiple orders, but
each order is associated with only one customer.

5. Explain many to many relationship with an example


Ans.
• A Many-to-Many Relationship occurs when multiple records in Table A are associated with
multiple records in Table B.
Example:
Consider a Students table and a Courses table. A student can enroll in multiple courses, and each
course can have multiple students. To implement this relationship, a junction table (e.g., Enrollment)
is used, which contains foreign keys from both tables:
Students: (StudentID, Name)
Courses: (CourseID, CourseName)
Enrollment: (StudentID, CourseID)

ANSWERS

A. Multiple choice questions

1. (d) 2. (c) 3. (b) 4. (b) 5. (b) 6. (b) 7. (c) 8. (a) 9. (c) 10. (d)

B. State whether the following statements are True or False

1. False 2. True 3. False 4. False 5. True 6. True 7. False 8. False 9. True 10. False

C. Fill in the blanks

1. Design

2. common field

3. one-to-one

4. one-to-many

5. transaction, master

6. referential integrity

7. relationship

8. DBMS

9. Many-to-many

10. 10.
Chapter 11. Queries in Base
• Multiple choice questions

1. Which of the following is refer to asking questions from the database?


(a) Report
(b) Table
(c) Query
(d) Database

2. Which of the following are the ways to design a query?


(a) Wizard
(b) Design View
(c) SQL
(d) All of the above

3. Which is a flexible way to create a query?


(a) Wizard
(b) Design View
(c) Both (a) and (b)
(d) Neither (a) nor (b)

4. Into how many parts is the query design window divided?


(a) One
(b) Two
(c) Three
(d) Four

5. Which of the following is NOT true about queries?


(a) It can be created using multiple tables
(b) Multiple queries can be created in a database
(c) A query can run multiple times
(d) A query once created cannot be edited

6. Which of the following is the shortcut key to run the query?


(a) F3
(b) F4
(c) F5
(d) F6
7. Which of the following functions can be performed on numerical data while designing a query?
(a) Sum
(b) Minimum
(c) Maximum
(d) All of the above

8. In a Query Design wizard, which of the following buttons is clicked to move a field from ‘Available
fields’ list box to ‘Fields in the query‘ list box?
(a) >
(b) < 9
(c) ∨
(d) ∧
9. Which of the following relational operators can be applied to set the criterion while designing a query
in LibreOffice
Base?
(a) >
(b) =
(c) !=
(d) Add Form

10. Which of the following dialog box is present when the Query Design window is opened for the first
time to design a query?
(a) Add Table
(b) Add Query
(c) Add Table or Query
(d) None of the above

11. Which of the following step is not performed if there is no numerical data to be worked upon in a
query?
(a) Selection of fields
(b) Giving Aliases
(c) Summarizing
(d) Selection of tables

• State whether the following statements are True or False

1. You can run a query only once


2. A query cannot be created from multiple tables
3. The shortcut key to run a query is F5.
4. LibreOffice Base provides us with two ways to create a query.
5. A query with numerical data cannot be saved.
6. By default the query result is not sorted.
7. A query can be used to display the average value of a numerical field.
8. While designing a query, the criterion can be set on only one field.
9. Alias is an alternative name for a field in a query.
10. In query Design window, the visible check box is selected by default.
11. A query once created using a wizard can only be edited in the Design view.

• Fill in the blanks

1. A ____________ is a sort of question asked from a database.


2. The result of the query is displayed in ____________ form with field names in columns
3. A query can be created in ________ways.
4. The Query Design window is divided into __________ sections.
5. The shortcut key to run the query is ______________.
6. The conditions to filter the records are set in the _________ row.
7. When a table is selected in a Query wizard, the corresponding f ields are displayed in
the__________________list box.
8. The result of the query can be displayed in __________ or _____________ order of any particular field
of the table.
9. At the most __________ search conditions can be given in the query wizard.
10. The last step of the Query wizard displays the entire ____________ of the query.
11. The _____________ view is a more flexible method to create a query.
12. To edit any query, right click on the ________ icon of the query that has to be edited.
13. In the _____________ row of the Query Design grid, we can type the column heading that will be
displayed instead of field name when we run the query.

• Answer the given questions

1. Define a query? What is the need of creating a query in a database?


Ans.
A query is a request to retrieve specific data from a database by applying certain criteria or conditions.
Queries help extract meaningful information from large datasets.
Need for creating a query:
• To filter and retrieve specific records based on conditions.
• To perform calculations and summarize data.
• To view data from multiple related tables.

2. Rearrange the steps given below so as to create a query using a wizard.


• Give Alias
• Select the fields
• Set the criterion
• Set the sorting order
• Give table name
Ans.
• Give table name
• Select the fields
• Set the sorting order
• Set the criterion
• Give Alias

8. What all information is seen in the overview (last step) of the Query wizard?
Ans. In the overview step, you can review the following:
• Selected fields
• Applied sorting order
• Criteria for filtering records
• Alias names (if any)
• The query structure before running it.

9. What is the use of Alias row in the Design grid of the Query Design window?
Ans.
The Alias row is used to provide alternate names for columns in the query output. This is useful for
improving readability or when column names are too long or technical.

10. Name any four mathematical functions that can be applied to numerical data in a query.
Ans.
• SUM(): Adds up values in a column.
• AVG(): Calculates the average of values.
• MIN(): Returns the smallest value.
• MAX(): Returns the largest value.
11. Name the three ways of creating a query in LibreOffice Base?
Ans.
• Using Query Wizard
• Using Design View
• Using SQL View

ANSWERS

Multiple choice questions

1. (c) 4. (b) 7. (d) 10. (c) 2. (d) 5. (d) 8. (a) 11. (c) 3. (b) 6. (c) 9. (d)

B. State whether the following statements are True or False

1. False 2. False 3. True 4. False 5. False 6. True 7. True 8. False 10. True 11. True

C. Fill in the blanks

1. Query

2. Report

3. Three

4. two

5. F5

6. Criterion

7. Available fields

8. ascending, descending

9. three

10. Overview

11. Design

12. Query

13. Alias
Chapter 12. Forms and Reports

• Multiple choice questions

1. Which of the following toolbars contains the Label tool?


(a) Standard Toolbar
(b) Forms Controls Toolbar
(c) Records toolbar
(d) Formatting toolbar

2. The Record toolbar has the buttons to move to the


(a) first record
(b) second record
(c) last record
(d) all records

3. Which of the following is NOT true about forms?


(a) It is the front end for data entry
(b) It can contain only text fields
(c) Graphics can be inserted on the form
(d) It can contain only fixed number of record

4. Which of the following keys is pressed to select only textbox on the form?
(a) Alt
(b) Shift
(c) Ctrl
(d) Tab

5. Which of the following properties in the Properties: Label Field text box is used to insert a tool-tip on the
form?
(a) Tool Text
(b) Help Text
(c) Tool Tip
(d) Help Tip

6. Which of the following objects of LibreOffice Base is used to display data retrieved from one or more tables
in a presentable manner?
(a) Query
(b) Form
(c) Report
(d) Panel

7. Which of the following values of Date Format property is selected to view a calendar on the form?
(a) Standard (short)
(b) Standard (long)
(c) Default
(d) Standard (Medium)
8. Which of the following commands on the Forms Control toolbar is used to toggle between Design View and
Form view?
(a) Design Mode
(b) Toggle Mode
(c) View Mode
(d) Print mode

9. Using which of the following objects in a database, can a report be generated?


(a) Tables
(b) Queries
(c) Both a and b
(d) Neither a nor b

10. Which of the following components open along with the Report Wizard?
(a) Report Builder
(b) Add Fields dialog box
(c) Both (a) and (b)
(d) Neither (a) nor (b)

• State whether the following statements are True or False

1. Report is an object of a database but form is not.


2. We can choose the layout of the form.
3. We have to add all fields of the table on the form.
4. There are two ways n which a form can be created.
5. A report is generated in a separate window.
6. Once a control is added on to the form, it cannot be re-positioned.
7. The Record toolbar has the button to add a new record.
8. We can create a report only using a table.
9. By default, the records in a report are sorted in descending order.
10. We can group data based on a particular field in a report.
11. A report can have data only in row and column format.
12. We can insert both date and time of generation of report.
13. A report once created cannot be edited.

• Fill in the blanks

1. A form can be used for ____________ and _____________.


2. Each field control consists of a ____________and ________________
3. A ________________ is a piece of text that specifies the data that should be entered in the field value text
box.
4. By default the border of the field text value is displayed in _________.
5. A ____________ is a small piece of text that is displayed when the mouse pointer is placed on a particular
control on the form.
6. The default orientation option for a report is _______________.
7. A ____________ is the manner in which the labels, field values, titles etc. will be displayed in the report.
8. The option to insert date and time in the report is present in ___________ menu.
9. A Report Wizard contains _____________ steps.
10. A _______ type of report changes automatically as the field values in the base table or query change.
• Answer the following questions

1. Give one difference between a form and a report.


Ans.
Form: Used to enter, edit, and view data interactively in a database.
Report: Used to display and print data in a formatted, organized manner for analysis or presentation.

2. What is a field control with respect to forms?


Ans.
A field control is an interactive element in a form that allows users to input, view, or edit data for a specific
field in a table. Examples include text boxes, combo boxes, and checkboxes.

3. Which tool on the Forms Record toolbar is used to insert text on the form?
Ans.
The Label Field tool is used to insert static text on the form, such as titles, descriptions, or instructions.

4. Name the two ways to create a form in LibreOffice Base.


Ans.
• Using Form Wizard
• Using Design View

5. What is the difference between a static and a dynamic report?


Ans.

• Static Report: Displays data as it was at the time of report generation. It does not change unless
manually updated.
• Dynamic Report: Automatically updates to reflect any changes in the underlying database data
whenever it is opened or refreshed.

6. Write the function of Forms Controls toolbar and Records toolbar.


Ans.
• Forms Controls Toolbar: Provides tools to add and manage various control elements (e.g., text
boxes, buttons, combo boxes) in a form for data input and interaction.
• Records Toolbar: Offers navigation and manipulation options for records, such as moving between
records, adding new records, deleting records, and saving changes.

ANSWERS

A. Multiple choice questions

1. (b) 6. (c) 2. (d) 7. (b) 3. (b) 8. (a) 4. (c) 9. (c) 5. (b) 10. (c)

B. State whether the following statements are True or False

1. False 2. True 4. True 7. True 5. True 8. False 3. False 6. False 9. False

10. True 11. False 12. True 13. False

C. Fill in the blanks

1. Enter, view data


2. label, field value

3. label

4. 3D

5. tool tip

6. landscape

7. Layout

8. Insert

9. Six

10. dynamic

You might also like