6 Database and DBMS – An Introduction
Exercise
Objective
I. Choose the correct option: - [Answers Only]
1) Relational
2) Underscore (_)
3) A separate storage is required other than the hard disk.
4) reg no
5) ID
II. Fill in the blanks: [Answers Only]
1) database
2) table
3) records
4) querying
5) primary key
6) one
7) application
8) fields
9) primary key
10) some special
III. State whether the following statements are true or False:
[Answers Only]
1) True
2) False
3) False
4) False
5) True
6) False
7) False
8) True
IV. Identify valid and invalid field names and give reason for your
response if its invalid:
1. Name —
2. Father's name —
3. Date of birth —
4. Admission No. —
5. Blood Group —
6. Postal Address —
7. Contact No. —
8. E-mail ID —
V. Mention the data type (short text, long text, or number) for the
following fields and also indicate the primary key:
Ans:
Field Data Type
Index No
Name
English
Science
Hindi
HCG
Maths
Computer
Total
SUPW
VI. Name the following:
Ans:
1. Two DBMS packages :
(a) MS Access (b) Fox-Pro
2. Two components of a Table
(a) Field (b) Record
3. Two different views of a Table in a Database
(a) Datasheet View (b) Design View
4. Two ways to create a query In a Database
(a) Creating Query in Design View (b) Creating Query by
using Wizard
5. Three commonly used terms in MS Access
(a) Table (b) Primary Key (c) Query
6. Three different data types used in a Database table.
(a) Number (b) Currency (c) Short Text
Subjective
I. Define the following: -
1. Primary Key : Primary key is a unique field by which records are
identified in a table. For example, in a table of student's record, the
'Registration Number' can be called as the primary key.
2. Record : A set of fields related fields consisting of a horizontal line
in a table in a database is called a record.
3. Query : A query is a way of retrieving relevant data from a
database and analyzing it in different ways.
4. Field: The columns in a table contain a number of headings such as
first name, last name, address etc. These headings are known as
fields.
5. Report: The end product of data manipulation in DBMS as per the
user's choice is known as 'Report'. Report can be obtained as a hard
copy or a soft copy. Reports are usually created after making the
queries on the database.
VI. Answer the following: -
1. What is Database Management system? Name two DBMS
packages.
Ans: A collection of programs required to store and retrieve data
from a database is called Database Management System. It is an
application package which arranges all records in an orderly
manner so that the information can be accessed easily. Two
DBMS packages are MS Access and Fox-Pro.
2. Define Table with the reference to DBMS. Name the
different components of a table.
Ans: A table is used to store data in a database. A group of
related data is organised in columns (fields) and rows (records) in
a datasheet. A set of fields comprises a record and a set of
similar records make a table.
The different components of a table are:
1. Field
2. Record
3. Can you delete multiple records from a table? Justify.
Ans: Yes, we can delete multiple records from a table.
To delete multiple records, we can select multiple records by
using the Shift key and mouse pointer. Once the desired records
are selected, we can use the Delete key to delete the records.
4. Enlist the features of Data Base Management System.
Ans. The features of Database Management System are:
Ensures Data Security — The data in DBMS can be protected
by giving permissions and allowing access of database to
authorised users only.
Enforces Data Integrity — DBMS enforces data integrity such
that the data in a database is accurate by using various built-in
constraints or checks.
Minimises Data Redundancy — DBMS minimises duplication of
data by integrating and sharing data files.
Ease to update data — We can easily update the data of a
database as and when required.
Increases Data Consistency — If the data is stored at multiple
locations, it can sometimes lead to data inconsistency. DMBS
ensures that the data remains consistent throughout in a
database.
Improves Data Access — DBMS facilitates sharing and
retrieving of the data by multiple users through centralised
control over data.
5. Distinguish between Datasheet View and Design View.
Ans:
Datasheet View Design View
It is the default view
In this view, the records
of the table. It shows
are not visible. Only the
all the fields and the
field names and their
records as entered by
data types are visible.
the user.
6. Can you create more than one table in the same
Database? Explain.
Ans: Yes, we can create more than one table in the same
database. We can close one table and create another table in the
same database. To create another table, we can select 'Table'
from the 'Tables' group from the 'Create' tab on the menu bar.
The new table will open.
Rest of the questions are omitted.
=====***=====