Ch9 class x
Ch9 class x
2. A currency data type can only store monetary data that is in dollars.
(a) True (b) False (c) Neither a nor b (d) Both a and b
(a) Date (b) Time (c) Both date and time (d) Neither date nor time
6. The related objects of a database can be seen in ____________ pane of the Base
Database window.
(a) Database (b) Task (c) Title Bar (d) Menu Bar
8. The Design view of Table Creation window in LibreOffice Base is divided into ______
sections or panes.
9. While entering records in a table, we can move to the next field by pressing the
_________ key.
3. A Boolean data type can have two or more than two values. [F]
9. A table once created in a database cannot be edited. 10. Sort dialog box can only help to sort data
in ascending order.[F]
1. Differentiate between:
Memo: Data type LONGVARCHAR. It stores up to the maximum length indicated by user. It is used to
store some descriptive data having more than 255 characters. Memo data type allows to store text
data up to 64,000 characters.
Varchar : Stores upto the specified length. The number of bytes allocated depends on the number
of characters entered by the user. For example, the address is defined as varchar (50), and if the
address entered by the user is of 20 characters then only 20 bytes will be occupied in the database.
Number and decimal both come under Numeric Data type, number data type can contain
numbers and decimal data type is used to store decimal values.
In LibreOffice base, design view is used to create, modify or delete the structure of the
table and the datasheet view displays the actual data within a table in the form of row and
column.
Title Bar – The title bar displays the name of a database. The windows buttons to maximize,
minimize or close are located on the right corner of the title bar.
Menu Bar – The menu bar appears below the title bar. It consists of seven menu items –
File, Edit, View, Insert, Tools, Window and Help. All these menu items contain commands
that help to perform various operations on the database.
Standard Toolbar – It is located below the menu bar. It is used to access frequently used
tools like save, do/undo etc.
Status Bar – It is located at the bottom of the interface window. It displays information
about the type of view of the object in the database.
Database Pane – The database pane is located on the left side of the window. LibreOffice
Base is the collection of related data objects known as Tables, Forms, Queries, Reports and
application modules.
To make a particular field as the primary key, place the mouse pointer before the field name and
right click. A pop up menu appears→ Select the Primary Key option.
A key icon appears before the field name indicating that it is a primary key.
Step 1. Open the Event table in datasheet view and select the field on which you want to sort. Select
the field.
Step 2. From the tool bar click Sort Ascending icon / Sort Descending icon to sort field in
ascending or descending order.
Step 3. The table will be sorted in the ascending order / descending order.
To navigate through various records of the table, we use the navigation box present at the bottom of
the datasheet window. It indicates a current record of the table at any given time.
To delete any record from the table, open the table and select the record to be deleted. The
record can be deleted
or
Or
by right clicking on the record and clicking on the Delete Rows option from the pop up
menu.
Attempting to delete the record will display the Confirmation box, Clicking on Yes button
will finally delete the record, while clicking on the No button will not delete the record.
Assignment
1. Label the components – Title Bar, Database Pane, Tasks Pane, Status Bar of the
LibreOffice Base User Interface.
2. Fill in the blanks
1. A data type refers to the type of data that will be stored in that particular field.
6. ______________ on the Base Interface Window displays information about the type of
view of the object in the database.
7. A __________ icon appears before the field name indicating that it is a primary key.
9. The black pointing arrow just before the field name in a table is called ____________.
10. The process of arranging the records in particular order on any filed is called
_______________.