Unit 3 (Database Management System)
Unit 3 (Database Management System)
Session-1
(Introduction to Database Management System)
1. Define the terms
(a) Database
Answer: A database is a collection of logically related data items stored in an organised manner.
Answer: Data redundancy refers to the unnecessary repetition of data within a database. This can lead to
inconsistencies and increased storage costs.
(c) Report
Answer: A report is a formatted and organized presentation of data extracted from a database, typically used for
analysis, decision-making, and communication of information.
Answer:
Data Information
The raw facts constitute data. Information is the processed or
organized form of data.
For example: marks obtained by the report card/sheet is the information
students and their roll numbers is the
data
Answer:
Form Query
A user interface in a database that allows A request to retrieve specific data from a
users to enter and modify data easily. database, often using a structured query
language (SQL).
Answer:
• Organised Storage – The data in the database is stored in an organised manner, so that retrieval of the
required data is fast and accurate.
• Data Analysis – A database helps in analysis of data based on certain criteria.
4. Consider the table given below and answer the questions that follow Table:
Library
Book_ID Book_Name Author Name Price Publisher
F001 Basic of I.T R.K Verma 500 ABC
S004 python R.S Agarwal 800 ND
C005 C++ T.R Jain 400 RK
• The software that is used to create, update and retrieve data is known as database management system (DBMS).
• Some of the common examples of DBMS are MS Access, Open Office or LibreOffice Base, Oracle, Ingress, MySQL.
• Data Model is the structure of database and it describes the manner in which data will be stored and retrieved.
• There are different data models, such as hierarchical data model, network data model and relational data model.
• In Hierarchical Data Model, the data is organised into a tree like structure. The data is stored in the form of linked
records.
• In Network Data model, multiple records are linked to same master file.
• The Relational data model is based on the principle of setting relationships between two or more tables of the
same database.
• A table is a collection of logically related records. It is organised as a set of columns, and can have any number of
rows.
• Data values are the raw data represented in numeric, character or alphanumeric form.
• The data values for all the fields related to a person or object is called a record. It is presented as rows within a
table.
• This foreign key helps to build a relation between two or more tables in a database.
• All the field values that are eligible to be the primary key are the candidate keys for that table.
• Out of the candidate keys, one or two are made as primary keys. The others are the alternate keys.
• An object in a database is a structure or a feature that is used to store, represent or retrieve data. The various
objects in a database are tables, forms, reports and queries.
• A form is a feature of a database using which we can enter data in a table in an easy and user-friendly manner.
Varchar: Used for shorter text entries; stores a specified maximum length of characters, typically up to 255 characters.
Answer:
Number: Used for general numeric values, including integers and floating-point numbers.
Decimal: Used for precise numeric values with a fixed number of decimal places, ideal for financial calculations.
Answer:
Design View: Used to define and modify the structure of a table, including fields, data types, and primary keys.
Datasheet View: Used to enter, edit, and view data in the table, displaying data in a grid format similar to a
spreadsheet.
Answer:
Answer:
Answer: The navigation box allows users to move through the records in a table. It provides buttons to go to the first,
previous, next, and last record, as well as options to add new records and search for specific records. This facilitates
easy data entry and browsing within the table.
A query is a request to a database system to retrieve specific information. It allows you to extract relevant data from
one or more tables based on certain conditions.
3. What all information is seen in the overview (last step) of the Query wizard?
• Table and Field Names: A list of the tables and fields included in the query.
• Criteria: The conditions used to filter the data.
• Sort Order: The order in which the results will be sorted.
• Alias Names: The alternative names given to fields or tables.
• SQL Statement: The underlying SQL query that will be executed.
4. What is the use of Alias row in the Design grid of the Query Design window?
The Alias row in the Query Design window allows you to assign alternative names to fields or tables. This can be
useful for:
• Clarity: Making the query more readable by using shorter or more descriptive names.
• Avoiding Ambiguity: Resolving naming conflicts when multiple tables have fields with the same name.
• Customization: Tailoring the output to specific needs.
• Query Wizard: A step-by-step wizard that guides you through the query creation process.
• SQL View: Allows you to write SQL queries directly.
• Query Design: A visual interface where you can drag and drop fields and set criteria.
Report:
• Used for displaying and printing data.
• Focuses on presentation of data in a structured format.
• Can display multiple records at once, often grouped and summarized.
3. Which tool on the Forms Record toolbar is used to insert text on the form?
The Text tool on the Forms Record toolbar is used to insert text on a form. This text can be used for labels, titles,
or other descriptive information.