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

Similar documents
INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

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

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

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

Overview of Data Structures, Algorithm Analysis

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

VALLIAMMAI ENGINEERING COLLEGE

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

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

CS 445: Data Structures Final Examination: Study Guide

A6-R3: DATA STRUCTURE THROUGH C LANGUAGE

DYNAMIC MEMORY ALLOCATION AND DEALLOCATION

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

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

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

S.E. (Computer) (First Semester) EXAMINATION, 2011 DATA STRUCTURES AND ALGORITHM (2008 PATTERN) Time : Three Hours Maximum Marks : 100

DATA STRUCTURES THROUGH C++

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

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

CS301 - Data Structures Glossary By

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.

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1

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

INSTITUTE OF AERONAUTICAL ENGINEERING

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

Total No. of Questions :09] [Total No. of Pages : 02. II/IV B.Tech. DEGREE EXAMINATIONS, NOV/DEC Second Semester CSE/IT DBMS

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))

Reg. No. : Question Paper Code : 27157

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

17CS33:Data Structures Using C QUESTION BANK

CSC2100-Data Structures

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

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

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

Quantitative Finance COURSE NUMBER: 22:839:615 COURSE TITLE: Special Topics Oriented Programming 2

PESIT Bangalore South Campus Department of MCA Course Information for

1. Attempt any three of the following: 15

CS302 Data Structures using C++

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

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

Objective Questions for Online Practical Exams under CBCS Scheme Subject: Data Structure-I (CS-113)

Data Structure (CS301)

DATA STRUCTURE : A MCQ QUESTION SET Code : RBMCQ0305

EC8393FUNDAMENTALS OF DATA STRUCTURES IN C Unit 3

MLR Institute of Technology

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

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

DATA STRUCTURES USING C

CS8391-DATA STRUCTURES

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

Code No: R Set No. 1

SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTING DEPARTMENT OF CSE COURSE PLAN. Sec. Name Office Office hour Mail id

AP Computer Science 4325

CS8391-DATA STRUCTURES QUESTION BANK UNIT I

Largest Online Community of VU Students

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

Department of Computer Science and Technology

Total No. of Questions :09] [Total No. of Pages : 02

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

Data Structures Question Bank Multiple Choice

Name: 1 stack<int> s; 2 s.push(9) 3 s.push(5) 4 s.push(10) 5 s.push(1) 6 s.pop() 7 s.pop() 8 s.push(0) 9 s.pop() 10 s.pop() 11 s.

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

CS2013 Course Syllabus Spring 2018 Lecture: Mon/Wed 2:00 P.M. 2:50 P.M. SH C259 Lab: Mon/Wed 2:50 P.M. 4:00 P.M. SH C259

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING B.E SECOND SEMESTER CS 6202 PROGRAMMING AND DATA STRUCTURES I TWO MARKS UNIT I- 2 MARKS

Data Structures and Abstractions with Java

CS 210 Algorithms and Data Structures College of Information Technology and Engineering Weisberg Division of Engineering and Computer Science

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

St. MARTIN s ENGINERING COLLEGE Dhulapally,Secunderabad

DATA STRUCTURES AND ALGORITHMS

1) What is the primary purpose of template functions? 2) Suppose bag is a template class, what is the syntax for declaring a bag b of integers?

School of Computing & Information Technology. Department of Computer Science & Engineering LAB MANUAL CS-1331 DATA STRUCTURES LAB

CS 8391 DATA STRUCTURES

CS DATA STRUCTURES AND ALGORITHMS

Fundamentals of Data Structure

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

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

DATA STRUCTURE UNIT I

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

CLO Assessment CLO1 Q1(10) CLO2 Q2 (10) CLO3 Q4 (10) CLO4 Q3a (4)

CSE 373 Autumn 2010: Midterm #1 (closed book, closed notes, NO calculators allowed)

2. (a) Explain when the Quick sort is preferred to merge sort and vice-versa.

Some Applications of Stack. Spring Semester 2007 Programming and Data Structure 1

SAURASHTRA UNIVERSITY

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

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

CLASS: II YEAR / IV SEMESTER CSE CS 6402-DESIGN AND ANALYSIS OF ALGORITHM UNIT I INTRODUCTION

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

CSCE 210/2201 Data Structures and Algorithms. Prof. Amr Goneid

Question Paper Code : 97044

CSCE 210/2201 Data Structures and Algorithms. Prof. Amr Goneid. Fall 2018

Sai Nath University. Assignment For MCA 2nd Sem.

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

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

FINALTERM EXAMINATION Fall 2009 CS301- Data Structures Question No: 1 ( Marks: 1 ) - Please choose one The data of the problem is of 2GB and the hard

CSE Data Structures and Introduction to Algorithms... In Java! Instructor: Fei Wang. Mid-Term Exam. CSE2100 DS & Algorithms 1

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

R16 SET - 1 '' ''' '' ''' Code No: R

Algorithms and Data Structures Spring 2008

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: CS6402- Design & Analysis of Algorithm Year/Sem : II/IV UNIT-I INTRODUCTION

Transcription:

CSE/IT 216 (CR) Total No. of Questions :09] [Total No. of Pages : 02 Time: Three Hours 1. a. ADT II/IV B.Tech. DEGREE EXAMINATIONS, NOV/DEC- 2015 First Semester CSE/IT DATA STRUCTURES USING C Answer Question NO.1 Compulsory Answer ONE question from each unit b. Big O notation c. Convert the expression a+b*c/(d-e)/f to postfix. d. Time Complexity of shell sort e. Balanced Tree f. Algorithm for DFS (recursive) g. Adjacency Matrix representation of a graph UNIT-I Maximum marks:70 7X2=14 M 4X14=56 M 2. Define a suitable structure for circular linked list and write a program to implement circular linked list using doubly linked list. 3. Define a suitable structure for representing a polynomial and write a program to implement polynomial addition. UNIT-II 4. a. Write a program to implement shell sort and explain how it work by taking some sample data. b. Give a proper ADT to define cicular queue and give its implementation. 5. Write a program to implement infix to postfix conversion. UNIT-III 6. Write a program to implement binary tree with the following operations i.e. insert, delete, search for a node. 7. Define the characteristics of balanced tree and explain how insertion, deletion operations and different single rotations that is required to be implemented in AVL tree. 1 P.T.O

UNIT-IV 8. a. Explain in detail how Heap sort algorithm works with the help of an example. 10 M b. Write a brief on hashing and hash function. 4 M 9. a. What is Open Addressing hashing? Explain b. Explain the concept of Linear Probing and its disadvantages. c. Explain how a graph can be represented using adjacency list. 2

CSE/IT 216 (RR) Total No. of Questions :09] [Total No. of Pages : 02 Time: Three Hours II/IV B.Tech. DEGREE EXAMINATIONS, NOV/DEC- 2015 First Semester CSE/IT DATA STRUCTURES Answer Question NO.1 Compulsory Answer ONE question from each unit 1. a. Advantages of linked list over arrays b. Space Complexity c. Applications of stacks and queues d. Brief on Height balance tree e. Min and Max Heap f. Tree Vs Graph g. Time Complexity of Merge and Quick sort UNIT-I Maximum marks:70 7X2=14 M 4X14=56 M 2. a. Define a suitable ADT to implement polynomial and write a program to perform polynomial addition. 10 M b. Write a brief on Lists. 4 M 3. a. Write a suitable program to create single linked list and operations on it. 8 M b. Write a brief on Big O and Omega notation. 6 M UNIT-II 4. Write a program to implement merge sort and explain the process of merge sort on 10,13,5,12,18,15,14,1,19,1,7,48,36,22,13. 5. Write a program to convert the given infix expression to postfix expression. UNIT-III 6. a. Explain how to represent binary search tree with duplicates and explain the insertion operation in binary search tree with duplicates. b. Explain the single rotations on AVL trees with suitable example. 7. a. Consider the list of elements: -15,-6,0,7,9,23,54,82,101,112,125,131,142,151. Give a trace of the Binary search algorithm in searching for elements 151, -14 and 9 respectively. P.T.O

b. Write a program to insert element in a binary tree at a specific node. UNIT-IV 8. What is the significance of priorities? How do you arrange elements in a priority queue? How do you implement a priority queue? Explain 9. Explain different representations of a graph and write the suitable code to implement DFS of a graph represented using adjacency matrix. 2

CSE-IT 216 (RR) Total No. of Questions : 09 ] [ Total No.of Pages : 02 II/IV B. TECH. DEGREE EXAMINATIONS, APRIL / MAY - 2015 First Semester CSE / IT DATA STRUCTURES Time : Three Hours Max. Marks : 70 Answer Question No. 1 Compulsory. 7x2=14 Answer ONE question from each Unit. 4x14=56 1. Answer in short : a) Abstract data type. b) Delimiter matching. c) Doubly linked list. d) Expression tree. e) Hash function. f) Binary Heap. g) Representation of a graph. UNIT - I 2. a) Define an algorithm. Explain how the complexity of an algorithm is calculated. b) Write an algorithm to create a Polynomial ADT. 3. Write a program to implement Circular linked list. UNIT - II 4. Write an algorithm to convert a given infix expression to postfix. 5. Write an algorithm to implement Quick sort. Explain with an example. P.T.O.

UNIT - III CSE-IT 216 (RR) 6. Define a Binary search tree. Write a recursive program to implement Binary search tree traversals. 7. Write a program to implement single rotation AVL tree. UNIT - IV 8. What is Hashing? Explain different hashing techniques. 9. Explain Graph traversals with algorithm. 2

CS-IT 216 (CR) Total No. of Questions : 09 ] [ Total No.of Pages : 02 II/IV B. TECH. DEGREE EXAMINATIONS, APRIL / MAY - 2015 First Semester CS / IT DATA STRUCTURES USING C Time : Three Hours Max. Marks : 70 1. a) Applications of Queue. Answer Question No. 1 Compulsory. 7x2=14 Answer ONE question from each Unit. 4x14=56 b) Advantages of linked list over arrays. c) Omega notation. d) Convert the expression a*b-c/(d-e)/f to postfix. e) Time complexity of merge and quick sort. f) Min Heap. g) Adjacency list representation of graph. UNIT - I 2. a) Write a program to implement addition of two polynomials represented using linked list representation. b) Explain how the efficiency of an algorithm is measured. 3. What are the advantages of doubly linked list over single linked list? Write a program to implement doubly linked list. UNIT - II 4. a) Write a program to implement delimiter matching. b) Write a program to implement stack using arrays. 5. Write a program to implement merge sort and give a trace of the algorithm in sorting the given array of elements : 10, 15, 4, 8, 32, 17, 19, 5, 11, 18, 102, 45, 64, 1, 13. P.T.O.

UNIT - III CS-IT 216 (CR) 6. Explain different rotations that are going to implemented on AVL tree to keep it balanced with suitable example. 7. a) Write a brief on Tree, Binary tree and binary search tree distinguishing their characteristics. b) Write a program to implement binary search tree. UNIT - IV 8. What is priority queue? What are the applications of priority queue? How do you implement a priority queue using Heap? 9. a) What is hashing? Why do we need hashing? Explain the importance of hashing with an example. b) Explain how a graph can be represented using adjacency matrix. 2