SlideShare a Scribd company logo
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
 
E2
E2E2
E2
lksoo
 
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...
guestd436758
 
Object - Oriented Programming: Inheritance
Object - Oriented Programming: InheritanceObject - Oriented Programming: Inheritance
Object - Oriented Programming: Inheritance
Andy Juan Sarango Veliz
 
Data Structures Aptitude
Data Structures AptitudeData Structures Aptitude
Data Structures Aptitude
Sriram Raj
 
Lesson 26: Evaluating Definite Integrals
Lesson 26: Evaluating Definite IntegralsLesson 26: Evaluating Definite Integrals
Lesson 26: Evaluating Definite IntegralsMatthew Leingang
 
BINARY SEARCH TREE
BINARY SEARCH TREEBINARY SEARCH TREE
BINARY SEARCH TREE
ER Punit Jain
 
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
 
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...
Alexander Decker
 
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...
Alexander Decker
 
Ds qb 2021 rma
Ds qb 2021 rmaDs qb 2021 rma
Ds qb 2021 rma
ARAVINDRM2
 
L 19 ct1120
L 19 ct1120L 19 ct1120
L 19 ct1120
Zia Ush Shamszaman
 
17. Trees and Tree Like Structures
17. Trees and Tree Like Structures17. Trees and Tree Like Structures
17. Trees and Tree Like Structures
Intro C# Book
 

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 ..... mdirlavasbibl1
 
Searching techniques
Searching techniquesSearching techniques
Searching techniquesPCTE
 
101marketingquotesjune2011
101marketingquotesjune2011101marketingquotesjune2011
101marketingquotesjune2011Narendra Singh
 
Mūžu mūžos ..... MD
Mūžu mūžos ..... MDMūžu mūžos ..... MD
Mūžu mūžos ..... MDirlavasbibl1
 
Using Mail Merge
Using Mail Merge Using Mail Merge
Using Mail Merge PCTE
 
Coursebreakup
CoursebreakupCoursebreakup
CoursebreakupPCTE
 
Power Point Tips
Power Point TipsPower Point Tips
Power Point TipsPCTE
 

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-questionsShekhar Chander
 
Data structure-question-bank
Data structure-question-bankData structure-question-bank
Data structure-question-bank
Jagan Mohan Bishoyi
 
SE-IT DSA THEORY SYLLABUS
SE-IT DSA THEORY SYLLABUSSE-IT DSA THEORY SYLLABUS
SE-IT DSA THEORY SYLLABUS
nikshaikh786
 
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
 
Data structures
Data structuresData structures
Data structures
Pranav Gupta
 
SE-IT DSA LAB SYLLABUS
SE-IT DSA LAB SYLLABUSSE-IT DSA LAB SYLLABUS
SE-IT DSA LAB SYLLABUS
nikshaikh786
 
Data structure
Data structureData structure
Data structure
Vivek Kumar Sinha
 
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
 
Binary tree
Binary treeBinary tree
Binary tree
Afaq Mansoor Khan
 
Coursebreakup
CoursebreakupCoursebreakup
CoursebreakupPCTE
 
Advanced Data Structures 2006
Advanced Data Structures 2006Advanced Data Structures 2006
Advanced Data Structures 2006
Sanjay Goel
 
Data warehousing and data mining
Data warehousing and data miningData warehousing and data mining
Data warehousing and data miningvamsi krishna
 
Ds 111011055724-phpapp01
Ds 111011055724-phpapp01Ds 111011055724-phpapp01
Ds 111011055724-phpapp01Getachew Ganfur
 
Data Structure.pdf
Data Structure.pdfData Structure.pdf
Data Structure.pdf
IT Eagers
 
Technical aptitude questions_e_book1
Technical aptitude questions_e_book1Technical aptitude questions_e_book1
Technical aptitude questions_e_book1
Sateesh Allu
 
Unit3
Unit3Unit3
data structure of symbol table.pptx
data structure of symbol table.pptxdata structure of symbol table.pptx
data structure of symbol table.pptx
PooraniBalamurugan3
 
Data Handling and Function
Data Handling and FunctionData Handling and Function
Data Handling and Function
RatnaJava
 

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

Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
Krisztián Száraz
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
David Douglas School District
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
AG2 Design
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 

Recently uploaded (20)

Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
Advantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO PerspectiveAdvantages and Disadvantages of CMS from an SEO Perspective
Advantages and Disadvantages of CMS from an SEO Perspective
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
Pride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School DistrictPride Month Slides 2024 David Douglas School District
Pride Month Slides 2024 David Douglas School District
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 

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