0% found this document useful (0 votes)
60 views10 pages

Chapter 10 - 12 MCQ

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)
60 views10 pages

Chapter 10 - 12 MCQ

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/ 10

Chapter 10:-Working with Multiple Tables

Multiple choice questions


1.Which of the following actions can be performed once the tables are created in a database?

(a) Add a field in a table

(b) Rename a table

(c) Delete a table

(d) All of the above

2.Which of the following is checked by a DBMS?

(a) Redundancy

(b) Inconsistency

(c) Both (a) and (b)

(d) Neither (a) nor (b)

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


6. Consider the following tables. Which type of relationship can be established
between the two tables?
(a) One-to-one
(b) One-to-many
(c) Many-to-many
(d) None of the above
Table 1: Item Table 2: Item_Category

7. Which of the following menus contains the Relationship option?

(a) Edit
(b) File
(c) Tools
(d) View

8.The list of tables to be added is displayed in the dialog box in the Relationship Screen.

(a) Add Tables


(b) Add Databases
(c) Both (a) and (b)
(d) Neither (a) nor (b)

9.In the relationship design screen, the relationship between the two tables is done using
_______operation.

(a) Click
(b) Double Click
(c) Drag and Drop
(d) Right click

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
(d) Set Value

B. State whether the following statements are True or False

1. Redundancy is preferred in a database. Ans:False


2. In a table, a record for a particular entity should not be repeated. Ans:True
3. A single field should always have only one data value. Ans:-False
4. If a table is edited, the records already entered in it are deleted. Ans:-False
5. The record in master table should be entered before the corresponding record is
entered in the transaction table. Ans:-True
6. In one-to-many relationship, one specific record of the master table has more than one
corresponding records in the related transaction table. Ans:-True
7. The Relationship option is present in the Widows menu. Ans:-False
8. In a database, the referential integrity is maintained by the user. Ans:-False
9. A relationship is always set between the tables based on a common field. Ans:-True
10. If the master record is deleted, the transaction records will always be deleted Ans:-False

Fill in the blanks

1. A table to be edited is displayed in Design view.

2. The most important prerequisite for setting a relationship between the two tables is
that there must be a common field between them.

3. In one to one relationship, one specific record of a master table has one and only one
corresponding record in the transaction table.

4. one to many is one of the most common types of relationship between the tables in a
database.

5. A record being entered in a transaction table must always exist in a master table.

6. The principle of referential integrity helps prevent missing data by keeping deleted data
from getting out of synch.

7. Creating relationship between tables restricts the user from entering invalid data in the
referenced fields.

8. Data integrity is maintained by DBMS

9. A relationship between customers and products is an example of many to many


relationship.

10. The Relatioship design window is used to set relationships between the tables.
Chapter 11: Queries in Base
A. Multiple choice questions

1. Which of the following is refer to asking questions from the database?

(a) Report

(b) Table

(c) Query

(d) Database

2. Which of the following are the ways to design a query?

(a) Wizard

(b) Design View

(c) SQL

(d) All of the above

3. Which is a flexible way to create a query?

(a) Wizard

(b) Design View

(c) Both (a) and (b)

(d) Neither (a) nor (b)

4. Into how many parts is the query design window divided?

(a) One

(b) Two

(c) Three

(d) Four

5. Which of the following is NOT true about queries?

(a) It can be created using multiple tables

(b) Multiple queries can be created in a database

(c) A query can run multiple times

(d) A query once created cannot be edited


6. Which of the following is the shortcut key to run the query?

(a) F3

(b) F4

(c) F5

(d) F6

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) >
(b) < 9

(c) V

(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) All of the above

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


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 tables

B. State whether the following statements are True or False

1. You can run a query only once. Ans:-False

2. A query cannot be created from multiple tables. Ans:-False

3. The shortcut key to run a query is F5. Ans:True

4. LibreOffice Base provides us with two ways to create a query. Ans:-False

5. A query with numerical data cannot be saved. Ans:False

6. By default the query result is not sorted. Ans:-True

7. A query can be used to display the average value of a numerical field. Ans:-True

8. While designing a query, the criterion can be set on only one field. Ans:-False

9. Alias is an alternative name for a field in a query. Ans:-True

10. In query Design window, the visible check box is selected by default. Ans:True

11. A query once created using a wizard can only be edited in the Design view. Ans:-True

C. Fill in the blanks

1. A Query is a sort of question asked from a database.

2. The result of the query is displayed in report form with field names in columns

3. A query can be created in three ways.

4. The Query Design window is divided into two sections.

5. The shortcut key to run the query is F5.

6. The conditions to filter the records are set in the criterion row.

7. When a table is selected in a Query wizard, the corresponding fields are displayed in the
available fields 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.

10. The last step of the Query wizard displays the entire overview of the query.

11. The Design view is a more flexible method to create a query.

12. To edit any query, right click on the Query icon of the query that has to be edited.

13. In the Alias row of the Query Design grid, we can type the column heading that will be
displayed instead of field name when we run the query.

Chapter 12:Forms and Reports


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

2. The Record toolbar has the buttons to move to the

(a) first record

(b) second record

(c) last record

(d) all records

3. Which of the following is NOT true about forms?

(a) It is the front end for data entry

(b) It can contain only text fields

(c) Graphics can be inserted on the form

(d) It can contain only fixed number of records


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


9. Using which of the following objects in a database, can a report be generated?

(a) Tables

(b) Queries

(c) Both a and b

(d) Neither a nor b

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)

B. State whether the following statements are True or False

1. Report is an object of a database but form is not. Ans:-False

2. We can choose the layout of the form. Ans:True

3. We have to add all fields of the table on the form. Ans:-False

4. There are two ways in which a form can be created. Ans:-True

5. A report is generated in a separate window. Ans:-True

6. Once a control is added on to the form, it cannot be re- positioned. Ans:-False

7. The Record toolbar has the button to add a new record. Ans:-True

8. We can create a report only using a table. Ans:-False

9. By default, the records in a report are sorted in descending order. Ans:False

10. We can group data based on a particular field in a report. Ans:-True

11. A report can have data only in row and column format. Ans:-False

12. We can insert both date and time of generation of report. Ans:-True

13. A report once created cannot be edited. Ans:-False


C. Fill in the blanks

1. A form can be used for Enter and view Data.

2. Each field control consists of a label and a field value

3. A label is a piece of text that specifies the data that should be entered in the
field value text box.

4. By default the border of the field text value is displayed in 3D

5. A tool tip is a small piece of text that is displayed when the mouse pointer is
placed on a particular control on the form.

6. The default orientation option for a report is landscape.

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 insert menu.

9. A Report Wizard contains six steps.

10. A dynamic type of report changes automatically as the field values in the base
table or query change.

You might also like