SlideShare a Scribd company logo
1 of 5
Assignment no.01
1. Explain Advantages of a DBMS over file processing system.
2. What do you mean by data model? Explain the various types of data models.
3. Explain the difference between a weak and strong entity set with an example.
4. Construct E-R diagram for registrar office of university which stores the data
about:
i.Student(sid,name,program)
ii. Courseoffering(time,secno,room,year,semester)
iii. Instructor (iid,name,dept,title)
iv. Course(syllabus,credits,courseno,title)
Each courses offering provides the grades to the student who are enrolled with
that course. Give the appropriate mapping constraints.
5. With neat sketch discuss the overall structure of DBMS.
6. What are attributes? What are different types of attributes you have studied?
Explain each with suitable example.
7. Explain types of database Users.
8. What are the functions of DBA? Explain in detail.
9. What is data abstraction and data independence? Explain their types.
10. Draw scheme for university databases.
Assignment no.02
1. What is join? explain the different types of join.
2. Explain the various types of data models used in DBMS.
3. Explain the fundamental operation in relational algebra.
4. What is an attribute? What are the various types of attribute.
5. Consider the following relation:
Emp(ename,company_name,salary)
Write SQL Queries:
i.Find the total salary of each company.
ii. Find the company name whose salary is less than lowest average salary.
iii. Find the employee name whose salary is higer than highest average salary
of TCS’s.
6. Consider the following structure for employee.
Emp(empno,ename,job,mgr,joindate,sal,comm,deptno)
Write SQL Queries for the following:
i.Change the average salaries for each dept.
ii. Change the name of emp ‘AMAN’ to ‘ABHIJEET’.
iii. Display emp details whose name start with ‘A’.
iv. Display the list of emp excluding job title as ‘Salesman’.
v. Dispaly annual salary of all emp.
vi. Display name and salary for all emp. Whose sal is not in the range of
Rs.5000 and 10000.
vii. Delete all tuples in the emp relation for emp of dept_no=’200’.
7. Describe different clause in SQL with example.
8. What are aggregate functions in SQL? Explain it.
9. Describe string function and numeric function with example.
10. Explain ‘Group by’ and ‘having clause’ in SQL with example.
Assignment no.03
Submission on: 23/03/2015
1. Explain Functional dependencies with an example.
2. Explain 1NF,2NF and3NF in detail.
3. Write short note on:
i. Nested Subqueries
ii. Multivalued dependency
iii. Join dependency
iv. Trigger
v. View
vi. Transaction
4. Explain states of transaction with suitable diagram also explain ACID properties.
5. Explain serializability and shadow paging with example.
6. Explain Time stamp protocols:
i.Time stamp ordering
ii.Validation based protocol
7. Inference rules based functional dependency questions.
i.Let set of FD’s are given
F={A->B,C->X,BX->Z}
prove or disprove that ac->Z.
ii.Let F={A->B,C->D,C C B}
prove or disprove that A->C
iii.Let F={A->B,BC->D}
prove or disprove the following FD’s
a.AC->D b. B->D c. AD->B
iv.Let F={XY->W,Y->Z,WZ->P,WP->QR,Q->X}
show that XY->P.
8. Explain the following terms:
i.Lossy join
ii.Lossless Join Decomposition
iii.Lock based protocols
9. Consider the following relation schemes:
R=(A,B,C,) and S=(D,E,F)
Let realtion r(R) ,s(S) he given .Give an expression in SQL that is equivalent to each
of following.
i. Π A(r)
ii. σB=17(r)
iii. r×s
iv. πA,F (σC=D(r×s))
10. Explain scedules ,types of schedule and the testing of serializability.

More Related Content

Viewers also liked

Introduction to the c programming language (amazing and easy book for beginners)
Introduction to the c programming language (amazing and easy book for beginners)Introduction to the c programming language (amazing and easy book for beginners)
Introduction to the c programming language (amazing and easy book for beginners)
mujeeb memon
 
Pengenalan kepada pengaturcaraan komputer
Pengenalan kepada pengaturcaraan komputerPengenalan kepada pengaturcaraan komputer
Pengenalan kepada pengaturcaraan komputer
ctlady92
 
5.1 konsep asas pengaturcaraan
5.1 konsep asas pengaturcaraan5.1 konsep asas pengaturcaraan
5.1 konsep asas pengaturcaraan
dean36
 

Viewers also liked (20)

Pengaturcaraan asas
Pengaturcaraan asasPengaturcaraan asas
Pengaturcaraan asas
 
Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C Programming
 
Introduction to the c programming language (amazing and easy book for beginners)
Introduction to the c programming language (amazing and easy book for beginners)Introduction to the c programming language (amazing and easy book for beginners)
Introduction to the c programming language (amazing and easy book for beginners)
 
4.0 projek pengaturcaraan
4.0 projek pengaturcaraan4.0 projek pengaturcaraan
4.0 projek pengaturcaraan
 
Unit 3
Unit 3Unit 3
Unit 3
 
Unit 2
Unit 2Unit 2
Unit 2
 
1.0 pengaturcaraan
1.0 pengaturcaraan1.0 pengaturcaraan
1.0 pengaturcaraan
 
Big data unit i
Big data unit iBig data unit i
Big data unit i
 
1.0 memahami pengaturcaraan
1.0 memahami pengaturcaraan1.0 memahami pengaturcaraan
1.0 memahami pengaturcaraan
 
Fight Fraud with Big Data Analytics
Fight Fraud with Big Data AnalyticsFight Fraud with Big Data Analytics
Fight Fraud with Big Data Analytics
 
Big data lecture notes
Big data lecture notesBig data lecture notes
Big data lecture notes
 
Pengenalan kepada pengaturcaraan komputer
Pengenalan kepada pengaturcaraan komputerPengenalan kepada pengaturcaraan komputer
Pengenalan kepada pengaturcaraan komputer
 
Business Intelligence - A Management Perspective
Business Intelligence - A Management PerspectiveBusiness Intelligence - A Management Perspective
Business Intelligence - A Management Perspective
 
Pengaturcaraan c
Pengaturcaraan cPengaturcaraan c
Pengaturcaraan c
 
5.1 konsep asas pengaturcaraan
5.1 konsep asas pengaturcaraan5.1 konsep asas pengaturcaraan
5.1 konsep asas pengaturcaraan
 
Bigdata based fraud detection
Bigdata based fraud detectionBigdata based fraud detection
Bigdata based fraud detection
 
C notes.pdf
C notes.pdfC notes.pdf
C notes.pdf
 
Fraud principles1
Fraud principles1Fraud principles1
Fraud principles1
 
C ppt
C pptC ppt
C ppt
 
Fraud Detection presentation
Fraud Detection presentationFraud Detection presentation
Fraud Detection presentation
 

Similar to Assignments 150507052746-lva1-app6891

Similar to Assignments 150507052746-lva1-app6891 (20)

DBMS Assignments Questions
DBMS Assignments QuestionsDBMS Assignments Questions
DBMS Assignments Questions
 
DBMS Question bank
DBMS Question bankDBMS Question bank
DBMS Question bank
 
DMS Question bank class test ii sep 2019
DMS Question bank class test ii sep 2019DMS Question bank class test ii sep 2019
DMS Question bank class test ii sep 2019
 
Question bank class test ii sep 2019
Question bank class test ii sep 2019Question bank class test ii sep 2019
Question bank class test ii sep 2019
 
Rdbms class test ii sep 2019
Rdbms class test  ii sep 2019Rdbms class test  ii sep 2019
Rdbms class test ii sep 2019
 
Sem 3 bscit summer 2014 solved assignments
Sem 3 bscit summer 2014  solved assignmentsSem 3 bscit summer 2014  solved assignments
Sem 3 bscit summer 2014 solved assignments
 
Dm top 26.pdf
Dm top 26.pdfDm top 26.pdf
Dm top 26.pdf
 
Question bank
Question bankQuestion bank
Question bank
 
dbms 1.pdf
dbms 1.pdfdbms 1.pdf
dbms 1.pdf
 
Cs 6456-oop faq
Cs 6456-oop faqCs 6456-oop faq
Cs 6456-oop faq
 
Sem 4 bscit summer 2014 solved assignments
Sem 4 bscit summer 2014 solved assignmentsSem 4 bscit summer 2014 solved assignments
Sem 4 bscit summer 2014 solved assignments
 
Smu mba sem 3 mis spring 2016 assignments
Smu mba sem 3 mis spring 2016 assignmentsSmu mba sem 3 mis spring 2016 assignments
Smu mba sem 3 mis spring 2016 assignments
 
Question Bank DS
Question Bank DSQuestion Bank DS
Question Bank DS
 
SMU MSC IT FALL/ SUMMER - 2013 SOLVED ASSIGNMENTS
SMU MSC IT FALL/ SUMMER - 2013 SOLVED ASSIGNMENTSSMU MSC IT FALL/ SUMMER - 2013 SOLVED ASSIGNMENTS
SMU MSC IT FALL/ SUMMER - 2013 SOLVED ASSIGNMENTS
 
Model questions-b.sc .csit-6th-sem
Model questions-b.sc .csit-6th-semModel questions-b.sc .csit-6th-sem
Model questions-b.sc .csit-6th-sem
 
Smu bscit sem 4 spring 2015 assignments copy
Smu bscit sem 4 spring 2015 assignments   copySmu bscit sem 4 spring 2015 assignments   copy
Smu bscit sem 4 spring 2015 assignments copy
 
Dbms qsntns
Dbms qsntnsDbms qsntns
Dbms qsntns
 
Oop r&s may 2019 (2)
Oop r&s may 2019 (2)Oop r&s may 2019 (2)
Oop r&s may 2019 (2)
 
Smu bca-sem-2-fall-2015- solved - assignments
Smu bca-sem-2-fall-2015- solved - assignmentsSmu bca-sem-2-fall-2015- solved - assignments
Smu bca-sem-2-fall-2015- solved - assignments
 
Oop r&s may 2019
Oop r&s may 2019Oop r&s may 2019
Oop r&s may 2019
 

More from Mohit Saini (13)

Introduction of Basic Excel.pptx
Introduction of Basic Excel.pptxIntroduction of Basic Excel.pptx
Introduction of Basic Excel.pptx
 
Steps to join though google classroom
Steps to join though google classroomSteps to join though google classroom
Steps to join though google classroom
 
Ppt 1
Ppt 1Ppt 1
Ppt 1
 
Generation of computer
Generation of computerGeneration of computer
Generation of computer
 
Hardware software
Hardware softwareHardware software
Hardware software
 
Type of coputer
Type of coputerType of coputer
Type of coputer
 
Generation of computer
Generation of computerGeneration of computer
Generation of computer
 
Excel work
Excel workExcel work
Excel work
 
Android
AndroidAndroid
Android
 
Number system
Number systemNumber system
Number system
 
Ds
DsDs
Ds
 
rdbms-notes
rdbms-notesrdbms-notes
rdbms-notes
 
Computer fundamental
Computer fundamentalComputer fundamental
Computer fundamental
 

Recently uploaded

1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
AldoGarca30
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
Kamal Acharya
 

Recently uploaded (20)

Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planesEngineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Online electricity billing project report..pdf
Online electricity billing project report..pdfOnline electricity billing project report..pdf
Online electricity billing project report..pdf
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 

Assignments 150507052746-lva1-app6891

  • 1. Assignment no.01 1. Explain Advantages of a DBMS over file processing system. 2. What do you mean by data model? Explain the various types of data models. 3. Explain the difference between a weak and strong entity set with an example. 4. Construct E-R diagram for registrar office of university which stores the data about: i.Student(sid,name,program) ii. Courseoffering(time,secno,room,year,semester) iii. Instructor (iid,name,dept,title) iv. Course(syllabus,credits,courseno,title) Each courses offering provides the grades to the student who are enrolled with that course. Give the appropriate mapping constraints. 5. With neat sketch discuss the overall structure of DBMS. 6. What are attributes? What are different types of attributes you have studied? Explain each with suitable example. 7. Explain types of database Users. 8. What are the functions of DBA? Explain in detail. 9. What is data abstraction and data independence? Explain their types. 10. Draw scheme for university databases.
  • 2. Assignment no.02 1. What is join? explain the different types of join. 2. Explain the various types of data models used in DBMS. 3. Explain the fundamental operation in relational algebra. 4. What is an attribute? What are the various types of attribute. 5. Consider the following relation: Emp(ename,company_name,salary) Write SQL Queries: i.Find the total salary of each company. ii. Find the company name whose salary is less than lowest average salary. iii. Find the employee name whose salary is higer than highest average salary of TCS’s. 6. Consider the following structure for employee. Emp(empno,ename,job,mgr,joindate,sal,comm,deptno) Write SQL Queries for the following: i.Change the average salaries for each dept. ii. Change the name of emp ‘AMAN’ to ‘ABHIJEET’. iii. Display emp details whose name start with ‘A’. iv. Display the list of emp excluding job title as ‘Salesman’. v. Dispaly annual salary of all emp. vi. Display name and salary for all emp. Whose sal is not in the range of
  • 3. Rs.5000 and 10000. vii. Delete all tuples in the emp relation for emp of dept_no=’200’. 7. Describe different clause in SQL with example. 8. What are aggregate functions in SQL? Explain it. 9. Describe string function and numeric function with example. 10. Explain ‘Group by’ and ‘having clause’ in SQL with example.
  • 4. Assignment no.03 Submission on: 23/03/2015 1. Explain Functional dependencies with an example. 2. Explain 1NF,2NF and3NF in detail. 3. Write short note on: i. Nested Subqueries ii. Multivalued dependency iii. Join dependency iv. Trigger v. View vi. Transaction 4. Explain states of transaction with suitable diagram also explain ACID properties. 5. Explain serializability and shadow paging with example. 6. Explain Time stamp protocols: i.Time stamp ordering ii.Validation based protocol 7. Inference rules based functional dependency questions. i.Let set of FD’s are given F={A->B,C->X,BX->Z} prove or disprove that ac->Z. ii.Let F={A->B,C->D,C C B} prove or disprove that A->C iii.Let F={A->B,BC->D} prove or disprove the following FD’s a.AC->D b. B->D c. AD->B iv.Let F={XY->W,Y->Z,WZ->P,WP->QR,Q->X} show that XY->P. 8. Explain the following terms: i.Lossy join ii.Lossless Join Decomposition iii.Lock based protocols
  • 5. 9. Consider the following relation schemes: R=(A,B,C,) and S=(D,E,F) Let realtion r(R) ,s(S) he given .Give an expression in SQL that is equivalent to each of following. i. Π A(r) ii. σB=17(r) iii. r×s iv. πA,F (σC=D(r×s)) 10. Explain scedules ,types of schedule and the testing of serializability.