0% found this document useful (0 votes)
11 views4 pages

DMBS Notes

The document provides an overview of Database Management Systems (DBMS) using LibreOffice Base, covering key concepts such as primary and foreign keys, data types, and relationships between tables. It explains the advantages of DBMS, how to create queries, forms, and reports, and the importance of maintaining data integrity. Additionally, it outlines the differences between various data structures and functionalities within the software.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views4 pages

DMBS Notes

The document provides an overview of Database Management Systems (DBMS) using LibreOffice Base, covering key concepts such as primary and foreign keys, data types, and relationships between tables. It explains the advantages of DBMS, how to create queries, forms, and reports, and the importance of maintaining data integrity. Additionally, it outlines the differences between various data structures and functionalities within the software.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

DATABASE MANAGEMENT SYSTEM

using LibreOffice Base

Chapter 8 : Introduction to 5.How is primary key different from


Database Management System foreign key? Explain with Example.
1. Define the terms: Primary Key Foreign Key
a. Database: A Database is a collection P.K is used to A foreign key
of logically related data items stored in identify the establishes a
an organised manner. records in a table relationship
b. Data Redundancy: Data redundancy uniquely. between tables by
is when multiple copies of the same referencing the
information are stored in more than PK of another
one place at a time. table.
c. Report: The Report helps us to The field It can contain
present the retrieved data in a user designated as PK duplicate values.
friendly, understandable and formatted must contain
manner. Unique values.
2. Give one point of difference between: It cannot contain It can contain
a. Data and Information NULL values NULL values.
Data Information A table can have A table can have
The raw facts Information is the only one PK more than one
constitutes data processed or FK.
oraganised form Ex:
of data. House table
b. Form and Query House Hname
Form Query Code Primary Key
Form is the user- A query is used to H1 Blue
friendly data retrieve desired H2 Green
entry screen that information from H3 Red
allows to enter the database based H4 Yellow Foreign
the data in the on some criteria. Key
table easily by any
user.
c. Network and Hierarchical data Student table
model AdmNo Name Class House_Code
Network Data Hierarchical 101 Raju 6 H1
model Data model 102 Ramu 7 H2
In Network Data In Hierarchical 103 Seeta 6 H3
model, multiple Data model, the 104 Neeta 7 H1
records are lined data is organised 105 Shiva 8 H4
to same master into a tree like
file. structure. The data 6. What is Candidate Key?
is stored in the ----- Refer Pg.No. 151 -----
form of linked
records. 7. What is Alternate Key?
----- Refer Pg.No. 151 -----
3.Give any four advantages of a DBMS.
----- Refer Pg.No. 146 ----- 8. Write about the Objects of the
database/ Objects of an RDBMS.
4. Relational Database Terminology ----- Refer Pg.No. 151,152 -----
----- Refer Pg.No. 149,150,151 -----

Page 1 of 4
DATABASE MANAGEMENT SYSTEM
using LibreOffice Base

Chapter 9 : Starting with o Place the mouse pointer before


LibreOffice Base the field name and right click.
1. Differentiate between: o A pop-up menu appears
a. Memo and Varchar data type
Memo Varchar o Select the Primary Key option
Memo is used to It is used for from the pop-up menu, a key icon
some descriptive relatively short appears before the field name
data. entries. indicating that it is a Primary Key.
It can store more Varchar stores
than 255 upto the specified 4. Write the steps to sort the table in
characters. Memo length. The descending order of Primary Key.
data type allows to number of bytes 1. Open the table in datasheet view and
store text data allocated depends select the Primary key field which you
upto 64,000 on the number of want to sort.
characters. characters entered 2. From the tool bar click Sort
by the user. Descending icon to sort in descending
order of selected field.
b. Number and Decimal 3. The table will be sorted in the
Number Decimal descending order of Primary Key.
Number data Decimal data type
5. What is the use of navigation box with
types is used to includes decimal
respect to tables in a database?
store integers or places, making it
The navigation box is used to navigate
whole numbers. ideal for financial
various records of the table. Navigation
calculation or any
box is present at the bottom of the
calculation
datasheet view.
requiring precision.
6. What do you mean by Data type?
c. Design View and Datasheet view
And explain the different types of
Design View Datasheet view
data types in Base.
The Design view The Datasheet ----- Refer Pg.No. 157 to 159 -----
allows you to view is used to
view and modify enter the data into 7.In how many ways a table can be
the structure of the table. created in database and what are
your table and to they?
set field A table in a database is created in Three
properties. ways. (a)Creating table using a Wizard
(b)Creating table in Design view
2. Name the menu items present on the (c)SQL view
Base User interface.
The menu items present on the Base User
interface are:
File, Edit, View, Insert, Tools,
Window, Help

3. How can we define a Primary key in a


table?
Every table must have Primary key that
uniquely identifies a record in a table.
To make a particular field as the Primary
key,
Page 2 of 4
DATABASE MANAGEMENT SYSTEM
using LibreOffice Base

Chapter 10 : Working with 5. Explain Many-to-many relationship


Multiple Tables with an example.
1. Give any two advantages of relating a In this type of relationship, there will be
table in database. multiple records in master table that
Advantages of relating a table in a correspond to multiple records in the
database are: transaction table as well.
----- Refer Pg.No. 177 to 178 ----- Ex: Refer Pg.No. 177 image with
content
2. How is redundancy or inconsistency
controlled in a database? Explain with 6. What are the options that LibreOffice
example. Base gives us to maintain Referential
Relations are set up between the tables to Integrity? Explain.
control data redundancy and Ex: Refer Pg.No. 177 image with
inconsistency. This helps in proper content
maintenance of a database by checking
that neither the records are duplicated not Chapter 11 : Queries in Base
there is variable data value for a particular 1. Define a Query. What is the need of
field in two or more tables. If you set up creating a query in a database?
relations between tables, then adding or Query: Query is used to retrieve the data
updating a record in one table reflect the from the database as per your
changes in all the related tables. requirement by providing the desired
specifications. Depending upon given
3. Define Referential Integrity. Who specifications, the specific records are
maintain Referential Integrity in a searched from the database and then
database? displayed in the desired manner.
Referential Integrity is used to maintain Need of creating a query in a
accuracy and consistency of data in a database: As the number of records
relationship. According to the principle of increases, finding the desired
Referential integrity, no unmatched information in a database become
foreign key values should exist in the difficult. By using queries, we can
database. retrieve the data without going
The Referential Integrity in a database is individually through each record in the
maintained by DBMS. table(s) and also display them in desired
format.
4. Differentiate between One-to-one 2. What all information is seen in the
relationship and One-to-many overview (last step) of the Query
relationship. Give suitable examples wizard?
to explain your answer. The last step of the Query wizard
One-to-one One-to-many displays the entire Overview of the
In this type of In this type of query. It includes the following:
relationship, one relationship, one Name of the Query: If desired, type the
specific record of specific record of a new name in the text box.
a master table has master table has The action to be performed after the
one and only one more than one wizard finishes: By default Display
corresponding corresponding Query option will be selected. Click and
record in the record in the select the Modify Query radio button if
transaction table. transaction table. the query has to be edited in the Design
Ex: Refer Pg.No. 175 and 176 view.
Complete details of the Query: This
section contains a summary about the
query that has been created.
Page 3 of 4
DATABASE MANAGEMENT SYSTEM
using LibreOffice Base

3. What is the use of Alias row in the 4. Name the two ways to create a form
Design grid of the Query Design in LibreOffice Base.
window? There are two ways to create a form.
Alias row is used to display meaningful  Using a Wizard
names in the output. An Alias is an  Using the Design View
alternative name for a field in a query. 5. In how many ways a user can create
4. Name any four mathematical Reports in LibreOffice Base and
functions that can be applied to name them?
numerical data in a query. There are two ways to create a Report.
Mathematical functions that can be  Using a Wizard
applied to numerical data in a query are:
 Using the Design View
Count, Sum, Minimum, Maximum,
6. What is the difference between a
Average
static and dynamic report?
5. In how many ways a Query can be
Static Report Dynamic Report
created in LibreOffice Base and
Name them? Static Reports are Dynamic Report
A query can be created in three ways: the fixed snapshot updates
of data at a automatically based
 Using a Wizard,
specific time. on database
 In Design View changes.
 In SQL view In Static Report, as In Dynamic Report,
the field values in as the values in the
Chapter 12 : Forms and Reports the base table or base table or query
query changes, the changes, the report
1. Give one difference between a Form report will not will also change
and a Report. change automatically.
Form Report automatically.
Form is the user- The Report helps It contains pre- It reflects current
friendly data entry to present the defined set of data. state of the database.
screen that allows retrieved data in a It requires manual It gets updated
to enter the data user friendly, re-running or automatically based
in the table easily understandable and editing. on user interaction.
by any user. formatted manner. This is not the This is the default
default type of type of report.
2. What is a field control with respect to report.
forms?
A form contains field controls arranged 7. Write the function of Forms Controls
in a presentable and user-friendly toolbar and Records toolbar.
manner. Each field control consists of a Forms Control Toolbar: This toolbar
label and the field value text box. contains various controls that can be
A label is a piece of text that specifies added to the form. Ex: Adding a
the data that should be entered in the calendar to a date field, Adding text to
field value text box. the form, Adding a new record using a
A field value text box is linked to the form.
respective field in the table. Records Toolbar: The Records toolbar
contains the navigation control buttons
3. Which tool on the Forms Record in the extreme left. With the help of
toolbar is used to insert text on the these buttons we can move back and
form? forth and view the records in the file.
Text Box tool is used to insert text on
the form.

Page 4 of 4

You might also like