0% found this document useful (0 votes)
106 views

Database Management System

Uploaded by

sanjaysanket26
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views

Database Management System

Uploaded by

sanjaysanket26
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Database Management System

A. Multiple choice questions

1. Which of the following can be considered as an example of a database?

(a) Dictionary (b) Telephone directory (c) Marks Register (d) Newspaper

2. Which of the following is NOT a DBMS?

(a) MS Access (b) Open Office Base (c) MS Excel (d) MySQL

3. DBMS stands for ______________________.

(a) Data and Books Management System

(b) Database Management System

(c) Duplicate Books Management System

(d) Data Management Multi System

4. Which of the following data models sets a relation between the two or more tables?

(a) Relational Data Model

(b) Network Data Model

(c) Hierarchical Data Model

(d) Connection Data Model

5. The details associated with an entity are called ____________.

(a) Table (b) Attributes (c) Records (d) Primary key

6. A __________ is represented as rows in a table.

(a) field (b) attribute (c) record (d) candidate key

7. In which of the following forms can a data value be represented?

(a) Numeric (b) Character (c) Alphanumeric (d) All of the above

8. Which of the following uniquely identifies a row in a table?

(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.

(a) query (b) report (c) form (d) field

10. A _____________ is a question asked from a database.

(a) query (b) report (c) form (d) field

B. State whether the following statements are True or False

1. A database cannot be organized.


o False
2. Data is the collection of raw facts.
o True
3. A table can be created without a primary key.
o True
4. Two tables can be related in a network data model.
o True
5. MS Access is an example of a database.
o True

C. Fill in the blanks

1. The raw facts constitutes _____________.


o Data
2. An _____________ is a real world object about which information is to be stored in
a database.
o Entity
3. The output of a query may be displayed in the form of ________.
o Report
4. The data values for all the fields related to a person or object is called a _________.
o Record
5. All the field values that are eligible to be the primary key are the ___________ keys
for that table.
o Candidate
A. Multiple choice questions
1. Which of the following is NOT a type of text data type?
(a) Memo (b) Varchar (c) Float (d) Char

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

3. Which of the following data can a date data type store?


(a) Date (b) Time (c) Both date and time (d) Neither date nor
time

4. Which of the following is true about LibreOffice Base?


(a) It is a spreadsheet software
(b) It is free and open source software
(c) It can store only character data
(d) It is a licensed software.

5. Which of the following methods can be used to create a table in Base?


(a) Using a table wizard (b) Design View (c) Both a and b (d) Neither a nor 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

7. Which is the shortcut key to open an existing database?


(a) Ctrl+ D (b) Ctrl+O (c) Ctrl+E (d) Ctrl+F

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

10. Which of the following is true about primary key of a table?


(a) Every table must have a primary key
(b) The data values in primary key field cannot be duplicated.
(c) A primary key field cannot be left blank
(d) All of the above
**B. State whether the following statements are True or False**

1. **The text data can contain special characters.**


- True

2. **Memo data type can be used to store descriptive data.**


- True

3. **A Boolean data type can have two or more than two values.**
- False

4. **We cannot store audio data in LibreOffice Base.**


- True

5. **The properties of a field change according to the data type selected.**


- True

6. **Field description may or may not be entered while designing a table.**


- True

7. A table once created in a database cannot be edited.

 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.**

2. **The _____________ data is a combination of letters, numbers, or special characters.**


- Alphanumeric

3. **________ data type can be used to store Aadhar number.**


- Text

4. **The __________ data type used to store digitized images.**


- Binary (or Blob, depending on the specific database system)

5. **The shortcut key to save a table is _______________.**


- Ctrl + S
6. **______________ on the Base Interface Window displays information about the type of view of the
object in the database.**
- Status bar

7. **A __________ icon appears before the field name indicating that it is a primary key.**
- Key

8. **The data can be entered in a table only in __________ view.**


- Datasheet

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

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

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

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

True/False answers:

1. **Redundancy is preferred in a database.**


- False

2. **In a table, a record for a particular entity should not be repeated.**


- True

3. **A single field should always have only one data value.**
- True

4. **If a table is edited, the records already entered in it are deleted.**


- False

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

7. **The Relationship option is present in the Windows menu.**


- False
8. **In a database, the referential integrity is maintained by the user.**
- False (Referential integrity is often maintained by the DBMS through constraints and rules,
although users can set these constraints.)

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:

1. **A table to be edited is displayed in ___________ view.**


- Datasheet

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

4. **___________________ is one of the most common types of relationship between the


tables in a database.**
- One-to-many

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

8. **Data integrity is maintained by ______________.**


- The DBMS (Database Management System)

9. **A relationship between customers and products is an example of __________________


relationship.**
- Many-to-many
10. **The __________________ window is used to set relationships between the tables.**
- Relationships

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) >

(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

**B. State whether the following statements are True or False**

1. **You can run a query only once**


**False**. You can run a query multiple times as needed.

2. **A query cannot be created from multiple tables**


**False**. Queries can be created from multiple tables.

3. **The shortcut key to run a query is F5.**


**False**. The typical shortcut key to run a query in most database applications is often
**F5**, but it can vary depending on the software.

4. **LibreOffice Base provides us with two ways to create a query.**


**True**. In LibreOffice Base, you can create queries using the Query Wizard or the Query
Design view.

5. **A query with numerical data cannot be saved.**


**False**. Queries with numerical data can be saved just like any other query.

6. **By default the query result is not sorted.**


**True**. By default, the result of a query is typically displayed in the order it is retrieved from
the database unless sorting is explicitly specified.

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.

9. **Alias is an alternative name for a field in a query.**


**True**. An alias is a temporary name used for a field or table 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.

**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 **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.

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 **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

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 record

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
State true or false:

1. **Report is an object of a database but form is not.**


**False**. Both **reports** and **forms** are objects in a database. Forms are used for data
entry and interaction, while reports are used for presenting data.

2. **We can choose the layout of the form.**


**True**. You can choose and customize the layout of a form in database applications to
control how data is presented and how users interact with it.

3. **We have to add all fields of the table on the form.**


**False**. You do not have to add all fields of the table on a form. You can select which fields
to include based on your requirements.

4. **There are two ways in which a form can be created.**


**True**. Forms can generally be created using tools like a Form Wizard or Design View.

5. **A report is generated in a separate window.**


**True**. Typically, reports are generated and displayed in a separate window from the main
database interface.

6. **Once a control is added onto the form, it cannot be repositioned.**


**False**. Controls can be repositioned and resized on a form after they have been added.

7. **The Record toolbar has the button to add a new record.**


**True**. The Record toolbar includes buttons for navigating records, including adding new
records.

8. **We can create a report only using a table.**


**False**. Reports can be created using data from tables, queries, or a combination of both.

9. **By default, the records in a report are sorted in descending order.**


**False**. By default, records are usually not sorted unless specified; the default sort order is
often ascending if any sorting is applied.

10. **We can group data based on a particular field in a report.**


**True**. Reports can include grouping based on fields to organize and summarize data
effectively.

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.

13. **A report once created cannot be edited.**


**False**. Reports can be edited after creation to modify their design or data presentation.
**C. Fill in the blanks**

1. A form can be used for **data entry** and **data display**.

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

3. A **placeholder** 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 **gray**.

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.

6. The default orientation option for a report is **portrait**.

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

You might also like