PSEB Solutions for Class 9 Computer Science Chapter 8 Database Management System

PSEB Solutions for Class 9 Computer Science Chapter 8 Database Management System

PSEB 9th Class Computer Solutions Chapter 8 Database Management System

INTRODUCTION

Database Management System (DBMS) is a software for storing and retrieving users’ data while considering appropriate security measures. It consists of a group of programs which manipulate the database. The DBMS accepts the request for data from an application and instructs the operating system to provide the specific data. In large systems, a DBMS helps users and other third-party software to store and retrieve data.
DBMS allows users to create their own databases as per their requirement. The term “DBMS” includes the user of the database and other application programs. It provides an interface between the data and the software application.

DATA AND INFORMATION

Data and information have an important role in the world of database management systems.
  1. Data (or Raw Data). Data is defined as a collection of individual facts or statistics. Data can come in the form of text, observations, figures, images, numbers, graphs or symbols. For example, data might include individual prices, weights, addresses, ages, names, temperatures, dates or distances..
  2. Information (or Processed Data). Information is a set of data which is processed in a meaningful way according to the given requirement. Information defined as knowledge gained through study, communication, research, or instruction. Essentially, information is the result of analyzing and interpreting pieces of data. Whereas data is the individual figures, numbers or graphs, information is the perception of those pieces of knowledge. In simple words, we can say that Information is the processed data.

Data Vs. Information

The differences between Data and Information are :
S. No. Data Information
1. Data are the variables which help to develop ideas/ conclusions. Informations are the meaningful data.
2. Data are text and numerical values. Information is refined form of actual data.
3. Data doesn’t rely on Information. Information relies on Data.
4. Bits and Bytes are the  measuring units of data. Information is measured in meaningful units like time, quantity, etc.
5.
Data can be easily structured as the following:
(i) Tabular data
(ii) Graph
(iii) Data tree.
Information can also be structured as the following:
(i) Language
(ii) Ideas
(iii) Thoughts
6. Data does not have any specific purpose. Information carries a meaning that has been assigned by interpreting data.
7. It is low-level knowledge. It is the second level of knowledge.
8. Data does not directly helps in decision making. Information directly helps in decision making.

DATABASE TERMINOLOGY

Some of the essential and important terms and concepts are explained below :
  1. Attribute: It is the smallest unit of named data in a relational database. It may consist of bits or bytes. It represents one piece of information about an object. Every attribute in a table has a unique name and a data type. An Attribute is also known as a field or column or data-item in a table.
  2. Record : It is a collection of named data-items which represents a complete unit of information in the table. A record is also called as a Tuple.
  3. File Files in computer fields are very similar in features to that of paper documents used in library and office files. There are many kinds of files such as text files, data files, directory files, binary and graphic files, and these different types of files store different types of information.
  4. Table Table is used to store data. A Table contains rows which are called records. There can be many tables in a database. A table has a unique name. A table is also known as a Relation.
  5. Database: A database is organized collection of interrelated data. Databases are used to store the vast amount of data in a systematic manner. It provides organized structure to store data electronically. Generally, data in the database is organized into rows, columns. Data can be easily accessed, managed and updated in a database.

FILE PROCESSING SYSTEM

A file management system is an application that is used to store, arrange and access files stored on a disk or other storage location. In this system, data were stored in the form of flat files. These files can be created in simple text editors. The data stored is separated by space, tab, comma, semicolon or any other symbol.

Features of File Management System

(i) All files were grouped according to their categories.
(ii) Files use only related information.
(iii) Each file is named properly.

Drawbacks of File Processing System

  1. Data Mapping and Access : Although all the related informations are grouped and stored in different files, there is no mapping between any two files.
  2. Data Redundancy: There were no methods to validate the insertion of duplicate data in file system. Any user can enter any data.
  3. Data Dependence: In the files, data are stored in specific format, say tab, comma or semicolon. If the format of any of the file is changed, then the program for processing this file needs to be changed.
  4. Data Inconsistency: This has occurred here because there is no proper listing of files which has same copies of data.
  5. Security Each file on computer can be password protected. This is very difficult in the file system.
  6. Integrity: There is no direct checking facility in the file system. Hence these kinds of integrity checks are not easy in file system.
  7. Concurrent Access Accessing the same data from the same file is called concurrent access. In the file processing system, concurrent access leads to incorrect data.

DBMS

Computer database is a collection of well-arranged records that is stored in the computer. User can obtain the required information from the database. The decision can be taken on the basis of this information. Software called database management system is used to prepare database.
Necessary instructions for designing a good database:
  1. The data must be accurate,well arranged and complete so it could be easily fetched when required by someone.
  2. While creating database system we have to keep in mind that whether database application is going to use on any website or any other local area network or on both, the result must be able to get very fast and accurate.
  3. The database design should be correct.
  4. Database should be designed while thinking about the future problem.
DBMS stands for Database Management System. The software which is used to manage Database is called Database Management System (DBMS). A Database Management System (DBMS) is an application software. It is used for creating and Managing Databases. DBMS allows users the following tasks:
  1. Data Definition: It helps in creation, modification and removal of definitions that define the organization of data in database.
  2. Data Updation : It helps in insertion, modification and deletion of the actual data in the database.
  3. Data Retrieval: It helps in retrieval of data from the database which can be used by applications for various purposes.
User Administration : It helps in registering and monitoring users, enforcing data security, monitoring performance, maintaining data integrity, dealing with concurrency control and recovering information corrupted by unexpected failure.
DBMS is a software layer that provides an interface between user and the database.

Advantages of DBMS

(i) In banking sector to look after of the account of the customer.
(ii) For airline reservation and making schedule of the information.
(iii) In universities to fetch information of the students and about the courses.
(iv) To create the monthly statement of an organization.
(v) For telecommunication.
(vi) In finance to store the information of sales and purchase.
(vii) In sales to store the information of customers purchased products.
(viii) In Manufacturing management to store the information of warehouses.
(ix) In human resource to store the employees’ salary bills, payrolls, taxes etc.

Disadvantages of DBMS

  1. It is complex system.
  2. Users must have to get training to use the database.
  3. There is the possibility of data damage due to failure.
  4. The cost of DBMS is very high. There is also the recurring annual maintenance cost.
  5. Many extra hardware are required.
  6. Data Conversion cost is very high to implement DBMS.
  7. It is not easy to move it to another locations due to hardware and software specifications.
  8. DBMS is an extremely large piece of software. It requires substantial amounts of memory in our PC to run efficiently.

FILE PROCESSING SYSTEM VS. DBMS

Differences between DBMS and File system are :
File Processing System DBMS
1. File system manages and organizes the files without any specific software. 1. DBMS is a software for managing the database.
2. Redundant data can be presented in a file system. 2. There is almost no redundant data in DBMS.
3. File system doesn’t have a crash recovery mechanism. 3. DBMS provides a crash recovery mechanism.
4. It doesn’t provide backup and recovery of data if it is lost. 4. It provides backup and recovery of data even if it is lost.
5. There is no efficient query processing in file system. 5. There is efficient query processing in DBMS.
6. There is less data consistency in file system. 6. It has more data consistency.
7. It is less complex as compared to DBMS. 7. DBMS is more complex system.
8. File systems provide less security in comparison to DBMS. 8. DBMS has more security mechanisms as compared to file system.
9. It is less expensive than DBMS. 9. It has a high cost than a file system.
10. It does not require experts. 10. It requires expert persons.
11. Its use is decreasing day by day. 11. Its use is increasing day by day.

COMPONENTS OF DBMS ENVIRONMENT

There are the following components that exist in the DBMS environment :
1. Software Software refers to the programs used in the database system. It includes the operating system, DBMS Software, application programs and utilities programs.
Operating System : The Operating System manages all the hardware components required by DMBS. It helps to run application software. UNIX, LINUX, Microsoft Windows etc. are the popular operating systems. DBMS Software: DBMS software manages the database within the database system. Oracle, DB2, MYSQL, MS Access and SQL Server etc. are the popular DBMS.
Application programs and utilities software are used to access, display and manipulate the data in the database.

2. Hardware : This component includes all the physical devices required for database system. It may contain a mainframe computer or minicomputer and other microcomputers as clients. DBMS requires large amount of memory. A large secondary storage is required to store the large amount of data in the database. Large main memory is also required for proper functioning.

3. Procedures : Procedures means general rules and instructions that help to design the database and to use a database management system. Procedures are used for following purposes.

(i) To setup and install a new database management system,
(ii) To login and logout of DBMS software,
(iii) To manage DBMS or application programs,
(iv) To take backup of the database and
(v) To change the structure of the database, etc.

4. Data: It is the most important component of the database management system. The main task of DBMS is to process the data. Data is stored, retrieved and updated to and from the database structures like tables. The database contains both description about data and the actual data.

5. Users: The users are the people who control and manage the databases and perform different types of operations on the databases in the Database Management System. There are many types of users in DBMS. Some of the common types of DBMS users are :
  1. Application Programmers: The person who writes the application programs in programming languages to interact with databases are called Application Programmers.
  2. Database Administrators: A person who manages and controls the overall DBMS is called a database administrator or DBA. DBA is responsible for the well being of the Database Management System.
  3. End-Users: The end-users are those who interact with the database management system. They perform different operations on data by using the different database commands. They may insert, update, retrieve or delete on the data.

DATABASE OPERATIONS

Various types of operations can be performed in the databases. These operations can be classified broadly into following categories :
  1. Data Definition Operations: It includes those operations which are used to define, modify or delete the data structures, such as tables etc., in the database. CREATE, ALTER and DROP are the important commands to perform these operations.
  2. Data Manipulation Operations : It includes those operations which are used to perform day to day operations on the data stored in the database. Inserting new records, editing records, deleting records or viewing records etc. are included in it. All these commands are usually performed by the end users of the database.
  3. Data Control Operations : It includes those operations which are used to control the activities on the database. It includes giving or revoking permissions to user to perform selected operations on the selected tables. GRANT and REVOKE are the main commands to perform these operations. These commands are performed by the Database Administrators. Database management systems use Structured Query Language to perform these operations on the databases.

Computer Guide for Class 9 PSEB Database Management System Textbook Questions and Answers

Fill in the blanks :

1. ……………. is a raw and unorganized fact that requires processing to make it meaningful.
(A) Data
(B) Information
(C) Database
(D) DBMS.
Ans. (A) Data
2. A record is also known as a …………….. .
(A) Column
(B) Attribute
(C) Field
(D) Tuple.
Ans. (D) Tuple.
3. A person who manages and controls the overall DBMS is called a ………………. .
(A) DBA
(B) End User
(C) Database Designer
(D) Programmer.
Ans. (A) DBA
4. DBMS is a software layer that provides an interface between ……………… and the …………… .
(A) Data, Information
(B) DBA, End User
(C) User, Database
(D) Data, Database
Ans. (C) User, Database
5. …………….. refer to general rules and instructions that help to design the database and to use a database management system.
(A) Information
(B) Procedures
(C) Application Programs
(D) System Programs
Ans. (B) Procedures

Write the Full Forms:

1. DBMS
Ans. Database Management System
2. DBA
Ans. Database Administrator
3. SQL
Ans. Structured Query Language

Short Answer Type Questions :

Q. 1. What is record?
Ans. A record is a collection of named data-items which represents a complete unit of information in the table.
Q. 2. Define Database.
Ans. A database is organized collection of interrelated data. Databases are used to store the vast amount of data in a systematic manner.
Q. 3. Write the name of different types of users of database.
Ans. The different types of database users are: Database Administrator, Application Programmer, End Users.
Q. 4. What do you know about DBMS ?
Ans. Database Management System (DBMS) is a software for storing and retrieving users’ data while considering appropriate security measures. It consists of a group of programs which manipulate the database. The DBMS accepts the request for data from an application and instructs the operating system to provide the specific data.
Q. 5. Write the name of various components of Database environment.
Ans. The components of DBMS are Hardware, Software, Procedures, Data, Users.

Long Answer Type Questions :

Q. 1. Write the differences between Data and Information.
Ans. The differences between data and information are:
Data Information
1. Data are the variables which help to develop ideas/ conclusions. 1. Informations are the meaningful data.
2. Data are text and numerical values. 2. Information is refined form of actual data.
3. Data doesn’t rely on Information. 3. Information relies on Data.
4. Bits and Bytes are the measuring unit of data. 4. Information is measured in meaningful units like time, quantity, etc.
5. Data can be easily structured as the following:
(i) Tabular data
(ii) Graph
(iii) Data tree.
5. Information can also be structured as the following:
(i) Language
(ii) Ideas
(iii) Thoughts
6. Data does not have any specific purpose. 6. Information carries a meaning that has been assigned by interpreting data.
7. It is low-level knowledge. 7. It is the second level of knowledge.
8. Data does not directly helps in decision making. 8. Information directly helps in decision making.

 

Q. 2. Explain the various components of DBMS Environment.
Ans. There are the following components that exist in the DBMS environment :
1. Software Software refers to the programs used in the database system. It includes the operating system, DBMS Software, application programs and : utilities programs.
Operating System: The Operating System manages all the hardware components required by DBMS. It helps to run application software. UNIX, LINUX, Microsoft Windows etc. are the popular operating systems. DBMS Software: DBMS software manages the database within the database system. Oracle, DB2, MYSQL, MS Access and SQL Server etc. are the popular DBMS.
Application programs and utilities software are used to access, display and manipulate the data in the database.

2. Hardware: This component includes all the physical devices required for database system. It may contain a mainframe computer or minicomputer and other microcomputers as clients. DBMS requires large amount of memory. A large secondary storage is required to store the large amount of data in the database. Large main memory is also required for proper functioning.

3. Procedures: Procedures means general rules and instructions that help to design the database and to use a database management system. Procedures are used for following purposes.
(i) To setup and install a new database management system,
(ii) To login and logout of DBMS software,
(iii) To manage DBMS or application programs,
(iv) To take backup of the database, and
(v) To change the structure of the database, etc.

4. Data It is the most important component of the database management system. The main task of DBMS is to process the data. Data is stored, retrieved and updated to and from the database structures like tables. The database contains both description about data and the actual data.

5. Users: The users are the people who control and manage the databases and perform different types of operations on the databases in the Database Management System. There are many types of users in DBMS. some of the common types of DBMS users are :
(i) Application Programmers.
(ii) Database Administrators.
(iii) End-Users.

 

Q. 3. Differentiate File Processing System and DBMS.
Ans. Differences between DBMS and File System are
File Processing System DBMS
1. File system manages and organizes the files without any specific software. 1. DBMS is a software for managing the database.
2. Redundant data can be presents in a file system. 2. There is almost no redundant data in DBMS.
3. File system doesn’t have a crash recovery mechanism. 3. DBMS provides a crash recovery mechanism.
4. It doesn’t provide backup and recovery of data if it is lost. 4. It provides backup and recovery of data even if it is lost.
5. There is no efficient query processing in file system. 5. There is efficient query processing in DBMS.
6. There is less data consistency in file system. 6. It has more data consistency.
7. It is less complex as compared to DBMS. 7. DBMS is more complex system.
8. File systems provide less security in comparison to DBMS. 8. DBMS has more security mechanisms as compared to file system.
9. It is less expensive than DBMS. 9. It has a high cost than a file system.
10. It does not require experts. 10. It requires expert persons.
11. Its use is decreasing day by day. 11. Its use is increasing day by day.
Q. 4. What is DBMS ? Explain any five advantages of DBMS.
Ans. Computer database is a collection of well-arranged records that is stored in the computer. User can obtain the required information from the database. The decision can be taken on the basis of this information. Software called database management system is used to prepare database.
Advantages of DBMS :
(i) In banking sector to look after of the account of the customer.
(ii) For airline reservation and making schedule of the information.
(iii) In universities to fetch information of the students and about the courses.
(iv) To create the monthly statement of an organization.
(v) For telecommunication.
(vi) In finance to store the information of sales and purchase.
(vii) In sales to store the information of customers purchased products.
(viii) In Manufacturing management to store the information of warehouses.
(ix) In human resource to store the employees’ salary bills, payrolls, taxes etc.

PSEB 9th Class Computer Guide Database Management System Important Questions and Answers

Fill in the Blanks

1. …………….. is the full name of DBMS.
(A) Database Manager System
(B) Database Managing System
(C) Database Management System
(D) Database Messenger Software.
Ans. (C) Database Management System
2. To control the Database …………….. is responsible.
(A) Data master
(B) Database administrator
(C) User
(D) Common man.
Ans. (B) Database administrator
3. After processing data is converted into …………….
(A) Database
(B) Information
(C) Entity
(D) Software.
Ans. (B) Information
4. Information associated with each other makes ……………… 
(A) Database
(B) DBMS
(C) DBA
(D) File Processing System.
Ans. (A) Database
5. To store same data again and again in a database is called …………….. 
(A) Integrity
(B) Redundancy
(C) Object
(D) Foreign key.
Ans. (B) Redundancy
6. ………………. is a unique key.
(A) Primary key
(B) Foreign key
(C) Electronic key
(D) Database key.
Ans. (A) Primary key

Short Answer Type Questions:

Q. 1. What do you mean by data ?
Ans. Collection of facts, figures, characters, words etc. is called data. It does not contain any meaning in itself.
Q. 2. What do you mean by information ?
Ans. The processed form of data is known as information. Information is used forgetting the results. It is also used for decision making.
Q. 3. What do you mean by database ?
Ans. Database is a structure in which similar data or information is stored under a single name.
Q. 4. What are the different applications of database ?
Ans. Different applications of database are :
1. Storing data
2. Preparing information from data
3. Retrieving information
4. Modification or Changing information
5. Deleting unnecessary information
6. Arranging information and desired order
7. Creating new information by combining two or more types of information.

Follow on Facebook page – Click Here

Google News join in – Click Here

Read More Asia News – Click Here

Read More Sports News – Click Here

Read More Crypto News – Click Here

Leave a Reply

Your email address will not be published. Required fields are marked *