11th Commerce IT Chapter 2 Exercise (Introduction to DBMS) | Maharashtra Board (Free Solution)

11th Commerce IT Chapter 2 Exercise

11th-Commerce-IT-Chapter-2-Exercise
11th Commerce IT Chapter 2 Exercise

Chapter 2 – Introduction to DBMS

Q 1. Complete the following activity

  1. Tick whichever box is not valid.
01.1 result 1

Answer: Graphic

2. Student wants to create a field pincode in a table, which data type he will choose ?

Answer: Int

3. Tick the appropriate box

01.3 result 1

Answer: Uniquely identifies a record

4) Tick the appropriate circle

01.4 result 3

Answer: One or Many Tables

Q 2. Observe the field names of a database given below in Column A related to Bus reservation. Write suitable data types for each field in front of the respective field in Column B

Column A (Field Name)Column B (Data Type)
Passenger Name
Age
Gender
Name

Answer:

Column A (Field Name)Column B (Data Type)
Passenger NameVarchar
AgeInt
GenderChar
NameInt

Q 3. Write the use of following SQL command.

03 result

Answer:

  • INSERT – Insert data into table
  • UPDATE – Update data into table

Solution of other subjects
Solution of all Chapters of IT
1234

Free online lecture on above topic – Click Here

Q 4. Create a table for the information given below by choosing appropriate data types. Specify the proper primary key for table 1) Movie 2) Actor

1. Movie ( Registeration_no, movie_name, Realease_Date)

Answer:

CREATE TABLE Movie (Registeration_no int(20) PRIMARY KEY, movie_name VARCHAR(20), Realease_Date DATE);

2. Actor ( actor_id, Actor_name, birth_date )

Answer:

CREATE TABLE Actor (actor_id int(20) PRIMARY KEY, Actor_name VARCHAR(20), Birth_Date DATE);

Q 5. Consider the following table Stationary. Write SQL commands for following statements.

05 result 1

1) Write SQL command to create above Table

Answer:

CREATE TABLE Stationary (S_ID int(20) PRIMARY KEY, S_Name VARCHAR(20), C_Name VARCHAR(20), Price int(20), Quantity int(20));

2) Write SQL command to insert above mentioned record in table.

Answer:

INSERT INTO Stationary Values (001, ‘Note Book’, ‘ABC’, 20,50);
INSERT INTO Stationary Values (002, ‘Note Book’, ‘XYZ’, 10,80);
INSERT INTO Stationary Values (003, ‘Note Book’, ‘PQR’, 600,02);

3) To delete above table.

Answer:

DROP TABLE Stationery;

Q.6 Answer the following questions.

1) What is a database?

Answer:

A DBMS is a collection of programs (computer-based system) that enables the user to create and maintain a database it is used to define, construct and manipulate the data in the database for various applications. It provides information storage, organization, and retrieval capabilities. The DBMS also enforces necessary access restrictions and security measures in order to protect the database.

Various types of control systems within the DBMS make sure that the database continues to function properly. They Include Integrity system Security system Concurrency control system Recovery control system Some DBMS enables us to define “views” of the database. A view is how the database appears to the user. This enables us to show only the relevant information to different types of users and it increases security, as certain users will not be able to see data which they are not meant to see.

2) What are the advantages of a DBMS?

Answer:

Advantages of a DBMS:
1. Redundancy is controlled: In File Processing System, duplicate data is created in many places because all the programs have their own files. This creates data redundancy which in turn wastes labor and space. ‘In Database Management System, all the files are integrated into a single database. The whole data is stored only once in a single place so there is no chance of duplicate data.

2. Sharing of Data: In a database, the users of the database can share the data among themselves. There are various levels of authorization to access the data. And consequently, the data can only be shared based on the correct authorization protocols being followed.

3. Data Security: Data Security is a vital concept in a database. Only authorized users should be allowed to access the database and their identity should be authenticated using a username and password. Unauthorized users should not be allowed to access the database under any circumstances as it violates integrity constraints.

4. Enforces integrity constraints: Constraints are used to store accurate data because there are many users who feed data in the database. Data stored in the database should always be correct and accurate. DBMS provides the capability to enforce these constraints on the database.

5. Provides backup and recovery of data: Data loss is a very big problem for all organizations. In a traditional tile processing system, a user needs to back up the database after a regular interval of time that wastes lots of time and resources. If the volume of data is large then this process may take a very long time.

3) What do you understand by Data Model?

Answer:

A Database model defines the logical design and structure of a database and defines how data will be stored, accessed, and updated in a database management system. While the Relational Model is the most widely used database model.

Relational Model:
It is the most popular data model in DBMS. The relational model is the primary data model. Which is widely used for data processing. This model has all properties required to Process data with storage efficiency.

4) What is a primary key ?

Answer:

Primary Key: A column in the table that uniquely identifies each row in that table is called a primary key.

5) What is DDL(Data Definition language)

Answer:

DDL statements or commands are used to define and modify the database structure of your tables or schema. When you execute a DDL statement, it takes effect immediately.
Some examples of DDL commands are CREATE, ALTER, and DROP.

Solution of other subjects
Solution of all Chapters of IT
1234

Q.7 In a company the data is stored in a table under the following fields Employee number, Last name, Date of birth, and address. Which data type will you use for the above field?

07 result 1

Answer:

Field NameData Type
Employee NameChar
last nameChar
AddressVarchar
Date of birthDate

Q.8 Multiple Choice Question. (3 correct answers)

1) Valid relationships in RDBMS are

Answer:

a) one to one

b) one to two

c) one to many

d) many to two

e) many to many

f) one to three

Q.9 Complete the following

09 result

Answer:

  • To remove access rights or previleges from the database – Revoke
  • Extracts data from a table – Insert into Select

11th Commerce IT Textbook Solutions

Chapter Name Solution Link
1) Basics of Information TechnologyClick Here
2) Introduction to DBMSClick Here
3) Impressive Web DesigningClick Here
4) Cyber LawClick Here
Textbook Solutions of 11th Commerce (All Subjects)Click Here
Free pdf of 11th Commerce Textbooks Click Here

You may also like...

Leave a Reply

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