Assignment 6
Assignment 6
(Unit – 3) (Part – B)
ASSIGNMENT – 6th
Subject
Information Technology
Submission Date:
Index
Database Management System
(Unit – 3) (Part – B)
2
CHAPTER: 10
ASSESSMENT TIME
A. Select the correct option (ans. Bold)
a) Database
b) Data
c) Information
a) Information
b) Data
c) Database
a) A value in a field
b) Single field
c) A set of related fields
3
B. Fill ups (ans. Bold)
1. Data redundancy occurs when the same piece of data is duplicated unnecessarily in
multiple places in database.
2. A relational model enables the users to store the data in several tables.
3. The primary key field cannot be NULL.
4. Composite key refers to a combination of two or more attributes (fields) that
uniquely identifies the records in a table.
5. Data concurrency means many users can access and modify the shared data at
the same time, without violating the data consistency.
1. What is a database?
Ans. It is a collection of programs that enables users to create, maintain database and
control all the access to the database. It is a computer based record keeping system.
DBMS is a software package that manages database, e.g. MySQL, INGRES, MS-
ACCESS etc.
Ans. DBMS:
RDBMS:
I. Relational Database Management System (RDBMS) is an advanced version of DBMS.
II. RDBMS stores data in tabular form.
3. What are tuples and attributes?
Table Rows are referred to as records.A tuple is a single record in a table. A set of
attribute values in which no two distinct elements have the same name.
4
Ans. Primary key:-
Ans. A primary key a having two or more attributes is called combination of two or more
columns. composite key. It is An example can be - Here our composite key is Customer ID
and Product ID (Customer ID, Product_ID).
5
CHAPTER: 11
ASSESSMENT TIME
A. Select the correct option (ans. Bold)
a) Tables
b) Handouts
c) Reports
a) Table
b) Report
c) Query
a) Datasheet
b) Database
c) Design
4. Which data type will you use to store the date of admission?
a) Number
b) Date/Time
c) Text
a) OLE
b) Number
c) Memo
6
B. Fill ups (ans. Bold)
Ans. Tables: Tables are the building blocks of a database. They store data items in the
form of rows and columns. As you know, all the rows are referred to as records or tuples,
and all the columns are known as fields or attributes. For example, in the Employee table,
the data of related fields of the employees, such as Emp_Code, Name, Department,
Salary, etc., is called a record and specific property of that employee, such as Salary, is
known as field.
Queries: As the name suggests, queries are used to ask questions from the tables of a
database, which stores a vast amount of data. Queries help to retrieve the filtered data
from the database tables, based upon some conditions. They are also used to insert,
delete, and update the data in the database depending upon the criteria specified by the
user.
Forms: Forms are the user-friendly interfaces that facilitate the process of inserting,
editing, deleting, and updating the data in tables and queries. It accepts the data from the
user and stores it in the corresponding table or query. Using a form, you can add and
update one record at a time.
Reports: Reports are used to display the selected data in a printable format. Reports
collect the summarised data from one or more tables/queries and organise it in a printable
form.
Ans. Data type determines what type of data you can enter into a field. For example, a
field whose data type is ‘Number” can only store numeric data and does not allow you to
enter text data into it.
7
3. Describe the use of the text data type.
Ans. Text is stored in form of character or string, or in combination of text and number.
This type of data is not used to perform calculation.
Ans. In Table Data view you can enter and navigate the records. Where in Table
Design you can create a Table by defining the field name and field types.
8
CHAPTER: 12
ASSESSMENT TIME
A. Select the correct option (ans. Bold)
a) Datasheet View
b) Table Design View
c) Both a and b
a) Validation Rule
b) Validation Text
c) Caption
3. In the … relationship, a record in a table can have only one matching record in another
table, and vice versa.
a) One-to-One
a) One-to-Many
b) Many-to-Many
4. … are links that associate a field in one table with a field in another table.
a) Relationships
b) Fields
c) Tables
9
B. Fill ups (ans. Bold)
1. Referential Integrity (RI) rule states that a foreign key must have a matching Primary
key.
2. In One-to-One relationship, a record in a table can have only one matching record in
another table, and vice versa.
3. You cannot implement the Many-to-Many are the special characters that are used as
substitutes for one or more characters in a string.
4. A Field property defines the characteristics of the field.
Ans. Tables are the easiest way to store, organize, and present a large amount of
information. They are the building blocks of a database. Tables play an important role in
storing data. All the data is stored in the database in tabular form. A well-designed table
helps the users to retrieve the data from a database easily.
• Open a table and select the field according to which you want to sort the data.
• Click on the Sort in Ascending Order or Sort in Descending Order button on the Table
Data toolbar.
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.
10
5. Give a real life example of many-to-many relationships.
11
CHAPTER: 13
ASSESSMENT TIME
A. Select the correct option. (ans. Bold)
1. Which of the following row allows you to enter the condition for a query?
a) Field
b) Criteria
c) Function
a) Like
b) Where
c) None of these
3. Which wildcard character is used to retrieve zero or more characters from a field?
a) ?
b) *
c) []
1. The Query Wizard guides you to create a query from a selected table.
2. In the Query Design View, the or property allows the user to specify an alternative
name for any field.
3. Wildcards are the special characters that are used as substitutes for one or more
characters in a string.
12
4. A user can create and manipulate database anytime by using the SQL commands.
1. What is a 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.
2. What is the difference between the 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. The Query Design window is divided into two sections – Objects
Relationship Pane and Design Grid.
3. 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. Data manipulation is the process of editing or
modifying the data to keep it updated.
DDL
Usage
Commands
13
DDL
Usage
Commands
These commands are used to define and modify the structure of a database. The
commands that fall under this category are as listed below:
These commands allow the users to manipulate data in the database. They help in retrieval,
insertion, deletion, and modification of the information present in the database.
UPDATE Updates the existing data with the new data within a table
14
CHAPTER: 14
WORKING WITH FORMS AND
REPORTS
ASSESSMENT TIME
A. Select the correct option. (ans. Bold)
a) Form
b) Report
c) Query
a) New Record
b) Save
c) New Table
3. A … is an effective way to organize and summarize data from a database for viewing and
printing.
a) Table
b) Form
c) Report
4. The … is a section in a report that contains the information, which appears on each page
of the report.
a) Report Header
b) Header
c) Report
a) Page footer
b) Report header
c) Page header
15
B. Write T for True and F for False.
1. You can add or edit one record at a time in a table using a form. True
2. A form cannot have a different name for a table. False
3. Data can be inserted, updated, and deleted from a table using a form. True
4. You can print a report only in the landscape form. False
5. Page footer is printed at the end of every page. True
1. What is a form?
Ans. Generally, a form is a piece of paper that holds different blank fields in which You
fill the required information. Similarly, in the MS Access, a form holds different fields of
a table that you use to enter and modify the data in the database.
A form is linked to a table. 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. This is useful, when you work with the different users and do not want to
expose your confidential data.
Ans. To Change the name properties of the 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. You will get the set of properties in the Properties: Label Field dialog
box where you can define or modify the properties of the control.
For example, change the name of the field Customer_ID to Cust_ID, and scroll down
the Background color property and choose a colour. Changes will apply immediately.
16
4. What is the use of a report in Access?
Ans. 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. However, a static report always displays the same data
from the time when the static report was created.
17