Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
29 views

Database Management System Class 10 Notes

Uploaded by

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

Database Management System Class 10 Notes

Uploaded by

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

Database Management System Class 10 Notes

Data is most important for any organization or in a company, the organization’s primary objective is to store data,
manage data and retrieve data from computers and this is only possible with database management systems.

Chapter 8: Introduction of Database Management System

A database is an organized collection of data that is maintained electronically. Any kind of data like text, numbers,
pictures, videos and files can be stored in a database. This data can be stored, retrieved and edited using software
known as a database management system.

Data and Information

• Data – Data is a collection of facts which do not have any meaning. This data is unstructured information
such as numbers, text, symbols and images.

• Information – Information depends on data, this information has some meaning. This Information refers to
organized and structured data.

Databases and DBMS

• Database – A database is a collection of logically related data items stored in an organized manner, It is also
considered as a data bank.

• DBMS (Database Management System) – This software that is used to create, update and retrieve data is
known as database management system. Some of the common examples of DBMS are LibreOffice Base, MS
Access, Open Office Base, Oracle, MySQL.

Advantages of DBMS

• Organized Storage – In database data are stored in an organized manner, so that retrieval of the data is fast
and accurate.

• Data Analysis – In database you can retrive the data based on certain criteria for example average, maximum
or minimum value etc.

• Data Sharing – Databases can share the data with other applications.

• Minimal Data Redundancy – In database duplicate data is not allowed, it means that same data will not be
repeated in the table.

• Data Consistency – In database if any record is changed in any one of the tables then the same data will
update in other tables also.
• Increase Efficiency – In the database the data is organized which helps to retrieve and search data efficiently.

• Increases Accuracy – In the database the data is retrieved accurately from the database.

• Increases Validity – In the database the valid data is being entered and checked by the database.

• Security – Unauthorized access is not allowed in the database.

Data Models

A database can be designed in different ways dependent on data storage. This structure of the database is known as
a data model. The data models describe the relationships between the data.

There are different data models such as –

• Hierarchical data model

• Network data model

• Relational data model

Hierarchical Data Model

In Hierarchical Data Model the data is organized like tree structure and data is stored in the form of a table.

Network Data Model

In this model, multiple records are linked to the same master file. This network model is considered as a tree where
the master table present in the bottom and other tables linked to the master table.

Relational Data Model

In relational data models are based on relationships between two or more tables of the same database. This is the
most popular data model.

Relational Database Model

E. F. Codd given the concept of Relational Database Model in 1970. The most popular type of database model is the
relational model. In relational database models the data elements are stored in different tables, this table is related
through the common fields.

Relational Database Terminology

Some of the common terms used in RDBMS.

• Entity – Entity is a piece of data that is stored in the database, for example student rollno, name and age is
the entity of the student record.

• Table – Table is a collection of logically related records, It is organized as a set of columns.

• Field or Columns or attributes – The smallest entity in the database is known as field, a collection of fields is
known as record, a collection of records make a table and a collection of tables make a database.

• Data Values – Data values are raw data represented in character, numeric or alphanumeric.

• Record or Row – The collection of data values of all the fields are known as record.

• Primary Key – The field which uniquely identifies a row in a table. The primary key used to be a unique
identifier for the table.

• Relational Database – A relational database is a collection of related tables.


• Foreign Key – The field or a combination of fields of one table can be used to uniquely identify records of
another table, then that particular field is known as the foreign key.

• Candidate Key – All the field values that are eligible to be the primary key are the candidate key for that
table.

• Alternate Key – One or two fields in the table are made as primary key but others are the alternate key.

Objects of an RDBMS

The database is a collection of object or a feature that is used to store, represent or retrieve data, different types of
objects in a database are given below –

• Table – Table is a collection of row and column which is used to store data. The data in the database is first
stored in a table.

• Form – A form is used to enter data in a table, form is the interface between database and users, it is an
easiest method to enter data in database using user friendly manners. A form consists of a text box, radio
button, labels, check box etc.

• Queries – Queries are used to retrieve the desired result from the database.

• Reports – The output of any query in the database may be displayed in the form of reports.

Chapter 9: Starting with LibreOffice Base

Data Types

A data type refers to the type of data that will be stored in that particular field. The memory size of a field varies
according to its data type. There are six different types of data type in LibreOffice Base –

• Text Data Types

• Numeric Data Type

• Currency Data Type

• Date Data Type

• Boolean Data Type

• Binary Data Type

Text Data Types

The text data consists of a mix of special characters, numbers, and letters. With text data, no mathematical
operations may be carried out. PAN card numbers, names, marks, and other data types are examples of text data.

The lists of various data types that can store textual data –

Name Data Type Description

Memo data type allows to store text data up to


Memo LONGVARCHAR
64000 characters.

Character data type is used to enter fixed number of characters


Text(fix) CHAR
for example AADHAR NO, ACCOUNT NO, PASSPORT NO etc.
Name Data Type Description

Stores upto the specified length, the number of bytes allocated


Text VARCHAR
depends on the number of characters entered by the user.

Numeric Data Type

Numeric Data type contains numbers. The number can be integer, real, float or double.

Name Data type Signed Range

Tiny Integer TYNYINT No 0-255

Small Integer SMALLINT Yes -32768 to 32768

Integer INTEGER Yes -2.14×109 to 2.14×109

BigInt BIGINT Yes -2.3×1018 to 2.3×1018

Number NUMERIC Yes Unlimited

Decimal DECIMAL Yes Unlimited

Float FLOAT Yes

Real REAL Yes 5×10(-324) to 1.79×10(308)

Double DOUBLE Yes

List of different numeric data types are –

Currency Data Type

Currency Data type contains monetary values and can store currencies of different countries.

Date Data Type

This data type is basically used for date and time. There are various formats used to store date and time.

List of various forms of date data types are –

Name Description

Date Stores the year, month and day as it is stored in the system.

Time Stores the time of the day as hour, minute and second.

Timestamp Stores date and time information at once.


Boolean

In boolean data type there are only two values – True or False, This also can be given in multiple formats like Yes/No,
True/False, On/Off.

Binary

The binary datatype is used to store digital images and sounds.

Starting with LibreOffice Base

LibreOffice base is a database management software belonging to LibreOffice suite, It is free and open source
software for creating and managing data. It also allows you to create a query for retrieving desired results from the
database.

Steps for starting LibreOffice Base –

• Step 1: Click on Start > LibreOffice base

• Step 2: In Database Wizard, Click on Create a new database

• Step 3: After Creating a new database, Click on Yes, register the database for me

• Step 4: Click on Finish, Now your database will be created

Creating a Table

After creating a database now you will start working with objects of the database, The first object we are going to
create is Create Table. There are two different method to create table –

1. Create Table using design View

2. Create Table using a Wizard

Creating Table in Design View

• Step 1: Click on Table

• Step 2: Click on Create Table in Design View

• Step 3: Enter Field Name, Field Type and Description

• Step 4: Click on Save

Steps for Creating Table using a Wizard

• Step 1: Click on Table

• Step 2: Click on Use Wizard to Create Table

• Step 3: Select the field which you want

• Step 4: Click on Finish

Chapter 10: Working with Multiple Tables

After creating tables in a database, you can also create relationships between two or more tables to control data
redundancy and inconsistency. When you create a relationship between two or more tables then adding or updating
a record in one table reflects the changes in all the related tables.

Master table vs Transaction table

If the School wants to manage student fees collection in a database, then they will create two tables, one for Student
Details and second for Free details, here the Student Details will be master table and Fee details will be transaction
table.
Relationships between Tables

A relationship is a connection between two or more tables that contain data, the relationships between tables are
based on a common field. This relationship helps to improve table structures and reduce redundancy of the data.

Types of Relationships

The relationships between two or more tables in a database is based on the number of records, Primarily there are
three different types of relationships that can be set up between two or more tables.

1. One-to-One

2. One-to-many

3. Many-to-Many

One-to-One relationship

In a One-to-One relationship, the master table and transaction table both have one record.

One-to-Many relationship

In a One-to-Many relationship, the master table having one record and transaction table having multiple records. This
is a very common type of relationship between the tables in the database.

Many-to-Many relationship

In a One-to-Many relationship, the master table has multiple records and the transaction table has multiple records.

Advantages of Relating Tables in a Database

1. A relationship helps to prevent data redundancy.

2. Relationships between tables help to restrict from entering invalid data in the referenced field.

3. It helps to prevent missing data by keeping deleted data from getting out of sync.

4. Any update in the master table is automatically reflected in the transaction tables.

Primary Key, Composite Primary Key and Foreign Key in a Database

In the RDBMS data can be integrated using keys. These are Primary Key, Composite Primary Key, and Foreign Key, Key
are used to make the relationship between the tables.

1. Primary Key – This unique field is called the Primary Key (PK). primary key is a field or a set of fields that
uniquely identify each record in a table. A primary key must be unique and cannot contain null values.

2. Composite Primary Key – A composite primary key is a primary key that consists of two or more fields that
together uniquely identify each record in a table.

3. Foreign Key – A composite primary key is a primary key that consists of two or more fields that together
uniquely identify each record in a table.

Referential Integrity

As per the principle rule of the database, no unmatched foreign key values should exist in the database. Referential
integrity processes concentrate on ensuring data consistency and the link between tables.

LibreOffice Base gives us following four options to maintain referential integrity –

1. No action – This is default option, This option states that no update or delete are allowed in the master table
if any related record exists in the transaction table.

2. Update cascade – This option allows to delete or update the referenced field but the related records that are
also available in any transaction tables will also be deleted or updated.
3. Set NULL – This option assigns NULL value to all the records in the master record that are deleted or
updated.

4. Set default – This option assigns a fixed default value to all the related fields if the master record deleted or
updated.

Chapter 11: Queries in Base

In the database data is stored in an organized manner which helps to retrieve data quickly and accurately. To search
and retrieve the desired data from the database, we have to give its specifications to DBMS. Such specifications are
given to the database in the form of queries.

Query

A query is the most important feature of DBMS. Query is a request for data, query helps to retrieve and display data
from one or more tables in a database. This is done by giving criteria to the DBMS.

A query can be created in three ways –

1. Using a Wizard

2. In Design View

3. In SQL view

Database Languages

Database Languages having two type:

1. DDL (Data Definition Language)

2. DML (Data Manipulation Language)

DDL Statements:

• Create: Using this statement, a database or set of tables can be created.

• Alternate: This statement is used to change the table’s structure.

• Drop: This statement is used to remove database objects from the system.

DML statements:

• SELECT: The statement “SELECT” is used to get data from the database.

• INSERT: The statement “INSERT” is used to add a new record to the database.

• DELETE: The database can be cleaned out by using the statement DELETE.

• UPDATE: This statement is used to modify the database’s information.

Select Statement

Select statement is most important for retrieving and for displaying data from a database.

Syntax of Select Statement is –

SELECT * FROM <TABLENAME>;

The SELECT statement has many optional clauses:

• WHERE specifies which rows to retrieve.

• ORDER BY specifies an order in which to return the rows.

Question 1 – Write a Query to display all record from the table;


Table Name – product

Product_No Product_Name Price Quantity

25 Soap 40 80

31 Powder 80 30

45 Shampoo 250 25

52 Soap Box 120 100

Answer: Select * from product;

Question 2 – Write a Query to display product name from the table;

Answer: Select Product_Name from product;

Question 3 – Write a Query to display Product_Name and Price from the table;

Answer: Select Product_Name, Price from product;

Question 4 – Write a Query to find the total no of quantity available in table;

Answer: Select sum(quantity) from product;

Question 5- Display the total amount of each item. The amount must be calculated as the price multiplied by
quantity for each item.

Answer: Select Product_No, Product_Name, Price * Quantity from product;

Question 6- Write a Query to display the product whose price is less than 90

Answer: Select * from product where price < 90;

Question 7- Write a Query to find the total amount of the Shampoo product;

Answer: Select Price*Quantity from product where Product_Name = ‘Shampoo’;

Question 8- Write a Query to display the data whose quantity is equal to 80.

Answer: Select * from product where quantity = 80;

Question 9- Write a Query to display a list of Products whose Price between 40 to 120.

Answer: Select * from product where Price >= 40 and Price <= 120;

Question 10- Write a Query to display the list of Product_Name in alphabetical order.

Answer: Select * from product order by Product_Name ASC;

Question 11- Write a Query to display the list of Price in descending order.

Answer: Select * from product order by Price DESC;

UPDATE statement

Update statement is used to update existing records present in database. The updated statement will apply using
WHERE clause.

Syntax of Update Statement –


UPDATE <table name> SET = value [, column_name = value ...] [WHERE ];

Table Name – product

Product_No Product_Name Price Quantity

25 Soap 40 80

31 Powder 80 30

45 Shampoo 250 25

52 Soap Box 120 100

Question – Write a Query to update the price of Shampoo in the product table.

Answer: Update product Set Price = 300 where Price = 250;

Question – Write a Query to update the Quantity of Powder in the product table.

Answer: Update product Set Quantity = 50 where Product_Name = ‘Powder’;

Chapter 12: Forms and Reports

LibreOffice Base provides the Form feature for data entry purposes and report feature for displaying the data.

Form

A form is a database object with a user-friendly interface that allows data entry and viewing in a visually attractive
and accessible method. It serves as the front end for entering and editing data into any database.

There are two ways to create a form:

1. Using a wizard

2. Using the Design View

Creating a Form Using a Wizard

Creating a Form Using a Wizard is the simplest way to create a form in LibreOffice base. To create a form using
wizard, follow the following steps.

• Step 1: Open Database

• Step 2: Click on Use Wizard to Create Form

• Step 3: Select the fields of your form

• Step 4: Decide if you want to set up a subform

• Step 5: Arrange the controls on your form

• Step 6: Select the data entry mode

• Step 7: Apply Style

• Step 8: Set the name of the form

• Step 9: Click on Finish

Forms Control Toolbar – This toolbar contains various controls that can be added to the form.
Records Toolbar – The Records toolbar contains the navigation control buttons in the extreme left.

Creating Reports using wizard

You can create report from the Report using a wizard. To create a report, follow the following steps –

• Step 1: Open Database

• Step 2: Click on Use Wizard to Create Report

• Step 3: Select, Which fields do you want to have in your report

• Step 4: Enter, How do you want to label the field

• Step 5: Add grouping levels in the Report Wizard

• Step 6: Select sort option according to the data

• Step 7: How do you want your report to look

• Step 8: Describe how you want to processed

• Step 9: Click on Finish


Database Management System Class 10 MCQ

Chapter 8: Introduction to Database Management System

1. Databases are being used to _.


a. Store
b. Manipulate
c. Manage
d. All of the above

1.

2. In Database which type of data we can store.


a. Text
b. Image
c. Audio and Video
d. All of the above

3. Data is a collection of _.
a. Raw facts
b. Table
c. Database
d. None of the above

4. The facts may be related to __.


a. Any person
b. Place
c. Activity or things
d. All of the above

5. Data can be processed in the proper way to generate meaningful __.


a. Data
b. Information
c. Database
d. None of the above

6. Which of the following is known as an organized form of data.


a. Data
b. Information
c. Database
d. None of the above

7. A _ is a collection of logically related data items stored in an organized manner.


a. Data
b. Database
c. Information
d. None of the above
8. Which of the following software is used to retrieve, update and create data in a database.
a. Database Management System (DBMS)
b. Data Manager (DM)
c. Database Manager (DM)
d. None of the above

9. Which of the following is a common example of DBMS.


a. MS Access
b. OpenOffice or LibreOffice Base
c. Oracle or MySQL
d. All of the above

10. The data in the database is stored in an __.


a. Organized manner
b. Tabular method
c. Both a) and b)
d. None of the above

11. A __ helps to analyze the data based on certain criteria.


a. Database
b. Digital Document
c. Impress
d. None of the above

12. What do you mean by Data Redundancy?


a. Same data will not repeated in several tables
b. It can create same data multiple times
c. Data can be shared to multiple users
d. None of the above

13. What do you mean by Data consistency?


a. Accuracy of the data
b. Reliability of the data
c. Uniformity of the data
d. All of the above

14. Database helps to maintain the same data across all the tables, this is known as _.
a. Data Redundancy
b. Data Sharing
c. Data Consistency
d. None of the above
15. Data redundancy and inconsistency can be minimized in a database which helps to increase.
a. Validity
b. Security
c. Accuracy
d. None of the above

16. The data is translated in such a manner in a database that unauthorized users are not able to read is known
as _.
a. Validity
b. Encryption
c. Consistency
d. None of the above

17. The structure of the database is known as _.


a. Data
b. Data Base
c. Data Model
d. None of the above

18. Which of the following data models is used in the database.


a. Network data model
b. Hierarchical data model
c. Relational data model
d. All of the above

19. In which data model the data is organized into a tree-like structure.
a. Network data model
b. Hierarchical data model
c. Relational data model
d. All of the above

20. In which of the following data models are used to link multiple records to the master file.
a. Network data model
b. Hierarchical data model
c. Relational data model
d. All of the above

21. In which data model is based on the principle of setting relationships between two or more tables of the same
database.
a. Network data model
b. Hierarchical data model
c. Relational data model
d. All of the above
22. Which of the following is the most commonly used database model in DBMS.
a. Network data model
b. Hierarchical data model
c. Relational data model
d. All of the above

23. The relational database model was proposed in __.


a. 1970
b. 1980
c. 1990
d. 2000

24. The relational database model is proposed by __.


a. M. K. Rose
b. E. F. Codd
c. Linus Torvalds
d. John von Neumann

25. In relational data models the data are stored in different tables made up of __.
a. Rows
b. Columns
c. Both a) and b)
d. None of the above

26. In which data model the relations are set between tables based on common fields.
a. Network data model
b. Hierarchical data model
c. Relational data model
d. All of the above

27. Which of the following is a real world object which stores the information in a database.
a. Attribute
b. Entity
c. Field
d. All of the above

28. The details associated with the entity are called __.
a. Attribute
b. Entity
c. Field
d. All of the above

29. A __ is a collection of logically related records.


a. Attribute
b. Entity
c. Field
d. Table

30. A _ is the smallest entity in the database.


a. Attribute
b. Field
c. Record
d. Database

31. A collection of fields in the table make a _.


a. Attribute
b. Field
c. Record
d. Database

32. A collection of records makes a _.


a. Attribute
b. Field
c. Record
d. Table

33. A collection of tables make a __.


a. Attribute
b. Field
c. Record
d. Database

34. _ hold the data values of one type of data.


a. Attribute
b. Field
c. Record
d. Database

35. The raw data represented in the form of alphanumeric, character or numeric data is known as _.
a. Attribute
b. Field
c. Record
d. Data value

36. A __ is the set of data values for all the fields related to a person or object.
a. Attribute
b. Field
c. Record
d. Database
37. A __ holds the data values of all the fields for a single person or object in a table.
a. Attribute
b. Field
c. Record
d. Database

38. A _ key is a field that uniquely identifies a row in a table.


a. Primary key
b. Candidate key
c. Foreign key
d. None of the above

39. In a table if more than one field identifies a record, it is known as _.


a. Primary key
b. Composite key
c. Foreign key
d. None of the above

40. __ key helps to build a relation between two or more tables in a database.
a. Primary key
b. Composite key
c. Foreign key
d. None of the above

41. If the field values that are eligible to be the primary key are known as _.
a. Primary key
b. Candidate key
c. Foreign key
d. None of the above

42. In the database table if candidate keys are not chosen as the primary key are called __.
a. Alternate key
b. Candidate key
c. Foreign key
d. None of the above

43. The __ key helps to build a relation between two tables.


a. Alternate key
b. Candidate key
c. Foreign key
d. None of the above
44. All the field values that are eligible to be the primary key are the _.
a. Alternate key
b. Candidate key
c. Foreign key
d. None of the above

45. Which of the following is suitable for candidate keys?


a. Candidate key field can be left blank
b. Candidate key field don’t have duplicate values
c. Both a) and b)
d. None of the above

46. If in the database table there are two field roll numbers and admission number both are uniquely identified
fields, if roll number is made as primary key then admission number will be __.
a. Alternate key
b. Candidate key
c. Foreign key
d. None of the above

47. A structure or feature that is used to store, represent, or retrieve data is called __.
a. Database
b. Object
c. Report
d. None of the above

48. What are the different objects present in RDBMS?


a. Table
b. Queries
c. Form & Report
d. All of the above

49. __ is a feature of a database, which contains data from users and stored in a database table using a user-
friendly manner.
a. Form
b. Queries
c. Report
d. None of the above

50. The form consists of _.


a. Text boxes & Labels
b. Radio button & list box
c. Check box
d. All of the above
51. The data entered through the forms is stored in _.
a. Queries
b. Forms
c. Table
d. None of the above

52. The necessary data is extracted from the database using _.


a. Queries
b. Forms
c. Table
d. None of the above

53. The output of a query can be displayed in the form of _.


a. Queries
b. Forms
c. Report
d. None of the above

Chapter 9: Starting with LibreOffice Base

54. _ helps to specify while creating the tables and check only valid data will be entered in the table.
a. Data Type
b. Data Storage
c. Validation
d. None of the above

54.

55. __ refers to the type of data that will be stored in the particular field.
a. Data Type
b. Data Storage
c. Validation
d. None of the above

56. The memory size of the field varies according to its __.
a. Data Type
b. Data Storage
c. Validation
d. None of the above

57. The text data types are a combination of __.


a. Letters
b. Numbers
c. Special Characters
d. All of the above
58. No arithmetic calculations can be performed on _ data type.
a. Number Data type
b. Text Data type
c. Decimal Data type
d. None of the above

59. __ data type stores maximum length of the characters, data having more than 255 characters.
a. Memo (Longvarchar)
b. Text(fix) (Char)
c. Text (Varchar)
d. None of the above

60. _ data type stores exactly the length specified, this data type uses a fixed number of characters.
a. Memo (Longvarchar)
b. Text(fix) (Char)
c. Text (Varchar)
d. None of the above

61. __ data type allocated depends on the number of characters entered by the user.
a. Memo (Longvarchar)
b. Text(fix) (Char)
c. Text (Varchar)
d. None of the above

62. __ data type consists of number, integer, decimal, real or double type which can perform arithmetic
calculation.
a. Text Data type
b. Number Data type
c. Date Data type
d. Binary Data type

63. _ data type is used to store decimal values in the database using a table.
a. Tiny Integer
b. BigInt
c. Number
d. Float

64. Which data type is used to store monetary values and can store currencies of various countries.
a. Boolean Data type
b. Currency Data type
c. Date Data type
d. None of the above

65. Which data type is used to store date and time both in the database.
a. Date
b. Time
c. Timestamp
d. None of the above

66. Which data type is used to store date data in the database table.
a. Date
b. Time
c. Timestamp
d. None of the above

67. Which data type is used to store time in the database table.
a. Date
b. Time
c. Timestamp
d. None of the above

68. In which data type you can store True/False, Yes/No, or On/Off in the database table.
a. Binary Data type
b. Text Data type
c. Boolean Data type
d. Number Data type

69. Which data type is used to store digital image, sound, video or file in the database table.
a. Binary Data type
b. Text Data type
c. Boolean Data type
d. Number Data type

70. What is the name of a method where you can create a new database using step by step procedure.
a. New Database
b. Database Wizard
c. Database Method
d. None of the above

71. In LibreOffice Base if you select the option “No, do not register the database” then what will happen.
a. Database will be not store the data
b. Database will not open
c. Database will not share publicly
d. None of the above

72. What method is used to create tables in LibreOffice Base?


a. Using Table Wizard
b. Using Design View
c. Both a) and b)
d. None of the above
73. Which method is used to create a table in a flexible method.
a. Using Table Wizard
b. Using Design View
c. Both a) and b)
d. None of the above

74. In LibreOffice Base, If you want to describe the purpose of the field, it will not be a part of the database table
but it helps the user to understand the purpose of the field.
a. Field Name
b. Field Type
c. Description
d. None of the above

75. Which of the following shortcut keys is used to save the table in the database.
a. Alt + S
b. Ctrl + S
c. Shift + S
d. None of the above

76. The data can be arranged in the table using _.


a. Shorting
b. Arrangement
c. Ascending
d. Descending

77. The data type in LibreOffice base can be categorized into __.
a. Text
b. Numeric
c. Currency and Date
d. All of the above

Chapter 10: Working with Multiple Tables

78. To edit a table in LibreOffice Base, Which of the following interfaces is used.
a. Database Edit Interface
b. Database User Interface
c. Database Manage Interface
d. None of the above

78.

79. __ are used to set up between the tables which helps to control data redundancy and inconsistency.
a. Relationship
b. Common Field
c. Database Interface
d. None of the above

80. The most important prerequisite for setting a relationship is that there must be a _.
a. Different field
b. Common field
c. Both a) and b)
d. None of the above

81. The table contains a unique record that is used as a main source of information known as _.
a. Transaction table
b. Master table
c. Sub table
d. None of the above

82. What do you mean by transaction table in database.


a. Table which make a relation with master table
b. It is a support of master table
c. Both a) and b)
d. None of the above

83. Primarily how many types of relationships can be set up between two tables.
a. 2
b. 3
c. 4
d. 5

84. In the database if the master table and transaction table both have a unique record then it will create __ type
of relationship.
a. One-to-One
b. One-to-many
c. Many-to-many
d. None of the above

85. _ specific record of the master table has more than one corresponding record in the related transaction table.
a. One-to-One
b. One-to-many
c. Many-to-many
d. None of the above

86. In _ multiple records in the master table that correspond to multiple records in the transaction table.
a. One-to-One
b. One-to-many
c. Many-to-many
d. None of the above
87. What are the benefits of relating tables in a database?
a. It helps to prevent data redundancy
b. It helps to prevent missing data using referential integrity
c. Restricts the user to enter invalid data using relationships
d. All of the above

88. Any update in the master table is automatically reflected in the transaction tables using________.
a. Relationships
b. Common Field
c. Database Interface
d. None of the above

89. What is the purpose of referential integrity in databases?


a. Accuracy
b. Consistency
c. Completeness
d. All of the above

90. According to the principle of __ no unmatched foreign key values should exist in the database.
a. Database
b. Referential integrity
c. Database Interface
d. None of the above

91. Referential integrity allows only that corresponding record to be entered in the transaction table which already
exists in _.
a. Master table
b. Transaction table
c. Relationships table
d. None of the above

92. LibreOffice base gives us how many options to maintain referential integrity in the database.
a. 3
b. 4
c. 5
d. 6

93. Which of the following referential integrity used in LibreOffice Base.


a. No action
b. Update cascade
b. Set NULL or Set Default
c. All of the above
94. Which referential integrity states that users should not be allowed to update or delete records in the master
table if the related record is present in the transaction table.
a. No action
b. Update cascade
b. Set NULL or Set Default
c. All of the above

95. Which referential integrity states that the user is allowed to update or delete the referenced field along with
the related record in the transaction table will also be updated or deleted.
a. No action
b. Update cascade
b. Set NULL or Set Default
c. All of the above

Chapter 11: Queries in Base

96. To search or retrieve the desired record from the database we have to give specifications in the form of _.
a. Form
b. Table
c. Query
d. Report

96.

97. LibreOffice Base allows us to create a query and you can save it as __ in a database.
a. a Micro
b. an Object
c. a Module
d. None of the above

98. You can run query multiple times whenever it is required (True/False)

99. In LibreOffice Base you can create a query using __.


a. Using a Wizard
b. In Design View
c. In SQL views
d. All of the above

100. In LibreOffice Base, which mathematical function you can use in a query.
a. count and sum
b. maximum and minimum
c. average
d. All of the above

101. SQL stands for __.


a. Simple Query Language
b. Simple Question Language
c. Structured Query Language
d. None of the above

102. Shortcut for opening the context menu in LibreOffice Base.


a. Ctrl + F10
b. Shift + F10
c. Shift + F9
d. Ctrl + F9

103. Shortcut for run query in LibreOffice Base.


a. F5
b. F3
c. F2
d. F8

104. Which is the most flexible way to create a query in LibreOffice Base.
a. Design View
b. Wizard
c. SQL View
d. None of the above

105. In LibreOffice base query design window is divided in __ parts.


a. Two
b. Four
c. Three
d. One

106. In LibreOffice Base which view is used to insert SQL query manually.
a. SQL View
b. Design View
c. Wizard View
d. Datasheet View

107. In LibreOffice Base which of the following conditions you can apply in the Query Wizard to perform the result.
a. is equal to/ is not equal to
b. like/ not like/ is not null
c. is smaller than/ is greater than
d. All of the above

108. Which of the following functions is used to find the average of the numbers in LibreOffice Base design view.
a. average
b. avg
c. total avg
d. None of the above
109. Which of the following functions is used to find the sum of numbers in LibreOffice Base.
a. Total
b. Sum
c. Addition
d. None of the above

110. Which of the following functions is used to count total no of records in the table.
a. Total
b. Count
c. Sum
d. None of the above

111. In LibreOffice Base by default Query Name is _.


a. Query 1
b. Query
c. MyQuery
d. None of the above

112. After saving the query in LibreOffice Base the query will be seen in the _.
a. Module area
b. Object area
c. Query area
d. All of the above

113. The result of the query will be displayed in a _ windows.


a. Same
b. Separate
c. In New database
d. None of the above

114. You can apply multiple conditions to design a query in LibreOffice Base. (True/ False)

115. Which of the following relational operators is used to define not equal in LibreOffice Base.
a. >=
b. Not=
c. <>
d. !=

116. What is the purpose of the Group function in LibreOffice Base?


a. Group rows which have the different name
b. Helps to groups for each of the data values in the column of category name.
c. Calculate summaries like sum, average and count for each group within the data set.
d. Both b) and c)
Chapter 12: Forms and Reports

117. The LibreOffice Base provides the _ feature for data entry purposes.
a. Table
b. Form
c. Report
d. None of the above

117.

118. Which features are used by the database to retrieve data in a user friendly, understandable and formatted
manner.
a. Table
b. Form
c. Report
d. None of the above

119. The Table, Query, Forms and Reports are considered as __ of the database.
a. Object
b. Function
c. Method
d. None of the above

120. The database objects are present in the __ of the LibreOffice Base User Interface.
a. Database Pane
b. Windows Pane
c. Data Pane
d. None of the above

121. Form is also defined as __.


a. Back End Application
b. Front End Application
c. Both a) and b)
d. None of the above

122. Which types of field control is used to design a Form in a database.


a. Text Box, Label, heading and names
b. Radio Button, graphics like logos
c. Combo Box, Check Box
d. All of the above

123. In LibreOffice Base form can be created using which of the following ways.
a. Using a wizard
b. Using the design view
c. Both a) and b)
d. None of the above

124. In LibreOffice Base the simplest way to create a form is using _.


a. Using wizard
b. Using design view
c. Using Query
d. None of the above

125. In LibreOffice Base the field control consists of _ parts.


a. 2
b. 3
c. 4
d. 5

126. In LibreOffice Base the field control consists of __.


a. Label
b. Field Value
c. Both a) and b)
d. None of the above

127. How many layouts are given in LibreOffice Base using the wizard option.
a. 3
b. 4
c. 5
d. 6

128. In LibreOffice Base by default the name of the form is the same as the name of the _.
a. Form
b. Table
c. Database
d. None of the above

129. _ toolbar contains various controls that can be added to the form.
a. Records toolbar
b. Form Control Toolbar
c. Format Toolbar
d. None of the above

130. The Form Control toolbar is present on the __ of the Form design window.
a. Left
b. Right
c. Middle
d. Bottom
131. The _ toolbar contains the navigation control buttons and we can traverse and view the records in the file.
a. Records toolbar
b. Form Control Toolbar
c. Format Toolbar
d. None of the above

132. The form modification can be done once it is created, In LibreOffice Base modification can be changed to the
__.
a. Background color
b. Font size
c. Font color of the text or positioning of various controls
d. All of the above

133. To change the background color of the form, right click on the form and select _.
a. Page Style
b. Background Style
c. Database Style
d. None of the above

134. The Page Style dialog box will appear when you will click on __.
a. Color tab
b. Area tab
c. Design tab
d. None of the above

135. Label text can be changed using which of the following options in LibreOffice Base.
a. Property
b. Design View
c. Font design
d. All of the above

136. A __ is a small piece of text that appears when the mouse cursor is over a specific control.
a. Tool-design
b. Tool-tip
c. Tool-Font
d. All of the above

137. To add titles, headings or subheading in the Form using __.


a. Textbox
b. Combobox
c. Labels
d. Radio Button
138. The records that have been extracted using a query are displayed in a simple row and column format known
as __.
a. Query
b. Form
c. Report
d. None of the above

139. A layout is used to display the report in the form of _.


a. Landscape
b. Portrait
c. Both a) and b)
d. None of the above

140. A default layout selected by the LibreOffice Base is __.


a. Landscape
b. Portrait
c. Both a) and b)
d. None of the above

141. By default the type of report is __ in LibreOffice Base.


a. Dynamic
b. Static
c. Both a) and b)
d. None of the above

142. What do you mean by Dynamic report in LibreOffice Base.


a. Automatic updation is allowed in the report
b. Automatic updation is not allowed in the report
c. Manually you have to add component in the report
d. None of the above

143. If you don’t want automatic updation of the report in LibreOffice Base, you can select the _ option.
a. Dynamic
b. Static
c. Both a) and b)
d. None of the above

144. To make the report more presentable by inserting __.


a. Titles
b. Author name
c. Date of generation of report
d. All of the above

145. To insert data and time in Report, you can use __.
a. Insert > Date and Time
b. Edit > Date and Time
c. View > Date and Time
d. None of the above

146. We can create a report based on a _.


a. Table
b. Query
c. Both a) and b)
d. None of the above

Some Extra Previous Textbook MCQ

147. A_________________ database management system is referred to as a relational model.


a. RDBMS
b. DBMS
c. DB
d. None of the above

147.

148. Data can be organized into __.


a. Flat File
b. Relational
c. Both a) and b)
d. None of the above

149. Data stored in a single table is known as __.


a. Flat File
b. Relational
c. Both a) and b)
d. None of the above

150. Data is stored in multiple tables, which are connected together via a common field.
a. Flat File
b. Relational
c. Both a) and b)
d. None of the above

151. DBMS Stands for __.


a. Database Management System
b. Database Manage System
c. Data Manage System
d. None of the above

152. __ are dedicated computers which store database and related DBMS software.
a. Database Server
b. Decided Server
c. Web Server
d. None of the above

153. When the same data stored in multiple table is known as __.
a. Data Redundancy
b. Data Integrity
c. Data Consistency
d. None of the above

154. _ prevents creating multiple copies in the database.


a. Data Redundancy
b. Data Integrity
c. Data Consistency
d. None of the above

155. __ means that the data is accurate and consistent in the database.
a. Data Redundancy
b. Data Integrity
c. Data Consistency
d. None of the above

156. _ prevent multiple mismatching copies of the same data in the database and only valid data will be added in
the database.
a. Data Redundancy
b. Backup and Recovery
c. Data Consistency
d. None of the above

158. The relationship between two tables where one table has one record and another table has many records is
known as _.
a. One-to-Many
b. Many-to-Many
c. Many-to-One
d. None of the above

159. SQL stands for _.


a. Single Query Language
b. Structured Query Language
c. Semantic Query Language
d. None of the above

160. __ are the basic building blocks of a database.


a. Table
b. Query
c. Database
d. None of the above

161. _ data type can store 0 or 1 in the database.


a. Boolean
b. TinyInt
c. Smalint
d. BigInt

162. In a table, a __ represents a single data item.


a. Row
b. Truple
c. Both a) and b)
d. None of the above

163. __ is used to maintain accuracy and consistency of data in a relationship.


a. Referential data
b. Referential Integrity
c. Referential Value
d. None of the above

164. What are the different types of relationships in LibreOffice Base, which are used to make connection between
two tables___________.
a. One to One
b. One to Many or Many to One
c. Many to Many
d. All of the above

165. A Which of the following command used to define structure in the database.
a. Data Manipulation Language (DML)
b. Data Definition Language (DDL)
c. Both a) and b)
d. None of the above

166. A __ is a language that enables users to access and manipulate data in a database.
a. Data Manipulation Language (DML)
b. Data Definition Language (DDL)
c. Both a) and b)
d. None of the above

167. A __ is a subset of DML that just deals with information retrieval.


a. Query Language
b. Structure Language
c. Both a) and b)
d. None of the above
168. To retrieve all the columns in a table the syntax is _.
a. Select % from “Table name”;
b. Select ** from “Table name” ;
c. Select $ from “Table name” ;
d. Select * from “Table name” ;

169. The syntax of the update statement is _.


a. Update set where ;
b. Update set where ;
c. Modify set where ;
d. Modify set < value> where ;

170. By default, data is arranged in _ order using ORDER BY clause.


a. Ascending
b. Descending
c. Both a) and b)
d. None of the above

171. Which of the following use a systematic way for storing data in database.
a. Query
b. Form
c. Table
d. None of the above

172. __ will help you to display summarized data from the database.
a. Report
b. Form
c. Table
d. None of the above
Database Management System Class 10 Questions and Answers

Session 1: Appreciate Concept of Database Management System

1. What is a database?

Answer – A database is an organized collection of data. Databases can store, retrieve and manage large amounts of
data. The database stores the information in the form of a table.

2. What is the purpose of a Database Management System?

Answer – A database management system (DBMS) is a software package which manages and maintains data in a
database. A DBMS enables several user application programs to access the same database at the same time. It
enables organizations to easily create databases for a variety of purposes. A database is a comprehensive collection
of data records, files, and other items.

3. How is data organized in a database?

Answer – There are two way to organized data in database –


a. Flat File – It stores the data in a single table and it is suitable for small amounts of data.
b. Relational – It stores the data in a multiple table and all the tables are connected to each other using a common
field with the help of relationships.

4. What do you mean by Database Servers?

Answer – Database servers are powerful computers that store and manage data on a server. This type of server is
dedicated to a single purpose and helps to hold the database and run only DBMS and related software.

5. Give the Advantages of database?

Answer – Advantages of database are –

a. Reduce Data Redundancy – When the same data set is stored in two or more locations, this is referred to as data
redundancy. As a result, this helps in the protection of duplicate data in a database.

b. Sharing of Data – Databases can share the data with multiple users at a time. There are multiple levels of
authorization to access the data, and as a result, the data can only be shared with those who are permitted.

c. Data Integrity – The term “data integrity” refers to the accuracy and consistency of the data in the database. Data
integrity also refers to data safety.

d. Data Security – You know that data is very important, databases give privileges to authorized users and allow them
to access the database using username and password.

e. Privacy – A database’s privacy rule says that only authorized users are permitted to access the database in
accordance with its privacy constraints. For example – if you log in your Gmail account then you will see your email
only, you will not see any other account email.

f. Backup and Recovery – Backup and recovery are handled automatically by the Database Management System.

g. Data Consistency – Data consistency ensures the modification in the data will be the same for all the users who are
accessing the database. For example if you have registered a train ticket from IRCTC website then whatever changes
are there it will be the same for all the users who are trying to reserve the ticket.

Database Management System Class 10 Questions and Answers

6. What are the key features of a database?

Answer – Some of the key features of database are –


a. Multiple table can be store in a single database
b. Database can share the data to multiple users
c. Database can create backups automatically
d. Database save storage space
e. Large amount of data can be managed by database
f. Each table in a database contains separate information
g. Provides high level security

7. What is RDBMS?

Answer – RDBMS stands for Relational Database Management System is an upgraded version of DBMS, RDBMS
stores the data in the form of a table. In RDBMS multiple tables can be linked together, and support multiple users to
access the database.

8. What different types of keys are available in RDBMS?

Answer – The different keys available in RDBMS are –

a. Primary Key (PK) – A primary key is a unique value that identifies a row in a table. If the primary key is defined to
any table column it means the duplication will be not allowed.

b. Composite Primary Key – When a primary key is applied to one or more columns in the same table is known as
Composite Primary Key.

c. Foreign Key (FK) – By default columns are foreign key, foreign key points to the primary key of another table.

Database Management System Class 10 Questions and Answers

Session 2: Create and Edit tables using wizard & SQL commands

9. What are the different database objects?

Answer –
a. Table – A table is a collection of data components structured in the form of vertical columns and horizontal rows.

b. Columns / Fields / Attributes – Columns or Fields or Attributes all are the same, A column is a collection of data
values of a single data type, one for each row in a table. It is also known as the heading of the column.

c. Rows / Records / Tuples – A row, also known as a Record or Tuple, is a single data item in a table. A database table
can be represented as a series of rows and columns or fields. Each row in a table represents a set of related data, and
each row has the same structure.

10. What are data types?

Answer – Datatypes are used to define the type of data that will be stored in the database. Data types in the
OpenOffice base are classified into five types.
a. Numeric Types – Numeric data types are used to describe numerical values for fields in a database table. Numeric
data types used for numbers and decimals.
Some of the important numeric data types are –
a. Boolean
b. Integer
c. Numeric
d. Decimal
e. Float
f. double

b. Alphanumeric Types – Alphanumeric data types are used to describe character values for fields in a database.
Some of the important alphanumeric data types are –
a. Longvarchar
b. Char
c. Varchar
d. Varchar_ignorecase
c. Binary Types – For storing data in binary formats, binary data types are used. Binary data types in a database can
be used to store images, music files, and so on.
Some of the important Binary data types are –
a. Varbinary
b. Binary
c. Longvarbinary

d. Date time – Date and time data types are used to describe date and time values for fields in a database table.
Some of the important Date time data types are –
a. Date
b. Time
c. Timestamp

11. In how many ways tables can be created in Base?

Answer – There are two different ways to creating the table in database –
a. Using Design View
b. Using Wizard

12. Define the structure of a table.

Answer – A table is a collection of data components structured in the form of vertical columns and horizontal rows.

13. Differentiate between Tuples and Attributes of a table.

Answer – Tuple is a single data item in a table. A database table can be represented as a series of rows and columns
or fields.
An attribute is a collection of data values of a single data type, one for each row in a table.

Database Management System Class 10 Questions and Answers

Session 3: Perform Operations on Table

14. What is referential Integrity?

Answer – Referential integrity is used to keep data maintained, accurate and consistent.
Data in Base can be connected between two or more tables using primary key and foreign key constraints.
Referential integrity helps to –
a. If there is no connected record in the main key table, records are added to a related table.
b. Changing values in a primary if there are any dependent records in the linked table
c. If there are any matching linked records in an associated table, records from a primary key table are deleted.

15. What is the advantage of relationships between two tables?

Answer – Advantage of relationships between two tables are –


a. Save time as there is no need to enter the same data in separate tables.
b. Reduce data-entry errors.
c. Summarize data from related tables.

16. What is the file extension for databases created using OpenOffice.Org Base?

Answer – Extension for OpenOffice base is .odb.

17. List any three file formats that can be managed using OpenOffice.Org Base?

Answer – The three file formats are –


a. .odt – This file format use for create digital document file
b. .odd – This file format use for create spreadsheet
c. .odp – This file format use for creating presentation file

18. How many types of relationships can be created in Base? Explain each of the them.
Answer – There are three types of relationships –
a. One to One – Both tables in this relationship must have primary key columns.
b. One to Many or Many to One – One of the tables in this relationship must have a primary key column.
c. Many to Many – The primary key column is not present in any of the tables in this relationship.

19. What do you mean by Sorting? In how many ways it can be done?

Answer – Sorting means arranging the data in ascending or descending order.


The two way to arranging the data is –
a. Ascending
b. Descending

20. Explain Referential Integrity with the help of an example.

Answer – Referential integrity is used to keep data maintained, accurate and consistent.

Data in Base can be connected between two or more tables using primary key and foreign key constraints.
For example – Suppose there is two table “Student_details” and “fee_details”,

in the student_detils table fields are –


Grno, Student_name, Address, phone_number ( here Grno is primary key)

In the Fee_details table fields are –


Grno, Fee_date, Amount (here Grno is foregn key)

Here, both have a common field “Grno” this is known as referential Integrity.

Database Management System Class 10 Questions and Answers

Session 4: Retrieve data using Query

21. How many types of language are there in the database?

Answer – Three are two types of languages –

DDL (Data definition language) – Data definition language is used to design and modify the structure of a database.
Common DDL commands are
a. Create – This command is used to create database
b. Alter – This command is used to modify the database.
c. Drop – This command is used to delete database tables.

DML (Data manipulation language) – Data manipulation language provides commands for manipulating data in
databases.
Common DML commands are
a. Select – This command is used to display information from the database.
b. Insert – This command is used to insert new records in the database.
c. Delete – This command is used to delete records from the database.
d. Update – This command is used to modify records in the database.

22. Name DML commands.

Answer – Data manipulation language (DML) access and manipulate data in existing tables.
Name of DML commands –
a. Select
b. Insert
c. Update
d. Delete

23. What is the purpose of using queries?


Answer – Queries are commands that describe the data structure as well as manipulate the data in the database. The
purpose of a query is to do calculations, integrate data from many tables, and add, alter, or delete data from a
database.

24. Which clause of Select statement helps to display specific data?

Answer – Where clause is used to display specific data from the database.

25. Differentiate between Where clause and Orderby clause of SQL statements.

Answer – Where clause is used to display specific data from the database and Orderby used to display data in
ascending order or descending order.

26. State the purpose of Update Command with the help of an example.

Answer – The update statement is used to modify records in the table. Example of update command is – Update
Student_details set Location = ‘Pune’ where Rollno = 10;

Database Management System Class 10 Questions and Answers

27. Consider the following table “Teachers”

Rollno Student_Name DOB Address Mobile_no Gender Percentage

1 Jugal 10/01/2003 Mumbai 5555555555 M 98

2. Pratigya 24/03/2002 Pune 4444444444 F 82

3 Sandeep 12/12/2003 Delhi 8888888888 M 91

4 Sangeeta 01/07/2004 Banglore 6666666666 F 96

5 Satti 05/09/2002 Mumbai 7777777777 M 89

Write SQL commands:


a. To display all the information from the table whose address is ‘Mumbai’.

Answer – Select * from students where address = “Mumbai”;

b. To list the details of all the students whose percentage is between 90 to 100.

Answer – Select * from students where percentage >= 90 and percentage <= 100;

c. To display the name of all the students whose gender is Female.

Answer – Select Subject from students where Gender = ‘F’;

d. To display the list of names of all the students in alphabetical order.

Answer – Select * from students order by Student_name;

Database Management System Class 10 Questions and Answers

29. Write the SQL commands to answer the queries based on Fabric table

FabricID Fname Type Disc


F001 Shirt Woolen 10

F002 Suit Cotton 20

F003 Tunic Cotton 10

F004 Jeans Denim 5

a. Write a query for insert the following record


(“F005”, “Kurta”, “Woollen”,5)

Answer – insert into Fabric values (‘F005’, ‘Kurta’, ‘Woolen’,5);

b. Write a query to display only those fabric whose disc is more than 10

Answer – select * from Fabric where Disc>10;

c. To display those record whose type is ‘Woolen’

Answer – select * from Fabric where type = ‘Woolen’;

d. To modify the fabric shirt by increasing discount by 10

Answer – update fabric set Disc = Disc + 10 where Fname = ‘Shirt’;

e. To delete the record of fabric F003 from table

Answer – delete from Fabric where FabricID =‘F003’;

Database Management System Class 10 Questions and Answers

30. Consider the following Vendor table and write the queries

VendorID VName DateofRegistration Location

V001 Mother Dairy 20-01-2009 Delhi

V002 Havmor 01-04-2015 Gujrat

V003 Amul 12-05-2012 Kolkata

V004 Kwality Walls 15-10-2013 Mumbai

a. Write a Query to display all records

Answer – Select * from Vendor;

b. Write a Query to add a new row with the following details


(„V005‟, „Vadilal‟, „2010-03-20‟, „Pune‟)

Answer – Insert into Vendor values (“V005‟, “Vadilal‟, “2010-03-20‟, “Pune‟);

c. Write a query to modify the location of V003 from Kolkata to Gujrat

Answer – Update Vendor Set location= “Gujrat‟ Where location= “Kolkata‟;

Database Management System Class 10 Questions and Answers


31. Consider the following table “ITEM”:

Itemno Iname Price Quantity

11 Soap 40 80

22 Powder 80 30

33 Face cream 250 25

44 Shampoo 120 100

55 Soap box 20 50

a. Display the total amount of each item. The amount must be calculated as the price multiplied by quantity for
each item.

Answer – Select price * quantity from item;

b. Display the details of items whose price is less than 50.

Answer – Select * from item where price < 50;

32. Identify the columns and data types of a table: Airlines. Mention at least four columns with data type.

Answer –
Columns Data type

Flight No Text
No.of Passengers Integer
Airlines Text
Arrival_Time Date/Time
Departure_Time Date/Time
Fares Float

33. Identify the columns and data types of a table: Students. Mention at least four columns with data type.

Answer –
Columns Data type

RollNo Integer
Student_name Varchar(20)
Father_name Varchar(20)
Mother_name Varchar(20)
Address Varchar(50)
DOB Date

Session 5: Create forms and reports using wizard

34. Why there is a need to create Forms?

Answer – A form allows the user to enter information into a database in a systematic manner. It is a user-defined
interface that allows users to see, enter, and edit data directly in database.

35. What is the purpose of creating Reports?


Answer – Reports help to present the data in proper manner which is stored in the database, It also displays the data
in summary format.

36. What are the prerequisites to create a Form and Reports?

Answer –
Forms –
a. Forms help or manage to store data in a systematic format.
b. The prerequisites to create a form would be –
c. Add all the necessary fields in the form
d. Make the connection between form and the table
Reports –
a. Reports display the data in a summarized manner.
b. The prerequisites to create a report would be –
c. Data
d. Data source

37. Differentiate between Forms and Reports.

Answer –
Form
a. Forms are used to store the data in the semantic way
b. Edit, delete & modify can be easily managed
c. Auto calculation can be done easily
Report
a. Report display the data in the presenting format
b. Report can display all the record from the table
c. Edit, delete & modification cannot be done through report
d. You can take printout with the help of report

38. Can a form display data from queries?

Answer – Yes form can display the data from queries, with the help of query you can filter the data and you can
display in the form.

39. In how many ways Forms and Reports can be created in a database?

Answer – There are two ways to create a form and report in the database.
a. Using Wizard
b. Using Design View

You might also like