End Semester Examination, May 2016 MCA - Fifth Semester ADVANCED
DATABASE SYSTEM (MCA-5004)
Time: 3 hrs Max Marks: 75 No. of pages: 2 Note: Attempt FIVE questions in all; taking at least ONE question from each Unit. Q.1 is compulsory. All questions carry equal marks. Q.1 Choose the correct option: a) The special operators for sub-queries are: i) Exists ii) Some and All iii) Any iv) All b) Select statement include: i) Select from where ii) Views iii) Sequences iv) Indexes c) What are main types of transparency in a DBMS? i) Distribution ii) Transaction iii) Both of them iv) N o n e of the above d) What are the different strategies regarding the placement of data? i) Centralized ii) Fragmented iii) Selective replication iv) A l l o f t h e above e) Which operator is used for declaring variables that refer to the database columns? i) + ii) % iii) — iv) * f) Which of the following is not an oracle data type? i) CHAR ii) DATE iii) VARCAHR iv) VARCHAR2 g) If the value of SQLCODE returns zero means: i) No exception ii) U s e r defined exception iii) No-data-found exception iv) Server error h) Which of the following are the parts of package? i) Specification ii) Trigger iii) Body iv) Exception i) What command do you use to include an error condition? i) Raise error ii) Raiseexception iii) Raise iv) Exception j) Trigger is a PL/SQL block that can return value: i) True ii) False 1½x10 UNIT-I Q.2 Discuss the advantages and disadvantages of data replication and explain various types of fragmentations with examples. 15 Q.3 a) Compare the different strategies of data allocation. 7 b) What layers of transparency should be provided with DDBMS? Discuss. 8 UNIT-II Q.4 What do you mean by SQL constraints? Explain various types of constraints with an example. 15 Q.5 Explain the following: a) EF Codd rules of RDBMS. b) Components of SQL. c) Integrity constraints. 5x3 UNIT-III Q.6 What are the advantages of PL/SQL? Explain and write a PL/SQL code to check whether a number is even or odd. 15 Q.7 a) What is the importance of error handling? How errors are handled in PL/SQL? 10 b) What is the syntax to create local procedure? Explain with an example. 5 UNIT-IV Q.8 What do you mean by cloud databases? Discuss the various methods to run a database on the cloud. Explain the characteristics and architecture of it. 15 Q.9 What do you mean by big data? What are the basic characteristics of big data? Discuss its various applications.