T
Session1
Session 2
Stegs
Session 3
ie'dstiect cr
IntroducingDatabases
esch cond
Session 4
Chck here for
table wizard
Creating
Databaseand
Tables
Select the sor fing otder
tton
unctered
Creating/Editing
Tablesin
DesignView
Performing
Operationson
Tables
Selec sor-fe
here
Windowbelow
Session 5
535eril
System
Session 6
Su0a'ertvame
Database
Management
Address
QueriesinBase
Session 7
Session 8
StructuredQueryLangauge
FormWizard
Stess
SadaA Eritt
ReportWizard
Arranne the ontrole on yOr forn
Pheretnber
Choose an
arrangement
2.
1
11 Introduction
e SSi O n
Introducing Databases
earhing
Objectwes
A database refers to a collection of related data and a database system is basically a computer
based record keeping system. A database contains information about one particular enterprise
It maintains any information that may be necessary to the decision-making processes
involved in the management of that organization.
L2 Dotabase Functioning
A Database Functioning
AA Designing a Database
The intention of a database is that the same collection of data should serve as many
appications as possible. Hence, a database is often conceived of as the repository o
imformation needed for running certain functions in acorporation or organization. Sucn d
database would permit not only the retrieval of data but also the continuous modification or
data needed for control of operations.
A How Database Works
A Advantages of Databases
Ihus session is going to discuss the basics of databases and their functioning. This discussio
willlay foundation of BASE - the dbMS ofOpenOffice.org (O00)for you.
stored in two separate files
In a typical file-processing system, permanent records are
stored in various files. A number of different application
programs are written to extract records from and add records
to the appropriate files. But this schemné has a number of
major limitations and disadvantages, such as data redundancy
(duplhcation of data), data inconsistency, unsharable data,
unstandardized data, insecure data, incorrect data etc. A database
management system is answer to all these problems as it
provides acentralized control of the data.
128
DEF.
to
Database
the
refers
collection of interrelated data
and Database Managemen
System (DBMS)is a compute
that
program
database
etfectively
efficiently.
Imanages d
Forinstane, in a nesidential school, iftwofiles are being maintained - onefor school and
another
for hostel- it might create problems. As for the students wholive in hostel, their
records
ar
and
school file and hostel file. Now consider a situation, in
whicha
3.
A
R
B
138
Student Table
Figure 1.7showsa relationship between twotables.
4.
7
9.
Rollno
2
Name
Rohit
Kush
Mehul
Neha
Surabhi
heck Point
(a)
Address
Relationshio on the basis
of commo field rollno
M.Ngr
(a) Table
A. Garg
S.Ext.
P. Ganj
B. Ngr
See. for each roll no. in student table, there exists a
record in marks tabie also
(a) Data Redundancy
(C) Data Inconsistency
Duplication of data is known as
Data Redundancy
D.0.B.
(c) Data Inconsistency
12/10/92
18/02/93
Computer based record keeping system is knoWn as
(a)CRKS - Computerized ReCord Keeping System
(b) DBMS - Data Base Management System
(c) DMS - Data Managemnent System
(a) All of these
14/05/92
17/12/92
12/12/93
(b) Query
Marks Table
5. Multiple copies of same data that mismatch, are knoWn as
Rollno English
(a)Prinary key (b) Candidate key
1
2
3
5
Fiqure 1.7 A Relationship betweentwo tables.
A formal, presentable printed doCument that lists
(a) Table
30
(b) Data Repentance
(d) None of these
(c) Report
5. A field that uniquely identifies records in the table is known as
35
30
(b) Data Repentance
(c) Unique key
26
(d) None of these
(c) Table
40
INFORMATION TECHNOIo
datain formatte
(b) Query (c) Report
Namedcollection of fields which represent aconplete
(a) Field (b) Record
Maths
40
A
statement that gives you filtered data according to
your conditions and
(a) Table (b) Query (c) Report
Aninterface inuser-defined layout that lets users view,
(u) Table (b) Query (c) Report
50
30
36
46
unit of information
(d) Form
A storage container storing data pertaining to simple object, subject or
PurpOse is
known as
Science
40
42
35
28
40
(d) Special key
IIT
32
43
is called
(d)
None of these
29
32
38
(d) Form
in tables, knOwn
enter or change data
(d)Form
Way is
known as
(d) Form
Specitications,iscalled
4.
INTRODUCINGDATABASES
ina
tableis also knoWnas :
(a) A
reCOrd
(a)Table
I1
Whih
of the
following hoids a single piece of data ?
2
What
isthe
correct definition of primary key ?
i)Thefirstfield ina table
: Whatisthe
coorrect definition of foreign key ?
(0)A
tield
that contains unique datain each record.
) The
tield which we will usse to search with.
()A field
which contains numbers only.
The
common field of two tables.
i) The field same as primary key.
(b) Afieldthat contains unique data in each record.
(a) Alternate key
(b) A field
(c) Foreign key
(b) Record
: When a primary key Contains more than one field, it is known as
(a) Foreign key
lä) Afield that stores v
values coming from primary key of another table.
() Datatype
: Which is not true for a database file?
: What is used to uniquely identify each record in a table ?
(a) Each record may contain several fields
(b) Fields are organized in columns
i)Data types have to be declared in advance
la) Each field may contain several records
la) Purpose of database
(c) Field needed
(a) Lists
(o) Tables
(c) A data typ
(c) Field
While designing a database, we should keep in mind
a) It can print
reports.
What are the main building blocks of a database ?
retrieves data related toits queries.
(a) Field properties
(a) it
provides a relationship between integers.
(bj it
consists of Separate tables of related data.
Data should be organized intotables based on :
0Character lengths
a) All of
these
(b) Candidate key
(b}
Subjects associated with the real-data
(d) Comnposite key
Which offthe
following describes a relational database ?
(b) Field
(d)Primary key
(b) Tables required
(d) Allof them
(b) Queries
(d) Reports
(d) A tupie
(d) Form
UNIT:III : DATABASE MANAGEMENT SYSTEM
139
5.
R
T
B
140
21. Which ofthe following best describes a query ?
(a) A queryenables people to enter or view data in your database easilv
()A query summarizes and prints data.
(c) A query filters data from a database based on a criteria.
(d) Allof these
22. Which of the following best describes a form ?
(a) A
form enables people toenter or view data in adatabase easily.
(b) A form summarizes and prints data.
(c) A form filters data from a database based on acriteria.
(d) Allof these
23. Which of the following best describes a report ?
(a) A report enables people to enter or view data in a database easily.
(b) A report summarizes and prints data.
(c) A report filters data from a database based on a criteria.
(d) Allof these
24. A database table shouldalways contain
(a) images
(c) lots of ready made queries
25. Data in a database is stored in a
(a) table
(a) field
(a) record
26. A collection of data which is stored in alogical structure is known as a
(a) datatbase
27. One piece of data about a single person or thing is known as a
(a)table
(b) query
(a)query
(b) database
28. Allof the information about one person or one thing is known as a
(b) field (c) file
(b) file
29. Acollection of records on aparticular topic is stored as a
Create
(b) lots of records
(d) a key field
called a
(c) report
(b) record
key.
(c) record
(b) report
databases.
(c) field
tohelp ensure data integrity.
31 To organize the different tables of related data, a relational
INFORMATION TECHNOLOGA)
(c) folder
30. Tofind a particular record or set of records in a database you would use a
(c)table
(d) search
(d) table
(d) database
32. To display data in a specific format or distribute a summary of data,
33. To get data input from user in a well-organized,formatted way on screen,
34. In the database view of a relational database, a row of information is called a
(d) record
(d) field
35. To control how information is entered into adatabase, programmers and database
administrators
(d) relationship
is used.
are created.
36. In arelational database, a common fieldthat linkstwotablesin arelationshipbut not a|
primary
key
is
areused.
37. The database use common fields to createlinks between tables, Thus Such databases
are
called
a
6.
Session
7:
INTRODUCING DATABASES
8
Primarykeyis usedto
39
40
A Foreignkeyislinkedto the primary key of the same table. T/IF?
is acollection of related information.
41. A
Database can have only onetable. T/F?
13
42.Ifa
piece of data (field-value)is stored in two places in the database, then storage space is wasted
and changing the data in one place will not cause data inconsistency. T/F
A5
A
field can storegroup of values. T/E
44. Ina
relationaldatabase, two tables cannot have a common field. T/F
A
foreign key is the primary key ofanother table, T/E
6 Formsare used for searching data in table. T/E
Competency Based GQuestions
(a) Relational
4 Akshat wants to store a huge amount of information about his firm in adatabase. Which type of
table organization would be most suitable for this purpose ?
(c)Either Relational or Flat file
identify the reCord in a table.
(a) Inconsistency
(c) Standardisation
ihis type of storing dataat multiple locations is known as data
. Juan has stored the datarelated to his work in multiple files. He did not realise that samne data
related to an important thing was stored in three different files separately.
Ihis problem is known as data
(a) Inconsistency
(c) Standardisation
uanhasstored the data related to his work in multiple files. He did not realise that same data
related to an importarnt thing was stored in three different files separately.
mdOahuge problem for Juan when he modified the data inone file while forgetting to
update other files.
(b) He
wants to club fields in a unique way.
(b)Flat File
(C) He wants
to create a field having a special
(d) He wants
tocreate a
(d)Hierarchical
only those
(b) Redundancy
Wants to create a foreign key ín each table.
values which are
(d)None of these
30. ToSupport and help Juan, his brother's friend Prabhnoor has come. Heexplained the need and role
of
database in Such a case. So headvised himto create tables such that there should be a way to
Tecognise each row of the table uniquely. What does Prabhnoor mean by this way ?
(a) prinary
()composite primary
uniquely), then thatfield must be declared as
(b) Redundancy
(d) None of these
. While designing the database, Prabhnoor suggested that if in atablethere is afield which must take
141
value in it.
primary key in each table.
[CBSE Sample Paper Term I, 2021-22]
key.
part of a field inanother table, (where it can recognise the records
(b) altermate
(d) foreign
UNIT III:DATABASE MANAGEMENT SYSTEM