Professional Documents
Culture Documents
Q. 2) Write a C program using data structure to accept the details of employees from user and
display it on the screen using Dynamic Memory Allocation.
[Marks 20]
Q.3.) Write a menu driven program using C for singly linked list to perform following
operations:
- To create list.
- To display list.
- To add a node at first position of linked list.
- To delete a node in between by position of linked list.
[Marks 30]
1
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
b) Create or replace a trigger that restricts insertion or updation of account having balance
less than 100.
Q. 2) Write a C program to accept m elements from user and store those elements into an
array. Extend the size of an array to n, accept n-m elements from the user and store that
elements into an array and display the complete array. (use malloc() and realloc()
function)
[Marks 20]
Q. 3) Write a C program to read n integers and store them in binary search tree structure.
Display mirror image of tree.(using recursive function)
[Marks 30]
2
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
b) Write a cursor to display names of all movies which are released in year 2002.
Q. 3) Write a C program to create linked list with given number in which data part of each node
contains individual digit of the number.
(Ex. Suppose the number is 584 then the nodes of linked list should contain 5, 8, 4.)
[Marks 30]
3
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
b) Write a cursor to display details of all books brought for a Computer department.
4
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
b) Create or replace a Trigger that restricts insertion or updation of books having price
less than 0.
Q. 3) Write a C program to read n integers and store them in a binary tree structure and count
the following and display it. (Any 3)
- Number of nodes
- Degree of tree
- Leaf nodes
- Interior nodes
- Childrens and parents
[Marks 30]
5
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
b) Write a cursor to display all employee names working on a project whose status is
Incomplete.
Q. 2) Write a C program to search given elements into the list using linear search method.
[Marks 20]
6
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
a) Create or Replace a PL/SQL procedure to find total balance of all customers of Pune
city.
b) Write a cursor to add interest of 3 % to the balance of all accounts whose balance is
greater than 10000.
Q. 3) Write menu driven program using C for Static implementation of Stack. The menu
includes
- push
- pop
- display
[Marks 30]
7
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
Q. 2) Write a C program to search given element into the list using Binary search method.
[Marks 20]
Q. 3) Write a C program to create two singly linked lists and perform the union of two lists and
display it.
[Marks 30]
8
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
a) Create or Replace a PL/SQL Procedure to display details of all students of class FY.
Q. 2) Write a C program to find given element into the array list using recursive Binary Search
Method.
[Marks 20]
Q. 3) Write menu driven program using C for Static implementation of Queue. The menu
includes
- Insert
- Delete
- Display
- Exit
[Marks 30]
9
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
b) Create or Replace a trigger before update on status of project such that status of
project once complete can not be changed. Display appropriate message.
Q. 3) Write a C program to read n integers and create two lists such that all positive numbers
are in one list and negative numbers are in another list. Display both the lists in sorted
order.
[Marks 30]
10
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
Q. 3) Write a C program to create two singly linked lists and perform the intersection
operations on two lists and display the resultant list.
[Marks 30]
11
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
a) Create or Replace a PL/SQL function to find total loan amount from Mumbai city.
b) Write a cursor to display details of all customers who have taken loan for more than 3
years.
Q. 2) Write a C program to create a singly linked list, reverse it and display both the list.
[Marks 20]
Q. 3) Write a menu driven program using C for Dynamic implementation of Queue for
integers. The menu includes
- Insert
- Delete
- Display
- Exit
[Marks 30]
12
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
Q. 2) Write a C program to create two singly linked lists and concatenate one list at the
end of another list.
[Marks 20]
Q. 3) Write a menu driven program using C for Dynamic implementation of Queue for
characters. The menu includes
- Insert
- Delete
- Display
- Exit
[Marks 30]
13
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
b) Create or Replace a trigger that restricts insertion or updation of book having price less
than 0.
Q. 2) Write a C program which accept the string and reverse each word of the string using
Static Implementation of stack.
[Marks 20]
Q. 3) Write a C program to read the adjacency matrix of directed graph and convert it into
adjacency list.
[Marks 30]
14
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
b) Create or Replace PL/SQL function to count the total number of books of BPB
Publication.
Q. 2) Write a C program to remove first node of the list and insert it at the end of the list.
[Marks 20]
Q. 3) Write a C program to read a parenthesized infix expression from user and check whether
it is well parenthesized or not using static implementation of stack.
[Marks 30]
15
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
a) Write a cursor to display details of all customers from Pune city having A/C balance
between 20000 and 40000.
Q. 2) Write a C program to remove last node of the singly linked list and insert it at the
beginning of list.
[Marks 20]
16
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
a) Create or Replace PL/SQL function to count the total number of doctors who are
visiting to KEM hospital.
Q. 2) Write a C program to swap mth and nth element of singly linked list.
[Marks 20]
Q. 3) Write a menu driven program using C for static implementation of Circular Queue for
characters. The menu includes
- Insert
- Delete
- Display
- Exit
[Marks 30]
17
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
b) Create or Replace a trigger that restricts insertion or updation of table such that
number_of_days should not be less than zero.
Q. 2) Write a C program to count all non-zero elements, odd numbers and even numbers in the
singly linked list.
[Marks 20]
Q. 3) Write a C program to accept an infix expression, convert it into its equivalent postfix
expression, evaluate it and display the result.
[Marks 30]
18
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
Q. 2) Write a C program to delete all the nodes in a singly linked list which have value N.
[Marks 20]
[Marks 30]
19
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
a) Create or Replace a PL/SQL procedure to display customer details who have taken
maximum loan from Pune city.
b) Create or Replace a trigger which will execute when loan amount is updated. Do not
allow to update. Display appropriate message.
Q. 3) Write a C program to create a Binary tree, traverse it using recursive operations like
inorder, preorder and postorder and display the result of each one separately.
[Marks 30]
20
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
Q. 3) Write a C program to read n integers and store them in a Binary search tree structure
and display the nodes level wise.
[Marks 30]
21
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
a) Create or Replace a PL/SQL procedure to increase the price of all books by 5 % for given
pubname and display updated book details.
b) Write a cursor to display all departments name having more than 2 books of BPB
publication.
Q. 2) Write a C program to create two singly linked lists and calculate the difference of two
lists and display the resultant list.
[Marks 20]
Q. 3) Write a menu driven program using C for implementation of Doubly linked list. Menu
includes
1.Create.
2.Display.
3.Search specific element in list and display appropriate Message.
[Marks 30]
22
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
a) Create or Replace a PL/SQL Procedure to display details of all actors acted in movie
Race.
b) Write a cursor to display the list of actors and their movies for which their rate is greater
than 20 Lakhs.
Q. 2) Write a C program to create singly linked list, display it and erase complete list.
[Marks 20]
Q. 3) Write a menu driven program using C for Dynamic implementation of Stack. The menu
includes
- Push
- Pop
- Display
- Exit
[Marks 30]
23
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
a) Create or Replace a PL/SQL procedure that will accept any two account number and
withdrawal amount as input parameter to transfer withdrawal amount from first account to
second account.
Q. 2) Write a C program to create a singly linked list and count total number of nodes in it.
[Marks 20]
24
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
a) Create or Replace PL/SQL function to return student name that has scored maximum
marks in TY.
b) Create or Replace PL/SQL function to return total number of teachers who are
teaching subject Accounts.
Q. 3) Write a C program to merge two sorted singly linked list of integers into a third list such
that third list is also in the sorted order
[Marks 30]
25
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
b) Write a cursor to display details of all projects along with status and number_of_days
on which a given employee works.
Q. 3) Write a C program to read a string and check whether string is palindrome or not. (using
static implementation of stack)
[Marks 30]
26
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
b) Create or replace a Trigger for updation of an Employee table that restricts new salary
should not less than old salary.
Q. 2) Write a C program to read two polynomials, add them and display the result using array.
[Marks 20]
Q. 3) Write a C program to create two singly linked lists and perform following operations
- Difference of two lists
- Union of two list
- Display
- Exit
[Marks 30]
27
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
Q. 2) Write a C program to read a postfix expression, evaluate it and display the result.
[Marks 20]
Q. 3) Write a menu driven program in C for static implementation of Circular Queue for
integers. The menu includes
- Insert
- Delete
- Display
- Exit
[Marks 30]
28
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
b) Create or Replace PL/SQL function to return total number of actors acted in movie
Gajani
Q. 3) Write a menu driven program in C for implementation of circular linked list. Menu
includes-
- Create.
- Display.
- Add node at beginning.
- Add node at last
- Exit
[Marks 30]
29
University of Pune
S.Y.B.C.A. Sem-III Practical Examination
LAB COURSE (Data Structure and RDBMS)
Duration: 3 Hours Maximum Marks: 100
Q. 3) Write a C program to create a Binary tree, traverse it using non recursive operations like
inorder, preorder and postorder and display the result of each one separately.
[Marks 30]
30