Database PYQs
Database PYQs
Question 3. Write the relationship between a database and a table. CBSE 2008
Answer: A database contains multiple tables whereas, a table cannot exist outside a
database.
uestion 8. Write any two uses of database management system. CBSE 2007
Answer:
1. High complexity
2. Database failure
Question 14. Name two possible primary keys for an Employee table. CBSE
2007
Answer: Possible primary keys for an Employee table are empcode,
empphonenumber.
Question 16. What is the default extension of OO.o not zero BASE database?
CBSE 2005
Answer: The default extension of OO.o BASE database is .odb.
Storage of information.
Retrieval of information quickly.
Sorting, selecting data that satisfies certain criteria (filtering).
Produce the report in some standardised and readable format.
Question 2. How are fields, record and a table related to each other? Explain
with the help of an example. CBSE 2007
Answer: Fields are one type of information. A record contains logically related fields.
A table Emp name contains logically related records.
2. Raghav 40000
Here EmpNo, Name and Salary are three different fields. 1, Shridhar, 20000
represents one complete record.
Data Information
It considers facts symbols, images for reference or It considers knowledge derived from study, experienc
analysis. instruction.
Question 6. Define forms and what is the need of using them? CBSE 2006
Answer: In a database, a form is a window or a 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 user specified layout.
e.g. a user can create a data entry form that looks exactly like a paper form. People
generally prefer to enter data into a well-designed form, rather than a table.
Question 10. 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? CBSE 2007
Answer: AdmissionNo should be set as primary key because admission numbers
are unique for each and every students of the school, which is not possible in the
case with RollNo and Name.
Question 11. What is the utility of primary key in database? Write distinct
features of primary keys. CBSE 2013
Answer: 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. Main features of primary key are as
follows:
The various types of users which can access the database system are as follows:
1. In school, DBMS is used to store the data about students, teachers and any
other related thing at a centralised location.
2. It provides security to the personal information of the school, stored in it.
It is a collection of data items, which represent a It is an area within the record reserved for a specif
A record refers to a row in the table. A field refers to a column in the table.
e.g. if Employee is a table, then entire information of an e.g. if Empolyee is a table, then empld, empNa
Step 1 Determine the purpose of your database The first step of designing a
database is to determine the purpose and mechanism to design and use it.
Step 2 Determine the tables Tables are one of the most important elements
of a database, consist of rows and columns. To create a well-defined database,
you have to keep some conditions which are as follows:
Answer:
Answer:
1. 95.4
2. Mohan Garg and scholarship awarded is 50000.
3. 5
4. 6
Question 4. The director of a company uses a database to store data about job
title. This is a part of the database given below
Answer:
1. 6
2. 6
3. Secretary
4. Finance department and their Payroll Numbers are A621 and M502.
Question 5. Identify the columns out of the given three, which should not be
present in each of the following tables:
Q7. Out of the following, which one is the most appropriate data field in
context of employee table, if only one of these is required? CBSE 2011
(a) Age in years
(b) Date of birth
(c) Age in days
(d) Age in months
Answer: (b) Date of birth is the most appropriate data field in context of employee
table.
Q9. Which of the following is not the main building block of a database?
(a) Lists
(b) Queries
(c) Reports
(d) Forms
Answer: (a) The main building blocks of database are tables, queries, forms and
reports.
Q11. DBMS is a program that controls the creation, maintenance and use of
database. Here, DBMS referred to
(a) Digital Base Management System
(b) Data Build Management System
(c) DataBase Management System
(d) DataBase Management Service
Answer: (c) Here, DBMS stands for Database Management System.
Q16. Which of the following fields will not make a suitable primary key? CBSE
2011
(a) A customer’s account number
(b) A date field
(c) An auto number field
(d) A student’s admission number
Answer: (b) From the given options, data field can not be set as a primary key
because it can’t be fixed for an object.
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
Answer: (b) Key is a data item that allows you to uniquely identify individual
occurrences which is defined as the column or set of columns.
Q5. ………….. is the smallest part of a table in which one data item can be
kept. CBSE 2011
Answer: Field
Q10. The candidate key, which is not used as primary key is called ………….. key.
Answer: alternate
Q4. A report allows you to represent data retrieved from one or more tables so
that, it can be analysed and printed if required.
Answer: True When you want to print those records which are fetched from your
database then, reports are more useful for this purpose.
Q5. If a piece of data (field value) is stored in two places in the database, then
storage space is wasted and changing the data in one place will not cause
data inconsistency. CBSE 2011
Answer: False If a piece of data is stored in two places in the database, then
storage space is wasted and changing the data in one spot will cause data
inconsistency.