7
AMITY SCHOOL OF DISTANCE LEARNING Post Box No. 503, Sector-44 Noida – 201303 Distributed Database System (MCA) Assignment A Marks 10 Answer all questions. 1. What are the components of a distributed database system? Explain with the help of a diagram. 2. What is the difference between homogeneous and heterogeneous distributed database system? 3. What is location transparency? 4. What is Fragmentation? Discuss various types of Fragmentations with the help of suitable examples. 5. Write short note on any three of the following a. Remote and distributed transactions. b. Replication and consideration while designing the distributed data base system c. Network Transparency d. Underlying design principles in COBRA architecture. e. Deadlock prevention deadlock detection algorithms. Distributed Database System (MCA) Assignment B Marks 10 Answer all questions. 1. What are the functions of distributed database management system? What are the advantages and disadvantages of distributed database systems? 2. Explain concurrency control mechanism in DDBMS. 3. Why is distributed database system said to be scalable? Case Study By taking any real time situation, explain how a participating node performs its recovery when it fails during the processing of a transaction? Distributed Database System

Assignment-Distributed Database System

Embed Size (px)

Citation preview

Page 1: Assignment-Distributed Database System

AMITY SCHOOL OF DISTANCE LEARNINGPost Box No. 503, Sector-44

Noida – 201303Distributed Database System

(MCA)

Assignment A Marks 10

Answer all questions.

1. What are the components of a distributed database system? Explain with the help of a diagram.2. What is the difference between homogeneous and heterogeneous distributed database system?3. What is location transparency?4. What is Fragmentation? Discuss various types of Fragmentations with the help of suitable examples.5. Write short note on any three of the following a. Remote and distributed transactions. b. Replication and consideration while designing the distributed data base system c. Network Transparency d. Underlying design principles in COBRA architecture. e. Deadlock prevention deadlock detection algorithms.

Distributed Database System (MCA)

Assignment B Marks 10

Answer all questions.

1. What are the functions of distributed database management system? What are the advantages and disadvantages of distributed database systems?2. Explain concurrency control mechanism in DDBMS.3. Why is distributed database system said to be scalable? Case StudyBy taking any real time situation, explain how a participating node performs its recovery when it fails during the processing of a transaction?

Distributed Database System (MCA)

Assignment C Marks 10

Answer all questions.Tick mark(√) the most appropriate answer

1. Which is the following is a component of a distributed database system?a) Serverb) Clientc) Networkd) All of the above

Page 2: Assignment-Distributed Database System

2. Which of the following computing model is used by distributed database system?a) Mainframe computing modelb) Disconnected, personal computing modelc) Client/Server computing modeld) None of the above

3. Which of the following refers to the operation of the copying and maintaining database objects in multiple databases belonging to a distributed system?

a) Backupb) Recoveryc) Replicationd) None of the above

4. Which of the following refers to the fact that the command used to perform a task independent of the location of the data and location of the system where the command was issued?

a) Naming Transparencyb) Location Transparencyc) Fragmentation Transparencyd) All of the above

5. Which of the following is the probability that the system is up and running at a certain point in time?

a) Reliabilityb) Availabilityc) Maintainabilityd) None of the above

6. Which of the following is not a benefit of site autonomy?a) A global catalog is not necessary to access local data.b) Nodes can upgrade software independentlyc) Administrators can recover from isolated system failures independentlyd) There is no need for backup and recovery

7. Which of the following is the recovery management technique in the case of distributed systems?

a) Deferred updateb) Immediate updatec) Two-phase commitd) None of the above

8. Which of the following is a function of a distributed DBMS?a) Distributed query processingb) Replicated data managementc) Distributed data recoveryd) All of the above

9. What is data about data called?a) Metadatab) Data catalogc) Informationd) None of the above

10. Which of the following strategy is designed to ensure the either all the databases are updated or none of them are?

a) Two-phase commitb) Two-phase lockingc) Two-phase updated) None of the above

11. Which one is not true in case of Distributed Database query processing?a) parsing the global query,b) query optimization,c) Query execution.d) All of the abovee) None of the above

Page 3: Assignment-Distributed Database System

12. Which one is not a valid join Distributed Database query?a) Nested-loops join, b) Sort-merge join c) Quick-merge joind) Hash-join.

13. Which one is not a feature of Distributed Database System?a) Replicationb) Fragmentationc) Relationd) Nonee) All

14. In horizontal fragmentation, original relation is obtained by applying--

a) Selectionb) Projectionc) Joind) Merge

15. In vertical fragmentation, original relation is obtained by applying-- a) Selectionb) Projectionc) Joind) Merge

16. Which of the following is a column in a table that uniquely identifies the records from a different table?

a) Primary keyb) Candidate keyc) Foreign keyd) Intelligent key

17. What is the expansion of BCNF?a) Boyd-Cromwell Normal Formb) Boyce-Codd Normal Formc) Boyd- Codd Normal formd) None of the above

18. Which is the symbol used to denote the SELECT operation?a) Sigmab) Rhoc) Pid) None of the above

19. Which of the following is used to express a many-to-many relationship?a) Union tables b) Join tablesc) Intersection tablesd) None of the above

20. What is a set of columns that store similar information that repeats in the same table?a) Tuple groupb) Recurring groupc) Repeating groupd) None of the above

21. Which of the following is the result of a transitive dependency?

Page 4: Assignment-Distributed Database System

a) Insertion anomalyb) Modification anomalyc) Deletion anomalyd) All of the above

22. Whenever two independent one-to-many relationships are mixed in the same relation is called--

a) Functional dependencyb) Multi-valued dependencyc) Transitive dependencyd) None of the above

23. Which is the process of building data base structure to store data?a) Concurrency managementb) Compilationc) Normalizationd) None of the above

24. What is an attribute composed of multiple components, each with an independent existence is called?

a) Atomicb) Compositec) Derivedd) Single-valued

25. A collection of data designed to be used by different people is called a…………..a) Databaseb) DBMSc) MISd) None of the above

26. Which of the following is a characteristic of the data in database?a) Sharedb) Securec) Independentd) All of the above

27. The attribute or set of attributes used to look up a record in a file is called a…………a) Primary keyb) Secondary keyc) Candidate keyd) None of the above

28. Which is not true in DDBMS?a) Geographically Dispersedb) Vary in Sizec) Separately Administeredd) Inter-connected by WAN/LANe) (e) All of thesef) (f) None of these

29. Which is not a group function?a) Maxb) Minc) Havingd) Sum

30. Which is not a concurrency control technique?a) Timestampb) Lock Basedc) (c)Multi-version

Page 5: Assignment-Distributed Database System

d) Log Based

31. At which level the multi valued dependency among attributes is checed?a) 2NFb) 3NFc) 4NFd) 5NF

32. Ability to modify the internal schema without causing any change to the external schema is known as--

a) Physical Data Independenceb) Logical data Independencec) External Data Independenced) None of above

33. A computer forming the part of a Distributed Database is called—a) Nodeb) Site.c) Serverd) Location

34. Command that lets you change one or more fields in a record is—a) Insertb) Modifyc) Lookupd) Create

35. In which of the following some of the columns of a relation are at different sites?a) Data Replicationb) Horizontal Partitioningc) Vertical Partitioningd) Horizontal and Vertical Partitioning

36. Which language has recently become the de facto standard for interfacing application program with relational database system?

a) Oracleb) SQLc) d based) 4GL

37. In homogenous DDMS—a) There are several sites, each running their own application on the same DBMS

softwareb) All sites have identical DBMS softwarec) All users or clients use identical softwared) None of above

38. In distributed query processing, semi join operation is used to--a) Reduce the size of relation that needs to be transmitted.b) Reduce communication costsc) a) & b) aboved) None of above

39. Horizontal fragmentation is produced by specifying a—a) Predicate operation of relational algebra.b) Projection operation of relational algebra.c) Selection and projection operation of relational algebra.d) None of above.

40. Which of the following strategies are used in distributed database system?a) Totally centralized at one location and accessed by many sites.b) Partially or totally replicated across sitesc) Partitioned into segments at different sites.

Page 6: Assignment-Distributed Database System

d) All of the above.

?