Database Management System
Database Management System
(a) Dictionary (b) Telephone directory (c) Marks Register (d) Newspaper
(a) MS Access (b) Open Office Base (c) MS Excel (d) MySQL
4. Which of the following data models sets a relation between the two or more tables?
(a) Numeric (b) Character (c) Alphanumeric (d) All of the above
(a) Primary key (b) Alternate key (c) Foreign key (d) Candidate key
9. A ___________is a feature of a database using which we can enter data in a table in an easy and user
friendly manner.
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
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.
(a) 2 (b) 3 (c) 4 (d) 5
9. While entering records in a table, we can move to the next field by pressing the _________ key.
(a) Tab (b) Ctrl (c) Enter (d) Shift
3. **A Boolean data type can have two or more than two values.**
- False
False
8. Sort dialog box can only help to sort data in ascending order.
False
fill-in-the-blanks:
1. **A data type refers to the type of data that will be stored in that particular field.**
7. **A __________ icon appears before the field name indicating that it is a primary key.**
- Key
9. **The black pointing arrow just before the field name in a table is called ____________.**
- Field selector (or sometimes, Field indicator)
10. **The process of arranging the records in particular order on any field is called _______________.**
- Sorting
3. Which of the following is required to set a relationship between the two tables?
(a) Both the tables must be in different databases
(b) Both the tables must have a common field
(c) Both the tables must have the same name
(d) Both tables must be stored in documents folder only.
4. If a record is added in a master table, which of the following is NOT true for transaction table
(a) The record in the master table is called the master record
(b) The corresponding record in transaction table can only be entered once.
(c) The record in the transaction table is called the transaction record.
(d) It is possible to add a record in the master table
5. Which type of relationship exists between a student and the subjects studied by him/her?
(a) One-to-one
(b) One-to-many
(c) Many-to-many
(d) All of the above
10. Which of the following is NOT an option that can be used to maintain referential integrity in a
database?
(a) No Action (b) Set NULL (c) Set Default
True/False answers:
3. **A single field should always have only one data value.**
- True
5. **The record in the master table should be entered before the corresponding record is entered in the
transaction table.**
- True
6. **In a one-to-many relationship, one specific record of the master table has more than one
corresponding record in the related transaction table.**
- True
9. **A relationship is always set between the tables based on a common field.**
- True
10. **If the master record is deleted, the transaction records will always be deleted.**
- False (This depends on the referential integrity constraints set, such as "Cascade Delete" or
"No Action".)
fill-in-the-blanks:
2. **The most important prerequisite for setting a relationship between the two tables is that
there must be a ________________ between them.**
- Common field
3. **In ________________ relationship, one specific record of a master table has one and only
one corresponding record in the transaction table.**
- One-to-one
5. **A record being entered in a _________ table must always exist in a ________ table.**
- Transaction, master
6. **The principle of _______________ helps prevent missing data by keeping deleted data
from getting out of synch.**
- Referential integrity
7. **Creating ____________ between tables restricts the user from entering invalid data in the
referenced fields.**
- Relationships
7. Which of the following functions can be performed on numerical data while designing a query?
(a) Sum
(b) Minimum
(c) Maximum
(d) All of the above
8. In a Query Design wizard, which of the following buttons is clicked to move a field from ‘Available
fields’ list box to ‘Fields in the query‘ list box?
(a) >
(c) ∨
(b) < 9
(d) ∧
9. Which of the following relational operators can be applied to set the criterion while designing a query
in LibreOffice Base?
(a) >
(b) =
(c) !=
(d) Add Form
10. Which of the following dialog box is present when the Query Design window is opened for the first
time to design a query?
(a) Add Table
(b) Add Query
(c) Add Table or Query
(d) None of the above
11. Which of the following step is not performed if there is no numerical data to be worked upon in a
query?
(a) Selection of fields
(b) Giving Aliases
(c) Summarizing
(d) Selection of table
7. **A query can be used to display the average value of a numerical field.**
**True**. Queries can perform aggregate functions like AVG to calculate averages.
8. **While designing a query, the criterion can be set on only one field.**
**False**. Criteria can be set on multiple fields in a query.
10. **In the Query Design window, the visible check box is selected by default.**
**True**. Typically, fields are visible by default, though this can vary depending on the
software and settings.
11. **A query once created using a wizard can only be edited in the Design view.**
**False**. A query created using a wizard can usually be edited in both Design view and SQL
view.
2. The result of the query is displayed in **tabular** form with field names in columns.
3. A query can be created in **two** ways (assuming the context is a specific software like
LibreOffice Base, which typically offers two primary methods: Query Wizard and Design view).
4. The Query Design window is divided into **several** sections (typically including the table list,
field list, criteria row, and output area).
5. The shortcut key to run the query is **F5** (assuming the context is LibreOffice Base).
6. The conditions to filter the records are set in the **Criteria** row.
7. When a table is selected in a Query wizard, the corresponding fields are displayed in the
**Field** list box.
8. The result of the query can be displayed in **ascending** or **descending** order of any
particular field of the table.
9. At the most **three** search conditions can be given in the query wizard (assuming the
context is the default limitations).
10. The last step of the Query wizard displays the entire **design** of the query.
12. To edit any query, right-click on the **query** icon of the query that has to be edited.
13. In the **Field** row of the Query Design grid, we can type the column heading that will be
displayed instead of the field name when we run the query.
A. Multiple choice questions
1. Which of the following toolbars contains the Label tool?
(a) Standard Toolbar
(b) Forms Controls Toolbar
(c) Records toolbar
(d) Formatting toolbar
4. Which of the following keys is pressed to select only textbox on the form?
(a) Alt (b) Shift (c) Ctrl (d) Tab
5. Which of the following properties in the Properties: Label Field text box is used to insert a tool-tip on
the form?
(a) Tool Text (b) Help Text (c) Tool Tip (d) Help Tip
6. Which of the following objects of LibreOffice Base is used to display data retrieved from one or more
tables in a presentable manner?
(a) Query (b) Form (c) Report (d) Panel
7. Which of the following values of Date Format property is selected to view a calendar on the form?
(a) Standard (short)
(b) Standard (long)
(c) Default
(d) Standard (Medium)
8. Which of the following commands on the Forms Control toolbar is used to toggle between Design
View and Form view?
(a) Design Mode (b) Toggle Mode (c) View Mode (d) Print mode
10. Which of the following components open along with the Report Wizard?
(a) Report Builder (b) Add Fields dialog box (c) Both (a) and (b) (d) Neither (a) nor (b
State true or false:
11. **A report can have data only in row and column format.**
**False**. Reports can present data in various formats, including tables, charts, and other
layouts.
12. **We can insert both date and time of generation of the report.**
**True**. Most reporting tools allow you to insert both date and time of report generation.
3. A **placeholder** is a piece of text that specifies the data that should be entered in the field
value text box.
5. A **tooltip** is a small piece of text that is displayed when the mouse pointer is placed on a
particular control on the form.
7. A **layout** is the manner in which the labels, field values, titles, etc. will be displayed in the
report.
8. The option to insert date and time in the report is present in the **Insert** menu.
9. A Report Wizard contains **several** steps (the exact number may vary, but it's typically
more than a few).
10. A **dynamic** type of report changes automatically as the field values in the base table or
query change.
Answer-many to many