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

Similar documents
17CS33:Data Structures Using C QUESTION BANK

Sample Question Paper

DYNAMIC MEMORY ALLOCATION AND DEALLOCATION

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

PESIT Bangalore South Campus Department of MCA Course Information for

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

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

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

DATA STRUCTURES USING C

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

DATA STRUCTURE : A MCQ QUESTION SET Code : RBMCQ0305

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

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

Reg. No. : Question Paper Code : 27157

EC8393FUNDAMENTALS OF DATA STRUCTURES IN C Unit 3

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

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

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

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

VALLIAMMAI ENGINEERING COLLEGE

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

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

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

DATA STRUCTURE UNIT I

1) What is information system? Describe the basic concepts of information systems.

A6-R3: DATA STRUCTURE THROUGH C LANGUAGE

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

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

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1

SAURASHTRA UNIVERSITY

CS DATA STRUCTURES AND ALGORITHMS

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

MID TERM MEGA FILE SOLVED BY VU HELPER Which one of the following statement is NOT correct.

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

Department of Computer Science and Technology

1 P age DS & OOPS / UNIT II

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

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

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

PA3 Design Specification

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

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

ASSIGNMENT-1 M.Sc. DEGREE EXAMINATION, MAY 2018 (First Year) INFORMATION TECHNOLOGY Basics of Information Technology

Delhi Noida Bhopal Hyderabad Jaipur Lucknow Indore Pune Bhubaneswar Kolkata Patna Web: Ph:

V.S.B ENGINEERING COLLEGE DEPARTMENT OF INFORMATION TECHNOLOGY I IT-II Semester. Sl.No Subject Name Page No. 1 Programming & Data Structures-I 2

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

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

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

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

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.

CS8391-DATA STRUCTURES QUESTION BANK UNIT I

Outline. Introduction Stack Operations Stack Implementation Implementation of Push and Pop operations Applications. ADT for stacks

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

S.E. Sem. III [CMPN] Data Structures. Primitive Linear Non Linear

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

DATA STRUCTURES THROUGH C++

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

CS301 - Data Structures Glossary By

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

CS8391-DATA STRUCTURES

University of Palestine. Final Exam 2 nd semester 2014/2015 Total Grade: 50

OBJECT ORIENTED DATA STRUCTURE & ALGORITHMS

CS 445: Data Structures Final Examination: Study Guide

CS PROGRAMMING & ATA STRUCTURES I. UNIT I Part - A

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

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

Data Structures Through C. Student Workbook

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

Note: Select one full question from each unit

Fundamentals of Data Structure

1. Attempt any three of the following: 15

Fundamental of I.T. (c) Application of computer *************

R. C. TECHNICAL INSTITUTE, SOLA

A Programming Approach with C DHARMENDER SINGH KUSHWAHA

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?

DATA STRUCTURES AND ALGORITHMS

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

DS ata Structures Aptitude

Advanced C Programming and Introduction to Data Structures

DHANALAKSHMI COLLEGE OF ENGINEERING Tambaram, Chennai

A6-R3: DATA STRUCTURE THROUGH C LANGUAGE

S.E. Sem. III [INFT] Data Structures & Analysis. Primitive Linear Non Linear

Code No: R Set No. 1

CS 8391 DATA STRUCTURES

Linked List. April 2, 2007 Programming and Data Structure 1

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

Assignment 3 Class XII (Computer Science 083) Topic Array

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

Government of Karnataka Department of Technical Education Bengaluru

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

Home Works and Assignments

INSTITUTE OF AERONAUTICAL ENGINEERING

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

Stack Applications. Lecture 27 Sections Robb T. Koether. Hampden-Sydney College. Wed, Mar 29, 2017

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

Where does the insert method place the new entry in the array? Assume array indexing starts from 0(zero).

Lecture No.04. Data Structures

S.Y. B.Sc. (IT) : Sem. III. Data Structures

Revision Statement while return growth rate asymptotic notation complexity Compare algorithms Linear search Binary search Preconditions: sorted,

MODULE 5: Pointers, Preprocessor Directives and Data Structures

Transcription:

Bharati Vidyapeeth s College Of Engineering for Women Pune-43 SE- Unit Test I Subject-DS Date: 25/02/2010 Q-1 a) What is sorting? State different types of sorting and write a function in C to implement any 1 sorting. 8 b) What do you mean by time complexity of an algorithm. 4 c) Define term ADT and its properties. 3 Q-1 a) What is searching? State different types of searching. And write C function to Implement any 1. 8 b) What is recursion? Explain with example. 3 c) What is function? Give its advantages. 4 Q-2 a) With the help of suitable example explain the following parameters passing Mechanism 6 i) Call by value ii) Call by reference b) Differentiate between array and pointer. 3 c) Write a function to perform following string operations using pointers 6 i) Concatenation ii) Copy Q-2 a) Compare structure and union. 3 b) What are different ways to represent polynomial of single variable? Write a C function to evaluate polynomial. 6 c) What are the advantages of pointer and differentiate between an array of pointers and Pointer to an array

Bharati Vidyapeeth s College Of Engineering for Women Pune-43 SE- Unit Test II Subject-Data Structure Date: 26/03/2010 Q-1) a) Write a C function to add and delete the node in SLL at the beginning 6 b) Write a function to concatenate Link list 5 c) What is difference between malloc and calloc 4 Q-1) a) Compare singly linked list with doubly linked list. 4 b) What is dynamic memory allocation. How does it help in building complex program. 6 c) Write a function to add two polynomials. 5 i. 3x 2 y+ 9xy 3 +15xy+3 ii. 13x 3 y 2 +7x 2 y+22xy+9y 3 Q-2) a) What is stack. Implement stack using array to perform following operations: 1. Push 2. Pop 3. Stack empty 4. Stack full 8 b) Explain the concept of queue with suitable example and write any 1 application of queue. 7 Q-2) a) Write pseudo C code to remove an element from circular queue. 4 b) Explain the concept of priority queue and give its application for the same. 5 c) Write C code for stack as an ADT. 6

Bharati Vidyapeeth s College of Engineering for Women Pune-43 SE- Unit Test I Subject-DS Date:11/02/11 Q-1) a) Define sorting b) WAP to implement a sorting method 1. Bubble sort 2. Selection sort 12 c) Define searching and WAP to implement sequential searching 6 Q-1) a) What is searching? Write different types of searching. 10 b) Determine time complexity of sequential and binary search. 8 Q-2) a) What is sorting? What are different types of sorting? Differentiate them. 12 Q-2) a) Sort the following numbers using insertion sort and bubble sort. Write the passes and comparisons. 23 7 45 4 15 6 b) Define searching. WAP for linear searching. 6

Bharati Vidyapeeth s College Of Engineering for Women Pune-43 SE- Unit Test II Subject-DS Date:29/03/2011 Q-1) a) Let p be a pointer to heads node of one SLL in q be pointer to the head node of second SLL. Write a function in C to merge the two SLLs in the following manner p 1 -> q 1 -> p 2 -> q 2 -> p 3 -> q 3 ---------------p n -> q n Where p 1 -------p n are nodes of 1 st SLL q 1 ------------ q n are nodes of 2 nd SLL 8 b) 1. Give C declaration for node structure for declaring a SLL and DLL 2 2. Write short note on ADT for linked list 5 Q-1) a) What is GLL? Represent the polynomial using GLL X 10 y 3 z 2 +2x 8 y 3 z 2 +3x 8 y 2 z 2 +x 4 y 4 z+z+6x 3 y 4 z+ 2yz 6 b) i. Give two applications of stack and queue each which showing the benefit of stack 4 and queue. ii. Write C code for stack as ADT. 5 Q-2) a) Convert the following infix expression to prefix, postfix expressions. 6 1. A$B*C-C+D/A/(E+E) 2. (((A/B^C))+(D*E))-(A*C)) B) Give the concept of priority queue and give application for same. 4 C) Define the following term with respect to tree 1. Complex binary tree 2. Forest 3. Height of tree 4. Skewed binary tree 5. Full binary tree 5

Bharati Vidyapeeth's College of Engieneering for Women, Pune Electronics and Telecommunication Department Unit Test:1 (Marks:30) Subject: Data Structure Q.1a)Write a C function to read n numbers in an array and find the numbers of even and odd numbers from it?...6 M Q.1b) Explain row major order and column order representation of 2 dimensional arrays...4 M Q.1a) Write a C program to find the sum of major and minor diagonals of m*m matrix...6 M Q.1b) Explain Array and give different types of arrays with examples?...4 M Q.2a) Write recursive and non recursive functions of binary search?...6 M Q.2b) Write a C function to implement select sort. Discuss the space and time complexity issues.?...10 M Q.2b)Write a program to perform multiplication of two polynomials using array, also compute the time complexity of your program?...10 M Q.3) Write a C function to interchange two numbers by using pointers?...4 M

Bharati Vidyapeeth's College of Engieneering for Women, Pune Electronics and Telecommunication Department Unit Test:2 (Marks:30) Subject: Data Structure Q.1a) Compare singly link list with doubly link list...6 M Q.1b) Compare linked organisation with sequential organisation?...4 M Q.1a) Write a C function to delete a node from any position of DLL?...6 M Q.1b) Write a C function to invert singly link list?...4 M Q.2a) Define ADT write down ADT of stack?...6 M Q.2b) Write a C function to evaluate postfix expression and explain with suitable example?...10 M Q.2b) What is priority queue?give the applications? Write a C function to perform insertion and deletion on priority queue?...10 M Q.3) State and explain the advantages of threaded binary tree?...4 M