Class - X Subject - IT Teacher - Ms.
Neelam Mehla
Part-B Unit-3
Database Management System
CHAPTER 10: Concepts of Database Management System
A. Select the correct option.
1. a
2. b
3. c
4. b
5. c
B. Fill in the blanks.
1. Data redundancy
2. Relational model
3. NULL
4. Composite key
5. Data concurrency
C. Answer the following questions.
What is a database?
Ans. Database is a collection of data, which is stored in a systematic manner, i.e., in the
form of tables so that one can retrieve and manipulate the information quickly and
efficiently from a large set of data.
Distinguish between DBMS and RDBMS.
Ans. The Database Management System (DBMS) is a computerized record keeping system
or a software that enables you to create, store, modify, and extract information from a
database. The Relational Database Management System (RDBMS) is a type of the DBMS
software that uses the Relational Database (RDB) model for its database. A relational model
enables the users to store data in several tables.
What are tuples and attributes?
Ans. Tuples: All the rows (consists of a set of related information that belongs to a particular
object) in a table/database are called tuples or records.
Attributes: An attribute is a piece of information about an object. All the columns in a
table/database are called attributes.
Describe the primary key.
Ans. A primary key is a set of one of more fields that uniquely identifies each record in a
table. It does not contain any duplicate data. A table can have only one primary key. The
value in the primary key field is different for every tuple and thus helps in uniquely
identifying the records.
What is a composite key? Give an example.
Ans. A composite key or composite primary key refers to a combination of two or more
attributes (fields) that uniquely identify the records in a table. It may be a candidate key or
primary key. For example, In the Customer table of Dominos database, the CustOrder_ID
field alone cannot become a primary key as many products can be purchased by the same
customer, thus the same customer can have multiple entries. Similarly, column Product_ID
alone cannot become a primary key as the same product can be purchased by different
customers. Hence, composite key is CustOrder_ID and Product_ID, as records can be
retrieved uniquely by using both the fields.
Chapter 11: Creating and Using Tables
A. Select the correct option.
1. b
2. c
3. b
4. b
5. a
B. Fill in the blanks.
1. Database 2. Record 3. Attribute 4. Form 5. Field type
C. Answer the following questions.
Describe the different data base objects.
Ans. Following are the different database objects:
• Tables store data items in the form of rows and columns.
• Queries are used to retrieve a specific data from the tables of a database.
• Forms are the user-friendly interfaces that facilitate the process of inserting, editing,
deleting, and updating the data in tables and queries.
• Reports are used to display the selected data in a printable format.
What are data types?
Ans. Data types determine what type of data you can enter into a field.
Explain the use of Text[VARCHAR] data type.
Ans. Text [VARCHAR] data type a variable length field type, which is used to store character
or string values.
Distinguish between the Table Data and Table Design views.
Ans.The Table Data view is the default view of LibreOffice Base. In this view, you can enter
and navigate the records.
In Table Design view, you can create a table by defining the field names and field types. This
view also allows you to edit the structure of the created tables.
How do you edit a table structure?
Ans.To edit a table structure,
• Select the table in a database and right-click on it and select the Edit option.
• The selected table will be opened in the Table Design View.
• Change the field name, field type or properties of the field as per your requirement.
• After making the required changes, click on the Save button.
Ch-12: Performing operations on Tables
A. Select the correct option.
1. c
2. a
3. a
4. c
5. c
B. Fill in the blanks.
1. Primary key
2. Relationship
3. One-to-One
4. Many-to-Many
5. Field property
C. Answer the following questions.
What is the use of tables in a database?
Ans. Tables are the easiest way to store, organise, and present a large amount of
information. They are the building blocks of a database.
How can you sort records of tables in descending order?
Ans. To sort the records of a table in descending order, first select a field according to which
you want to sort the data. Click on the Sort in Descending Order button on the Table Data
toolbar.
Describe Referential Integrity.
Ans. Referential Integrity (RI) is a rule in RDBMS. It states that a foreign key must have a
matching primary key, i.e., all its references must be valid and the users cannot accidentally
delete or amend the data. It ensures the accuracy and consistency of the data within a
relationship, and prevents the users to enter the inconsistent data.
List the different types of relationships.
Ans. Following are different types of relationships:
• One-to-One
• One-to-Many
• Many-to-Many
Give an example of many-to-many relationship.
Ans. Students and Courses tables are best example of a many-to many relationship. A
student can register for many courses, and a same course can be opted by many students.
Ch-13: Retrieving Data Using Queries
A. Select the correct option.
1. a
2. b
3. a
4. b
5. a
B. Fill in the blanks.
1. Query Wizard
2. Alias
3. Or
4. Wildcards
5. SQL
C. Answer the following questions.
What is the query?
Ans. A query is a database object that enables you to retrieve records from one or more
tables of the database or different databases that meet a specific condition or criteria.
List the different Queries Views of LibreOffice Base.
Ans. Following are the two queries views:
• Query Design View
• The SQL View
What is the difference between Query Wizard and Query Design View?
Ans. The Query Wizard guides you to create a query based on selected table. It is the easiest
method for beginners. The Query Design View gives you more control over a query. It allows
you to create a query from the scratch.
What is SQL?
Ans. SQL is a language that allows you to make queries to define the data structure and
manipulate the data in the database. A user can create and manipulate (insert new data,
delete data, select and update data) the database anytime by using the Structured Query
Language (SQL) commands.
Distinguish between the DDL and DML commands.
Ans. DDL commands are used to define and modify the structure of a database whereas
DML commands allow the users to manipulate data in the database.
CHAPTER 14: Working with Forms and Reports
A. Select the correct option.
1. a
2. c
3. c
4. b
5. b
B. Write T for True and F for False.
1. T
2. F
3. T
4. T
5. T
C. Answer the following questions.
What is a form?
Ans. A form holds different fields of a table that you use to enter and modify the data in the
database. Using form, you can add or edit one record at a time. It is a convenient and an
interactive way of entering data, but not an appropriate tool for every data entry.
How can you launch a Form Wizard?
Ans. To launch the Form Wizard, click on the Forms in the Database Objects pane. Then,
select the Use Wizard to Create Form option in the Database Tasks pane.
Can you change the name of a label? If yes, how.
Ans. Yes. To change the name of labels, follow these steps:
• Right-click on the created form and select Edit. You will switch into the Design Mode of
the form. Choose a label that you wish to modify.
• Double-click on it. The Properties: Label Field dialog box opens. Here, enter a new name
in the Name property.
What is the use of report in Base?
Ans. A report is a summary of your database. It is an effective way to organize and
summarize the data for viewing and printing. It consists of information obtained from tables
or queries, and presented as per the user's requirements.
Distinguish between a static report and dynamic report.
Ans. A static report always displays the same data from the time when the static report was
created. A dynamic report generates the result of the report from the current table data.
This means that if you have some updated data in the table that feeds the report, then the
report will change accordingly.