Sample Question Paper

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

17CS33:Data Structures Using C QUESTION BANK

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

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

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

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

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

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

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

Fundamentals of Data Structure

DYNAMIC MEMORY ALLOCATION AND DEALLOCATION

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

PESIT Bangalore South Campus Department of MCA Course Information for

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

1 P age DS & OOPS / UNIT II

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

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

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

Department of Computer Science and Technology

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION

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

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

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

DATA STRUCTURE : A MCQ QUESTION SET Code : RBMCQ0305

CS8391-DATA STRUCTURES QUESTION BANK UNIT I

MAHARASHTRASTATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified)

VALLIAMMAI ENGINEERING COLLEGE

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

CS 8391 DATA STRUCTURES

CS8391-DATA STRUCTURES

Data Structure using C++ Lecture 04. Data Structures and algorithm analysis in C++ Chapter , 3.2, 3.2.1

Answers. 1. (A) Attempt any five : 20 Marks

Data Structures Question Bank Multiple Choice

PA3 Design Specification

A6-R3: DATA STRUCTURE THROUGH C LANGUAGE

12 Abstract Data Types

DATA STRUCTURE UNIT I

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

R. C. TECHNICAL INSTITUTE, SOLA

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) WINTER 16 EXAMINATION Model Answer Subject Code:

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

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

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

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

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

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

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

EC8393FUNDAMENTALS OF DATA STRUCTURES IN C Unit 3

DATA STRUCTURES USING C

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

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

Reg. No. : Question Paper Code : 27157

Stack. 4. In Stack all Operations such as Insertion and Deletion are permitted at only one end. Size of the Stack 6. Maximum Value of Stack Top 5

PRACTICAL LIST FOR EVEN SEMESTERS (PGDCA/MCA/MSC (CS))

MLR Institute of Technology

CS 206 Introduction to Computer Science II

CS301 - Data Structures Glossary By

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

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

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

A6-R3: DATA STRUCTURE THROUGH C LANGUAGE

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

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

Computer Science 302 Spring 2007 Practice Final Examination: Part I

Data Structure Advanced

Data Structure. IBPS SO (IT- Officer) Exam 2017

MCA SEM-II Data Structure

CS 171: Introduction to Computer Science II. Binary Search Trees

Solution: The examples of stack application are reverse a string, post fix evaluation, infix to postfix conversion.

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

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?

An Introduction to Trees

Computer Science Foundation Exam. Dec. 19, 2003 COMPUTER SCIENCE I. Section I A. No Calculators! KEY

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

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

DHANALAKSHMI COLLEGE OF ENGINEERING Tambaram, Chennai

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

1. Two main measures for the efficiency of an algorithm are a. Processor and memory b. Complexity and capacity c. Time and space d.

CS DATA STRUCTURES AND ALGORITHMS

This is a set of practice questions for the final for CS16. The actual exam will consist of problems that are quite similar to those you have

Assignment 3 Class XII (Computer Science 083) Topic Array

Adapted By Manik Hosen

Computer Science 302 Spring 2017 (Practice for) Final Examination, May 10, 2017

Binary Trees, Binary Search Trees

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

CSE 373 Spring Midterm. Friday April 21st

CSCE 2014 Final Exam Spring Version A

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

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

DATA STRUCTURES AND ALGORITHMS

Data Structures. Outline. Introduction Linked Lists Stacks Queues Trees Deitel & Associates, Inc. All rights reserved.

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

1. Attempt any three of the following: 15

Largest Online Community of VU Students

Data Structure and Algorithm, Spring 2013 Midterm Examination 120 points Time: 2:20pm-5:20pm (180 minutes), Tuesday, April 16, 2013

Frequently asked Data Structures Interview Questions

U IT I FIFO, i F r t s n I i F r t s u O t . I L FO S r a t p i o nt r e R pop S c a s k fr n o t . l a f o h t e b a o e S c a k S c a k

Transcription:

Scheme - I Sample Question Paper Marks : 70 Time: 3 Hrs. Q.1) Attempt any FIVE of the following. 10 Marks a. Write any four applications of data structure. b. Sketch the diagram of circular queue. c. State the following terms: 1. Ancestor 2.Height of Degree d. Show the memory representation of Stack using array with the help of a diagram. e. Define Abstract Data Type. f. Convert the following infix expression to its postfix form using stack A + B C*D/E + F. g. Describe given two types of graphs: Directed and undirected graph. Q.2) Attempt any THREE of the following. a. Explain the working of Radix Sort Method with an example. b. Write algorithm to delete an intermediate node from a Singly Linked List. c. Explain stack overflow and underflow conditions with example. d. Differentiate between tree and graph w.r.t. any 4 parameters. Q.3) Attempt any THREE of the following. a. Implement C Program for performing following operations on Array : Insertion, Display. b. Convert the following infix expression to its prefix form using stack A + B C*D/E + F. Show diagrammatically each step of conversion. 1

c. Sort the following numbers in ascending order using Insertion sort. Given Numbers : 348, 14, 614, 5381, 47 and Write the output after each iteration. d. For the following directed graph : i) Give adjacency matrix representation. ii) Give adjacency list representation. Q.4) Attempt any THREE of the following. a. Differentiate between Binary Search and Sequential Search. b. Construct the binary search tree using following elements: 35,15,40,7,10,100,28,82,53,25,3. Show diagrammatically each step of construction of BST. c. Create a Singly Linked List using data fields 10, 20, 30, 40, 50 and show procedure step-bystep with the help of diagram from start to end. d. Show the effect of INSERT and DELETE operations on to the Linear queue of size 10. The Linear queue sequentially contains 10, 20, 30, 40, and 50 where 10 is at front of the queue. Show diagrammatically the effect of - 1. INSERT (12) 2. INSERT (34) 3. DELETE 4. INSERT (56) e. Create a Singly Linked List using data fields 10, 20, 30, 40, 50 and show procedure step-bystep with the help of diagram from start to end. Q.5) Attempt any TWO of the following. a. Show the effect of PUSH and POP operation on to the stack of size 10. The stack contains 10, 20, 22, 26, 28, and 30, with 30 being at top of the stack. Show diagrammatically the effect of- 1.PUSH 46 2.PUSH 48 3.POP 2

b. 4.POP 5.POP Sketch the final structure of Stack after performing the above said operations.sketch the final structure of Stack after performing the above said operations. From the given tree complete six answers : 1. Degree of tree : 2. Degree of node 3 : 3. Level of node 5 : 4. Indegree of node 3 : 5. Outdegree of node 3 : 6. Height of tree : c. Write an algorithm to count number of nodes in singly linked list. Q.6) Attempt any TWO of the following. a. Sort the following numbers in ascending order using Bubble sort. Given Numbers : 348, 14, 614, 5381, 47 and Write the output after each iteration b. Evaluate the following prefix expression : - * + 4 3 2 5 Show diagrammatically each step of evaluation using stack. c. Create a Singly Linked List using data fields 10, 20, 30, 40, 50. Search a node 40 from the SLL and show procedure step-by-step with the help of diagram from start to end. 3

Scheme I Sample Test Paper - I Marks : 20 Time: 1 Hour Q.1 Attempt any FOUR. 08 Marks a) Differentiate between Linear and Non-linear data structures w.r.t. any 2 parameters. b) Define searching and give its type. c) List any four operations on data structure. d) Define sorting and give its type. e) Explain the term: time complexity. f) List any four sorting techniques. Q.2 Attempt any THREE. a) Implement C Program for performing following operations on Array: Insertion, Display. b) With explanation sort the given no. in ascending order using radix sort. Given Numbers : 348, 14, 614, 5381, 47 c) Find the position of element 29 using binary search method in an array A given below : A = {11, 5, 21, 3, 29, 17, 2, 43} d) Write an algorithm for Selection sort. 4

Scheme I Sample Test Paper - II Marks : 20 Time: 1 Hour Q.1 Attempt any FOUR. 08 Marks a) Give any two applications of stack. b) Draw the diagram of queue to represent front and rear pointers of queue. c) Describe any two terms from the following : Node, Null pointer, empty list with respect to linear linked list with diagram.. d) Describe any two terms from the following : information Field/ Data field, Address, Next Pointer with respect to circular linked list with diagram.. e) Give any two applications of Graph. f) Describe any two types of trees from the following : General tree, binary tree, binary search tree. Q.2 Attempt any THREE. a) Write algorithm to insert an element into a linear queue. b) Convert the following Infix expression to its Postfix form using stack A + B C * D / E + F. Show diagrammatically each step of conversion using Stack. c) Create a Singly Linked List using data fields 10,20,30,40,50. And sketch stepwise procedure from start to end. d) Construct the binary search tree using following elements : 35,15,40,7,10,100,28,82,53,25,3. Show diagrammatically each step of construction of BST. 5