[go: up one dir, main page]

0% found this document useful (0 votes)
30 views3 pages

DSL List of Experiments

Uploaded by

Megha Patil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views3 pages

DSL List of Experiments

Uploaded by

Megha Patil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

BHARATI VIDYAPEETH'S

COLLEGE OF ENGINEERING,LAVALE,PUNE, 412 115


Department of Computer Engineering

List of Experiments
Sr. Title of the Experiment Group Programm
No ing
Language
1 In second year computer engineering class, group A student’s play cricket,
group B students play badminton and group C students play football. Write
a Python program using functions to compute following: - a) List of students
who play both cricket and badminton b) List of students who play either
cricket or badminton but not both c) Number of students who play neither
cricket nor badminton d) Number of students who play cricket and football
but not badminton. (Note- While realizing the group, duplicate entries A
should be avoided, Do not use SET built-in functions)
2 Write a Python program to perform operations on String
3 Write a python program to compute following computation on matrix: a)
Addition of two matrices b) Subtraction of two matrices c) Multiplication of
two matrices d) Transpose of a matrix
Python
4 Write a python program to store first year percentage of students in array.
Write function for sorting array of floating point numbers in ascending
order using a) Selection Sort b) Bubble sort and display top five scores
5 Write a python program to store second year percentage of students in
array. Write function for sorting array of floating point numbers in
ascending order using a) Insertion sort b) Shell Sort and display top five
B
scores

6 Write a python program to store first year percentage of students in array.


Write function for sorting array of floating point numbers in ascending
order using quick sort and display top five scores.

7 Department of Computer Engineering has student's club named C C++


'Pinnacle Club'. Students of second, third and final year of
department can be granted membership on request. Similarly one
may cancel the membership of club. First node is reserved for
president of club and last node is reserved for secretary of club.
Write C++ program to maintain club member‘s information using
singly linked list. Store student PRN and Name. Write functions to:
a) Add and delete the members as well as president or even
secretary.
b) Compute total number of members of club
c) Display members
d) Two linked lists exists for two divisions. Concatenate two
lists.
8 Write C++ program for storing binary number using doubly linked lists.
Write functions a) To compute 1‘s and 2‘s complement b) Add two binary
numbers
9 In any language program mostly syntax error occurs due to unbalancing
delimiter such as (),{},[]. Write C++ program using stack to check whether
given expression is well parenthesized or not.
10 Implement C++ program for expression conversion as infix to postfix and its D
evaluation using stack based on given conditions: 1. Operands and
operator, both must be single character. 2. Input Postfix expression must be
in a desired format. 3. Only '+', '-', '*' and '/ ' operators are expected.
11 Queues are frequently used in computer programming, and a typical
example is the creation of a job queue by an operating system. If the
operating system does not use priorities, then the jobs are processed in the
order they enter the system. Write C++ program for simulating job queue.
Write functions to add job and delete job from queue.
12 Write program to implement a priority queue in C++ using an inorder list to
store the items in the queue. Create a class that includes the data items
(which should be template) and the priority (which should be int). The
E
inorder list should contain these objects, with operator <= overloaded so
that the items with highest priority appear at the beginning of the list
(which will make it relatively easy to retrieve the highest item.)
13 A double-ended queue (deque) is a linear list in which additions and
deletions may be made at either end. Obtain a data representation
mapping a deque into a onedimensional array. Write C++ program to
simulate deque with functions to add and delete elements from either end
of the deque.
Subject Coordinator

Prof. M. A. Patil

You might also like