Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
67 views
7 pages
207 CSE Database Management Systems
Uploaded by
Don Afaque
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save 207 CSE Database Management Systems For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
67 views
7 pages
207 CSE Database Management Systems
Uploaded by
Don Afaque
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save 207 CSE Database Management Systems For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 7
Search
Fullscreen
Roll No. PRESIDENCY UNIVERSITY BENGALURU SCHOOL OF ENGINEERING TEST -1 Even Semester: 2018-19 Date: 06 March 2019 Course Code: CSE 207 Time: 1 Hour Course Name: Database Management Systems Max Marks: 40 Programme & Sem: B. Tech (CSE) & IV Sem Weightage: 20% Instructions: () Read the question properly and answer accordingly. (i) Question paper consists of 3 parts. (ii) Scientific and Non-programmable calculators are permitted. Part A Answer all the Questions. Each question carries three marks. (5Qx3M=15) 1, What is Database Management Systems? Why do we need a DBMS? 2. Define Data-independence. 3. How does the cardinality ratio specify? Mention its types. 4, Explain Ternary Relationship with relevant example. 5, List any three DML commands with its query. PartB Answer all the Questions. Each question carries five marks. (30x5M=15) 6. Explain a weak entity with an example and represent it in ER diagram 7. Represent any 10 symbolic notations used in ER Diagram. 8. Explain the architecture of DBMS. Part C Answer the Question. Question carries ten marks. (10x10M=10) 9. Consider the employee database, where the primary keys are underlined Employee(empname, street, city) Works(empname, companyname, salary) Company(companyname, city) Manages(empname, manager name) Page I of 2Write SQL for the following queries a. Create a table ‘works’ by referencing Employee table with on delete cascade. Find the names of all employees who works for First Bank Corporation c. Find the names, Street addresses, and cities of residence of all employees who works for First Bank Corporation and earn more than 200000 per annum d. Find the names of all the employees in this database who live in the same city as the companies for which they work e. Find the names of all the employees who earn more than every employee of Small Bank Corporation sc Page 2 of 2RaliNo. | | | | [TUTTI PRESIDENCY UNIVERSITY BENGALURU SCHOOL OF ENGINEERING TEST -2 Even Semester: 2018-19 Date: 16 April 2019 Course Code: CSE 207 Time: 1 Hour Course Name: Database Management Systems Max Marks: 40 Program & Sem: B.Tech & IV Sem Weightage: 20% Instructions: () Read the question properly and answer accordingly. (i)___ Question paper consists of 3 parts. Part A Answer all the Questions. Each question carries six marks. (3Qx6M=18) 1. What is a trigger? What are its advantages? Give the general syntax for creating a TRIGGER. 2. Define virtual tables. How do you create and drop a view. Explain with an example. 3. Discuss the informal guidelines for the relational database design Part B ‘Answer both the Questions. Each question carries six marks. (20x6M=12) 4, Define functions in SQL. Illustrate how to create a function in sql with suitable example. 5. Define 2 NF. Consider the universal relation R = (A, B, C, D, E, F, G, H, |, J} and the set of functional dependencies F = {{A, B}{C}, {A}{D, E}, (B{F}, (FIMAG, H}, (D4, J} Identify the key for relation R? Decompose R into 2NF. PartC Answer the Question. The Question carries ten marks. (1Qx10M=10) 6. Specify the following queries on the COMPANY relational database schema given below using the relational algebra operators. EMPLOYEE (Fname .Minit name, Ssn, Bdate, Address, Gender, Salary, Super_ssn, Dno) DEPARTMENT (Dname, Dnumber, MGRSSN, MGRSTART Date) PROJECT (Pname, Pnumber, Plocation, Dnum) WORKS_ON (Essn, Pno, Hours) DEPENDENT (Essn, Dependent_name ,Gender Bdate ,Relationship) a) Find the names of employees who work on all the projects controlled by department number 5. b) Retrieve the names of employees who have no dependents. c) Retrieve the names of managers who have atleast one dependent d) Retrieve the names and address of all employees who works for Research department Page 1 of lCem TT TTT ITT PRESIDENCY UNIVERSITY BENGALURU SCHOOL OF ENGINEERING END TERM FINAL EXAMINATION Even Semester: 2018-19 Date: 23 May 2019 Course Code: CSE 207 Time: 3 Hours Course Name: Data Base Management Systems Max Marks: 80 Program & Sem: B.Tech & IV Sem Weightage: 40% Instructions: (Read the question property and answer accordingly. (i)__ Question paper consists of 3 parts Part A Answer all the Questions. Each question carries one mark. (200x1M=20M) i. Which of the following fields in a student file can be used as a primary key? a) Class b) Social Security Number c) GPA d) Major ii, After you choose a primary key from among candidate keys, the remaining candidate keys become___ keys. a) Compound b) Foreign ©) Alternate d) Discarded ili, What are predicates that define correct database states and relationship with in database? a) Data b) Relationship c) Constraints.) Schema iv. The database administration function includes a) Application programming _b) Computer operations management c) Database access planning _d) Alll of the above v. The command to remove rows from a table ‘CUSTOMER is: a) REMOVE FROM CUSTOMER b) DROP FROM CUSTOMER c) DELETE FROM CUSTOMER WHERE d) UPDATE FROM CUSTOMER vi. The SQL WHERE clause a) Limits the column data that are returned,b) Limits the row data that are returned ©) Both A and B are correct. d) Neither A nor B are correct. Page 1 of 3vii. The HAVING clause does which of the following? a) Acts like a WHERE clause but is used for groups rather than rows. b) Acts like a WHERE clause but is used for rows rather than columns. ©) Acts like a WHERE clause but is used for columns rather than groups. d) Acts EXACTLY like a WHERE clause. viii, Color of the car and degrees of students are examples for a) Null attribute —_b) Derived attribute ¢) Single valued d) Multi valued ix. An entity that does not have a key attribute is called? a) Null attribute b) Entity Types c) Weak entity types d) Derived attribute x. Relational Algebra is a a) Procedural language _b) Non- Procedural language c) Data definition language xi, A relational database consists of a collection of a) Tables b)Fields c) Records d) Keys xi, A. ina table represents a relationship among a set of values. a) Column b) Key c) Row d) Entry xiii. The term is used to refer to a row. a) Attribute b)Tuple c) Field —_d) Instance xiv. The term attribute refers toa ofa table. a)Record b)Column c)Tuple —d) Key xv. For each attribute of a relation, there is a set of permitted values, called the of that attribute. a)Domain b) Relation) Set d) Schema xvi, A domain is atomic if elements of the domain are considered to be units, a) Different b) Indivisible c) Constant d) Divisible xvii, The tuples of the relations can be of order. a) Any b)Same —c) Sorted ~—_d) Constant Page 2 of 3 xviii, DBMS is software a)True —_b) False xix. Which of the following is not involved in DBMS? a) End User b)Data_ —_¢) Application Request. d) HTML xx. A characteristic of an entity. a) Relation b) Attribute ¢) Parameter d) Constraint PartB Answer all the Questions. Each question carries ten marks. (3Qx10M=30M) 2. Discuss the main characteristics of database approach? 3. Explain different types of joins with syntax and example for each. 4, For the given set of functional dependencies on Relation R (ABCDEFGH) find number of candidates key {AB>C),{A->DE},{B>F},{F- GH} Part C Answer all the Questions. Each question carries ten marks. (3Qx10M=30M) 5. State the informal guidelines for relational schema design. Illustrate how violation of these guidelines may be harmful. 6. With appropriate examples explain 3NF & BCNF. 7. Consider the following schema and write the relational algebra expressions for the queries given below. Suppliers (sid: integer , sname: string, address: string, color: string) Parts (pid: integer, pname: string, color: string) Catalog (sid: integer, pid: integer, cost: real) i. “Find the names of suppliers who supply some red part.” ji, “Find the IDs of suppliers who supply some red or green part.” iii, “Find the IDs of suppliers who supply some red part or are at address- 221 Packer Ave” iv. Find the sids of suppliers who supply some red part and some green v. _ Find the sids of suppliers who supply every part. Page 3 of 3| Roll No | TM Fite Lt ttt yy PRESIDENCY UNIVERSITY BENGALURU SCHOOL OF ENGINEERING SUMMER TERM / MAKE UP END TERM EXAMINATION ‘Semester: Summer 2019 Date: 27 July 2019 Course Code: CSE 207 Time: 2 Hours Course Name: Data Base Management Systems Max Marks: 80 Program & Sem: B.Tech & IV Sem (2016 Batch) Weightage: 40% Instructions: () Read the question properly and answer accordingly. (i) Question paper consists of 3 parts PartA Answer alll the Questions. Each question carries ten marks. (3Qx10M=30M) 1. Discuss the main characteristics of database approach? 2. Explain different types of joins with syntax and example for each 3. For the given set of functional dependencies on Relation R (ABCDEFGH) find number of candidates key & to which normal form it belongs (C>F},{E>A}{EC->D},{A>B} PartB Answer all the Questions. Each question carries ten marks. (30x10M=30M) 4. Briefly explain select and project operations with appropriate examples. 5. With appropriate examples explain 1NF & 2NF. 6. Explain the following with examples i) Super key ii) Candidate key ill) Prime attribute Page 1 of 2Part C Answer both the Questions. Each question carries ten marks. (2Qx10M=20M) 7. Explain properties of transaction with state transition diagram. 8. Draw an ER diagram for company database keeps track of a company’s employees, departments, and projects. Suppose that after the requirements collection and analysis phase, the database designers provide the following description of the miniworld—the part of the company that will be represented in the database, The company is organized into departments. Each department has a unique name, a unique number, and a particular employee who manages the department. We keep track of the start date when that employee began managing the department. A department may have several locations. A department controls a number of projects, each of which has a unique name, a unique number, and a single location. We store each employee's name, Social Security number,2 address, salary, sex(gender), and birth date, An employee is assigned to one department but may work on several projects, which are not necessarily controlled by the same department. We keep track of the current number of hours per week that an employee works on each project. We also keep track of the direct supervisor of each employee (who is another employee).We want to keep track of the dependents of each employee for insurance purposes. We keep each dependent's first name, sex, birth date, and relationship to the employee. Each department offers multiple courses which has coode, fees and duration. Page 2 of 2
You might also like
2015 Dbms Mid
PDF
No ratings yet
2015 Dbms Mid
2 pages
DBMS
PDF
No ratings yet
DBMS
17 pages
SPPU DBMS UT1 Sem 5
PDF
No ratings yet
SPPU DBMS UT1 Sem 5
3 pages
DBMS Tutorial (AB)
PDF
No ratings yet
DBMS Tutorial (AB)
10 pages
DA 512H - Databases Assignment 1: Ashok@iitg Chiranjib@iitg
PDF
No ratings yet
DA 512H - Databases Assignment 1: Ashok@iitg Chiranjib@iitg
2 pages
Database Exit
PDF
No ratings yet
Database Exit
4 pages
DBMS Important Questions With Answers Unit1 2 3
PDF
No ratings yet
DBMS Important Questions With Answers Unit1 2 3
5 pages
DBMS Previous Questions Module Wise
PDF
No ratings yet
DBMS Previous Questions Module Wise
7 pages
Q.No Aim/Principle/ Apparatus Required/procedure Tabulation/Circuit/ Program/Drawing Calculation & Results Viva-Voce Record Total 1 5 25 10 10 10 100 2 5 25 10 Q.NO. Experiment List
PDF
67% (3)
Q.No Aim/Principle/ Apparatus Required/procedure Tabulation/Circuit/ Program/Drawing Calculation & Results Viva-Voce Record Total 1 5 25 10 10 10 100 2 5 25 10 Q.NO. Experiment List
5 pages
DBMS End Term
PDF
No ratings yet
DBMS End Term
27 pages
DBMS - Qb-Upd
PDF
No ratings yet
DBMS - Qb-Upd
4 pages
Cs Paper - 2 Unsolved 2020,2021
PDF
No ratings yet
Cs Paper - 2 Unsolved 2020,2021
4 pages
DBMS Model Question Paper Answer Key 1
PDF
No ratings yet
DBMS Model Question Paper Answer Key 1
19 pages
Dbms Model Question Paper
PDF
No ratings yet
Dbms Model Question Paper
6 pages
Dbms
PDF
No ratings yet
Dbms
7 pages
DMS - 22319 - EPA-Poonam - (1) (2) (AutoRecovered)
PDF
No ratings yet
DMS - 22319 - EPA-Poonam - (1) (2) (AutoRecovered)
79 pages
Modulewise Questions DBMS
PDF
No ratings yet
Modulewise Questions DBMS
6 pages
DBMS Question
PDF
No ratings yet
DBMS Question
6 pages
DBMS 2013
PDF
No ratings yet
DBMS 2013
3 pages
2101CS201 94 Question Paper
PDF
No ratings yet
2101CS201 94 Question Paper
2 pages
Database Management System
PDF
No ratings yet
Database Management System
6 pages
Cit 843 B
PDF
No ratings yet
Cit 843 B
33 pages
GATE CSE by Kanodia Part3of4 PDF
PDF
0% (1)
GATE CSE by Kanodia Part3of4 PDF
264 pages
Question Bank Unit-1
PDF
No ratings yet
Question Bank Unit-1
9 pages
Dbms - Question Bank
PDF
No ratings yet
Dbms - Question Bank
7 pages
Dbf510s - Database Fundamentals - 1st Opp - June 2022
PDF
No ratings yet
Dbf510s - Database Fundamentals - 1st Opp - June 2022
9 pages
CS (H) DBMS May 2024
PDF
No ratings yet
CS (H) DBMS May 2024
8 pages
Dbms Major 2016
PDF
No ratings yet
Dbms Major 2016
6 pages
Sample Dbms Paper
PDF
No ratings yet
Sample Dbms Paper
5 pages
CSE2074
PDF
No ratings yet
CSE2074
3 pages
Database
PDF
No ratings yet
Database
10 pages
PYQS
PDF
No ratings yet
PYQS
15 pages
AprilMay-2023 Dbms
PDF
No ratings yet
AprilMay-2023 Dbms
2 pages
DMS Final Exam
PDF
No ratings yet
DMS Final Exam
6 pages
SM Ua BAj ZC Ez 5 D HIT
PDF
No ratings yet
SM Ua BAj ZC Ez 5 D HIT
4 pages
Shivaji University, Kolhapur: Question Bank For Mar 2022 (Summer) Examination
PDF
No ratings yet
Shivaji University, Kolhapur: Question Bank For Mar 2022 (Summer) Examination
13 pages
Questions of Dbms
PDF
No ratings yet
Questions of Dbms
9 pages
D11 D12 D13 CSE3001 DBMS Winter 2022-23 Online QP TEE-PoM SC RFED Img
PDF
No ratings yet
D11 D12 D13 CSE3001 DBMS Winter 2022-23 Online QP TEE-PoM SC RFED Img
3 pages
CST204 C
PDF
No ratings yet
CST204 C
4 pages
DBMS Question Bank
PDF
No ratings yet
DBMS Question Bank
3 pages
SQL
PDF
No ratings yet
SQL
18 pages
Dbmsprev
PDF
No ratings yet
Dbmsprev
7 pages
Mailam Engineering College: Department of Information Technology Internal Assessment Test-I
PDF
No ratings yet
Mailam Engineering College: Department of Information Technology Internal Assessment Test-I
3 pages
DBMS Question Bank
PDF
No ratings yet
DBMS Question Bank
6 pages
DBMS Questions
PDF
No ratings yet
DBMS Questions
6 pages
DB Sample Exam Intake30
PDF
No ratings yet
DB Sample Exam Intake30
8 pages
Dbms 2013 Uviversity Exam
PDF
No ratings yet
Dbms 2013 Uviversity Exam
2 pages
Database Management System.2pdf
PDF
No ratings yet
Database Management System.2pdf
4 pages
1 - Principles of Database Design (CS208) - Supple - September 2020
PDF
No ratings yet
1 - Principles of Database Design (CS208) - Supple - September 2020
4 pages
Menu - 634641184925996250 - CS4106 Database Management Systems Lab Assignment
PDF
0% (1)
Menu - 634641184925996250 - CS4106 Database Management Systems Lab Assignment
5 pages
Database Systems
PDF
No ratings yet
Database Systems
2 pages
Database Fundamentals June 2019 Exam Paper
PDF
No ratings yet
Database Fundamentals June 2019 Exam Paper
5 pages
Database Management Systems
PDF
No ratings yet
Database Management Systems
3 pages
DBMS Question Bank
PDF
No ratings yet
DBMS Question Bank
16 pages
Database Quiz
PDF
No ratings yet
Database Quiz
5 pages
DBMS (Database Management System) : B.E. (Computer Science Engineering) Fifth Semester (C.B.S.)
PDF
No ratings yet
DBMS (Database Management System) : B.E. (Computer Science Engineering) Fifth Semester (C.B.S.)
2 pages
Database Management System Subject Code: Dipit07: Time: 2:00 Max - Marks: 100
PDF
No ratings yet
Database Management System Subject Code: Dipit07: Time: 2:00 Max - Marks: 100
4 pages
June 2019: Dipiete - Cs (New Scheme)
PDF
No ratings yet
June 2019: Dipiete - Cs (New Scheme)
3 pages
286 Question Paper
PDF
No ratings yet
286 Question Paper
2 pages