Using Openoffice Base: A. Multiple Choice Questions
Using Openoffice Base: A. Multiple Choice Questions
Using Openoffice Base: A. Multiple Choice Questions
b. Spreadsheet
c. Presentation
d. Database
c. Create a Query
d. Create a Form
b. Field
c. Both a and b
d. None of these
4. In which menu is the Delete Record option of the Data View window present?
5. What is the
a. File
Ans. b. Edit
b. Edit
c. Delete
d. Record
a. Current Record
b. Delete a Record
Ans. a. Current Record
c. Select a Record
c. Both a and b
d. None of these
b. Field
b. 3GB
c. 4GB
d. Infinite
8. Name the View that may be used to insert data into a table.
a. Data View
Ans. a. Data View
b. Design View
c. Both a and b
d. None of these
9. Which among the following field properties is used to specify the maximum number of characters
in a alphanumeric field type?.
a. Auto Value
Ans. b. Length
b. Length
c. Format
d. Default Value
10. Which among the following is not a part of editing a table structure?
a. Add fields into an existing Table.
c. Delete fields from an existing Table. d. Change the Field Type of a certain field in an existing Table.
Ans. b. Add records into an existing Table.
22
[False]
2. Scientific and Personal are the two categories of tables that you may work upon using Table Wizard.
[False]
3. The Data View of a Table allows you to enter data in a table.
[True]
4. The Design View gives you the opportunity to create a table structure from scratch and therefore
gives you more flexibility.
[True]
5. There is no data type to store numbers with decimal point.
[False]
[False]
7. The field type CHAR and VARCHAR are one and the same.
[False]
8. The Data View of a Table do not allow you to add a record at the end of the Table.
[False]
9. Once the data type of a field is specified and data is inserted to it, the field type cannot be changed
any further.
[False]
10. The Status Area of a Table displays the total number of records in the Table.
D. Answer the following questions:
[True]
Or in Design View
1. Start with OpenOffice Base, which in turn presents you with the Database Wizard. Select
open an existing database file.
2. Using the Recently used drop-down list shows all the recently used database file, which
you can select. The Open button uses the usual Open dialog that allows you to select a
database file.
3. Once you are done with the selection of a file click on the Finish button of the wizard to
open it.
It is used to indicate that the record is saved with the information displayed on the screen.
It is used to indicate that the selected record is being edited and the changes have not yet
been saved.
It is also used to indicate a blank record into which information for a new record can be
added to the table.
24
Edit menu in the main window. Alternately you may right-click on a Table in the Objects
Pane and from the popup menu that appears click on the Delete option.
E. Application-based questions:
1. Ms Poonam is the class teacher of III-C in a school. She is computer savvy and wants to keep
information about her students in a database. She needs this information for the following
purposes:
She has to contact the parents frequently through phone calls or email.
She has to keep comments about the students. These comments help her during PTMs.
Suggest any six fields and their data types to keep the relevant information.
Ans.
Field Name
Roll
Name
GName
Phone
Mobile
Email
Comments
Data Type
INT
VARCHAR
VARCHAR
BIGINT
BIGINT
VARCHAR
LONGVARCHAR or memo
Description
To store the roll number of the student.
Tos store the name of the student.
To store Guardians name
To store the Land Line Number if any
To store the cell phone number if any.
To store the email-id if any.
To store any comments about the child.
2. Look at the following fields which are used to keep voters ID card data in a table:
CardNo, VoterName, Address, FatherName, DOB
a. Suggest the data type for each of these columns.
b. Suggest the column name(s) which can be used as its primary key.
Ans. a.
Field Name
CardNo
Votername
Address
FatherName
DOB
Data Type
INT
VARCHAR
VARCHAR
VARCHAR
DATE
25
a. Table: Stock
ii. Keeps track of the product being purchased and also accordingly update the QTY in
stock.
Field Name
PID
PNAME
QTY
REORDER
PRICE
Field Type
CHAR
VARCHAR
INT
INT
FLOAT
Description
To store the product id.
To store the product name
Quantity in stock.
Quantity to mark the reorder level.
Cost Price of the product.
Table: Purchase
Field Name
PID
DOP
QTY
PRICE
REMARKS
Field Type
CHAR
DATE
INT
FLOAT
VARCHAR
Description
To store the product id of the product being purchased.
To store the date of purchase.
Quantity purchased.
Price at which the product is purchased.
Comments if any for the transaction
26