Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

School of Computer Science and Engineering

CSI2004 – Advanced Database Management Systems


CAT-II Key – F2+TF2 Slot - VL2020210504624

1. [CO3]
SET A

Consider the query given below.


“Find the shortest route between Chennai and Bangalore.”

For the query given above, Find out

a. What is the database type needed for this query execution? Justify. [3 Mark]
b. What type of analysis this query will require? Explain it. [4 Mark]
c. What kind of data is basically required to answer the above query? Justify. [3 Mark]

Solution:
a. Spatial Database
b. Flow Analysis
c. Map Data

SET B

Consider the query given below.

“Find the no. of restaurants in and around Chennai city limit.”

For the query given above, Find out

a. What is the database type needed for this query execution? Justify. [3 Mark]
b. What type of analysis this query will require? Explain it. [4 Mark]
c. What kind of data is basically required to answer the above query? Justify. [3
Mark]

Solution:
a. Spatial Database
b. Search – Thematic Search

Page 1 of 5
c. Map Data

2. [CO3]
SET A
Consider the below query.

“Retrieve all the helicopter shots hit by M.S. Dhoni”

a. Identify the database suitable for this implementation and justify your answer. [5
Mark]
b. What are the different types data used for this application? [5 Mark]

Solution:
a. Multimedia Database
b.
i. Text: May be formatted or unformatted. For ease of parsing structured documents,
standards like SGML and variations such as HTML are being used.
ii. Graphics: Examples include drawings and illustrations that are encoded using
some descriptive standards (e.g. CGM, PICT, postscript).
iii. Images: Includes drawings, photographs, and so forth, encoded in standard formats
such as bitmap, JPEG, and MPEG. Compression is built into JPEG and MPEG.
a. These images are not subdivided into components. Hence querying them by
content (e.g., find all images containing circles) is nontrivial.
iv. Animations: Temporal sequences of image or graphic data.
v. Video: A set of temporally sequenced photographic data for presentation at
specified rates– for example, 30 frames per second.
vi. Structured audio: A sequence of audio components comprising note, tone,
duration, and so forth.
vii. Audio: Sample data generated from aural recordings in a string of bits in digitized
form. Analog recordings are typically converted into digital form before storage.
viii. Composite or mixed multimedia data: A combination of multimedia data types
such as audio and video which may be physically mixed to yield a new storage
ṣformat or logically mixed while retaining original types and formats. Composite

Page 2 of 5
data also contains additional control information describing how the information
should be rendered.
SET B
A hospital choose to upgrade their environment to use image, video, text and databases as
modes of storing data.
a. Identify the database suitable for this implementation and justify your answer. [5
Mark]

b. Discuss about the data management issues the system will be facing. [5 Mark]
[CO4]
Solution:
a. Multimedia Database
b. Multimedia applications dealing with thousands of images, documents, audio
and video segments, and free text data depend critically on
Appropriate modeling of the structure and content of data
Designing appropriate database schemas for storing and retrieving
multimedia information.
• Multimedia information systems are very complex and embrace a large set of
issues:
• Modeling
• Complex objects
• Design
• Conceptual, logical, and physical design of multimedia has not
been addressed fully.
• Multimedia information systems are very complex and embrace a large set of
issues (contd.):
• Storage
• Multimedia data on standard disk like devices presents
problems of representation, compression, mapping to device
hierarchies, archiving, and buffering during the input/output
operation.
• Queries and retrieval

Page 3 of 5
• “Database” way of retrieving information is based on query
languages and internal index structures.
• Multimedia information systems are very complex and embrace a large set of
issues (contd.):
• Performance
• Multimedia applications involving only documents and text,
performance constraints are subjectively determined by the
user.
• Applications involving video playback or audio-video
synchronization, physical limitations dominate.

3.
SET A
Consider the following scenario:
Smart watch reads the heart rate and sends the data to the connected device on a timely
basis.
a. What type of database is suitable to implement this scenario? Provide a
generalized architecture for the database system. [5 Mark]
b. Mention the data management issues of the identified system. [5 Mark]
Solution:
a. Mobile Database
b. From a data management standpoint, mobile computing may be considered a
variation of distributed computing. Mobile databases can be distributed under
two possible scenarios:
The entire database is distributed mainly among the wired components,
possibly with full or partial replication.
A base station or fixed host manages its own database with a DBMS-like
functionality, with additional functionality for locating mobile units and
additional query and transaction management features to meet the
requirements of mobile environments.
The database is distributed among wired and wireless components.
Data management responsibility is shared among base stations or fixed hosts
and mobile units.
Page 4 of 5
 Data management issues as it is applied to mobile databases:
 Data distribution and replication
 Transactions models
 Query processing
 Recovery and fault tolerance
 Mobile database design
 Location-based service
 Division of labor
 Security

SET B

Netflix is one example of an organization using the cloud. By running on AWS, it


provided billions of hours of service to customers around the globe. Users can order its
products/services from almost anywhere in the world, using PCs, tablets, or mobile
devices.
a. What are the security aspects provided with cloud? [5 mark]
b. List the major types of databases supported by a cloud environment. [5 mark]
Solution:
a. Access Control and Identity Access Management
Network Isolation
Data Encryption

b. Relational Databases
Data Warehouses
Non relational Databases
• Key/value databases
• Document databases
• Graph databases
• Search databases
• Time series databases
• Ledger databases

Page 5 of 5

You might also like