100% found this document useful (1 vote)
1K views25 pages

Sybcs - CS-243 DS & NW

The document contains details of the practical examination for a data structures laboratory course, including 9 sample question papers (slips). Each slip contains 3 questions related to data structures topics like graphs, trees, sorting, and their implementations in C programming language. Students are required to attempt any 2 questions out of 3 in the given duration of 3 hours and will be evaluated out of a maximum of 35 marks. An oral exam (viva) carrying 5 marks is also included.

Uploaded by

Mahesh Koli
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views25 pages

Sybcs - CS-243 DS & NW

The document contains details of the practical examination for a data structures laboratory course, including 9 sample question papers (slips). Each slip contains 3 questions related to data structures topics like graphs, trees, sorting, and their implementations in C programming language. Students are required to attempt any 2 questions out of 3 in the given duration of 3 hours and will be evaluated out of a maximum of 35 marks. An oral exam (viva) carrying 5 marks is also included.

Uploaded by

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

Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Write a C program that accepts the vertices and edges of a graph and stores it as an
adjacency matrix. Display the adjacency matrix. [15 Marks]

Q 2. Implement a Binary search tree (BST) library (btree.h) with operations – create, insert,
preorder. Write a menu driven program that performs the above operations.
[15 Marks]
OR
Q 2. Write a C program for the Implementation of Prim’s Minimum spanning tree algorithm.
[15 Marks]

Q 3) Viva [5 Marks]

SLIP 1
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q1. Write a C program for the implementation of Topological sorting. [15 Marks]
Q 2. Write a C program that accepts the vertices and edges of a graph and stores it as an
adjacency matrix. Display the adjacency matrix. [15 Marks]

OR
Q 2. Write a C program that accepts the vertices and edges of a graph and store it as an
adjacency matrix. Implement function to traverse the graph using Depth First Search (DFS)
traversal. [15 Marks]

Q 3. Viva [ 5 Marks]

SLIP 2
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Write a C program for the Implementation of Prim’s Minimum spanning tree algorithm.
[15 Marks]
Q 2. Write a C program that accepts the vertices and edges of a graph and stores it as an
adjacency matrix. Display the adjacency matrix. [15 Marks]
OR
Q 2. Write a C program for the implementation of Floyd Warshall’s algorithm for finding all
pairs shortest path using adjacency cost matrix. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 3
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Write a C program that accepts the vertices and edges of a graph. Create adjacency list.
[15 Marks]

Q 2. Write a program which uses binary search tree library and counts the total nodes and
totalleaf nodes in the tree.
int countLeaf(T) – returns the total number of leaf nodes from BST. [15 Marks]

OR

Q 2. Write a C program for the implementation of Topological sorting. [15 Marks]

Q 3.Viva [5 Marks]

SLIP 4
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1.Write a C program which uses Binary search tree library and displays nodes at each level,count
of node at each level. [15 Marks]

Q 2. Write a program to sort n randomly generated elements using Heapsort method.


[15 Marks]

OR

Q 2. Write a C program that accepts the vertices and edges of a graph and store it as an adjacency
matrix. Implement function to traverse the graph using Breadth First Search (BFS) traversal.
[15 Marks]

Q 3. Viva [5 Marks]

SLIP 5
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Write a C program for the Implementation of Prim’s Minimum spanning tree algorithm.
[15 Marks]
Q 2. Write a C program for the implementation of Dijkstra’s shortest path algorithm for findingshortest path
from a given source vertex using adjacency cost matrix. [15 Marks]

OR
Q 2. Write a C program that accepts the vertices and edges of a graph and stores it as an adjacency
matrix. Display the adjacency matrix.

Q 3. Viva [5 Marks]

SLIP 6
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Write a C program for the implementation of Floyd Warshall’s algorithm for finding all pairs
shortest path using adjacency cost matrix. [15 Marks]

Q2. Write a program to sort n randomly generated elements using Heap sort method. [15 Marks]

OR

Q 2. Write a C program which uses Binary search tree library and displays nodes at each level,
and total levels in the tree. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 7
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Write a program to sort n randomly generated elements using Heapsort method. [15 Marks]

Q 2. Write a C program for the Implementation of Prim’s Minimum spanning tree algorithm.
[15 Marks]

OR

Q 2. Write a C program that accepts the vertices and edges of a graph and store it as an adjacency
matrix. Implement functions to print indegree of all vertices of graph. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 8
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Writea C program that accepts the vertices and edges of a graph. Create adjacency list
anddisplay the adjacency list. [15 Marks]

Q 2. Implement a Binary search tree (BST) library (btree.h) with operations – create, insert,
postorder. Write a menu driven program that performs the above operations.
[15 Marks]

OR

Q 2. Write a C program that accepts the vertices and edges of a graph and store it as an
adjacencymatrix. Implement function to traverse the graph using Depth First Search (BFS)
traversal. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 9
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Implement a Binary search tree (BST) library (btree.h) with operations – create, insert,
inorder. Write a menu driven program that performs the above operations. [15 Marks]

Q 2. Write a C program that accepts the vertices and edges of a graph. Create adjacency list
and display the adjacency list. [15 Marks]

OR

Q 2. Write a C program that accepts the vertices and edges of a graph and store it as an
adjacency matrix. Implement function to traverse the graph using Breadth First Search (BFS)
traversal. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 10
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Write a C program for the implementation of Floyd Warshall’s algorithm for finding all pairs
shortest path using adjacency cost matrix. [15 Marks]

Q 2. Write a C program that accepts the vertices and edges of a graph. Create adjacency list
anddisplay the adjacency list. [15 Marks]

OR

Q 2. Write a C program that accepts the vertices and edges of a graph and store it as an
adjacency matrix. Implement function to traverse the graph using Depth First Search (DFS)
traversal. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 11
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Implement a Binary search tree (BST) library (btree.h) with operations – create, insert,
preorder. Write a menu driven program that performs the above operations. [15 Marks]

Q 2. Write a C program for the implementation of Topological sorting. [15 Marks]

OR

Q 2. Write a C program that accepts the vertices and edges of a graph and store it as an adjacency
matrix. Implement functions to print indegree, outdegree and total degree of all vertices of
graph. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 12
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Write a C program for the Implementation of Kruskal’s Minimum spanning tree algorithm.
[15 Marks]

Q 2. Write a program which uses binary search tree library and counts the total nodes and
total leaf nodes in the tree.
int countLeaf(T) – returns the total number of leaf nodes from BST [15 Marks]

OR

Q 2. Write a C program that accepts the vertices and edges of a graph and store it as an
adjacencymatrix. Implement function to traverse the graph using Breadth First Search (BFS)
traversal. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 13
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Write a C program for the implementation of Floyd Warshall’s algorithm for finding all pairs
shortest path using adjacency cost matrix. [15 Marks]

Q2. Write a menu driven program to implement hash table using array (insert, search,
display). Use any of the above-mentioned hash functions. In case of collision apply linear
probing. [15 Marks]
OR

Q 2. Write a C program which uses Binary search tree library and displays nodes at each level,
and total levels in the tree. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 14
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Write a C program for the Implementation of Prim’s Minimum spanning tree algorithm.
[15 Marks]
Q 2. Write a C program for the implementation of Dijkstra’s shortest path algorithm for finding shortest
path from a given source vertex using adjacency cost matrix. [15 Marks]

OR
Q 2. Write a C program that accepts the vertices and edges of a graph and store it as an
adjacencylist. Implement function to traverse the graph using Breadth First Search (BFS)
traversal. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 15
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Write a C program for the implementation of Floyd Warshall’s algorithm for finding all pairs
shortest path using adjacency cost matrix. [15 Marks]

Q2. Write a program to sort n randomly generated elements using Heapsort method. [15 Marks]

OR

Q 2. Write a C program which uses Binary search tree library and displays nodes at each level,
and total levels in the tree. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 16
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q1. Write a menu driven program to implement hash table using array (insert, delete,display).
Use any of the above-mentioned hash functions. In case of collision apply linear probing.
[15 Marks]

Q2. Write a program to sort n randomly generated elements using Heapsort method. [15 Marks]

OR

Q 2. Write a C program which uses Binary search tree library and displays nodes at each level,
and total levels in the tree. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 17
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35
Q 1. Write a C program that accepts the vertices and edges of a graph and stores it as an adjacency

matrix. Display the adjacency matrix. [15 Marks]

Q 2. Implement a Binary search tree (BST) library (btree.h) with operations – create, insert,
in order. Write a menu driven program that performs the above operations.
[15 Marks]
OR

Q 2. Write a C program for the Implementation of Prim’s Minimum spanning tree algorithm.
[15 Marks]

Q 3. Viva [5 Marks]

SLIP 18
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Implement a Binary search tree (BST) library (btree.h) with operations – create, insert, in
order. Write a menu driven program that performs the above operations. [15 Marks]

Q 2. Write a C program that accepts the vertices and edges of a graph. Create adjacency list
anddisplay the adjacency list. [15 Marks]

OR

Q 2. Write a C program that accepts the vertices and edges of a graph and store it as an
adjacencymatrix. Implement function to traverse the graph using Depth First Search (DFS)
traversal. [15 Marks]

Q 3. Viva [ 5 Marks]

SLIP 19
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35
Q 1. Write a C program for the Implementation of Kruskal’s Minimum spanning tree algorithm.
[15 Marks]

Q 2. Write a program which uses binary search tree library and count the total nodes and
total leaf nodes in the tree.
int countLeaf(T) – returns the total number of leaf nodes from BST [15 Marks]

OR

Q 2. Write a C program that accepts the vertices and edges of a graph and store it as an
adjacencymatrix. Implement function to traverse the graph using Breadth First Search (BFS)
traversal. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 20
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1.Write a C program for the implementation of Dijkstra’s shortest path algorithm for
findingshortest path from a given source vertex using adjacency cost matrix.
[15 Marks]

Q 2. Write a program which uses binary search tree library and counts the total nodes and
total leaf nodes in the tree.
int count Leaf(T) – returns the total number of leaf nodes from BST [15 Marks]

OR
Q 2. Write a C program for the Implementation of Prim’s Minimum spanning tree algorithm.
[15 Marks]

Q 3. Viva [5 Marks]

SLIP 21
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Write a C program that accepts the vertices and edges of a graph. Create adjacency
list and display the adjacency list. [15 Marks]

Q 2. Implement a Binary search tree (BST) library (btree.h) with operations – create, insert,
postorder. Write a menu driven program that performs the above operations.
[15 Marks]

OR

Q 2. Write a C program that accepts the vertices and edges of a graph and store it as an
adjacencymatrix. Implement function to traverse the graph using Depth First Search (DFS)
traversal. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 22
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Write a C program for the Implementation of Prim’s Minimum spanning tree algorithm.
[15 Marks]
Q 2. Write a C program that accepts the vertices and edges of a graph and stores it as an
adjacency matrix. Display the adjacency matrix. [15 Marks]
OR
Q 2. Write a C program for the implementation of Floyd Warshall’s algorithm for finding all
pairs shortest path using adjacency cost matrix. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 23
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35
Q 1. Write a program to sort n randomly generated elements using Heap sort method. [15 Marks]

Q 2. Write a C program for the Implementation of Prim’s Minimum spanning tree algorithm.
[15 Marks]

OR

Q 2. Write a C program that accepts the vertices and edges of a graph and store it as an adjacency
matrix. Implement functions to print indegree of all vertices of graph. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 24
Savitribai Phule Pune University

S.Y.BCS (Computer Science) Practical Examination (2019 Pattern)

Lab Course 234 SEM IV

Data Structure Laboratory


Duration: 3 Hours Maximum Marks: 35

Q 1. Write a C program for the implementation of Floyd Warshall’s algorithm for finding all pairs
shortest path using adjacency cost matrix. [15 Marks]

Q2. Write a program to sort n randomly generated elements using Heapsort method. [15 Marks]

OR

Q 2. Write a C program which uses Binary search tree library and displays nodes at each level,
and total levels in the tree. [15 Marks]

Q 3. Viva [5 Marks]

SLIP 25

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy