Unit 3 DBMS Worksheet
Unit 3 DBMS Worksheet
UNIT 3
INTRODUCTION TO RDBMS
1.
(a) Dictionary (b) Telephone directory (c) Marks Register (d) Newspaper
(a) MS Access (b) Open Office Base (c) MS Excel (d) MySQL
(a) Data and Books Management System (b) Database Management System
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
1
6. Which of the following uniquely identifies a row in a table?
(a) Primary key (b) Alternate key (c) Foreign key (d) Candidate key
4. The data values for all the fields related to a person or object is called a
_________.
D. Answer the following questions
1. Define the terms (a) Database (b) Data redundancy (c) Report
2
2. Give one point of difference between (a) Data and Information, (b) Form and
Query, (c) Network and hierarchical data model
3
4. How is primary key different from foreign key? Explain with example.
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
4
4. 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
6. The Design view of Table Creation window in LibreOffice Base is divided into
______ sections or panes.
(a) 2 (b) 3 (c) 4 (d) 5
5
D. Answer the given questions
1. Differentiate between: (a) Memo and Varchar data type
3. Label the components – Title Bar, Database Pane, Tasks Pane, Status Bar of the
LibreOffice Base User Interface.
6
4. How can we define a primary key in a table?
7
A. 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
3. 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
5. 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) (a) Neither (a) nor (b)
6. 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
8
C. Fill in the blanks
1. A table to be edited is displayed in ___________ view.
2. The most important prerequisite for setting a relationship between the two tables
is that there must be a ________________between them.
3. In ________________relationship, one specific record of a master table has one
and only one corresponding record in the transaction table.
4. ___________________is one of the most common types of relationship between
the tables in a database.
5. A record being entered in a _________ table must always exist in a ________
table.
6. Creating ____________ between tables restricts the user from entering invalid
data in the referenced fields.
7. Data integrity is maintained by ______________.
8. A relationship between customers and products is an example of
__________________ relationship.
9. The __________________ window is used to set relationships between the
tables.
D. Answer the following questions
1. Give any two advantages of relating a table in a database.
9
4. Differentiate between one to one relationship and one to many relationship. Give
suitable examples to explain your answer.
10
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
7. 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
8. 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
B. State whether the following statements are True or False
1. You can run a query only once .
2. A query cannot be created from multiple tables.
3. The shortcut key to run a query is F5.
4. A query can be used to display the average value of a numerical field.
5. While designing a query, the criterion can be set on only one field.
6. Alias is an alternative name for a field in a query.
7. In query Design window, the visible check box is selected by default.
8. A query once created using a wizard can only be edited in the Design view.
12
2. Rearrange the steps given below so as to create a query using a wizard.
3. What all information is seen in the overview (last step) of the Query wizard?
4. What is the use of Alias row in the Design grid of the Query Design window?
5. Name any four mathematical functions that can be applied to numerical data in a
query.
13
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 keys is pressed to select only textbox on the form?
(a) Alt (b) Shift (c) Ctrl (d) Tab
4. 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
5. 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)
3. Which tool on the Forms Record toolbar is used to insert text on the form?
TEXTBOX
4. Name the two ways to create a form in LibreOffice Base.
15