PUNE INSTITUTE OF COMPUTER TECHNOLOGY
DHANKAWADI, PUNE – 43.
SCHEDULE OF EXPERIMENT
ACADEMIC YEAR: 2017-18
Date: 14/06/2017
DEPARTMENT: Information Technology
CLASS : T.E. SEMESTER: I
SUBJECT : Software Lab - I
LAB Problem Definition/Statement Last Date
EXPT Of
.NO Completion
Group A: Introduction to Databases
1. Study and design a database with suitable example using 21/06/2017
following database systems:
Relational: SQL / PostgreSQL / MySQL
Key-value: Riak / Redis
Columnar: Hbase
Document: MongoDB / CouchDB
Graph: Neo4J
Compare the different database systems based on points like
efficiency, scalability, characteristics and performance.
2. Install and configure client and server for MySQL and 28/06/2017
MongoDB (Show all commands and necessary steps for
installation and configuration).
3. Study the SQLite database and its uses. Also elaborate on 28/06/2017
building and installing of SQLite.
Group B: SQL and PL/SQL
4. Design & Develop DB for “Order Management System” with all 05/07/2017
the constraints. (At least 3 entities and relationships between
them.) The statement should use SQL objects such as Table,
View, Index, and Sequence.
Draw suitable ER/EER diagram for the system.
Apply DCL and DDL commands to convert ER/EER diagram to
tables.
5. Manage Data into the above tables using Insert, Select, Update, 12/07/2017
Delete with operators, functions, and set operator. And Execute
queries like
Display all the Purchase orders of a specific
P:F-LTL-UG / 02/R1
Customer.
Get Customer and Data Item Information for a
Specific Purchase Order.
Get the Total Value of Purchase Orders.
List the Purchase Orders in descending order as per
total.
Display the name of customers whose first name
starts with “Rav”. (String matching :Like operator)
Display the name of customer whose order amount is
greater than all the customers. (Relational Operator:
<, >, <=, >=, = =,!=)
Display order details of customer whose city name is
“Pune” and purchase date is “22/08/2016” (Boolean
Operators: and, or)
Add discount of 5% to all the customers whose order
is more than Rs. 10000/-. (Arithmetic Operators +, -,
*, /)
Delete Purchase Order 1001.
6. Write following conditional select queries on above DB. 19/07/2017
A]. Aggregate functions (count, sum, avg etc)
Get the total no of customers.
Display average purchase amount of all the
customers.
Display total purchase amount of all the customers.
B]. Built in functions (now (), date (), day (), time () etc)
Find DAYNAME, MONTHNAME and YEAR of the
purchase order made on “1995-11-2016”
Get current date & time, current time, current date
Get 6 month future & past date using interval
function based on current date and name the column
accordingly.
Find purchase details of the customers group by
product category.
Find the purchase details of all the customers who
made shopping today. (Using having clause)
7. Write following nested sub queries on above DB. 26/07/2017
A]. set membership(in, not in)
Get order details of products which are not from
electronics and sports category.
Get the name and quantity of product which have
either 10 or 20 or 30 quantities.
B]. set comparison (<,>,<=,>=, <some, >=some, <all etc.)
Get the product details whose product price is more
than “Apple 7”.
P:F-LTL-UG / 02/R1
Find the purchase order whose purchase amount is
greater than maximum purchase amount.
Also use following keywords in nested sub queries.
EXISTS /NOT EXISTS, ANY etc.
8. Write and execute PL/SQL block to implement all types of 02/08/2017
triggers on above DB.
(Consider row level and statement level triggers)
9. Write and execute PL/SQL stored procedure and function to 09/08/2017
perform a suitable task on above DB.
10. Write and execute PL/SQL block to implement all types of 09/08/2017
cursor on above DB.
11. Write DDL statements to create VIEWS on single and multiple 16/08/2017
tables from above DB.
Do the following operation to demonstrate the use of view:
Update the base table
Insert new record in the base table.
Delete record in the base table.
DML on VIEW.
What are the restrictions applicable while creating or modifying
views? Demonstrate using suitable queries.
Group C:MongoDB
12. Create a NOSQL DB on “Order management System” using 23/08/2017
MongoDB and implement following operations on document.
Insert
(batch insert, insert validation)
Save
Remove
Update
Replace Document
Usage of modifiers
Upserts
Update Multiple documents
Return updated documents
13. Execute at least 10 queries on above MongoDB database that 30/08/2017
demonstrates following querying techniques:
Find
FindOne (specific values)
Conditional queries
(Query conditionals, OR queries, $not, Conditional
semantics)
Type-specific queries
(Null, Regular expression, Querying arrays)
P:F-LTL-UG / 02/R1
14. Execute at least 10 queries on above MongoDB database that 06/09/2017
demonstrates following:
$ where queries
Cursors
(Limits, skips, sorts, advanced query options)
Database commands
15. Implement Map reduces operation with suitable example on 13/09/2017
above MongoDB database.
16. Implement the aggregation and indexing with suitable example 20/09/2017
on above MongoDB database.
Demonstrate Following
Aggregation framework
Create and drop different types of indexes and explain ()
to show the advantage of the indexes.
Group D: Mini Project / Database Application Development
17. Design and Implement any Database Application using 27/09/2017
Java/PHP/Python etc. and MySQL/MongoDB (preferably
MySQL) as a back end. Implement Database navigation
operations (add, delete, edit etc.) using ODBC/JDBC. Use
stored procedure, Trigger and functions.
_______________________ __________________________
Subject Coordinator HOD IT
(Prof. R. B. Murumkar)
Submission Date
P:F-LTL-UG / 02/R1