DYNAMIC MEMORY ALLOCATION AND DEALLOCATION

Similar documents
R13. II B. Tech I Semester Supplementary Examinations, May/June DATA STRUCTURES (Com. to ECE, CSE, EIE, IT, ECC)

Table of Contents. Chapter 1: Introduction to Data Structures... 1

Course Name: B.Tech. 3 th Sem. No of hours allotted to complete the syllabi: 44 Hours No of hours allotted per week: 3 Hours. Planned.

R10 SET - 1. Code No: R II B. Tech I Semester, Supplementary Examinations, May

A6-R3: DATA STRUCTURE THROUGH C LANGUAGE

Algorithms and programs, basic idea of pseudo-code.algorithm efficiency and analysis, time and space analysis of algorithms order notations.

DATA STRUCTURES THROUGH C++

Syllabus for Bachelor of Technology. Computer Engineering. Subject Code: 01CE0301. Subject Name: Data Structure. B.Tech. Year - II

17CS33:Data Structures Using C QUESTION BANK

VALLIAMMAI ENGINEERING COLLEGE

Prepared By: Ms. Nidhi Solanki (Assist. Prof.) Page 1

End-Term Examination Second Semester [MCA] MAY-JUNE 2006

1 P a g e A r y a n C o l l e g e \ B S c _ I T \ C \

GUJARAT TECHNOLOGICAL UNIVERSITY COMPUTER ENGINEERING (07) / INFORMATION TECHNOLOGY (16) / INFORMATION & COMMUNICATION TECHNOLOGY (32) DATA STRUCTURES

PESIT Bangalore South Campus Department of MCA Course Information for

APJ ABDUL KALAM TECHNOLOGICAL UNIVERSITY THIRD SEMESTER B.TECH DEGREE EXAMINATION, JULY 2017 CS205: DATA STRUCTURES (CS, IT)

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

DEPARTMENT OF COMPUTER APPLICATIONS B.C.A. - FIRST YEAR ( REGULATION) SECOND SEMESTER LESSON PLAN SRM INSTITUTE OF SCIENCE AND TECHNOLOGY

OBJECT ORIENTED DATA STRUCTURE & ALGORITHMS

QUESTION BANK. Prepared by,mrs.d.maladhy AP/IT,RGCET. Page 1

LESSON PLAN B.C.A. - FIRST YEAR ( REGULATION) SECOND SEMESTER

DETAILED SYLLABUS INTRODUCTION TO C LANGUAGE

R10 SET - 1. Code No: R II B. Tech I Semester, Supplementary Examinations, May

PROGRAMMING IN C++ (Regulation 2008) Answer ALL questions PART A (10 2 = 20 Marks) PART B (5 16 = 80 Marks) function? (8)

Introduction p. 1 Pseudocode p. 2 Algorithm Header p. 2 Purpose, Conditions, and Return p. 3 Statement Numbers p. 4 Variables p. 4 Algorithm Analysis

Sample Question Paper

Bharati Vidyapeeth s College Of Engineering for Women Pune-43 Department E & TC. SE- Unit Test I Subject-DS

Total No. of Questions :09] [Total No. of Pages : 02. II/IV B.Tech. DEGREE EXAMINATIONS, NOV/DEC First Semester CSE/IT DATA STRUCTURES USING C

ASSIGNMENTS. Progra m Outcom e. Chapter Q. No. Outcom e (CO) I 1 If f(n) = Θ(g(n)) and g(n)= Θ(h(n)), then proof that h(n) = Θ(f(n))

E.G.S. PILLAY ENGINEERING COLLEGE (An Autonomous Institution, Affiliated to Anna University, Chennai) Nagore Post, Nagapattinam , Tamilnadu.

Visit ::: Original Website For Placement Papers. ::: Data Structure

SAURASHTRA UNIVERSITY

Algorithm Class. C C++ DS JAVA DATA STRUCTURES TRAINING INSTITUTE KPHB HYDERABAD. Mobile:

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

DATA STRUCTURES USING C

CS8391-DATA STRUCTURES QUESTION BANK UNIT I

DC104 DATA STRUCTURE JUNE Q.2 a. If you are using C language to implement the heterogeneous linked list, what pointer type will you use?

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS

7.1 Introduction. A (free) tree T is A simple graph such that for every pair of vertices v and w there is a unique path from v to w

DS ata Structures Aptitude

DATA STRUCTURE : A MCQ QUESTION SET Code : RBMCQ0305

FORTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLIGY- MARCH, 2012 DATA STRUCTURE (Common to CT and IF) [Time: 3 hours

Department of Computer Science and Technology

INSTITUTE OF AERONAUTICAL ENGINEERING

Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 154) Pass Marks: 24

CS8391-DATA STRUCTURES

A6-R3: DATA STRUCTURE THROUGH C LANGUAGE

MLR Institute of Technology

First Semester - Question Bank Department of Computer Science Advanced Data Structures and Algorithms...

Data Structures Question Bank Multiple Choice

Discuss the following operations on One-Dimensional array with algorithms.

a) State the need of data structure. Write the operations performed using data structures.

Computer Science 1 Study Union Practice Problems. What are the arguments to malloc? calloc? realloc? What do they do?

1. Attempt any three of the following: 15

& ( D. " mnp ' ( ) n 3. n 2. ( ) C. " n

Data Structures Through C. Student Workbook

Course goals. exposure to another language. knowledge of specific data structures. impact of DS design & implementation on program performance

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

CP2 Revision. theme: dynamic datatypes & data structures

CS DATA STRUCTURES AND ALGORITHMS

CSE 373 APRIL 17 TH TREE BALANCE AND AVL

Chapter 4 Trees. Theorem A graph G has a spanning tree if and only if G is connected.

n 2 ( ) ( ) Ο f ( n) ( ) Ω B. n logn Ο

Section I. 1 Review of user defined function,recursion, pointer, structure 05 2 Introduction to Data Structures and stack

( ) ( ) C. " 1 n. ( ) $ f n. ( ) B. " log( n! ) ( ) and that you already know ( ) ( ) " % g( n) ( ) " #&

CS 8391 DATA STRUCTURES

FORTH SEMESTER DIPLOMA EXAMINATION IN ENGINEERING/ TECHNOLIGY- OCTOBER, 2012 DATA STRUCTURE

Friday, March 30. Last time we were talking about traversal of a rooted ordered tree, having defined preorder traversal. We will continue from there.

Data Structures Brett Bernstein

logn D. Θ C. Θ n 2 ( ) ( ) f n B. nlogn Ο n2 n 2 D. Ο & % ( C. Θ # ( D. Θ n ( ) Ω f ( n)

CS 445: Data Structures Final Examination: Study Guide

Tribhuvan University Institute of Science and Technology Computer Science and Information Technology (CSC. 154) Section A Attempt any Two questions:

Course Review for Finals. Cpt S 223 Fall 2008

EC8393FUNDAMENTALS OF DATA STRUCTURES IN C Unit 3

STRUCTURE AND SYLLABUS APPROVED IN THE BOARD OF STUDIES MEETING ON 2001 TO BE EFFECTIVE FROM THE ACADEMIC YEAR

BRONX COMMUNITY COLLEGE of the City University of New York DEPARTMENT OF MATHEMATICS AND COMPUTER SCIENCE. Sample Final Exam

Code No: R Set No. 1

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

WITH C+ + William Ford University of the Pacific. William Topp University of the Pacific. Prentice Hall, Englewood Cliffs, New Jersey 07632

( ). Which of ( ) ( ) " #& ( ) " # g( n) ( ) " # f ( n) Test 1

Cpt S 122 Data Structures. Course Review Midterm Exam # 1

) $ f ( n) " %( g( n)

Fundamentals of Data Structure

Draw a diagram of an empty circular queue and describe it to the reader.

Binary Trees, Binary Search Trees

9. The expected time for insertion sort for n keys is in which set? (All n! input permutations are equally likely.)

KLiC C. About. Tools: Turbo C++ Syllabus:

Trees. (Trees) Data Structures and Programming Spring / 28

Data Structures. 1. Each entry in a linked list is a called a (a)link (b)node (c)data structure (d)none of the above

Test 1 Last 4 Digits of Mav ID # Multiple Choice. Write your answer to the LEFT of each problem. 2 points each t 1

DHANALAKSHMI COLLEGE OF ENGINEERING Tambaram, Chennai

Course Review for. Cpt S 223 Fall Cpt S 223. School of EECS, WSU

Overview of Data Structures, Algorithm Analysis

( ) + n. ( ) = n "1) + n. ( ) = T n 2. ( ) = 2T n 2. ( ) = T( n 2 ) +1

Multiple Choice. Write your answer to the LEFT of each problem. 3 points each

CS301 - Data Structures Glossary By

COSC 2007 Data Structures II Final Exam. Part 1: multiple choice (1 mark each, total 30 marks, circle the correct answer)

UCS-406 (Data Structure) Lab Assignment-1 (2 weeks)

Question Paper Code : 97044

Transcription:

COURSE TITLE DATA STRUCTURE DETAILED SYLLABUS SR.NO NAME OF CHAPTERS & DETAILS HOURS ALLOTTED 1 USER DEFINED DATATYPE /STRUCTURE About structure Defining structure Accessing structure element Array of structure Use of pointer with structure 4 Hour 2 DYNAMIC MEMORY ALLOCATION AND DEALLOCATION Use of sizeof operator Type casting Dynamic memory allocation by using inbuilt function malloc() and calloc() Differences between malloc() and calloc() Use of realloc() Deallocation by using inbuilt function free() 4 Hour www.raysonline.in 2 nd Floor, Anam Plaza, South East Gandhi Maidan, Patna, Bihar -800001 1

3 LINKED LIST About Linked list Types of linked list (i) Linear or single or one-way linked list (ii) Double or two way linked list Linear or single or one way linked list Implementation / Representation of single linked list Adding new node to linked list (a) Adding at beginning (b) Adding at ending (c) Adding before specified position (d) Adding after specified position Deleting a node from linked list (a) Deleting beginning node (b) Deleting end node (c) Deleting specified position node Searching a node in linked list Double or two-way linked list Implementation / Representation of double linked list Adding new node to linked list (a) Adding at beginning (b) Adding at ending (c) Adding before specified position (d) Adding after specified position Deleting a node from linked list (a) Deleting beginning node (b) Deleting end node (c) Deleting specified position node Searching a node in linked list Some more linked list Circular linked list (a) Singly circular linked list (b) Doubly circular linked list Header linked list (a) Singly header linked list (b) Doubly header linked list 16 Hour www.raysonline.in 2 nd Floor, Anam Plaza, South East Gandhi Maidan, Patna, Bihar -800001 2

4 STACK Application of linked list Concatenation of two linked list Polynomial (a) Representation of polynomial (b) Addition of polynomial (c) Multiplication of two polynomial Sparse matrics (a) Representation of sparse matrics By using array By using linked list (b) Addition of two sparse matrics Introduction to stack Operation on stack Stack implementation By using array By using linked list Stack Application in computer field Representation two stacks Arithmetical Expression Different form of an expression (a) Infix form (b) Prefix form or Polish form (c) Postfix form or Reverse Polish form Conversion one form to another form (a) Conversion from infix to prefix and postfix form (b) Conversion from postfix to infix and prefix form (c) Conversion from prefix to infix and postfix form Algorithm to evaluate a postfix expression 6 Hour 5 QUEUE Introduction to Queue Operation on Queue Queue implementation 6 Hour www.raysonline.in 2 nd Floor, Anam Plaza, South East Gandhi Maidan, Patna, Bihar -800001 3

6 TREE By using array By using linked list Types of Queue (i) Circular Queue (ii) Dequeue (iii) Priority Queue Introduction to tree Important properties of tree Some tree terminology Types of tree Binary tree (a) Strictly binary tree or two tree (b) Complete binary tree or full binary tree Binary search tree (BST) Expression tree AVL tree or Height Balance tree Threaded binary tree B tree Binary Tree Representation of binary tree (a) Array or Sequential representation (b) Linked list representation Traversal of binary tree (a) Inorder traversal (b) Preorder traversal (c) Postorder traversal (d) Level-by-Level traversal Non-recursive traversal of binary tree (a) Inorder traversal (b) Preorder traversal (c) Postorder traversal Binary search tree (BST) Representation of BST (a) Array or sequential representation (b) Linked list representation 16 Hour www.raysonline.in 2 nd Floor, Anam Plaza, South East Gandhi Maidan, Patna, Bihar -800001 4

Search in BST Insertion into BST Deletion from BST Expression tree Representation of expression tree Traversal of expression tree (a) Inorder traversal (b) Preorder traversal (c) postorder traversal AVL tree or Height balance tree Insertion of a node into an AVL tree Deletion from an AVL tree B-tree Drawing of a B-tree Deletion in B-tree 7 GRAPH Introduction to Graph Graph terminology Types of Graph Representation of Graph (a) Adjacency matrix (b) Adjacency list Graph traversals (a) Breadth first search (BFS) (b) Depth first search (DFS) Transitive closure Program to compute transitive closure Shortest path problem About Minimal spanning tree (MST) Introduction to MST Construction of MST (a) Krushkal s method/algorithm (b) Prim s method/algorithm 14 Hour www.raysonline.in 2 nd Floor, Anam Plaza, South East Gandhi Maidan, Patna, Bihar -800001 5

8 SEARCHING AND SORTING Searching (a) Sequential searching (b) Binary searching Sorting (a) Bubble sort (b) Insertion sort (c) Quick sort (d) Merge sort (e) Heap sort (f) selection sort (g) shell sort (h) Radix sor 12 Hour 9 TIME COMPLEXITY 3 Hour www.raysonline.in 2 nd Floor, Anam Plaza, South East Gandhi Maidan, Patna, Bihar -800001 6