PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore

Similar documents
10CS35: Data Structures Using C

PES Institute of Technology-BSC QUESTION BANK

DATA STRUCTURES USING C

1) The postfix expression for the infix expression A+B*(C+D)/F+D*E is ABCD+*F/DE*++

Krishna Institute of Engineering & Technology, Ghaziabad Department of Computer Application MCA-213 : DATA STRUCTURES USING C

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. Course Curriculum. DATA STRUCTURES (Code: )

Data Structure [Question Bank]

Unit Write iterative and recursive C functions to find the greatest common divisor of two integers. [6]

BCS2B02: OOP Concepts and Data Structures Using C++

Data Structure with C

KITES TECHNOLOGY COURSE MODULE (C, C++, DS)

Data Structures. Level 6 C Module Descriptor

1. The memory address of the first element of an array is called A. floor address B. foundation addressc. first address D.

5. A full binary tree with n leaves contains [A] n nodes. [B] log n 2 nodes. [C] 2n 1 nodes. [D] n 2 nodes.

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING LESSON PLAN

Module 2 Stacks and Queues: Abstract Data Types

PART-A Questions. 2. How does an enumerated statement differ from a typedef statement?

Syllabus for Computer Science. Proposed scheme for B.Sc Programme under Choice Based Credit System

Bangalore University B.Sc Computer Science Syllabus ( Semester System)

Data Structure and Algorithm I Midterm Examination 120 points Time: 9:10am-12:10pm (180 minutes), Friday, November 12, 2010

Analysis of a Search Algorithm

2) What is the structure of an organization? Explain how IT support at different organizational levels.

Questions 1 through 25 are worth 2 points each. Choose one best answer for each.

Abstract Data Type. EECS 281: Data Structures and Algorithms. The Foundation: Data Structures and Abstract Data Types

Objected oriented Programming: C++ Unit 1 1. Introduction 1.1. Introduction to Object Oriented Programming C++ fundamentals.

ALLIED PAPER : DISCRETE MATHEMATICS (for B.Sc. Computer Technology & B.Sc. Multimedia and Web Technology)

Lab Manual. Data Structures (Pr): COT-213 Data Structures (P): IT-215

Atmiya Infotech Pvt. Ltd. Data Structure. By Ajay Raiyani. Yogidham, Kalawad Road, Rajkot. Ph : ,

AP Computer Science AB Syllabus 1

University of Pune Revised Structure for the B. Sc. (Computer Science) Course (Second Year to be implemented from Academic Year )

B.Sc.(Computer Science) and. B.Sc.(IT) Effective From July 2011

Java Software Structures

Data Structures Using C++ 2E. Chapter 5 Linked Lists

Ordered Lists and Binary Trees

MAX = 5 Current = 0 'This will declare an array with 5 elements. Inserting a Value onto the Stack (Push)

I PUC - Computer Science. Practical s Syllabus. Contents

Exercises Software Development I. 11 Recursion, Binary (Search) Trees. Towers of Hanoi // Tree Traversal. January 16, 2013

Govt. Holkar Science College, Indore Department of Computer Science B.Sc. Computer Science

Binary Heap Algorithms

The following themes form the major topics of this chapter: The terms and concepts related to trees (Section 5.2).

Binary Search Trees CMPSC 122

Sample Questions Csci 1112 A. Bellaachia

Data Structures and Algorithms

TREE BASIC TERMINOLOGIES

COMPUTER SCIENCE. Paper 1 (THEORY)

Lecture 12 Doubly Linked Lists (with Recursion)

CSE 326, Data Structures. Sample Final Exam. Problem Max Points Score 1 14 (2x7) 2 18 (3x6) Total 92.

Introduction to Data Structures

1. Relational database accesses data in a sequential form. (Figures 7.1, 7.2)

Algorithms and Data Structures

Home Page. Data Structures. Title Page. Page 1 of 24. Go Back. Full Screen. Close. Quit

Chapter 3: Restricted Structures Page 1

ML for the Working Programmer

Lecture 1: Data Storage & Index

Data Structures UNIT III. Model Question Answer

Quiz 4 Solutions EECS 211: FUNDAMENTALS OF COMPUTER PROGRAMMING II. 1 Q u i z 4 S o l u t i o n s

The Tower of Hanoi. Recursion Solution. Recursive Function. Time Complexity. Recursive Thinking. Why Recursion? n! = n* (n-1)!

CHAPTER 4 ESSENTIAL DATA STRUCTRURES

Introduction to Programming System Design. CSCI 455x (4 Units)

A single register, called the accumulator, stores the. operand before the operation, and stores the result. Add y # add y from memory to the acc

Binary Search Trees. A Generic Tree. Binary Trees. Nodes in a binary search tree ( B-S-T) are of the form. P parent. Key. Satellite data L R

G. H. RAISONI COLLEGE OF ENGG NAGPUR-16 Session DEPARTMENT CSE Semester IV SUBJECT DSPD

Common Data Structures

Stack & Queue. Darshan Institute of Engineering & Technology. Explain Array in detail. Row major matrix No of Columns = m = u2 b2 + 1

To My Parents -Laxmi and Modaiah. To My Family Members. To My Friends. To IIT Bombay. To All Hard Workers

Scheme & Syllabus. B.Sc. (IT) I st to VI th Semester. w.e.f. July 2011 ( Batch onwards) Devi Ahilya Vishwavidyalaya, Indore(M.P.

Unordered Linked Lists

Stacks. Linear data structures

Data Structures and Data Manipulation

Binary Search Trees (BST)

Course: Programming II - Abstract Data Types. The ADT Stack. A stack. The ADT Stack and Recursion Slide Number 1

Glossary of Object Oriented Terms

Chapter 13. Disk Storage, Basic File Structures, and Hashing

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Binary Trees and Huffman Encoding Binary Search Trees

Lecture 11 Doubly Linked Lists & Array of Linked Lists. Doubly Linked Lists

Converting a Number from Decimal to Binary

Chapter 13 Disk Storage, Basic File Structures, and Hashing.

AP Computer Science Java Mr. Clausen Program 9A, 9B

Algorithms and Data Structures Written Exam Proposed SOLUTION

Chapter 5 Instructor's Manual

Data Structures Fibonacci Heaps, Amortized Analysis

C++ Programming Language

An Introduction to Programming and Computer Science

Record Storage and Primary File Organization

A binary search tree or BST is a binary tree that is either empty or in which the data element of each node has a key, and:

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 13-1

Pseudo code Tutorial and Exercises Teacher s Version

LINKED DATA STRUCTURES

COMPUTER SCIENCE (5651) Test at a Glance

EE2204 DATA STRUCTURES AND ALGORITHM (Common to EEE, EIE & ICE)

Class XII (Theory) C++

ECE 250 Data Structures and Algorithms MIDTERM EXAMINATION /5:15-6:45 REC-200, EVI-350, RCH-106, HH-139

Exam study sheet for CS2711. List of topics

UIL Computer Science for Dummies by Jake Warren and works from Mr. Fleming

Learning Outcomes. COMP202 Complexity of Algorithms. Binary Search Trees and Other Search Trees

Bachelor of Games and Virtual Worlds (Programming) Subject and Course Summaries

ADTs,, Arrays, Linked Lists

GCE Computing. COMP3 Problem Solving, Programming, Operating Systems, Databases and Networking Report on the Examination.

Transcription:

PESIT- Bangalore South Campus Hosur Road (1km Before Electronic city) Bangalore 560 100 Department of MCA COURSE INFORMATION SHEET 1. GENERAL INFORMATION: Data Structures Using C (16MCA11) Academic Year: 2016 Semester: I Title Code Duration (hrs) Lectures 4 Hrs/Week 16MCA11 Total 52 Hrs Data Structures Using C 2. COURSE PRE-REQUISITE: 3. COURSE OBJECTIVE: Student should know the basics of C concepts and pointers This course provides the students with a comprehensive introduction to how the abstractions can be made concrete by using a programming language as it contains the control structures necessary to make programs readable and allows basic data structures such as stacks, linked lists and trees to be implemented in a variety of ways. 4. COURSE OUTCOMES: A student who successfully completes the course will be able to: Understand basics of C programming language Acquire knowledge of o Various types of data structures, operations and algorithms o Sorting and searching operations Analyze the performance of - Stack, Queue, Lists, Trees, Hashing, Searching and Sorting techniques Implement all the applications of Data structures in a high-level language Design and apply appropriate data structures for solving computing problems.

5. FACULTY DETAILS: Faculty Name: Ms.Sujatha K Department : MCA Room Number: 515 Phone Number: 8880396970 Mail-id : sujathak@pes.edu Contact Hours : College Hours 6. VENUE AND HOURS/WEEK: All lectures will normally be held in 603, 6 th Floor. Lecture Hours/week: 4Hrs All the laboratory sessions will be held in Room 500 & 506, 5 th Floor. Laboratory Hours/week: 2Hrs 7. MODULE MAP: Class Theme Topics to be covered 1 Introduction to C 2 Introduction to C 3 Input and Output Statements 4 Module 1 Control Statements: if, else-if, Switch Control Structures: while, for, do-while, break 5 And continue 6 Overview of C Functions: Categories of functions 7 Call-by-value and call-by-reference 8 Arrays: Single dimension and two dimensional 9 Multi-dimensional arrays, passing arrays to Functions 10 Passing strings to functions 11 Pointer Expression, pointer as function arguments 12 Functions returning pointers, pointers to functions 13 Module 2 Structures: declaring and using structure types Classification of data structures: Primitive and 14 Pointers, Non-primitive, Linear and nonlinear data structures, structure operations 15 classification of ADT: Array as ADT operations (Insert and data structures Delete) 16 and String ADT: Array as ADT operations (Search and Sort) 17 String Definition, Representation 18 String as ADT: Insert,Delete 19 String as ADT: Concatenate, Comparing, Substring 20 Examples on Structures and Functions 21 Module 3 Primitive and Non-Primitive, Linear and NonLinear data structure operations 22 Classification of Stack: Definition, Representation, Stack as Data Structures ADT, Operations of Stack % of portions covered Chapter Cumulative Wise 20 20 20 40 20 60

23 Applications: Polish and reverse polish expr, Infix to postfix conversion 24 Evaluation of Postfix expression 25 Infix to prefix, Postfix to Infix conversion 26 Recursion: Factorial, GCD, Fibonacci, Tower of 27 Hanoi Queue definition, representation, ADT, Operations 28 Circular queue 29 Priority Queue 30 Double ended queue:applications of queues 31 32 33 34 35 36 37 38 Application of Linked Lists: Stacks, Queues 39 Application of Linked Lists: Double-ended queues, Priority Queues 40 Sparse Matrix and Polynomials using Lists, Trees and BST 41 Trees: Definition, Terminologies 42 Array and Linked Representation of binary trees 43 Traversal Methods Inorder, Preorder and Postorder 44 Unit 5 Binary Search Trees Creation, Insertion, Deletion 45 Binary Search Trees Traversal and Searching Trees, Sorting and Searching, Hashing 46 Sorting: Bubble sort, Insertion Sort 47 Sorting: Selection sort, quick sort 48 Linear Search and Binary Search 49 50 Module 4 Linked List Linked List: Limitations of array implementation, Static and dynamic memory allocation Memory management functions: definition, representation, operations: getnode() and freenode() operations Singly Linked List: Linked list as a data Structure, Inserting and removing nodes from a list, Linked implementations of stacks Example of list operations such as insert and delete an element before a key element, header nodes Circular Linked List: Inserting, deleting and searching elements in a list Doubly Linked List: Inserting and Deleting nodes, Queue as doubly linked list Doubly Linked List: Insert into position, delete an specified element Hashing: Hash table organizations, hashing functions Static and Dynamic hashing, Collision- Resolution techniques, Programming examples 20 80 20 100

8. RECOMMENDED BOOKS/JOURNALS/WEBSITES Text Books: 1) Programming in ANSI C, Balaguruswamy, McGraw Hill Education 2) Data Structures Using C and C++ by Yedidyah Langsam and Moshe J. Augenstein and Aaron M Tenanbanum, 2nd Edition, Pearson Education Asia, 2002. 3) Introduction to Data Structure and Algorithms with C++ by Glenn W. Rowe Reference Books: 1) Principles of Data Structures using C & C++ by Vinu V. Das, New Age International, 2006 2) Data Structures Using C, Balaguruswamy:, McGraw Hill Education 9 THEORY ASSESSMENT WRITTEN EXAMINATION Paper Structure No. Of Questions 10 Questions No. of questions to be answered 5 IA Marks 20 Paper Duration 3 Hrs Total Marks 80 Pass Marks 32 10. QUESTION BANK REVIEW OF STRUCTURES AND POINTERS, INTRODUCTION TO SPECIAL FEATURES OF C OBJECTIVE Usage of structures, unions - a conventional tool for handling a group of logically related items. Unions - sharing of memory. Pointers - the real power of C. 1. What are structures? 2 2. Explain how the structures are useful by giving various examples. 4 3. Bring out the differences between structures and unions. 4 4. What is a pointer and why is it used? 4 5. With an example explain how bit fields can be defined in C. 4 6. What are enumerated data types? Explain with an example 4 7. List the various kinds of pre-processor statements. 4 8. What is the difference between macros and inline functions? 4

9. Explain the differences between malloc() and calloc() functions used for memory allocation 4 10. What is type casting? Give an example. 4 11. What are register variables? Where are they used? 4* 12. Why Macro is Need? Explain the conditional Macros with example. 5* 13. With the help of suitable example explain command line arguments 5* 14. Write a short note on Enumeration. 6* 15. Explain the storage classes. 6 16. What are macros? List few macros used in C. 6 17. What is union? How is it different from structure? With suitable example show how union is declared and used in C? 6* 18. What is a Macro definition? Write a C program to print the cube of a given number using a Macro definition. 6* 19. What do you understand by dynamic memory allocation? Explain any three functions that support dynamic allocation? 6* 20. What are bit wise operators? Give example for each operator 6 21. Write a program to copy contents of a file to other using command line arguments. 8 22. Write a program to merge the contents of a file to other using command line arguments. 8 23. What is the difference between macros and inline functions? 8 24. What are command line arguments? Write a C program to copy contents of a file to another file. 8* 25. What are the command line arguments? Write a C program to accept the file name and text through command line arguments? Create a file with text and print the text on the screen 8* 26. Show the output of the following assuming a = 4, b = 3, c = 10 a) d = a & b b) d = a/b c) d = a^b d) d = ~c e) d = a >> 2 f) d = a << 2 9* 27. What are files? Create a file called sem.txt to store semester performances of all branches. Also display the semester and the branch, which has performed the best. 10 28. Create a file for storing employee database. To this file include operations to add new employees, delete employees and search for a particular employee. 10 29. Explain the various access modes used for files in C. 10 30. Write a C program to copy the contents of one file into another 10* 31. Explain the bit wise operators with examples used in C. 10* 32. What are Macros? Explain with an example. 10*

33. Explain call by value and call by reference. Give two examples. Define formal and actual parameters. 10* 34. What are pre-processor directives? Explain any two operations that can be done using preprocessor directives. 10* 35. Create a structure pointed by a pointer variable and allocate memory using malloc() and calloc() separately. Execute the code and note your observations. 10 -------------------------------------------------------------------------------------------------------------------- STACK OBJECTIVE: The most important concept in data structures. To study the prominent role in the area programming is stack. To expertise into a concrete and valuable tool in problem solving. 36 Define stack. Explain the implementation of various stack operations using structures. 4 37 Define stack. Explain the implementation of various stack operations using singly linked list. 4 38 Define stack. Explain implementation of various stack operations using doubly linked list. 4 39 Explain how the stack is used in parameter passing. 4* 40 Write the prefix and postfix form of the following infix expressions a) ((A + B) * C - (D-E)) $(F+G) b) (A+B)*(C+D-E)*F 4 41 Write a C function to convert a valid arithmetic infix expression into its equivalent postfix expression. Stack implementation is to be assumed 4* 43 Show the detailed concept of the stack to evaluate the following positive expression 632-5*+1^7+ * 4 44 Write short notes on dynamic stack representation. 5* 45 Show the detailed contents of the stack and trace of the algorithm to evaluate the given postfix expression 123+*321-+* 5* 46 What is a stack? How it can be represented in "C" using arrays? 6* 47 What is a stack? Give examples to show the operations of stack. 6 48 Define Stack as a data structure and discuss its applications 6* 49 Obtain prefix and postfix expression (A+B)*(C+D)$(A+B) A+B*C-D/E*H

(A+B^C^D)*(E+F/D) 6* 50 What is stack? List the applications of stack. Write a C function to insert an element on the top of stack. 6* 51 Implement the stack using arrays. 8 52 List the various ways of representing the arithmetic expressions by giving suitable examples 8 53 Show the detailed contents of the stack for given postfix expression to evaluate 6 2 3 + - 3 8 2 / + * 2 $ 3 + 10* 54. List applications of stack. Using stack write an algorithm to determine if a given string is palindrome and print suitable message as output. 10* 55. Implement stack using static and dynamic memory allocation. Discuss the relative merits of these two implementations. 10* 56. Write a program to check whether a given expression is a valid postfix expression or not. If valid evaluate a 33333333333. Given postfix expression otherwise display a suitable message. 10 57 Write a program to check whether a given expression is a valid prefix expression or not. If valid evaluate a given prefix expression otherwise display a suitable message. 10 58 Write an algorithm to convert a given infix expression into postfix expression. 10 59 Write an algorithm to convert a given infix expression into prefix expression. 10 60 Write an algorithm for converting infix expression to post-fix expression. Trace the algorithm indicating content of stack for expression (a-b)/(c*d)+e. 10* 61 Show that, how stack operations takes place for the conversion of infix to postfix expression. ((A-(B+C)) *D) $(E+F) 10* 62 Convert the following infix expression into a postfix expression (((A/(B*C))+(D*E))-(A*C)) A$B*C-D+E/F/(G+H) 63 Write an algorithm to implement a stack of size N using an array. The elements in the stack are to be integers. The operations to be supported are PUSH, POP and DISPLAY. Take into account the exceptions of Stack overflow and underflow. 64 What is STACK? Explain operation performed on STACK. Discuss how the stack structure can be used for Tower of Hanoi problem. RECURSION OBJECTIVE: Recursion the most powerful and one of the best programming tools of data structures. Advantages and disadvantages of the same.

Applications. 65 What is recursion? 2 66 What is a recursive definition? Indicate its properties? 4* 67 What is recursion? Give the properties of a recursive definition of an algorithm. What are its advantages? 5* 68 What is a recursion? Compare the recursive programs with iterative programs. 6* 69 Write a note on Efficiency of Recursion. 6* 70 Write a "C" recursive program to solve the tower of Hanoi problem. Give the trace for 3 disks. 8* 71 What is recursion? Explain with an example 8* 72 Bring out the differences between recursion and iteration. 8 73 Write a program to find GCD of 2 nos. using iterative and recursive techniques 8 74 Write a program to find the following using recursion: i) Factorial of a given number ii) Fibonacci series up to a given number 8 75 Write a program to solve the towers of Hanoi problem 8 76 Define recursion. Write a recursive program to find the GCD of two numbers. 8* 77 Write recursive c routines i) For computing the binomial coefficient of k term of an n degree polynomial ii) That accepts a non negative decimal integer as a parameter and writes out Its binary representation. 8+8* 78 What is recursion? Discuss an example which can be represented both recursively and iteratively. 8* 79 Write recursive function for: i) Fibonacci series for nth number ii) Printing number in reverse order (6+6)* 80 Write a recursive C function to find the n Fibonacci number. Explain with an example 10* QUEUES AND LISTS OBJECTIVE: a. QUEUES: To make a considerable exhaustive study of yet another data structure QUEUE. To study various forms of implementation techniques of the Queues and their different types.

To study the applications. b. LISTS: To study exhaustive about lists viz. singly linked list, doubly linked list, circular list, circular doubled linked list, their implementation techniques and applications. QUEUES 81 Distinguish between Ordinary queues and Circular queues. 4* 82 What are the advantages and disadvantages of linked lists over arrays? 4* 83 Define Priority queues and explain. 4* 84 Write a routine to insert an element in a ordinary queue. 8* 85 Write a note on a Priority queues. 8* 86 Write a program to implement a linear queue using arrays. 8 87 Write a program to implement a circular queue using arrays. 8 88 Write a program to implement a double-ended queue using arrays. 8 89 A circular queue has a size of 5 and has 3 elements 10,40 and 20,where F=2 and R=4. After inserting 50 and 60,what is value of F and r. Trying to insert 30 at this stage what will happen? Delete 2 elements from the queue and insert 100. Show the sequences of steps with necessary diagrams with the value of F and R. 8* 90 Write a C Program to perform the following operations on a queue Insert Delete Display 8* 91 Write a c function i) to insert an element at the rear end of a queue ii) to delete an element from the front end of the queue 10* 92 What is circular queue? Write C program to implement circular queue using arrays with operations of INSERT (), DELETE () and DISPLAY (). 10* LISTS 93 Understanding list operations like concatenation, searching for a node etc. 8 94 Understanding the array implementation of list 8 95 What is a SLL? Write a program to implement stack as a singly linked list. 8 96 Write a program to create an on ordered link list. 8

97 Write an algorithm to find whether a given list is ordered or not. 8 98 Write a recursive search routine to search for a node in a SLL. 8 99 Write a program to find for a particular node (either the position or info of the node can be given) in a SLL. 8 100 Write an algorithm to concatenate two lists (assume both are existing) 8 101 What do you understand by a linked list? Write a C function SEARCH (F, X) that accepts a printer P to a list of integers and an integer X, and returns a pointer to a node containing X, if it exists, and the NULL pointer otherwise. 8* 102 What is a single linked list? Explain with an example how a single linked list can be used for sorting a set of N numbers. 8* 103 What are different types of linked list? Write a C function to count number or elements present in single linked list. 10* 104 Write advantages of doubly linked list over singly linked list. Write C function that will insert a given integer value into an ordered doubly linked list. 10* 105 Write a C function to a. To count number of nodes using singly linked list b. To concatenate two singly linked list, and then to sort the resultant list c. To reverse direction of singly linked list(as shown below) Start Start 12* 106 Explain merging of two lists which have been represented as i) Array ii) Linked list 12* 107 Write a program to represent a polynomial of single variable using linked list and perform the following functions a. Evaluation of polynomial b. Display the polynomial 12* DOUBLY LINKED LIST 108 Knowing the doubly linked list definition and its implementation 6 109 Write a program to find for a particular node (either the position or info of the node can be given) in a DLL circular 6 110 What are the advantages and disadvantages of doubly linked list? Also give its applications.

6* 111 Write a C function to insert and delete a node from the front end in case of doubly linked list. 8* CIRCULAR LIST 112 Implement a circular SLL with the header node containing the total no of nodes in the list. The node itself consists of student details like reg no, name, marks etc. 6 A B C D D C B A 113 What are the advantages of circularly linked list over a linear list? Write a c routine that concatenates two circular lists. 6* 114 Write C functions to perform the following operations: a. Create a circular single linked list b. Display Circular single linked list 8* TREES OBJECTIVE: To study exhaustively regarding a tree, types of trees and focus only on BST (Binary search tree). To study the implementation of BST. About applications. 115 What is binary tree? 2 116 What are the differences between strictly binary tree and complete binary tree 4 117 What are the two conditions under which a binary tree becomes an almost complete binary tree? 4 118 Discuss the applications of trees 4* 119 Explain with suitable example the following traversals of a tree i) Preorder and ii) In order 4* 120 Give examples to show the father, son, and descendent and ascendant nodes of a binary tree. 6 121 Given the following traversals In order: E I C F J B G D K H L A Preorder: A B C E I F J D G H K L Construct a Binary Tree 6*

122 What is a TREE? Define the following a. Ancestor b. Descendants of node with respect to the TREE 6* 123 Explain various type of tree traversal with simple example. 6* 124 Write C functions for following tree traversals i) Inorder ii) Preorder iii) Post order 6* 125 What is binary search tree? Create a BST. 8 126 Explain the different methods of representation of binary trees in "C". 8* 127 Write recursive C routines to traverse a binary tree in different ways. Assume the dynamic node representation of a binary tree 8* 128 Define the following a. Strict binary tree b. Almost complete binary tree c. Ordered tree d. Right in threaded binary tree 8* 129 Construct a binary tree for the expression A + ( B-C)*(E+F)/G and draw the diagram showing each step. 8* 130 Explain one-way and two-way threading of binary trees 8* 131 Implement the sequential representation of a binary search tree 10 132 Write an algorithm to traverse the tree using father field 10 133 List the various tree traversal techniques giving examples 10 134 Implement the recursive tree traversal of in, pre and post order traversals 10 135 Write an algorithm for the iterative tree traversal. 10 136 What is a threaded binary tree? 10 137 Implement the in order threaded binary tree. 10 138 Define the following terms with appropriate sketches a) Tree b) Directed tree c) Ordered tree d) Binary tree e) Spanning tree 10 139 Explain the different methods of binary tree representation 10* 140 Write an output after traversing of a given tree by i) in order ii) Preorder traversing methods 10*

141 Write an algorithms for deleting node in a binary search tree for all the three cases 142 Write a "C" program to I) Create; and ii) traverse a binary tree in three orders.