0% found this document useful (0 votes)
27 views4 pages

Question Bank DBMS

The document outlines various concepts and terminologies related to databases, including definitions of data, database, DBMS, and different types of database users. It discusses the characteristics of database approaches compared to traditional file systems, advantages of DBMS, and the architecture of databases. Additionally, it covers topics such as ER diagrams, SQL data definition, and constraints, along with practical examples for designing databases and writing SQL queries.

Uploaded by

shruti.bhb18
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)
27 views4 pages

Question Bank DBMS

The document outlines various concepts and terminologies related to databases, including definitions of data, database, DBMS, and different types of database users. It discusses the characteristics of database approaches compared to traditional file systems, advantages of DBMS, and the architecture of databases. Additionally, it covers topics such as ER diagrams, SQL data definition, and constraints, along with practical examples for designing databases and writing SQL queries.

Uploaded by

shruti.bhb18
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/ 4

[BCS403]

1. Define the following terms:


i) data ii) database iii) DBMS iv) program-data independence v) Canned
transaction
2. Define the database and briefly explain the implicit properties of the database.

3. Discuss the main Characteristics of the database approach and how does it differ from
Traditional file systems?
4. What are the different types of database end users? Discuss the main activities of each.
5. Breifly discuss the advantages of using the DBMS.
6. Define the following terms:
i) data mode ii) database schema iii) database state iv) schema diagram
7. Describe the three-schema architecture. Why do we need mappings between schema
levels?
8. What is the difference between logical data independence and physical data independence?
9. What is the difference between procedural and nonprocedural DMLs?
10. Discuss the various database languages.
11. Discuss the different types of user-friendly interfaces and the types of users who typically
use each.
12. Explain the component modules of DBMS and their interaction with the help of a diagram.
13. Discuss some types of database utilities and tools and their functions.
14. Explain two-tier and three-tier architecture.
15. Discuss the classification of database management systems.
16. Explain with a neat diagram, the phases of database design.
17. Define the following terms:
i) Entity ii) attribute iii) entity type iv)entity set v) key attribute vi) value set
v)degree of a relationship type vi) role names vii) cardinality ratio viii) participation
constraints
18. Explain the different types of attributes that occur in an ER model with an example.
19. What is meant by a recursive relationship type? Give some examples of recursive
relationship types.
20. What is a weak entity type? Explain the role of partial key in the design of weak entity
type.
21. List symbols used in ER diagram and their meaning.
[BCS403]

22. Discuss the naming conventions used for ER schema diagrams.


23. Explain with an example specialization and generalization.
24. Design an ER diagram for an insurance company. Assume suitable entity types like
CUSTOMER, AGENT, BRANCH, POLICY, PAYEMENT and the relationship between them.
25. Design an ER - diagram for the Movie - database considering the following requirements:
i) Each Movie is identifies by its title and year of release, it has length in minutes and can
have zero of more quotes, language.
ii) Production companies are identified by Name, they have address, and each production
company can produce one or more movies.
iii) Actors are identified by Name and Date of Birth, they can act in one or more movies
and
each actor has a role in a movie.
iv) Directors are identified by Name and Date of Birth, so each Director can direct one or
more movie and each movie can be directed by one or more Directors.
v) Each movie belongs to anyone category like Horror, action, Drama, etc.
26. Design an Entity Relationship (ER) model for a college database . Say we have the
following statements.

1. A college contains many departments


2. Each department can offer any number of courses
3. Many instructors can work in a department
4. An instructor can work only in one department
5. For each department there is a Head
6. An instructor can be head of only one department
7. Each instructor can take any number of courses
8. A course can be taken by only one instructor
9. A student can enroll for any number of courses
10. Each course can have any number of students
27. Consider the following set of requirements for a UNIVERSITY database that is used to
keep track

number, current address and phone number, permanent address and phone number, birth
date, sex, class (freshman, sophomore, ..., graduate), major department, minor department
[BCS403]

[BCS403]

(if any), and degree program (B.A., B.S., ..., Ph.D.). Some user applications need to
refer to

name. Both Social Security number and student number have unique
values for each student.
b. Each department is described by a name, department code, office
number, office phone number, and college. Both name and code have
unique values for each department.
c. Each course has a course name, description, course number, number of
semester hours, level, and offering department. The value of the course
number is unique for each course.
d. Each section has an instructor, semester, year, course, and section number.
The section number distinguishes sections of the same course that are
taught during the same semester/year; its values are 1, 2, 3, ..., up to
the number of sections taught during each semester.
e. A grade report has a student, section, letter grade, and numeric grade (0, 1, 2, 3, or
4).

Design an ER schema for this application, and draw an ER diagram for the
schema. Specify key attributes of each entity type, and structural constraints on
each relationship type. Note any unspecified requirements, and make
appropriate assumptions to make the specification complete.
28. Write ER diagram for Airline reservation and Ban database

MODULE -3 SQL

1.Define SQL Data Definition and Explain with example Data Types in SQL.
2. explain with example Specifying Constraints in SQL below,
1.Specifying Attribute Constraints and Attribute Defaults.
2. Specifying Key and Referential Integrity Constraints
3. Specifying Constraints on Tuples Using CHECK
4. Giving Names to Constraints
3. . explain with example below Basic Retrieval Queries in SQL,
1. The SELECT-FROM-WHERE Structure of Basic SQL Queries
2. Ambiguous Attribute Names, Aliasing, Renaming, and Tuple Variables
3. Unspecified WHERE Clause and Use of the Asterisk.
[BCS403]

4. Tables as Sets in SQL


5. Substring Pattern Matching and Arithmetic Operators
6Ordering of Query Results
4.Explain With example INSERT, DELETE, and UPDATE Statements in SQL.

You might also like