You are on page 1of 4

PUNE INSTITUTE OF COMPUTER TECHNOLOGY

DHANKAWADI, PUNE – 43.

SCHEDULE OF LAB EXPERIMENTS

ACADEMIC YEAR: 2010-2011

Date: 02/07/2010
DEPARTMENT: COMPUTER ENGINEERING

CLASS: T.E. SEMESTER: I

SUBJECT: RDBMS &Visual Programming Laboratory

Lab Problem Statement Last Date


Expt. For
No Completion
1 Write a Menu-driven modular ‘C’/C++ program to simulate SQL 02/07/10-
statements SELECT,INSERT,UPDATE,DELETE with at least two 14/07/10
WHERE clauses.
Consider following class structure batchwise Submission
K1- itemno, itemname, price, quantityinhand, purchase_date Date
L1 – empno, empname, joiningdate, salary, no-ofl-leaves-taken, no-of- 16/07/10-
leaves-inhand 21/07/10
M1- customer_no, customer_name, telephone, transaction_date,amount
N1 – enrollment number,name,brance,year, marksobtained
K2- productid, product_name,expairy_date,price
L2 – ticket_id, source, destination,fare,date_of_journey
M2- customer_id,customer_name,check_in_date,check_out_date
N2- account_no, name, balance, date
2 Design standard calculator & include following functions in it 16/07/10-
1) Conversion functions(binary, octal, hex) 28/07/10
2) Bitwise operations Submission
3) Trigonometric functions(sin, cos, tan) Date
4) Power function(x^2, x^Y) 30/07/10-
Note: - Make use of control array concept, for memory functions make 07/07/10
use of files.
3 Design an application in VB showing two list boxes and five buttons. 30/07/10-
Provide facility to make new entry in first list box at run time on 04/08/20
clicking ‘Add_to_first_listbox’. Let the user add/remove values from Submission
first list to second list using the four command buttons ‘Add’, ‘Add Date
All’, ‘Remove’, ‘Remove All’. The user should also be able to add 06/08/10-
single item by double clicking it in the first list and remove an item by 13/08/10
double clicking it in the second list. When items are added in the second
list they get removed from first and vice – versa. Same operations
should also be possible using enter key in both the lists.

P:F-LTL-UG / 02 / R1 1
4 Draw an ER diagram for following relations & Create tables in oracle 06/08/08-
Employees (Employee_id , first_name , last_name , email, ph_no , 13/08/08
hire_date, job_id, salary, department_id )
Works(Employee_id , manager_id ) Submission
Departments (Department_id , dept_name , location_id) Date
Jobs (Job_id, job_title , min_salary , max_salary) 14/08/10-
Locations (Location_id , street, city, state , country) 21/08/10
Job_history(Employee_id , hire_date, leaving_date, salary, job_id,
department_id)

1] Display all the employees in descending order of their salary.


2] Display employee_id, full name and salary of all employees who
have joined in year 2006 according to their seniority.
3] List name of all departments in location 20,30 and 50
4] Display the full name of all employees whose first_name or
last_name contains ‘a’
5] Find the department with the most employees.
6] display the department id and the count of the total no. of employees
in respective departments in descending order by department id if count
is > 5
7] Find those departments whose employees earn a higher salary, on
average, than the average salary at department id 30.
8] List previous details of all employees who changed their department.
9] Display the manager_id and salary of the lowest paid employee for
that manager. Exclude anyone whose manager is not known. Exclude
any group where the minimum salary is less than $5000. Sort the output
in descending order of salary.
5 Draw an ER diagram for following relations & Create tables in oracle 14/08/08-
18/08/08
Hotels(hotel_no,hotel_name,city)
Rooms(Room_no,hotel_no,price,type) Submission
Booking(hotel_no, guest_no, date_from, date_to, room_no) Date
Guest(guest_no,guest_name,guest_address) 20/08/10-
1. Increase the price of all rooms in hotel taj by 10%. 27/08/10
2. Delete room no 101 from hotel ‘ Blue- Diamond’
3. Create view to contain hotel name & the names of the guests staying
at the hotel.
4. 4. Update all the NULL-valued date_to to the current date.
5. Delete records of guests staying in pune
6. Create index & sequence on hotels.
6 Design a form to display the contents of selected file from tree view, if 20/08/08-
it is image file display it in image box & text file display it in text area. 25/08/08
Make use of drive box, Directory list box & File list box to get the all Submission
information on your machine. Show all drives, directories & files using Date
tree view control. 27/08/10-
03/09/10

P:F-LTL-UG / 02 / R1 2
7 Design an Application in VB which will implement following facilities 27/08/08-
in notepad 4/09/08
Submission
File – New, Open, Save, Close file, Exit. Date
Edit – Cut, Copy, Paste, Select All, Undo 06/09/10-
Format – Font, Color, Bullet, Indentation 11/09/10
Animate – Perform animation on any object or collection of objects

8 Consider the following tables 06/09/08-


11/09/08
Employee (emp_id,ename,salary,city) Submission
Dept ( dept_no,dname,city) Date
Works in (emp_id,dept_no) 13/09/10-
Execute following query through pro*c 20/09/10
1) Create any one table using pro*c
2) Insert record in employee table using pro*c
3) Display names of employees who work in a department in
Bombay.
4) Delete employees from employee whose salary > 10000.
5) Update city of employee same as city of department in his
working.

9 Consider the following tables & Execute following 13/09/10-


22/09/10
parts (pno, pname, qty_in_hands, price, level) Submission
1) Write trigger on table for update command. Old record must be Date
stored in one log file. Log file having 24/09/10-
fields(pno,date,old_price,new_price) 29/09/10
2) Write procedure that update price of pno by 80% of its old price
if qty_in_hand is more than 200 otherwise by 70%.

10 Consider the tables from assignment no. 5 & Execute following 13/09/10-
1. What is the total income for given hotel name & given time 22/09/10
period without using aggregate function? Write function & Submission
return output to console. Date
2. Write a trigger when person is doing booking of back date add 24/09/10-
that record in one dummy cancel table. 29/09/10

11 Design and Develop ActiveX DLL for find GCD & LCM of given 24/09/08-
numbers and demonstrate the use of ActiveX DLL in Standard EXE 29/09/08
project Submission
Date
01/10/10-
06/10/10

P:F-LTL-UG / 02 / R1 3
12 Create an activex control in VB. 01/10/10-
K1, K2, L1, L2 – activex for String functions compare, reverse, length, 06/10/10
string concat, palindrome, substring : add maxlength as property. Submission
Compare, reverse, length, concat, palindrome, substring as methods & Date
on empty as event to it. Activex control should contain only two text 08/10/10-
boxes. 13/10/10
M1, M2, N1, N2 – Number Conversion(Decimal to binary, octal,&
Hex) : Add Type as property to user control which shows which type of
data it is showing, Add Convert method, Add bad key event when
binary is selected it should accept only 0,1 for octal from 0..7, for
decimal 0..9 otherwise it should raise badkey event.

13 Create a table in Oracle product (id, name, description, size, color, 08/10/10-
quantity, unit_price).Create a front end in VB for product table using 16/10/10
ADODB connection & provide facility for insert, delete, update and Submission
select. Add data report to display all products grouped by color. Date
18/10/10-
20/10/10

14 Consider the tables from assignment no. 5 08/10/10-


Make the use of Datagrid Control to select the record & edit it. Provide 16/10/10
buttons for adding and deleting records. create a data report in visual Submission
basic in the following format Date
Hotel_no 1 Hotel_name – Taj 18/10/10-
--------------------------------------------------------- 20/10/10
Type – AC 18,000
Type – Non-AC 21,000
----------------------------------------------------------
39,000
Hotel_no 2 Hotel_name – Holiday-inn
---------------------------------------------------------
Type – AC 18,000
Type – Non-AC 21,000
Delux 40,000
----------------------------------------------------------
79,000
15 Mini Project Entire
Semester
Question-Answer Session with students about all above experiments At the end
of term

______________________ __________________________
Subject Coordinator Head of Department
(Mrs. Kalyani C.Waghmare) (Computer Engineering)

P:F-LTL-UG / 02 / R1 4

You might also like