QB Xii Unit 1 Database Concept
QB Xii Unit 1 Database Concept
Database concept
QUESTION BANK
A)MCQS
1) command use to update the attribute value of one or more tuples in a table
is-
A)insert table
B ) select command
C)update command
D) delete command
A) Tuple
B) Attribute
C) Domain
D) Relation
3 sahil/Ritika
Which constraint comes when a user has not entered a value for an attribute.
A) Default
B) Not Null
C) Cascade
D) Check
A) Update command
B) Delete command
C) Select command’
D) Insert command
‘
10 DEV /ritika
Which of the following option will reject the delete or update operation of the
referenced table
A) Cascade
B) Restrict
C) Null
D) Primary Key
12 ikmeet/vasundhra
Drop table command is used to
A) Create a table
B) Delete a table
C) Dropping a column
D) Dropping keys
13 the number of tuples in a relation is called:-
A) Cardinality
B) Entity
C) Column
D) None of these
14 LAKSHAY /Ritika
In which of the following language ,the Delete command will come
A) DDL
B) DML
C) Drop
D) Delete
15 _________ involves storing the data on some storage medium that is
controlled by DBMS.
20 SUJAL / Ritika
Which of the following aggregate Function counts the numbers of tuples in the
result of the query.
A) SUM
B) COUNT
C) AVG
D) MIN
21. when same information is stored in more than one file IT IS CALLED
A) Data Inconsistency
B) Lack of Data Integration
C) Data Redundancy
D) Sharing of data
C)Short Questions:-
1. Modified by Ritika/ aanya
Define the operation Protecting the Database?
2. List some limitations of using DBMS?
3 Define Null Value?
4 What do u understand by Domain?
5 What do u mean by Relational Database?
6 Distinguish between ALTER TABLE and UPDATE TABLE command of Mysql?
7 Write two examples of DML Command of SQL?
8 What is difference between Defining the Database and Populating the
Database?
9 Mention two properties of database ?
10 DEV/ vasundhara
Give two key features of primary key .
11 Name the various operations performed in a database?
12 What is Database Management System?
13 What is Data Redundancy?
14 Modified by Vasundhara/ Lakshay
Give two key features of foreign key .
15 What is Data Inconsistency?
16 What are the examples of DBMS ?
17 Write any two types of users of DBMS?
18 Write a query to create database with the name “class”?
19 Name the characteristics of Database Management System?
20 What is SQL?
21. What are the advantages of using the DBMS approach ?
Answers
MCQ
1. Update command
2 . Domain
3. Default
4. tuple
5. Delete command
6. Data manipulation language
7. Database Administrator
8. Not Null
9. AND
10. Restrict
11. Sharing database
12. Delete a table
13. Cardinlity
14. DML
15. Populating the database
16. Attribute
17. Constraints
18. Relation
19. End user
20. COUNT
21 .Data Redundancy:
Fill Up’s
1 primary key
2 System analyst
3 field
4 field
5 Tables
6 DBMS
7select
8 Tuple
9 SQL
10 Select
11 RDBMS
12 Tuples
13 data manipulation language
14Edgar frank
15 Where
16 Entity Integrity Constraint
17 Aggregate Functions
18
19 Mini world
20
21 end users
Short Answers
1 It enables protection of the database from software/hardware failures and
unauthorized access.
2 a) High Cost
b) Security and Recovery
3 In some case particular domain may not have an applicable value for an
attribute or if we do not know the value of an attribute. In this case null value is
used.
4 Domain is a value from which the actual value appearing in a given column are
drawn.
5 In Relational Database the data is organised in the form of table (rows and
columns).
6 ALTER Table command is a DDL statement which is used to modify the table
structure . On the other hand UPDATE command is a DML statement which is
used to modify the data stored in a table.
7 It is concerned with the transformation of the conceptual schema (logical data
structure) into a computer represent able form.
8 Defining the Database: It involves specifying the data type of data that will be
stored in the database and also any constraints on that data.
Populating the Database: It involves storing the data on some storage medium
that is controlled by DBMS.
9 a) It can be of any size and complexity.
b) It can be maintained manually or it may be computerized.
10) a) A primary key comprises a single column or set of columns. No two distinct
rows in a table can have the same value (or combination of values) in those columns.
b) Primary Key of a table can be specified in two ways. If the primary key of the
table consist of a single attribute, then the corresponding attribute
can be declared primary key along with its description.
11 a) Defining the Database
b) Populating the Database
c) Sharing the Database
d) Protecting the Database
12 A database management system is a collection of programs that enables
users to create, maintain and use a database. It enables creation of a repository
of data that is defined once and then accessed by different users as per their
requirements.