QUESTION BANK
Session: 2017-18
Sem : 4th
Branch : MECH-B,EEE,CIVIL,ECE
Department :CSE
Subject : DBS(MINOR)
Code : PCCS4304
Course Name : B.TECH
Subject Teacher:ELINA PATTNAIK MAM, R.SUBBA RAO SIR(GEC)
Full Mark: 50
A) MCQ(multiple choice question) :
1. Files are located by operating system with help of
a)addressing system b)path file system c)directory file system d)header file system
2. Which of the following is the oldest database model?
a) Relational b) Hierarchical c) Physical d) Network
3.E-R modeling technique is
a)Tree structure b)Top- down method c)Bottom-up method d)Right -left approach
4. which of the following is record based logical model(s)?
a)Network Model b)Object-oriented model c) Relational Model Entity d)Relationship Model
5. Entity is a
a) Object of relation b) Present working model c) Thing in real world d) Model of relation
6. The term attribute refers to a ___________ of a table.
a) Record b) Column c) Tuple d) Key
7. .Course(course_id,sec_id,semester)
Here the course_id,sec_id and semester are __________ and course is a _________ .
a) Relations, Attribute b) Attributes, Relation c) Tuple, Relation d) Tuple, Attributes
8. The tuples of the relations can be of ________ order.
a) Any b) Same c) Sorted d) Constant
9. RAID level ____ spreads parity and data among all N+1 disks rather than storing data in N disks and parity in 1.
a) 3 b) 4 c) 5 d) 6
10. Collection of information stored in database at particular instance of time is called as __________.
a) Data Structure b) Database Schema c)Instance of Database d) Objects in Database
11. Database supports _______ types of database schema's.
a)2 b)3 c)1 d)4
12. The property (or set of properties) that uniquely defines each row in a table is called the:
a) Identifier b) Index c) Primary key d) Symmetric key
13. The database design that consists of multiple tables that are linked together through matching data stored in each table is called
a) Hierarchical databas
b) Network database
c) Object oriented database
d) Relational database
14. The association role defines:
a) How tables are related in the database
b) The relationship between the class diagram and the tables in the database
c) The tables that each attribute is contained
d) Which attribute is the table’s primary key
15. A unit of storage that can store one or more records in a hash file organization is denoted as
` a) Buckets b) Disk pages c) Blocks d) Nodes
16. The file organization which allows us to read records that would satisfy the join condition by using one block read is
a) Heap file organization
b) Sequential file organization
c) Clustering file organization
d) Hash file organization
17. Foreign key is the one in which the ________ of one relation is referenced in another relation.
a) Foreign key b) Primary key c) References d) Check constraint
18. ____________ is an interface between low level database and application program.
a) Database Associator b) Database Server c) Database Manager d) None of these
19. A main purpose of DBMS is to provide ____________ view of data to user.
a) Abstract b)Partial c) Complete d) None of these
20. Consider attributes ID , CITY and NAME . Which one of this can be considered as a super key ?
a) NAME b) ID c) CITY d) CITY , ID
21. The subset of super key is a candidate key under what condition ?
a) No proper subset is a super key
b) All subsets are super keys
c) Subset is a super key
d) Each subset is a super key
22. A _____ is a property of the entire relation, rather than of the individual tuples in which each tuple is unique.
a) Rows b) Key c) Attribute d) Fields
23. Database __________ , which is the logical design of the database, and the database _______,which is a snapshot of the data in the database at a given instant in time.
a) Instance, Schema
b) Relation, Schema
c) Relation, Domain
d) Schema, Instance
24. A domain is atomic if elements of the domain are considered to be ____________ units.
a) Different b) Indivisbile c) Constant d) Divisible
25. In E-R diagram generalization is represented by
a)Rectangle b)Elipse c)Triangle d) Dashed ellipse
B) Short questions :
1. What is the difference between DATABASE and DBMS?
2. What is a Database system?
3. What are the advantages of DBMS?
4. What are the disadvantage in File Processing System?
5. Describe the three levels of data abstraction?
6. What is Data Independence?
7. What is a view? How it is related to data independence?
8. What is Data Model?
9. What is E-R model?
10. What is Object Oriented model?
11. What the difference between entity,entity set and entity type?
12. What is an attribute?
13. What is Relationship?
14. What is degree of Relationship type?
15. What are diff. types of attributes?
16. What is cold backup and hot backup (in case of Oracle)?
17. Define and discuss data constraints.
18.What is the difference between mirroring and stripping ?
19.What is the difference between candidate key and composite key?
20.What are the major functions of the database administrator?
C .LONG QUESTION
1.What is File processing system and disadvantage of file processing system ?
2.What is Data Abstraction and how it is implemented in three levels of database?
3.Explain with diagram of a Three tier Architecture in database ?
4. What are the Advantages of DBMS and disadvantage of DBMS ?
5.What are different levels of Raid,explain with diagram ?
6.What are different type of file organization ,explain with Examples?
7.What is mapping?Give a brief idea about different type of relationship exist in DBMS?
8.Construct an ER diagram on Online Railway Reservation System .
9. Construct an ER diagram on Banking Transaction system .
10. Construct an ER diagram on BPUT database.
11.Write short notes
a)Hierarchical and Network model
b)Generalization
12. Write short notes
a)Data independence
b)DBA
1. What is database?
A database is a logically coherent collection of data with some inherent meaning, representing some aspect of real world and which is designed, built and populated with data for a specific purpose. What is DBMS?
It is a collection of programs that enables user to create and maintain a database. In other words it is general-purpose software that provides the users with the processes of defining, constructing and manipulating the database for various applications.
2. What is a Database system?
The database and DBMS software together is called as Database system.
3. What are the advantages of DBMS?
Redundancy is controlled.
Unauthorised access is restricted.
Providing multiple user interfaces.
Enforcing integrity constraints.
Providing backup and recovery.
4. What are the disadvantage in File Processing System?
Data redundancy and inconsistency.
Difficult in accessing data.
Data isolation.
Data integrity.
Concurrent access is not possible.
Security Problems.
5. Describe the three levels of data abstraction?
The are three levels of abstraction:
Physical level: The lowest level of abstraction describes how data are stored.
Logical level: The next higher level of abstraction, describes what data are stored in database and what relationship among those data.
View level: The highest level of abstraction describes only part of entire database.
What is a view? How it is related to data independence?
A view may be thought of as a virtual table, that is, a table that does not really exist in its own right but is instead derived from one or more underlying base table. In other words, there is no stored file that direct represents the view instead a definition of view is stored in data dictionary.
Growth and restructuring of base tables is not reflected in views. Thus the view can insulate users from the effects of restructuring and growth in the database. Hence accounts for logical data independence
What is Data Model?
A collection of conceptual tools for describing data, data relationships data semantics and constraints.
What is E-R model?
This data model is based on real world that consists of basic objects called entities and of relationship among these objects. Entities are described in a database by a set of attributes.
What is Object Oriented model?
This model is based on collection of objects. An object contains values stored in instance variables with in the object. An object also contains bodies of code that operate on the object. These bodies of code are called methods. Objects that contain same types of values and the same methods are grouped together into classes.
What is an Entity?
It is a 'thing' in the real world with an independent existence.
What is an Entity type?
It is a collection (set) of entities that have same attributes.
What is an Entity set?
It is a collection of all entities of particular entity type in the database.
What is cold backup and hot backup (in case of Oracle)?
1. Cold Backup: It is copying the three sets of files (database files, redo logs, and control file) when the instance is shut down. This is a straight file copy, usually from the disk directly to tape. You must shut down the instance to guarantee a consistent copy. If a cold backup is performed, the only option available in the event of data file loss is restoring all the files from the latest backup. All work performed on the database since the last backup is lost. 2. Hot Backup: Some sites (such as worldwide airline reservations systems) cannot shut down the database while making a backup copy of the files. The cold backup is not an available option
Define and discuss data constraints.
Data constraints on a column are the limits put on the values the data can have. There are four types of data constraints: (1) domain constraints, which define a limited set of values for the column, (2) range constraints, which specify that the values must fall within a certain range, (3) intrarelation constraints, which define what values the column can have based on values of other columns in the same table, and (4) interrelation constraints, which define values the column can have based on values of columns in other tables
.What are the major functions of the database administrator?
Managing database structure, controlling concurrent processing, managing processing rights and responsibilities, developing database security, providing for database recovery, managing the DBMS and maintaining the data repository.
.
What are diff. types of attributes?
Ans:
1. Composite Vs simple attributes.
2. Single valued Vs multi-valued attributes.
3. Stored Vs derived attribute.
4. Null valued attributes.
5. Complex attributes.
What is a degree of a relationship?
A relationship degree indicates the number of entities or participants associated with a relationship
THIS IS PREPARED BY ELINA MAM FOR QUERY COMMENT BELOW OR CONTACT MAM