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

Introduction To Database Management Using Openoffice Base: A. Multiple Choice Questions

This document contains multiple choice questions, fill in the blanks questions, true/false questions and long answer questions about OpenOffice Base and database concepts. It covers topics like what a database is, the different objects that can be created in a database like tables, forms, queries and reports. It also discusses what fields, records, primary keys, candidate keys and alternate keys are in relation to a database table.

Uploaded by

sidepic
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)
158 views

Introduction To Database Management Using Openoffice Base: A. Multiple Choice Questions

This document contains multiple choice questions, fill in the blanks questions, true/false questions and long answer questions about OpenOffice Base and database concepts. It covers topics like what a database is, the different objects that can be created in a database like tables, forms, queries and reports. It also discusses what fields, records, primary keys, candidate keys and alternate keys are in relation to a database table.

Uploaded by

sidepic
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/ 5

Chapter 4

3
Introduction to Database Management Using
OpenOffice Base
A. Multiple choice questions:
1. OpenOffice Base is a _______________ package.
a. Word Processor b. Spreadsheet c. Graphics d. Database
Ans. d. Database
2. Which among the following is not possible in DBMS?
a. The ability to update and retrieve data. b. Recovery of data
c. Support concurrent updates d. Create different charts.
Ans. d. Create different charts.
3. Which among the following is used to uniquely identify a record?
a. Primary Key b. Candidate Key c. Alternate Key d. Degree Key
Ans. a. Primary Key
4. The candidate key that do not form the primary key is called the _____________ key
a. Primary Key b. Candidate Key c. Alternate Key d. Degree Key
Ans. c. Alternate Key
5. The DBMS that forms the part of OpenOffice package is:
a. OpenOffice Writer b. OpenOffice Calc c. OpenOffice Impress d. OpenOffice Base
Ans. d. OpenOffice Base
6. Which of the following is the extension of OpenOffice database?
a. .base b. .dbms c. .odb d. .dbf
Ans. c. .odb
7. It is the left pane of OpenOffice window is called the ________________:
a. Objects Pane b. Database Pane
c. OpenOffice Writer Main window d. Forms Pane
Ans. b. Database Pane
8. Which of the following object cannot be created in the Database Pane?
a. Tables b. Forms c. Queries d. Fields
Ans. d. Fields
9. Name the object of a database that gives a windowed interface that you can create to manage or
manipulate data in a table or group of tables.
a. Tables b. Forms c. Queries d. Reports
Ans. b. Forms

17
10. Which among the following is true for registered database?
a. It allows the database to be a data source for other OpenOffice packages.
b. It does not allow the database to be modified after creation.
c. It does not allow report to be created.
d. It does not allow queries to be created.
Ans. a. It allows the database to be a data source for other OpenOffice packages.
B. Fill in the blanks:
1. A Table is a collection of data arranged in the form of row and column.
2. The number of columns present in the table is called its degree.
3. More than one field which is eligible to form the primary key are called candidate keys.
4. Reports are objects in a database that is used to display data in a printable format from a table or a query.
5. Queries are statements that you can use to filter out relevant data according to your need from a table.
6. The Primary key uniquely identifies a record in a table.
7. The Record is a row of data in a table.
8. The Field is a column of data in a table.
9. The extension of an OpenOffice Base files is .odb
10. The Task Pane shows what may be done for the corresponding selected object from the Database Pane.
C. State whether the following statements are true or false:
1. The number of records in a table is called its degree. [True]
2. The Database Wizard helps you in creating a database in OpenOffice Base. [True]
3. It is not possible to open an existing database using the Database Wizard. [False]
4. Several databases collectively forms a table in a DBMS. [False]
5. The Task Pane of the OpenOffice window is used to show what may be done for the corresponding
selected object from the Database Pane. [True]
6. Registering a database ensures that the data is available to other OpenOffice packages. [True]
7. Data arranged in row is called a field. [False]
8. The extension of a database file is .odx. [False]
9. Alternate keys are the fields that form the primary keys. [False]
10. The Cardinal number of a table is the number of fields in the table. [False]
D. Answer the following questions:
1. What is a Database?
Ans. A Database refers to collection of data stored in an organized manner, which may be used
structurally to provide you with information.
2. What is a DBMS? Give few examples of DBMS.
Ans. A Database Management System (DBMS) is a software package that enables you to store,
modify and extract information from a database.
Examples: OpenOffice Base, MySql, Microsoft Access, etc.

18
3. State the difference between a record and a field in a table.
Ans. Each row in a table is called a record (or tuple), which contains data interrelated to each
other.
The data content of a table represented by the column is called the field or attribute.
4. What is a table?
Ans. A Table is a collection of tabular data organized in the form of rows and columns.
5. “There may be more than one field which can collectively form the primary key” Illustrate with an
example.
Ans. For example, look at the following Student Table:

Roll Class Section Name Phone No.


1 1 A Sailendra Roy 9833478932
2 2 B Unesh Barman 7345566983
3 1 A Tamal Sharma 9223445567
2 1 B Satish Gupta 8834567892
3 2 B Sameer Ahmed 8243769345
As you can see field “Roll” cannot alone be the Primary key as it do not uniquely identify
each record. But if the fields “Roll”, “Class” and “Section” are combined, it can collectively
able to identify each record uniquely. Thus “Roll”, “Class” and “Section” collectively form the
primary key.
6. What is a relational database?
Ans. A Relational database is a collection of data organized as a set of structured tables from
which data can be accessed or reorganised with respect to relations between them in many
distinct ways without having to reassemble the database tables.
7. State the difference between Candidate and Alternate keys in a Table.
Ans. The fields which are eligible to become the primary key in a Table are called Candidate Keys.
Among the candidate keys that do not form the primary keys are called Alternate Keys.
8. State two functions of a Database Wizard.
Ans. The Database Wizard dialog of OpenOffice Base:
i. Allows you to quickly create a Database
ii. Open an existing database file.
9. What are the different type of database objects you can create using the Database Pane?
Ans. There are four different Database objects you can create using the Database Pane viz.:
(i) Tables (ii) Forms (iii) Queries (iv) Reports
10. State the significance of registering a database in OpenOffice Base.
Ans. Registering a database ensures that the database be a data source for other
 penOffice packages. For example in case you need to use a Base database as data source
O
for addresses in Writer for Mail Merge in OpemOffice Writer, you need to use a registered
database.

19
E. Application-based questions:
1. St. Lawrence school Amethi thought of computerizing the school into a database and has
thought of segregating the data into the following tables:

Student Teachers Non-teaching Staffs


a. Suggest at least five fields for the above tables.
b. State two advantages they would get in computerizing the school database.
Ans. a.
Table Student
Regno Name Class Section Address

Table Teachers
Tno Name Address Phone No Salary

Table Non-teaching Staffs


NTno Name Address Phone No Salary
b. Advantages of using computerised database:
(i) Computerised database will take less space compared to paper database.
(ii) Store student performance details and track their improvement.
2. Identify the Primary Keys, Candidate Keys and Alternate Keys from the following table structures:
a. An estate agent uses a table called Properties to store details of all the properties for sale.

Property Id House Number Locality Carpet Area Price Loan


Availability
Ans. Candidate Keys: Property Id, House Number
Primary Key: Property Id
Alternate Key: House Number
b. A school uses a table to store the marks obtained by the students.

Registration No. English Mathematics Science S.St. Percentage


Ans. Candidate Keys: Registration No.
Primary Key: Registration No.
Alternate Key: None
c. A school uses a table to store the information about students.

Class Section Roll no Reg.No. Name Address Phone Number


Ans. Candidate Keys: Reg.No., (Class, Section, Roll)
Primary Key: Reg No.

20
Alternate Key: (Class, Section, Roll)
d. A bank stores the details of its customers in a table called Accounts.

Ac. No. Ac. Type Name Address Balance PAN No.


Ans. Candidate Keys: Ac. No., PAN No.
Primary Key: Ac. No..
Alternate Key: PAN No.
3. Study the given table and answer the following questions:

Roll Numbers Names Addresses


1 Aditi Sharma Kolkata
2 Trilok Dewan Mumbai
3 Aswin Thakur Delhi
4 Ashis Karmakar Chennai
5 Saurav Agarwal Mathura
a. What is the cardinality the above table?
Ans. Cardinality=5
b. What is the degree of the above table?
Ans. Degree=3
c. What will be the change in cardinality and degree if 4 more records are added and 2 more fields
are added to the table?
Ans. Cardinality=9
Degree=5
d. Identify the primary key in the table.
Ans. Primary Key: Roll Numbers

21

You might also like