Seat No.: ________

Enrolment No.___________

GUJARAT TECHNOLOGICAL UNIVERSITY BE - SEMESTER–III • EXAMINATION – WINTER 2013

Subject Code: 130703 Subject Name: Database Management System Time: 02.30 pm - 05.00 pm

Date: 30-11-2013 Total Marks: 70

Instructions: 1. Attempt all questions. 2. Make suitable assumptions wherever necessary. 3. Figures to the right indicate full marks.

Q.1

Q.2

Q.3

Q.3

(a) What is data independence? Explain different types of data independence with suitable example. (b) Solve following queries with following table, where underlined attribute is primary key. Person(ss#, name, address) Car(license, year, model) Accident(date, driver, damage-amount) Owns(ss#, license) Log(license, date, driver) 1. Find the name of a person whose license number is ‘12345’. 2. Display name of driver with number of accidents done by that driver. 3. Add a new accident by ‘Ravi’ for ‘BMW’ car on 01/01/2013 for damage amount of 1.5 lakh rupees.

07 07

(a) Explain following terms with suitable example. (1) Primary Key (2) Candidate Key (3) Foreign Key (4) On Delete Cascade (b) Construct E-R diagram for a hospital with a set of patients and medical doctors. Associate with each patient a log of various tests suggested by doctors and examinations conducted. Use Specialization and Generalization in your diagram. OR (b) Construct E-R diagram for a bank which has many branches and it supports different types of accounts. It also provides loans to customers. Use Specialization and Generalization in your diagram.

07

(a) What is an anomaly in database design? How it can be solved? Explain BCNF with suitable example. (b) (i) What is non-loss decomposition in database? How it is useful in database? (ii) Explain evaluation of expression process in query optimization. OR (a) Explain with suitable example, the process of normalization covering from 1NF to 3NF. (b) Explain various types of joins with example.

07

Q.4

(a) Write note on cursor and its types. (b) What is deadlock? What are its prevention and avoidance methods?

Q.4

(a) What is trigger? Explain its type with their syntax. What are the applications of trigger? (b) What is concurrency? If not controlled where it can lead to? What are the methods to control concurrency?

07

07

04 03 07 07 07 07

OR

07 07

1

Q.5

(a) (i) Explain ACID properties of transaction. (ii) Explain Two phase locking (b) For Supplier – Parts database Supplier(S#,sname,status,city) Parts(P#,pname,color,weight,city) SP(S#,P#,quantity) Answer the following queries in SQL. 1. Display the name of supplier who lives in ‘Ahmedabad’. 2. Display the part name which is not supplied yet. 3. Count how many times supplier ‘S1’ has supplied part ‘P1’. 4. Find all suppliers whose status is either 20 or 30.

04 03 07

OR Q.5

(a) For Supplier – Parts database Supplier(S#,sname,status,city) Parts(P#,pname,color,weight,city) SP(S#,P# ,quantity) Answer the following queries in SQL. 1. Find the name of part having ‘Red’ colour. 2. Delete parts whose weight is more than 100 gram. 3. Count how many times each supplier has supplied part ‘P2’. 4. How much time shipment is for more than 100 quantities? (b) Explain following SQL*Plus commands with suitable example 1. 2. 3. 4.

07

Commit Grant Rollback Revoke *************

2

gujarat technological university - Stupidsid

(b) For Supplier – Parts database. Supplier(S#,sname,status,city). Parts(P#,pname,color,weight,city). SP(S#,P#,quantity). Answer the following queries in SQL. 1.

58KB Sizes 11 Downloads 326 Views

Recommend Documents

2182503 - Gujarat Technological University
Understand use of Design Data Book to design Machine Tool Drives, Bearings & Material. Handling Equipments. 2. Understand Design Of Machine Tool Structure. 3. Evaluate Product Design Concept. List of Experiments: Tutorials based on above syllabus. Li

Gujarat Technological University Guidelines
the degree for which the report is submitted;. • the name of ... Appendices (List of abbreviation, etc.) and other ... Submit to: Ms. Kinjal Joshi / Ms. Vaishakhi Shah.

Circular - Gujarat Technological University
Feb 13, 2014 - Subject: Online viewing of evaluated answer script. All the concerned ... E semester 7 and 1 (new course), M.E., MPharm, MCA, MBA for Winter.

Gujarat Technological University
Aug 17, 2013 - public domain. NOTES for PATENT SEARCH: The detailed material for self study is being made available through. 'you tube' channel of GTU ...

gujarat technological university - Vidhyanagari
Unit-1: Object Oriented Programming And Introduction To Java, Data Types, ... Operators - Arithmetic, String concatenation, Relational, Logical, Bitwise, ...

gujarat technological university - IndiaStudyChannel
Dec 16, 2011 - (II) Android 1.5 SDK its codenames is Cupcake. (III) setOrientation()method is used to set orientation of Screen. Layout. (IV) If you want to use ...

Gujarat Technological University
Aug 17, 2013 - yet to register or wish to edit team profile in phase-1, can still do so at ... made public in the public domain at the GTU website. THE THIRD ...

gujarat technological university - IndiaStudyChannel
Dec 16, 2011 - (II) Android 1.5 SDK its codenames is Cupcake. (III) setOrientation()method is used to set orientation of Screen. Layout. (IV) If you want to use ...

gujarat technological university
Subject Code: 712006. Date: 06/01/2014 ... 06. (b) Solve following systems using any of the methods used for solution of linear simultaneous equations. x + 2y + z = 8. 2x + 3y + 4z = 20. 4x + 3y + 2z = 16. 08. Q.2 (a) List various ... (b) Following t

gujarat technological university - GTU-Info.com
Therefore, an object that will float in oil will. (a) float in water, with more of the object submerged. (b) float in water, with the same amount of the object submerged. (c) float in water, with less of the object submerged. ... What are the differe

Teaching_Advt_GTU_052013(1) - Gujarat Technological University
Feb 16, 2013 - printout of online application format along with all the requisite .... Computer Courses (DOEACC) society or of the level as may be prescribed by ..... Degree in Computer Science i.e. B.E. Computer from Statutory University. Or.

gujarat technological university - GTU-Info.com
______ lion had a long tail. (a/the). (b) Choose appropriate option for the following questions/statements. 07. 1. We use this type of language when speaking to a friend. a. Formal b. Informal c. Friendly. 2. Which phrase is correct? a. He's working

gujarat technological university - GTU-Info.com
I'm a clerk. c. How do you do? 7. Which signature is the most formal? a. Love, b. Yours faithfully, c. Best wishes. OR. Q.1 (a) Fill in the following blanks with the appropriate alternative. 07. 1. Let the flowers ... Q.5 (a) As a student career deve

Teaching_Advt_GTU_052013(1) - Gujarat Technological University
Feb 16, 2013 - required to qualify a skill test in handling Computers within one year from ..... Degree in Computer Science i.e. B.E. Computer from Statutory ...

gujarat technological university
.Assume emissivity , radiating efficiency and resistivity of strip as 0.9, 0.5 and 1.016×10. -6 Ωm respectively. If the change is at room temperature (27° C) find.

gujarat technological university
MASTER OF COMPUTER APPLICATION. SEMESTER: III ... Unit-1: Object Oriented Programming And Introduction To Java, Data Types,. Operators, Statements ...

gujarat technological university
May 19, 2011 - components? 07. OR. Q.5 (a) What is Struts? How is the MVC design pattern used in Struts framework? 07. (b) What is ActionForm in the struts?

Gujarat Technological University - GTU-Info.com
Your aim is to also become a “champion of sustainable development”. What would you ... As team members expect this from a leader like him. ... Surabhi‟s chemistry teacher was about to announce the partners with whom each student would.

GTU Recruitment Advt - Gujarat Technological University
Oct 3, 2012 - 1,2 & 3 are initially made for the period of one year. ... objective of the University is to develop the knowledge of science, engineering, technology, ..... application equivalent to course-on computer concepts (CCC/CCC+) of ... the ca

Gujarat Technological University - GTU Innovation Council
... OF EVALUATION: A Viva-Voce examination will be conducted at the end of the ... Please make proper arrangements so that all the examinations start in-time.

Patent Search Methodology - Gujarat Technological University
literature, and scientific journals and databases. .... Here patent search is further limited by searching it in the database of particular country, .... Object of invention. – Summery of Invention. – Detailed description. – Claims. – Figures

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
5. a) Define i)cycle, ii) circuit and iii) path. b) What is the chromatic number of i) Tree ii) wheel graph iii) complete graph Kn and · iv) complete bipartite graph Km, ...

JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
Ae · τ · τ · − · = · where' A' and 'a' are real positive constants is · applied to the input of an LTI system with h(t)= · where b is real positive · constant. Find the PSD ...