Database Management System Class 10 IT 402
Database Management System Class 10 IT 402
-->
Courses NCERT Solutions Syllabus United Kingdom
Works Where
You Work
(a) Reports
(b) Forms
(c) Queries
(d) Tables
(a) DDL
(b) DCL
(c) DML
(d) TCL
(a) the ability to store a large amount of data in a structured format, easy update, sort query, production of reports.
https://www.evidyalam.com/p/database-management-system-class-10.html 1/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
(b) easy edition, spell check, perform calculations, the library of mathematical functions, replication.
Courses NCERT Solutions Syllabus United Kingdom
15% OFF Ad by 15% OFF
Communicate Effectively Throughout Your Writing Universe Install
Report this ad
Ad choices
GRT Jewellers - Twinkling GRT Jewellers - Ebullient GRT Jewellers - 10 Grams
Glimmering Dance Silver GRT Jewellers - Amazing Leaf Pattern Silver Dhanalakshmi Kubera
Bangles Peacock Gold Bangles Necklace Silver Coin
(c) the ability to rotate images, copy and paste, fill scale.
Ans. (a) the ability to store a large amount of data in a structured format, easy update, sort query. production of
reports.
(a) user
(c) DBMS
(b) hardware
(d) RDBMS
(a) tables
(b) queries
(c) forms
(a) database
(b) file
https://www.evidyalam.com/p/database-management-system-class-10.html 2/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
(c) field
Courses NCERT Solutions Syllabus United Kingdom
(d) record
Q9. Out of the following, which one is the most appropriate data field in the context of the employee
table if only one of these is required?
Q10. Which of the following is not the main building block of a database?
(a) Lists
(b) Queries
(c) Reports
(d) Forms
Ans. (a) Form enables people to enter or view data in a database easily.
Q12. DBMS is a program that controls the creation, maintenance and use of databases. Here, DBMS
referred to
(d) DBMS
Q14. RDBMS provides relational operators to manipulate the data. Here, RDBMS refers to
https://www.evidyalam.com/p/database-management-system-class-10.html 3/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
(d) None of the above
Courses NCERT Solutions Syllabus United Kingdom
Ans. (b) Relational Database Management System
Q17. Key field is a unique identifier for each record. It is defined in the form of
(a) rows
(b) columns
(c) tree
(d) query
Q18. Which of the following fields will not make a suitable primary key?
(b) A date-field
Q19. When you define a field for a table, which of the following parameters do access always consider
optional?
(d) Description
(a) Picture/Graphic
(b) Date/Time
(c) Text
(d) Number
https://www.evidyalam.com/p/database-management-system-class-10.html 4/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
(a) Number
(c) Currency
(d) Text
Q23. What data type should be chosen for a zipcode field in a table?
(a) Text
(b) Number
(c) Memo
Q24. You create a table in MS-Access. You decided to create two fields RollNo and Date of Birth, what
will be the data type of the Date-of-Birth column?
(a) Number
(b) Text
(c) Yes/No
(d) Date/Time
Q25. Which data type helps you to handle input column that is in boolean format?
(b) Attachment
(c) Yes/No
(a) Select
(b) Insert
(c) Update
(d) Alter
(a) Datan
https://www.evidyalam.com/p/database-management-system-class-10.html 5/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
(b) Datas
Courses NCERT Solutions Syllabus United Kingdom
(c) Datum
(d) Datap
Q28. A column within a table that contains only one type of information is called a:
(a) Record
(b) File
(c) Field
(d) Folder
(a) Database
(b) File
(c) Field
(d) Record
Q30. What storage space does the Tiny Integer data type occupy in a Base table?
(a) 1 byte
(b) 2 bytes
(c) 4 bytes
(d) 6 bytes
Q31. How much space does the TIME data type hold in Base?
(a) 2 bytes
(b) 4 bytes
(c) 6 bytes
(d) 8 bytes
Q32. How much space does the Biglnt data type hold in Base?
(a) 2 bytes
(b) 4 bytes
(c) 6 bytes
(d) 8 bytes
Q33. In which view of the table can you view the format of the table?
https://www.evidyalam.com/p/database-management-system-class-10.html 6/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
Ans. (a) Data view
Courses NCERT Solutions Syllabus United Kingdom
(a) Student-Teacher
Ans. A collection of related information organised as tables are known as a database e.g. INGRES, MySQL etc.
Ans. In a table, rows are called records and columns are termed a field. A row stores complete information of a record
whereas column stores only similar data values for all records.
Ans. A field is an area, reserved for a specific piece of data. It is also known as an attribute. e.g. Customer Name.
Ans. A form is a window or screen that contains numerous fields or spaces to enter data. Forms can be used to view
and edit your data. It is an interface in a user-specified layout.
Ans. DBMS stands for Database Management System. It is a computer-based record-keeping system.
https://www.evidyalam.com/p/database-management-system-class-10.html 7/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
Ans. RDBMS stands for Relational Database Management System. It is a type of DBMS that stores data in the form of
Courses NCERT Solutions Syllabus United Kingdom
relations (tables).
Ans. A relational database is a type of database. It uses a structure that allows us to identify and access data in relation
to another piece of data in the database. Data in a relational database is organized into tables.
Ans. DBMS is used to store logically related information at a centralised location. It facilitates data sharing among all
the applications requiring it.
Q12. A table named School (containing data of students of the whole school) is created, where each
record consists of several fields including AdmissionNo (Admission Number), RollNo (Roll Number),
Name. Which field out of these three should be set as the primary key and why?
Ans. AdmissionNo should be set as the primary key because admission numbers are unique for each and every student
of the school, which is not possible in the case with Roll No and Name.
https://www.evidyalam.com/p/database-management-system-class-10.html 8/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
Q13. When Memo data type is preferred over Text data type for a field?
Courses NCERT Solutions Syllabus United Kingdom
Ans. When the length of the field is more than 255 characters. Text data type is not capable to store the project
description because its length cannot be more than 255 characters so, Memo data type is preferred over Text data type.
Ans. When we enter text in a Number field and press Enter or press Tab key, MS-Access displays a message that "The
value you entered does not match the Number data type in this column."
Ans. Datatypes available in Numeric datatype are TINYINT, SMALLCINT, MEDIUMINT, INT and BIGINT.
Q17. Write one example of a data field for which you would set the Required property to Yes?
Ans. In a table, when we declare a field as a primary key, then the field's Required property must be set to yes
because, in a primary key field, we need to enter data always.
Ans. If there is a situation when you want to enter the same value for all records. Then, to avoid typing the same thing
many times, you can set it as a Default Value property.
Ans. DDL (Data Definition Language) is used to define the structure of your tables and other objects in the data
database. It allows you to create, alter and destroy database objects.
Ans. Data, Software, Hardware and User are the major components of a database.
Ans. It is a set of programs that lies between the stored data and the users of the database. It is used to control and
manage the overall computerised database. It is different types of software such as MySQL, Oracle etc.
Ans. It helps to avoid data inconsistency. It means if a single database is used by multiple users then it also ensures
that the same data is present for all the users. For example, if the two departments (HR and IT) access the data
simultaneously then only one department will see the updates by the other department. DBMS solves this issue.
Ans. RDBMS stands for Relational Database Management System. This name is used for databases that are developed
by using the relational database model as prescribed by E.F. Codd, of IBM's San Jose Research laboratory. The most
popular database systems in use are RDBMS-es.
Ans. The former case is that of the field being called a primary key. It is the field that varies from row to row. The latter
case is that of a composite primary key. In this case, not one but a combination of fields make up the primary key.
https://www.evidyalam.com/p/database-management-system-class-10.html 9/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
Ans.
ID integer
Name varchar 15
Stream_Id integer
Ans. CREATE TABLE STUDENT (ID Integer, Name varchar (15), Stream-Id Integer);
Q24. Write a SQL command to create the table BANK whose structure is given below:
Name varchar 20
B_date date
Address varchar 50
Ans. The SQL command to create a table as per the given structure is as follows:
MySQL> CREATE TABLE BANK (ID_Number integer (10) PRIMARY KEY, Name varchar (20), B_date date, Address
varchar (50));
Q25. Insert some information into a table COLLEGE, whose structure is given below:
Ans. (i) MySQL> INSERT INTO COLLEGE (ROLL_NO, NAME, CLASS, BRANCH) VALUES (1, 'ROHAN', 12, 'SCIENCE');
(ii) MySQL> INSERT INTO COLLEGE (ROLL_NO, NAME, CLASS, BRANCH) VALUES (2, 'NEHA', 12, 'SCIENCE');
(iii) MySQL> INSERT INTO COLLEGE (ROLL_NO, NAME, CLASS, BRANCH) VALUES (3, 'AMIT', 12, 'COMMERCE');
Data Information
https://www.evidyalam.com/p/database-management-system-class-10.html 10/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
Courses
Data NCERT Solutions Syllabus United Kingdom
Information
It considers facts, symbols, images for reference or analysis. It considers knowledge derived from study, experience or instruction.
Ans.
1. Storage of information.
2. Retrieval of information quickly.
3. Sorting, selecting data that satisfies certain and readable format.
4. Produce the report in some standardised and readable format.
Q3. How are fields, record and a table related to each other? Explain with the help of an example.
Ans. Fields are one type of information. A record contains logically related fields. A table Emp name contains logically
related records.
1 Shridhar 20,000
2 Raghav 40,000
Here, EmpNo, Name and Salary are three different fields. 1, Shridhar, 20,000 represents one complete record.
Ans. A query is an inquiry into the database using the SELECT statement. These statements give you filtered data
according to your conditions and specifications indication the fields, records and summaries which a user wants to fetch
from a database.
Ans. Data integrity refers to the overall accuracy, completeness, and reliability of data. It can be specified by the lack of
variation between two instances or consecutive updates of a record, indicating that your information is error-free.
Q6. What is the utility of the primary key in a database? Write distinct features of primary keys.
Ans. The primary key is used to uniquely identify the record in a database. It can be a column or a set of columns in the
table. The main features of the primary key are as follows:
Q7. State the relationship and difference between a primary and foreign key.
A foreign key is a column or set of columns in one table that references the primary key columns in another table.
Difference between primary key and foreign key Primary key can't accept null values whereas foreign key can accept
multiple null values.
Q8. Define the following data types: (i) AutoNumber (ii) Currency (iii) Text
Ans. (i) AutoNumber: It allows to store numbers that are automatically generated for each record. It increases the
number automatically.
https://www.evidyalam.com/p/database-management-system-class-10.html 11/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
(ii) Currency: It allows to store monetary values that can be used in calculations accurate up to 15 digits on L.H.S and
Courses NCERT Solutions Syllabus United Kingdom
4 digits on R.H.S of decimal points.
(iii) Text: It allows to store text or a combination of text and numbers, as well as numbers that don't require
calculations such as phone numbers.
'or'
How are field types Text and Memo different from each other? Explain with the help of an example.
Text Memo
It is used for relatively short entries. It is used for long text paragraphs.
It uses field size property to control the number of characters. It does not use field size property.
Q10. A text field is initially 40 characters long and one record has an entry in this field in the MS-Access
database. The field value contains 28 characters, including spaces. Now, you have reduced the length of
the field to 20 characters. What will happen to the field value?
Ans. Since the new field length is 20 characters long. So, this field will contain only left 20 characters including spaces
and the remaining data will be discarded. Thus, the data from the right side of the field will be lost.
Ans. Entry Required field information decides whether entering data in the field is necessary or not. So, if Entry
Required is set to Yes, then that field must have some value in it. By default, the Entry required is set to Yes.
Ans. When you want to increment the number automatically as you add or delete the records. AutoNumber data type is
preferred. Also, if the table does not have a primary key, then AutoNumber uniquely identifies the record.
Step 2: To insert a new column, click the Insert in Datasheet tab or right-click the header (Field Name) of the field
that follows the new field.
Q14. Write the steps to create a form using the Split Form command.
Ans. To create a form using a Split Form command, follow the given steps:
Step 1: First, select the table for which you want to create a form.
Step 3: Select the Split Form option from the Forms group.
After this, the form will be shown in the upper part and the lower part will show the datasheet view.
https://www.evidyalam.com/p/database-management-system-class-10.html 12/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
Ans. UPDATE command is used to update a single record or multiple records in a table. The UPDATE command is used
to modify the existing rows in a table.
Syntax
UPDATE <table name> SET<Columnl> =<value 1>, <Column 2>=<value 2>,... WHERE <condition>;
Q16. Write SQL command to create the table VEHICLES with given constraint and also add some
information in it.
Reg_Date date
Address varchar 40
mysql> (CREATE TABLE VEHICLES (RegNo char(15)Primary key, Reg_Date date, Owner_Name varchar (20),
Address varchar (40));
mysql>INSERT INTO VEHICLES(Reg_No, Reg Date, Owner Name, Address) VALUES (100, 12-12-13, 'VIKAS',
'MEERUT');
Record
It is a collection of data items that represent a complete unit of information about a thing or a person.
A record refers to a row in the table.
Record is also known as a tuple.
e.g. If Employee is a table, then the entire information of an employee is called a record.
Field
Q3. Define Database Management System. Write two advantages of using a database management
system for school.
Ans. Database Management System (DBMS) is a collection of programs that enable users to create, maintain a
database and control all the access to the database. The primary goal of the DBMS is to provide an environment that is
both convenient and efficient for users to retrieve and store information. The advantages of using DBMS for school are
as follows:
https://www.evidyalam.com/p/database-management-system-class-10.html 13/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
(i) In school, DBMS is used to store the data about students, teachers and any other related things at a centralised
Courses NCERT Solutions Syllabus United Kingdom
location.
(ii) It provides security to the personal information of the school, stored in it.
Q5. Write one example of each field, for which you would use (i) Text data type (ii) Memo data type
Ans.
(i) Text data type: It allows to store text or combination of text and numbers as well as numbers that don't require
calculations such as phone numbers. This data type allows a maximum of 255 characters to store.
e.g. If Employee is a table and Emp_No, Name and Description are fields, then the name will be a Text field. Because
Name is a character entry field.
(ii) Memo data type: It allows long blocks of text that uses text formatting.
e.g. In the Employee table, the field Description will be of Memo data type, because the length of the description of the
employee may be large.
Q6. Distinguishing between Number and AutoNumber data type field. Give an example of each.
Ans. Distinguishing between Number and AutoNumber data type fields are as follows:
Number
AutoNumber
1. It allows storing numbers that are automatically generated for each record.
2. The field length of this data type is 4 bytes.
3. It supports the field property New values.
4. Autonumber will have values calculated by the system.
5. e.g. In a table Bank, the Account No is an Auto Number field as, for every new customer, this field will
automatically increase and will provide a new number.
Ans. DML provides various commands used to access and manipulate data in the existing database. This manipulation
involves inserting data into the database tables, retrieving existing data, deleting data from existing tables and
modifying existing data.
DML is mostly incorporated in the SQL database. The basic goal of DML is to provide efficient human interaction with the
system.
1. Procedural DMLs: These require a user to specify what data is needed and how to get it.
2. Non-Procedural DMLs: These require a user to specify what data is needed without specifying and how to get it.
Ans. To design a report using Report Wizard, follow the given steps:
Step 1: First, select the table for which you want to design reports.
Step 3: In the Reports group, select the Report Wizard option. Report Wizard dialog box will appear on the screen.
https://www.evidyalam.com/p/database-management-system-class-10.html 14/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
Step 4: Choose fields from here which exist in Available fields and click on the Next button.
Courses NCERT Solutions Syllabus United Kingdom
Step 5: After this, the next screen will appear, click on the Next button. The next screen will appear.
Step 6: Here, you can sort your fields in ascending or descending order and click on the Next button.
Step 7: The next screen will appear with Layout and Orientation options.
Step 8: You select any layout from the Layout section and Portrait or Landscape from the Orientation section. Click on
the Next button.
Step 9: The next screen will appear where you can give the title for your report. Click on Finish.
Q9. Define the following terms. (i) Insert Command (ii) Select Command (iii) Delete Command (iv) DCL
Command (v) Template
Ans.
(i) Insert Command: It is used to add a single record or multiple records into a table.
Syntax
(ii) Select Command: It is used to query or retrieve data from a table in the database.
Syntax
(iii) Delete Command: To discard unwanted data from a database, the delete command is used.
Syntax
(iv) DCL Command: DCL commands are used to assign security levels in the database which involves multiple user
setups. They are used to grant defined roles and access privileges to the users.
(v) Template: It is a complete tracking application with predefined tables, forms, reports, queries, macros and
relationships.
Q10. Write SQL queries for the questions from (a) to (e) on the basis of table class.
(a) Select all the non-medical stream students from the class table.
Ans. mysql> SELECT Name FROM Class WHERE Grade=`A' ORDER BY Stipend:
(e) Insert the new row with the following data. (06, 'Jack', 2800, 'Humanities', 98, 'A')
Ans. mysql> INSERT INTO Class VALUES (06, 'Jack', 2800, 'Humanities', 98, 'A');
Q11. Write SQL commands for the questions from (a) to (e) on the basis of table SHOP.
https://www.evidyalam.com/p/database-management-system-class-10.html 15/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
Courses
S_NO NCERT SolutionsS_Name Syllabus
P_Name Qty United Kingdom
Cost City
(a) Display all products whose quantity is between 100 and 400.
Ans. mysql> SELECT * FROM SHOP WHERE Qty BETWEEN 100 and 400;
(c) To list S_Name, P_Name, Cost for all the products whose quantity is less than 300.
Ans. mysql> SELECT S_Name, P_Name, Cost FROM SHOP WHERE Qty <300;
(d) To display S_NO, P_Name, S_Name, Qty in descending order of quantity from the SHOP table.
Ans. mysql> SELECT S_NO, P_Name, S_Name, Qty FROM SHOP ORDER BY Qty DESC;
(e) Give S_Name for products whose name starts with 'B':
Ans. mysql> SELECT S_Name FROM SHOP WHERE P_Name LIKE 'B%':
TERM-I
TERM-II
TERM-I
TERM-II
https://www.evidyalam.com/p/database-management-system-class-10.html 16/17
6/16/24, 2:59 PM Database Management System Class 10 IT 402
Works Where
You Work
Disclaimer
https://www.evidyalam.com/p/database-management-system-class-10.html 17/17