SlideShare a Scribd company logo
1 of 11
PUNJAB COLLEGE OF TECHNICAL EDUCATION
                             LUDHIANA


Teacher Name: Sandeepjit Kaur (SJ)                                     Class Name: MCA

Subject Name: Data Structure                                              Max Marks:60
Subject Code: MCA-302 (N2)                                       Total Lects Required: 50
No. of Tests: 5                                                    No. of Assignments: 4

Instruction for candidates
1. Candidates are required to attempt one question each from sections A, B, C and D of
the question paper and the entire section E
2. Use of non-programmable scientific calculator is allowed

Section A
Basic concepts and notations, data structures and data structure operations, mathematical
notation and functions, algorithmic complexity and time space trade off. Basic data
structures such as arrays, stack and queues and their applications, linked and sequential
representation. Linked list, representation of linked list, multi linked structures.
Section B
Trees-definitions and basic concepts, linked tree representation, representations in
contiguous storage, binary trees, binary tree traversal, searching insertion and deletion in
binary trees, heap tree and heap sort algorithm, AVL trees.
Section C
Graphs and their application, sequential and linked representation of graph – adjacency
matrix, operations on graph, traversing a graph, Dijkstra’s algorithm for shortest distance,
DFS and BFS, Hashing.
Section D
Searching and sorting use of various data structures for searching and sorting, Linear and
Binary search, Insertion sort, Selection sort, Merge sort, Radix sort, Bubble sort, Quick
sort, Heap Sort.

Note: -
1. Programs are to be implemented in ‘C/C++’
2. Insertion, deletion, search and traversal operations are to be performed on all the data
structures.

References:
1. A. Tannenbaum, Y. Lanhgsam and A.J.Augenstein,”Data Structures Using C”,
Prentice Hallof India, 1990
2. Seymour Lipschultz, “ Theory and Practice of Data structures”, Mc Graw Hill, 1988.
3. E. Horowitz and S.Sahni,”Data structures with Pascal”, Galgotia, 3rd edition,
COURSE BREAKUP


Propose   Lect.                     Topics                    Actual   Assign   Test
d Week    No.                                                 DOD
            1.    Introduction to Data Structure:
                     •   Basic concepts of data
                     •   Problem analysis

            2.    Data Structure
                     •   Types of data structures
                     • Data operations
            3.    Data Structure ( Continue…)
                     •   Need of data structure
                     • Mathematical notations and functions
            4.    Algorithm Complexity
                     •   Big O notation
                     •   Time space trade off


            5.    Introduction to Arrays
                     •   Memory representation of One
                         Dimensional array
                     •   Location of an element at in one
                         dimensional array

            6.    Introduction to Arrays
                     •   Memory representation of two
                         Dimensional array
                     •   Location of an element at in two
                         dimensional array
7.                  TUTORIAL
8.                                                   TEST 1
9.    Operations on array (Continue…)
             Traversing of an array
             Insertion of an element in an array
              o in the beginning
              o at Kth location
      o at the end
10. Operations on array (Continue…)
             Deletion of an element from an array
                  o from the beginning
                  o from Kth location
                  o from the end
             Merging of two arrays

11.           TUTORIAL
12.                                                  TEST 2
13. Stacks & Queues:
              •    Basics of stacks
              •    Operations on stack
                          PUSH operation
                          POP operation


14. Applications of Stack
          •       Expression evaluation

15. Applications of Stack (Continue…)
          •       Polish notation
          •       Recursion


16.   REVISION OF STACK WITH
      EXAMPLES
17.                                        TEST 3
18. Introduction of Queues
         •   Operations on Queues
                  o Insertion
                  o Deletion
19. Queues:
         o Circular Queues
       o Priority Queues
20. Linked Lists:
         •   Singular List
         •   Circular List
21.          REVISION OF QUEUES WITH EXAMPLES
22. Operations Performed on link list:
      Insertion
         o In the beginning
       o At kth location
23. Insertion in Link list (Continue…)
         o After a given no
         o At the end
24.
         FIRST HALF SYLLABUS TEST
25. Deletion in Link list
         o from the beginning
       o from kth location
26. Deletion in Link List
         o from the end
      o Searching in link list
27. More in Link List:
         o Doubly Linked List
      o Dynamic storage management
28. More in Link List:
         o Generalized list
o Garbage collection


29.   TUTORIAL
30.                                                 TEST 4
31. Trees:
       •       Definition & Concept, Basic Tree
       •       Binary Tree representation


32. Trees (Continue….)
           •    Threaded Storage representation
           •    Binary tree traversals
                   o Inorder
                   o Preorder
             o Postorder
33. Trees (Continue….)
      Searching in binary tree

34. Insertion and deletion in binary tree
35. Heap tree and heap sort

36. AVL tree
37. Graphs: introduction, sequential and linked
    representation of graphs
38. Adjacency matrix, operations on graph,
    traversing a graph
39. Dijkstra’s algorithm for shortest distance
40. DFS and BFS, Hashing.
41. Searching and Sorting:
           •    Use of various data structure for
                searching & sorting
           •    Linear & Binary Search


42. Searching and Sorting (Continue…)
           •    Insertion Sort
•   Selection Sort
43. Searching and Sorting (Continue…)
       •   Merge Sort
44.                                      TEST 5
45. Searching and Sorting (Continue…)
       •   Radix Sort


46. Searching and Sorting (Continue…)
       • Bubble Sort
47. Searching and Sorting (Continue….)
       •   Quick Sort


48. Searching and Sorting (Continue….)
       •   Heap Sort


49.
      TUTORIAL
50.
      FULL SYLLABUS TEST
ASSIGNMENT 1


Ques 1: Consider the linear Array NAME, which is stored alphabetically.
   a) Suppose Daljit is to be inserted into the linear array. How many names must be
       moved to new locations?
   b) Suppose Gagan is to be deleted from the array. How many names must be moved
       to new locations?
Ques 2: Consider the algebraic expression ( 7x + 5y ) (2a – 5b )3. Draw the corresponding
diagram for it.
Ques 3: The tree structure is given by means of level numbers. Draw the corresponding
tree diagram.
            01 Student      02 Name               03 First name
                            02Class               03Middle name
                            02Rollno              03 Last name
                            02Father’sName        03Father’s First name
                            02Age                 03 Father’s first name
                            02Address             03 father’s middle name
                            02 Contactno          03father’s last name
                                                  03 HouseNo
                                                  03 StrretNo
                                                  03 City
                                                  03 State
                                                  03 Pincode
ASSIGNMENT 2


Short Questions:
  1. What is threaded Binary Tree?
  2. How the height of a binary search tree effects its performance?
  3. What is the different between B-Tree, B + - Tree, B * Tree
  4. How heap differs from binary tree?


Long Questions:
  1. For a binary Tree the in-order & post-order traversal sequences are as follows:
             In order: D C K E A H B Q J I
             Post order: D K E C H Q J I B A
     Draw Binary Tree.
  2. Write a search () function so that it not only returns the location of the element but
     also return location of its parents in a binary search tree.
  3. What is a thread? How it is useful? What are advantages of threading a binary
     tree?
ASSIGNMENT 3


SHORT QUESTIONS

 1. What is a Complete Binary Tree? Explain its related terminology.
 2. What is the node structure of a tree (Binary)?
 3. What is Tree Traversal?




LONG QUESTIONS


 1. What do you mean by Binary Search Tree? Explain how deletion of a node is
    performed in the Binary Search Tree.
 2. Describe the Binary Tree Traversing methods with the help of proper examples.
 3. Traverse the following tree in inorder, preorder and postorder. Write the
    algorithm also.



                                              A


                                 B                         C


                                                                       G
                         D              E            F


                                                                H
Practical Software Lab – III


    BC-207(N2)                                              Max Marks 100
Internal Assessment 40
External Assessment 60



Note: Program should be fully documented with sample I/O data Flow
charts should be developed wherever necessary.




Write program in C


1. To insert and delete a node in a linked list
2. To add two polynomials using linked list
3. To insert and delete a node in a circular linked list.
4. To implement a stack using arrays and linked list.
5. To implement a queue using arrays and linked list.
6. To invert a linked list.
7. To merge two arrays.
8. To solve polish expression using stacks.
9. For tower of hanoi problem using recursion.
10 .To insert and delete node in binary search tree
11. To find traversals of expressions using binary tree
12. To search an element using binary tree.
Presentation Topics


1. Need Of Data Structure
2. Types of data structures
3. Operations performed on data structure
4. What is structure? Difference b/w structure and union.
5. What is self referential structure?
6. What is pointer & operations performed on pointer
7. What is an array? Types of array?
8. Operations of an array.
9. Complexity of an algorithm?
10.Hotel Taj Attack (reasons)
11.Future of IT
12. WiFi
13.Advantages and Disadvantages of Internet
14. Stack and its operations
15.Applications of stack
16.Queues and its operations
17.Applications of Queues
18.Types of queues
19. Reliance telecom
20. DELL
21. RGTP (Rajiv Ghandhi Technology Park, Mohali)
22. Online Education

More Related Content

What's hot

D A T A B A S E M A N A G E M E N T S Y S T E M S J N T U M O D E L P A P ...
D A T A B A S E M A N A G E M E N T S Y S T E M S  J N T U  M O D E L  P A P ...D A T A B A S E M A N A G E M E N T S Y S T E M S  J N T U  M O D E L  P A P ...
D A T A B A S E M A N A G E M E N T S Y S T E M S J N T U M O D E L P A P ...
guest3f9c6b
 
Lesson 26: Evaluating Definite Integrals
Lesson 26: Evaluating Definite IntegralsLesson 26: Evaluating Definite Integrals
Lesson 26: Evaluating Definite Integrals
Matthew Leingang
 
11.numerical solution of fuzzy hybrid differential equation by third order ru...
11.numerical solution of fuzzy hybrid differential equation by third order ru...11.numerical solution of fuzzy hybrid differential equation by third order ru...
11.numerical solution of fuzzy hybrid differential equation by third order ru...
Alexander Decker
 

What's hot (14)

D A T A B A S E M A N A G E M E N T S Y S T E M S J N T U M O D E L P A P ...
D A T A B A S E M A N A G E M E N T S Y S T E M S  J N T U  M O D E L  P A P ...D A T A B A S E M A N A G E M E N T S Y S T E M S  J N T U  M O D E L  P A P ...
D A T A B A S E M A N A G E M E N T S Y S T E M S J N T U M O D E L P A P ...
 
E2
E2E2
E2
 
It iii
It iiiIt iii
It iii
 
05210401 P R O B A B I L I T Y T H E O R Y A N D S T O C H A S T I C P R...
05210401  P R O B A B I L I T Y  T H E O R Y  A N D  S T O C H A S T I C  P R...05210401  P R O B A B I L I T Y  T H E O R Y  A N D  S T O C H A S T I C  P R...
05210401 P R O B A B I L I T Y T H E O R Y A N D S T O C H A S T I C P R...
 
Object - Oriented Programming: Inheritance
Object - Oriented Programming: InheritanceObject - Oriented Programming: Inheritance
Object - Oriented Programming: Inheritance
 
Data Structures Aptitude
Data Structures AptitudeData Structures Aptitude
Data Structures Aptitude
 
Lesson 26: Evaluating Definite Integrals
Lesson 26: Evaluating Definite IntegralsLesson 26: Evaluating Definite Integrals
Lesson 26: Evaluating Definite Integrals
 
BINARY SEARCH TREE
BINARY SEARCH TREEBINARY SEARCH TREE
BINARY SEARCH TREE
 
11.numerical solution of fuzzy hybrid differential equation by third order ru...
11.numerical solution of fuzzy hybrid differential equation by third order ru...11.numerical solution of fuzzy hybrid differential equation by third order ru...
11.numerical solution of fuzzy hybrid differential equation by third order ru...
 
Numerical solution of fuzzy hybrid differential equation by third order runge...
Numerical solution of fuzzy hybrid differential equation by third order runge...Numerical solution of fuzzy hybrid differential equation by third order runge...
Numerical solution of fuzzy hybrid differential equation by third order runge...
 
11.[8 17]numerical solution of fuzzy hybrid differential equation by third or...
11.[8 17]numerical solution of fuzzy hybrid differential equation by third or...11.[8 17]numerical solution of fuzzy hybrid differential equation by third or...
11.[8 17]numerical solution of fuzzy hybrid differential equation by third or...
 
Ds qb 2021 rma
Ds qb 2021 rmaDs qb 2021 rma
Ds qb 2021 rma
 
L 19 ct1120
L 19 ct1120L 19 ct1120
L 19 ct1120
 
17. Trees and Tree Like Structures
17. Trees and Tree Like Structures17. Trees and Tree Like Structures
17. Trees and Tree Like Structures
 

Viewers also liked

Mūžu mūžos ..... md
Mūžu mūžos ..... mdMūžu mūžos ..... md
Mūžu mūžos ..... md
irlavasbibl1
 
Searching techniques
Searching techniquesSearching techniques
Searching techniques
PCTE
 
101marketingquotesjune2011
101marketingquotesjune2011101marketingquotesjune2011
101marketingquotesjune2011
Narendra Singh
 
Mūžu mūžos ..... MD
Mūžu mūžos ..... MDMūžu mūžos ..... MD
Mūžu mūžos ..... MD
irlavasbibl1
 
Using Mail Merge
Using Mail Merge Using Mail Merge
Using Mail Merge
PCTE
 
Coursebreakup
CoursebreakupCoursebreakup
Coursebreakup
PCTE
 
Power Point Tips
Power Point TipsPower Point Tips
Power Point Tips
PCTE
 

Viewers also liked (9)

Mūžu mūžos ..... md
Mūžu mūžos ..... mdMūžu mūžos ..... md
Mūžu mūžos ..... md
 
Searching techniques
Searching techniquesSearching techniques
Searching techniques
 
101marketingquotesjune2011
101marketingquotesjune2011101marketingquotesjune2011
101marketingquotesjune2011
 
Mūžu mūžos ..... MD
Mūžu mūžos ..... MDMūžu mūžos ..... MD
Mūžu mūžos ..... MD
 
Using Mail Merge
Using Mail Merge Using Mail Merge
Using Mail Merge
 
Coursebreakup
CoursebreakupCoursebreakup
Coursebreakup
 
OR IP PCTE
OR IP PCTEOR IP PCTE
OR IP PCTE
 
Power Point Tips
Power Point TipsPower Point Tips
Power Point Tips
 
System concepts
System conceptsSystem concepts
System concepts
 

Similar to Course module of DS

Data structure-questions
Data structure-questionsData structure-questions
Data structure-questions
Shekhar Chander
 
Viva questions ds th c++
Viva questions ds th c++Viva questions ds th c++
Viva questions ds th c++
mrecedu
 
Viva questions ds th c++
Viva questions ds th c++Viva questions ds th c++
Viva questions ds th c++
mrecedu
 
for sbi so Ds c c++ unix rdbms sql cn os
for sbi so   Ds c c++ unix rdbms sql cn osfor sbi so   Ds c c++ unix rdbms sql cn os
for sbi so Ds c c++ unix rdbms sql cn os
alisha230390
 
Coursebreakup
CoursebreakupCoursebreakup
Coursebreakup
PCTE
 
Data warehousing and data mining
Data warehousing and data miningData warehousing and data mining
Data warehousing and data mining
vamsi krishna
 
Ds 111011055724-phpapp01
Ds 111011055724-phpapp01Ds 111011055724-phpapp01
Ds 111011055724-phpapp01
Getachew Ganfur
 
Data Structure.pdf
Data Structure.pdfData Structure.pdf
Data Structure.pdf
IT Eagers
 

Similar to Course module of DS (20)

Data structure-questions
Data structure-questionsData structure-questions
Data structure-questions
 
Data structure-question-bank
Data structure-question-bankData structure-question-bank
Data structure-question-bank
 
SE-IT DSA THEORY SYLLABUS
SE-IT DSA THEORY SYLLABUSSE-IT DSA THEORY SYLLABUS
SE-IT DSA THEORY SYLLABUS
 
12111 data structure
12111 data structure12111 data structure
12111 data structure
 
Viva questions ds th c++
Viva questions ds th c++Viva questions ds th c++
Viva questions ds th c++
 
Viva questions ds th c++
Viva questions ds th c++Viva questions ds th c++
Viva questions ds th c++
 
Data structures
Data structuresData structures
Data structures
 
SE-IT DSA LAB SYLLABUS
SE-IT DSA LAB SYLLABUSSE-IT DSA LAB SYLLABUS
SE-IT DSA LAB SYLLABUS
 
Data structure
Data structureData structure
Data structure
 
for sbi so Ds c c++ unix rdbms sql cn os
for sbi so   Ds c c++ unix rdbms sql cn osfor sbi so   Ds c c++ unix rdbms sql cn os
for sbi so Ds c c++ unix rdbms sql cn os
 
Binary tree
Binary treeBinary tree
Binary tree
 
Coursebreakup
CoursebreakupCoursebreakup
Coursebreakup
 
Advanced Data Structures 2006
Advanced Data Structures 2006Advanced Data Structures 2006
Advanced Data Structures 2006
 
Data warehousing and data mining
Data warehousing and data miningData warehousing and data mining
Data warehousing and data mining
 
Ds 111011055724-phpapp01
Ds 111011055724-phpapp01Ds 111011055724-phpapp01
Ds 111011055724-phpapp01
 
Data Structure.pdf
Data Structure.pdfData Structure.pdf
Data Structure.pdf
 
Technical aptitude questions_e_book1
Technical aptitude questions_e_book1Technical aptitude questions_e_book1
Technical aptitude questions_e_book1
 
Unit3
Unit3Unit3
Unit3
 
data structure of symbol table.pptx
data structure of symbol table.pptxdata structure of symbol table.pptx
data structure of symbol table.pptx
 
Data Handling and Function
Data Handling and FunctionData Handling and Function
Data Handling and Function
 

Recently uploaded

Recently uploaded (20)

HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 

Course module of DS

  • 1. PUNJAB COLLEGE OF TECHNICAL EDUCATION LUDHIANA Teacher Name: Sandeepjit Kaur (SJ) Class Name: MCA Subject Name: Data Structure Max Marks:60 Subject Code: MCA-302 (N2) Total Lects Required: 50 No. of Tests: 5 No. of Assignments: 4 Instruction for candidates 1. Candidates are required to attempt one question each from sections A, B, C and D of the question paper and the entire section E 2. Use of non-programmable scientific calculator is allowed Section A Basic concepts and notations, data structures and data structure operations, mathematical notation and functions, algorithmic complexity and time space trade off. Basic data structures such as arrays, stack and queues and their applications, linked and sequential representation. Linked list, representation of linked list, multi linked structures. Section B Trees-definitions and basic concepts, linked tree representation, representations in contiguous storage, binary trees, binary tree traversal, searching insertion and deletion in binary trees, heap tree and heap sort algorithm, AVL trees. Section C Graphs and their application, sequential and linked representation of graph – adjacency matrix, operations on graph, traversing a graph, Dijkstra’s algorithm for shortest distance, DFS and BFS, Hashing. Section D Searching and sorting use of various data structures for searching and sorting, Linear and Binary search, Insertion sort, Selection sort, Merge sort, Radix sort, Bubble sort, Quick sort, Heap Sort. Note: - 1. Programs are to be implemented in ‘C/C++’ 2. Insertion, deletion, search and traversal operations are to be performed on all the data structures. References: 1. A. Tannenbaum, Y. Lanhgsam and A.J.Augenstein,”Data Structures Using C”, Prentice Hallof India, 1990 2. Seymour Lipschultz, “ Theory and Practice of Data structures”, Mc Graw Hill, 1988. 3. E. Horowitz and S.Sahni,”Data structures with Pascal”, Galgotia, 3rd edition,
  • 2. COURSE BREAKUP Propose Lect. Topics Actual Assign Test d Week No. DOD 1. Introduction to Data Structure: • Basic concepts of data • Problem analysis 2. Data Structure • Types of data structures • Data operations 3. Data Structure ( Continue…) • Need of data structure • Mathematical notations and functions 4. Algorithm Complexity • Big O notation • Time space trade off 5. Introduction to Arrays • Memory representation of One Dimensional array • Location of an element at in one dimensional array 6. Introduction to Arrays • Memory representation of two Dimensional array • Location of an element at in two dimensional array
  • 3. 7. TUTORIAL 8. TEST 1 9. Operations on array (Continue…)  Traversing of an array  Insertion of an element in an array o in the beginning o at Kth location o at the end 10. Operations on array (Continue…)  Deletion of an element from an array o from the beginning o from Kth location o from the end  Merging of two arrays 11. TUTORIAL 12. TEST 2 13. Stacks & Queues: • Basics of stacks • Operations on stack  PUSH operation  POP operation 14. Applications of Stack • Expression evaluation 15. Applications of Stack (Continue…) • Polish notation • Recursion 16. REVISION OF STACK WITH EXAMPLES
  • 4. 17. TEST 3 18. Introduction of Queues • Operations on Queues o Insertion o Deletion 19. Queues: o Circular Queues o Priority Queues 20. Linked Lists: • Singular List • Circular List 21. REVISION OF QUEUES WITH EXAMPLES 22. Operations Performed on link list: Insertion o In the beginning o At kth location 23. Insertion in Link list (Continue…) o After a given no o At the end 24. FIRST HALF SYLLABUS TEST 25. Deletion in Link list o from the beginning o from kth location 26. Deletion in Link List o from the end o Searching in link list 27. More in Link List: o Doubly Linked List o Dynamic storage management 28. More in Link List: o Generalized list
  • 5. o Garbage collection 29. TUTORIAL 30. TEST 4 31. Trees: • Definition & Concept, Basic Tree • Binary Tree representation 32. Trees (Continue….) • Threaded Storage representation • Binary tree traversals o Inorder o Preorder o Postorder 33. Trees (Continue….) Searching in binary tree 34. Insertion and deletion in binary tree 35. Heap tree and heap sort 36. AVL tree 37. Graphs: introduction, sequential and linked representation of graphs 38. Adjacency matrix, operations on graph, traversing a graph 39. Dijkstra’s algorithm for shortest distance 40. DFS and BFS, Hashing. 41. Searching and Sorting: • Use of various data structure for searching & sorting • Linear & Binary Search 42. Searching and Sorting (Continue…) • Insertion Sort
  • 6. Selection Sort 43. Searching and Sorting (Continue…) • Merge Sort 44. TEST 5 45. Searching and Sorting (Continue…) • Radix Sort 46. Searching and Sorting (Continue…) • Bubble Sort 47. Searching and Sorting (Continue….) • Quick Sort 48. Searching and Sorting (Continue….) • Heap Sort 49. TUTORIAL 50. FULL SYLLABUS TEST
  • 7. ASSIGNMENT 1 Ques 1: Consider the linear Array NAME, which is stored alphabetically. a) Suppose Daljit is to be inserted into the linear array. How many names must be moved to new locations? b) Suppose Gagan is to be deleted from the array. How many names must be moved to new locations? Ques 2: Consider the algebraic expression ( 7x + 5y ) (2a – 5b )3. Draw the corresponding diagram for it. Ques 3: The tree structure is given by means of level numbers. Draw the corresponding tree diagram. 01 Student 02 Name 03 First name 02Class 03Middle name 02Rollno 03 Last name 02Father’sName 03Father’s First name 02Age 03 Father’s first name 02Address 03 father’s middle name 02 Contactno 03father’s last name 03 HouseNo 03 StrretNo 03 City 03 State 03 Pincode
  • 8. ASSIGNMENT 2 Short Questions: 1. What is threaded Binary Tree? 2. How the height of a binary search tree effects its performance? 3. What is the different between B-Tree, B + - Tree, B * Tree 4. How heap differs from binary tree? Long Questions: 1. For a binary Tree the in-order & post-order traversal sequences are as follows: In order: D C K E A H B Q J I Post order: D K E C H Q J I B A Draw Binary Tree. 2. Write a search () function so that it not only returns the location of the element but also return location of its parents in a binary search tree. 3. What is a thread? How it is useful? What are advantages of threading a binary tree?
  • 9. ASSIGNMENT 3 SHORT QUESTIONS 1. What is a Complete Binary Tree? Explain its related terminology. 2. What is the node structure of a tree (Binary)? 3. What is Tree Traversal? LONG QUESTIONS 1. What do you mean by Binary Search Tree? Explain how deletion of a node is performed in the Binary Search Tree. 2. Describe the Binary Tree Traversing methods with the help of proper examples. 3. Traverse the following tree in inorder, preorder and postorder. Write the algorithm also. A B C G D E F H
  • 10. Practical Software Lab – III BC-207(N2) Max Marks 100 Internal Assessment 40 External Assessment 60 Note: Program should be fully documented with sample I/O data Flow charts should be developed wherever necessary. Write program in C 1. To insert and delete a node in a linked list 2. To add two polynomials using linked list 3. To insert and delete a node in a circular linked list. 4. To implement a stack using arrays and linked list. 5. To implement a queue using arrays and linked list. 6. To invert a linked list. 7. To merge two arrays. 8. To solve polish expression using stacks. 9. For tower of hanoi problem using recursion. 10 .To insert and delete node in binary search tree 11. To find traversals of expressions using binary tree 12. To search an element using binary tree.
  • 11. Presentation Topics 1. Need Of Data Structure 2. Types of data structures 3. Operations performed on data structure 4. What is structure? Difference b/w structure and union. 5. What is self referential structure? 6. What is pointer & operations performed on pointer 7. What is an array? Types of array? 8. Operations of an array. 9. Complexity of an algorithm? 10.Hotel Taj Attack (reasons) 11.Future of IT 12. WiFi 13.Advantages and Disadvantages of Internet 14. Stack and its operations 15.Applications of stack 16.Queues and its operations 17.Applications of Queues 18.Types of queues 19. Reliance telecom 20. DELL 21. RGTP (Rajiv Ghandhi Technology Park, Mohali) 22. Online Education