Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
16 views
3 pages
Data Structures July 2019 (2017 Scheme)
Uploaded by
movies new
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Download
Save
Save Data Structures July 2019 (2017 Scheme) For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
0 ratings
0% found this document useful (0 votes)
16 views
3 pages
Data Structures July 2019 (2017 Scheme)
Uploaded by
movies new
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as PDF or read online on Scribd
Carousel Previous
Carousel Next
Download
Save
Save Data Structures July 2019 (2017 Scheme) For Later
0%
0% found this document useful, undefined
0%
, undefined
Embed
Share
Print
Report
Download now
Download
You are on page 1
/ 3
Search
Fullscreen
For More Question Papers Visit - www.pediawikiblog.com 17C833 Third Semester B.E. Degree Examination, June/July 2019 Data Structures and Applications Time: 3 hrs. Max. Marks: 100 Note: Answer any FIVE full questions, choosing ONE full question from each module. Module-1 1a. Define Data structures. Give its classification. What are the basic operations that can be performed on data structure? (08 Marks) b. Give the ADT for sparse matrix. Express the given sparse matrix in the triplet form and find its transpose. fio 0 0 25 0 7] | 0 23 0 0 45) 0 0 0 0 32 | A= (08 Marks) 4 0 0 31 0} 0 0 0 0 0} 0 0 3 0 0} Consider the given 2 polynomials, ‘ A(xy= 4x" +3x'+5 and B(x) =x" + 10x" + 1 Represent the polynomials using Array of structures. (04 Marks) OR Explain the dynamic memory allocation functions in detail (08 Marks) Write a C program using pointers to (i) Coneatenate two strings, (ii) reverse a string (06 Marks) Apply Knut-Morris-Pratt (KMP) patter matching algorithm to search the patter “abedabey” in the text “abexabedabxabedabedabey” (06 Marks) Module-2 Define stack data structure and give the ADT for stack, Write C functions for push(_) and pop(_ ) operations. (08 Marks) Convert the given infix expressions to postlix and prefix expression. (i) (atbed+e/(tt gh) +i (ii) (a/(b- e+ d)) *(e— 1 * gy (06 Marks) Write an algorithm for evaluation of postfix expression. Trace the same for the expression able—de *tac #t where a=6,b=3,c=1,d=2,e=4 (06 Marks) OR Define recursion. Write C recursive functions for the following : (i) Tower of Hanoi (ii) Factorial of a give number. (07 Marks) Write C functions for inserteq( ) and deletecq( ) operations on a circular queue. (0S Marks) Explain in detail multiple stacks, with relevant functions in C (08 Marks) For More Question Papers Visit - www.pediawikiblog.comFor More Question Papers Visit - www.pediawikiblog.com Module-3 Define linked lists. Explain in detail, the primitive operations performed on Supply Linked List (SLL). List the different types of linked lists, (12 Marks) Write C functions for the following operations on Doubly Linked List (DLL). (i) Concatenation of wo DLL (ji) Search the DLL. for the given key element (08 Marks) oR Write a C program to implement linked stacks. (08 Marks) Write an algorithm to add 2 polynomials using circular simply linked list (SLL), And also represent the given polynomial using CSL P(x, y, 2) = 6x°y'z.— Aye + 3x°yz + Dxy'z— Days! (08 Marks) For the given sparse matrix give the linked list representation, 00400 65000 aly (04 Marks* 30 0 00002 Modute-4 Define tree data structure, Represent the tree given in Fig.Q7(a) using (i) List representation Gi) Lefi-Child Right-Sibling representation (iii) Degree-two or Binary tree representation. @. Ate & © Soe © G © Fig. Q7(a) (08 Marks) Write recursive C funetions for in-order, pre-order, post-order traversals of binary tree (BT). Also give the 3 traversals for the BT shown in Fig.Q7(b) (12 Marks) OR Define Binary Search Tree (BST). Construct BST for the clement step-by-step, 100, 85, 45, 55, 110, 20, 70, 65, 113, 145, 132, 96 (08 Marks) Define threaded binary trees. Given in-order sequence: DIGBHEAFKIC and post-order sequence : JGDHEBKIFCA, construct BT for the same. (08 Marks) Write an algorithm for deleting a key element from BST (04 Marks) For More Question Papers Visit - www.pediawikiblog.comFor More Question Papers Visit - www.pediawikiblog.com Module-5 a. Define the terminologies with example for graph data structure (i) Graph (ii) Multigraph (iii) Complete graph. (06 Marks) b. Give the adjacency matrix and adjacency list representation for the weighted graph given in Fig.Q%b). (06 Marks) Fig.Q%b) €. Write an algorithm for BFS and DFS graph traversal methods (08 Marks) OR Apply insertion sort technique for the following elements | 77, 33, 44, 11, 88, 22, 66, 55 (08 Marks) b. Explain Hashing and collision. What are the methods used to resolve collision. (08 Marks) What are the basic operations that can be periormed on a file? List the methods used for file organization (any 2) (04 Marks) For More Question Papers Visit - www.pediawikiblog.com
You might also like
Dsa Old Question Collection
PDF
No ratings yet
Dsa Old Question Collection
31 pages
Data Structures Notes
PDF
No ratings yet
Data Structures Notes
136 pages
QB-Data Structures
PDF
100% (1)
QB-Data Structures
4 pages
Data Structure Previous Year Paper - B.C.A Study
PDF
No ratings yet
Data Structure Previous Year Paper - B.C.A Study
4 pages
Data Structures and Algorithms Super Imp
PDF
No ratings yet
Data Structures and Algorithms Super Imp
4 pages
Datastructure
PDF
No ratings yet
Datastructure
12 pages
Dsa Model Paper Solutionss
PDF
No ratings yet
Dsa Model Paper Solutionss
41 pages
DS IMP Questions Module Wise
PDF
100% (3)
DS IMP Questions Module Wise
7 pages
BCS304 Super Important - 22SCHEME
PDF
No ratings yet
BCS304 Super Important - 22SCHEME
3 pages
Data Structures and Applications
PDF
No ratings yet
Data Structures and Applications
5 pages
Cs Papers
PDF
100% (1)
Cs Papers
19 pages
Data Structures and Application QP Vtu
PDF
No ratings yet
Data Structures and Application QP Vtu
9 pages
AIand ML
PDF
No ratings yet
AIand ML
171 pages
Bms College of Engineering, Bengaluru-19. Department of Computer Science and Engineering
PDF
No ratings yet
Bms College of Engineering, Bengaluru-19. Department of Computer Science and Engineering
6 pages
DS Qbank
PDF
No ratings yet
DS Qbank
19 pages
BCS304 Solved QNP
PDF
No ratings yet
BCS304 Solved QNP
37 pages
DSA Super Important - 23SCHEME (1) PDF
PDF
No ratings yet
DSA Super Important - 23SCHEME (1) PDF
3 pages
DSA Super Important - 23SCHEME (1) PDF
PDF
No ratings yet
DSA Super Important - 23SCHEME (1) PDF
3 pages
SY BCA Data Structure Ques - Bank.
PDF
No ratings yet
SY BCA Data Structure Ques - Bank.
5 pages
Data Strctquestion
PDF
No ratings yet
Data Strctquestion
7 pages
Question Bank
PDF
No ratings yet
Question Bank
4 pages
DS PYQs Unit Wise
PDF
No ratings yet
DS PYQs Unit Wise
6 pages
DS Bca (Sci)
PDF
No ratings yet
DS Bca (Sci)
11 pages
DS-Question Bank
PDF
No ratings yet
DS-Question Bank
7 pages
DSC Question Bank Format WITH PO
PDF
No ratings yet
DSC Question Bank Format WITH PO
6 pages
Solutions For Repeated Questions
PDF
No ratings yet
Solutions For Repeated Questions
6 pages
DS 2022 qb2
PDF
No ratings yet
DS 2022 qb2
5 pages
Data Structures Question Bank R20-II EEE
PDF
No ratings yet
Data Structures Question Bank R20-II EEE
5 pages
Data Structure
PDF
No ratings yet
Data Structure
4 pages
DATASTRUCTUREALGORITHMS-2017 3rdsem
PDF
No ratings yet
DATASTRUCTUREALGORITHMS-2017 3rdsem
7 pages
18cs32 3rd Semester Cs - Dec.2019-Jan.2020
PDF
No ratings yet
18cs32 3rd Semester Cs - Dec.2019-Jan.2020
3 pages
Data Structure Questions
PDF
No ratings yet
Data Structure Questions
4 pages
Jun Jul 2023
PDF
No ratings yet
Jun Jul 2023
3 pages
Nov Dec 2022
PDF
No ratings yet
Nov Dec 2022
4 pages
3.3SEM - IPCC - DS - CS322I2R and Lab Programs
PDF
No ratings yet
3.3SEM - IPCC - DS - CS322I2R and Lab Programs
11 pages
DS R23 I-II CSE MicroSylllabusFinalModelPaper
PDF
No ratings yet
DS R23 I-II CSE MicroSylllabusFinalModelPaper
6 pages
Data Structure QB
PDF
No ratings yet
Data Structure QB
6 pages
III Semester DS Computer Science
PDF
No ratings yet
III Semester DS Computer Science
9 pages
BCS304 Jan.2025
PDF
No ratings yet
BCS304 Jan.2025
2 pages
Jan Feb 2023
PDF
No ratings yet
Jan Feb 2023
2 pages
DSA Super Important - 23SCHEME (1) PDF PDF
PDF
No ratings yet
DSA Super Important - 23SCHEME (1) PDF PDF
3 pages
DS Lab Syll
PDF
No ratings yet
DS Lab Syll
2 pages
Q Bank
PDF
No ratings yet
Q Bank
4 pages
BCS304
PDF
No ratings yet
BCS304
3 pages
Btech Cs 3 Sem Data Structures cs205 Dec 2023
PDF
No ratings yet
Btech Cs 3 Sem Data Structures cs205 Dec 2023
3 pages
Data Structures Jan 2020 (2017 Scheme)
PDF
No ratings yet
Data Structures Jan 2020 (2017 Scheme)
2 pages
Data Structures July 2019 (2015 Scheme)
PDF
No ratings yet
Data Structures July 2019 (2015 Scheme)
2 pages
B.C.A (SCIENCE) Oct 2022-23-25
PDF
No ratings yet
B.C.A (SCIENCE) Oct 2022-23-25
3 pages
18CS32 April 2021
PDF
No ratings yet
18CS32 April 2021
3 pages
CamScanner 11-23-2022 11.37
PDF
No ratings yet
CamScanner 11-23-2022 11.37
3 pages
Question-Regular-Cs205 Data Structures (CS, It), December 2017
PDF
No ratings yet
Question-Regular-Cs205 Data Structures (CS, It), December 2017
2 pages
BCS304
PDF
No ratings yet
BCS304
3 pages
Diploma in Computer Engineering: Course Code: 025020401 Data Structures
PDF
No ratings yet
Diploma in Computer Engineering: Course Code: 025020401 Data Structures
6 pages
(08 Marks) (04 Marks)
PDF
No ratings yet
(08 Marks) (04 Marks)
2 pages
CS2201 Data Structure Tutorial
PDF
No ratings yet
CS2201 Data Structure Tutorial
6 pages
Data Structures With C PDF
PDF
No ratings yet
Data Structures With C PDF
2 pages
Ds Tut Sheet
PDF
No ratings yet
Ds Tut Sheet
5 pages