0% found this document useful (0 votes)
55 views9 pages

QB Xii Unit 1 Database Concept

Uploaded by

VIKKY JAKHAR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views9 pages

QB Xii Unit 1 Database Concept

Uploaded by

VIKKY JAKHAR
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

UNIT-1

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

2) The datatypes of values in each column is called as__

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

4 rows of a relation are known as :-


A) Degree
B) Tuples
C) Entity
D) All of above

5 which command is used to delete one or more ROWS?

A) Update command
B) Delete command
C) Select command’
D) Insert command

6. The DBMS language component which can be embedded in program is


A)Data definition language
B) Data manipulation
C) The database administrator
D) A query language

7 To which of the following the term "DBA"referred ?


A) data bank administrator
B) database administrator
C) data administrator
D) none of the above

8 which constraints can be specified while creating the table?


A) Not Null
B) Varchar
C) Char
D) Integer
9. yash/vasundhara
Which of the following is not a type of logical operator used in SQL.
A) AND
B) BETWEEN
C) OR
D) NOT

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

11 It allows multiple users to access the database at same time.


A. Defining database
B. Populating database
C . Sharing database
D . Maintaining database

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.

A) Defining the database


B) Populating the database
C) Protecting the database
D) Maintaining the database

16 Manvi Gulati/ vasundhara


A column is also called an
A) Relation
B) Attribute
C) Tuple
D) None of above

17 _______ are restrictions on the values, stored in a database based on the


requirements.
A) Constraints
B) Key
C) Unique ID
D) Default
18 A table is called as a :-
A) Tuple
B) Column
C) Relation
D) Domain
19 shamiksha/vasundhra
Users who use database for querying and modifying.
A) End user
B) System analyst
C) DBA
D) Application proggrame

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

B)Fill in the Blanks:-


1 Entity integrity constraint specifics that _________ key of a relation could not
have null value
2___________determines the requirements of the end users and then develops
specifications to meet these requirements.
3_____________ is the smallest part of table in which one item can be kept.
4 _____________is the smallest part of table in which one data item can be kept
5______________ are the basic bilding box of A data base?
6 The database is managed by the software package known as ________
7 __________ SQL command 8s used to retrieve data from database tables
8 A relational model of a row is called _____________
9 __________ is the language of RDBMS
10 dev punia / Ritika
In grouping ___________ clause must be present in the query.
11 ___________|is the most commonly used database.
12 ikmeet kaur/ vasundhara
Primary key is used to identify _______________ in a relation.
13 The language used in application programs to request data from the DBMS is
referred to as the ___________
14The foundation of relational database technology was laid by ____.
15 manvi jaiswal/ Ritika
When condition is based on the result of another query ________ clause is used

16 manvi gulati/ vasundhara


___________ constraint specifies that primary key of a relation
cannot have null value.
Nested query can also be written using ______ clause.
17 Sometimes it is required to apply certain mathematical functions on group of
values in a database. Such functions are called ____________.

18. ______________Data in a DBMS is more concise because of the central


repository of data.
19 A database is representation of some aspect of the real world called ____

20_______ database is developed by e.f codd at ibm


21. Users who use the database for querying, modifying and generating reports
as per their needs are called ______ type of users.

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.

13 It is duplication of data in a database it leads to the problem like wastage of


page and data inconsistency.
14.
A) foreign key is a column or group of columns in a relational database table that
provides a link between data in two tables.
B) It acts as a cross-reference between tables because it references the primary key of
another table, thereby establishing a link between them.
15 If a file is updated then all the files containing the similar information must be
updated else it would result in inconsistency of data.
16 Mysql , Oracle , db2,ims,ids etc.
17 a) End Users: Users who use the database for querying, modifying and
generating reports as per their needs.
b) Database Administrator (DBA): As the name implies, the DBA administers the
database and the DBMS. The DBA is responsible for authoring access,
monitoring its use, providing technical support, acquiring software and hardware
resources.
18 CREATE DATABASE 12_G;
19 a) Self-describing Nature of a Database System
b) Insulation Between Programs and Data
c)Sharing of Data
20 It is a language that is used to manage data stored in a RDBMS.
21 a) Reduction in Redundancy: Data in a DBMS is more concise because of the
central repository of data.
b) Improved Availability : Same information is made available to different users.
This helps sharing of information by various users of the database.

You might also like