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

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

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

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

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

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

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

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

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

17CS33:Data Structures Using C QUESTION BANK

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

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

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

Department of Computer Science and Technology

A6-R3: DATA STRUCTURE THROUGH C LANGUAGE

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

A6-R3: DATA STRUCTURE THROUGH C LANGUAGE

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

PESIT Bangalore South Campus Department of MCA Course Information for

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

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

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

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

DATA STRUCTURE : A MCQ QUESTION SET Code : RBMCQ0305

INSTITUTE OF AERONAUTICAL ENGINEERING

VALLIAMMAI ENGINEERING COLLEGE

DYNAMIC MEMORY ALLOCATION AND DEALLOCATION

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

1. Attempt any three of the following: 15

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

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING UNIT-1

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Reg. No. : Question Paper Code : 27157

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

Largest Online Community of VU Students

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.

Sample Question Paper

R. C. TECHNICAL INSTITUTE, SOLA

EC8393FUNDAMENTALS OF DATA STRUCTURES IN C Unit 3

CS 445: Data Structures Final Examination: Study Guide

Overview of Data Structures, Algorithm Analysis

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

CS302 Data Structures using C++

DATA ABSTRACTION AND PROBLEM SOLVING WITH JAVA

MLR Institute of Technology

CS301 - Data Structures Glossary By

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

DATA STRUCTURES THROUGH C++

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

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

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.

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

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

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

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

DATA STRUCTURES USING C

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

DS ata Structures Aptitude

About this exam review

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

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

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

DATA STRUCTURES AND ALGORITHMS

Algorithms: Design & Practice

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

List of Transparencies

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

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

Summer Final Exam Review Session August 5, 2009

Data Structure (CS301)

AP Computer Science 4325

Data Structures Through C. Student Workbook

Data Structures Question Bank Multiple Choice

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

Question Paper Code : 97044

182 review 1. Course Goals

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

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

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

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

CS8391-DATA STRUCTURES QUESTION BANK UNIT I

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

COURSE: DATA STRUCTURES USING C & C++ CODE: 05BMCAR17161 CREDITS: 05

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

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

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

8. Write an example for expression tree. [A/M 10] (A+B)*((C-D)/(E^F))

DATA STRUCTURE. 1- What data structure can be used to check if a syntax has balanced paranthesis? A - queue B - tree C - list D - stack

CS DATA STRUCTURES AND ALGORITHMS

OBJECT ORIENTED DATA STRUCTURE & ALGORITHMS

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

Data Structures and Algorithm Analysis in C++

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

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

Computer Science E-22 Practice Final Exam

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

MIDTERM EXAMINATION Spring 2010 CS301- Data Structures

CS 8391 DATA STRUCTURES

Linear Data Structure

SAURASHTRA UNIVERSITY

Transcription:

Prepared By ASCOL CSIT 2070 Batch Institute of Science and Technology 2065 Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 154) Pass Marks: 24 (Data Structure and Algorithm) Time: 3 hours. Candidates are required to give their answers in their own words as for as practicable. Attempt any TWO questions: Section A (10x2=20) 1. What do you mean by binary tree? Explain the binary search tree with example. 2. What do you mean by recursion? Explain the implementation of factorial and Fibonacci sequences with example. 3. Explain the implementation of stack and queue with example. Attempt any EIGHT questions: 4. What are the difference between two dimension array and multidimension array? 5. What are the major characteristics of algorithms? 6. How can you convert from infix to post fix notation? 7. How can you use Queue as ADT? 8. What is Post-order traversal? 9. What is sorting? Describe the Insertion. 10. Explain the binary searching. 11. Differentiate between Pre-order and In order traversal. 12. Explain the tower of Hanoi algorithm. 13. Explain the Kruskal s algorithm. csitascolhelp.blogspot.com

Prepared By ASCOL CSIT 2070 Batch Institute of Science and Technology 2066 Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 154) Pass Marks: 24 (Data Structure and Algorithm) Time: 3 hours. Candidates are required to give their answers in their own words as for as practicable. Section A Attempt any TWO questions. (10x2=20) 1. Write a menu program to demonstrate the simulation of stack operations in array implementation. 2. State relative merits and demerits of contiguous list and Linked list. Explain the steps involved in inserting and deleting a mode in singly linked list. 3. A binary tree T has 12 nodes. The in-order and pre-order traversals of T yield the following sequence of nodes: In-order : VPNAQRSOKBTM Pre-order : SPVQNARTOKBM Construct the Binary tree T showing each step. Explain, how you can arrive at solution in brief? Attempt any EIGHT questions. 4. Consider the function: Void transfer (int n, char from, char to, char temp) { if (n > 0) { transfer ( n 1, from, temp, to_; Print if ( In Move Disk % d from % C to % C N, from, to); Transfer ( n 1, temp, to, from); } Trace the output with the function Cell! Transfer ( 3, R, L, C ); 5. To write an efficient program, we should know about data structures. Explain the above statement. 6. Write C function to display all the items in a circular queue in array implementation. Write assumptions, you need. 7. Explain Divide and Conquer algorithm taking reference to Merge Sort.

1CSc.154-2066 8. Trace Binary Search algorithm for the data: 21, 36, 56, 79, 101, 123, 142, 203 And Search for the values 123 and 153. 9. Differentiate between tree and graph. What are spanning forest and spanning tree. Explain MST (Minimum cost Spanning Tree) problem. 10. A file contains 100 symbols in which following character with their probability of occurrence. Build a Huff man tree according to Greedy Strategy. a 48 b 11 c 9 d 14 e 7 f 11 11. Explain the use of Big O notation in analyzing algorithms. Compare sorting time efficiencies of Quick-Sort and Merge-Sort. 12. Explain CLL, DLL, DCLL (Circular, Doubly, Doubly Circular Linked List). 13. Write Short notes on (any two): a) Hash function b) External Sorting c) ADT.

Prepared By ASCOL CSIT 2070 Batch Institute of Science and Technology 2067 Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSC 154) Pass Marks: 24 (Data Structure and Algorithm) Time: 3 hours. Candidates are required to give their answers in their own words as for as practicable. Section A Attempt any two questions. (2x10=20) 1. Define stack as ADT. Describe its primitive operations on Array implementation and linked list implementation. 2. Describe properties of Binary Search Tree. Write recursive algorithms for constructing BST and its traversals. Illustrate them with an example. 3. What are external and internal sorting? Explain partition strategies of Merge sort and Quick sort. Trace these sort algorithms for following data: 11 45 61 33 55 9 83 25 Attempt any eight questions. 4. Write recursive algorithm to get Fibonacci term. Illustrate it drawing recursion tree. 5. Construct an expression tree from the following postfix: AB + C*DC -FG + $ 6. Differentiate between Singly linked list, DLL, CLL and DCLL. 7. Describe circular Queue operations in array implementation. 8. Compare and Contrast between Binary searching and Binary tree searching. 9. State collision resolution techniques in hashing. Explain double hashing and quadratic probing techniques. 10. State MST (Minimum Cost Spanning Tree) problem and shortest path (single source and all other destination) problem. Name the algorithms for solving these problems. 11. Justify the statement: To write an efficient program, we should know about data structures and algorithms. 12. Discuss the merits and demerits of contiguous list and linked list. 13. What is priority queue? How it is best implemented?

Presented By ASCOL CSIT 2070 Batch Institute Of Science and Technology 2068 Computer Science and Information Technology (CSc. 154) (Data Structure and Algorithm) Candidates are required to give their answers in their own words as far as practicable. Section (A) Attempt any two questions: (10x2=20) 1. Define Queue as an ADT. Write a program for basic operations in Linear queue in array implementation. 2. Why recursion is required? Explain with Tower-of-Hanoi example. How recursive algorithm makes program effective? Write the merits and demerits of recursion in Programming. 3. Explain In-fix to Postfix Conversion Algorithm. Illustrate it with an example. What changes should be made for converting postfix to prefix. Attempt any eight questions: 4. Explain Kruskal s algorithm with example. 5. Write a program in C for bubble sorting. 6. Differentiate between contiguous list and linked list with examples. 7. Explain binary search. Illustrate it with example. 8. Explain hashing with example. 9. Explain why linked list is called dynamic list? Write the algorithm for deleting a new node before a node. 10. Explain the characteristics of Huffman s algorithm and its application. 11. Write merits and demerits of recursive function over non-recursive function. 12. Write the steps involved in deleting a node in a Binary selection tree. 13. Discuss merge sort. How you rate this sorting from selection sort?

Presented By ASCOL CSIT 2070 Batch Institute Of Science and Technology 2069 Computer Science and Information Technology (CSc. 154) Full Marks: 60 (Data Structure and Algorithm) Pass Marks: 24 Candidates are required to give their answers in their own words as far as practicable. Section (A) Attempt any two questions: (2x10=20) 1. Define Queue as ADT. Describe its primitive operation on array implementation and linked list implementation. 2. Describe the significance of Huffman tree. Describe procedure for construction of a Huffman tree. Illustrate it with example. Describe different types of applications of Binary trees. 3. Explain the algorithms for infix to postfix conversion and evaluation of postfix expression. Trace the algorithms with suitable example. Section (B) Attempt any eight questions: 4. State TOH problem. Write recursion tree when no. of disks are four. 5. Write about applications of Binary trees. 6. Compare partition strategies of Merge sort and Quick sort. 7. Explain Bubble sort algorithm. Illustrate it with an example. 8. How do you insert a nodes at last in doubly linked list? Explain. 9. Describe recursive procedure of Binary searching technique? Discuss about efficiency of Binary searching. 10. What are Hashing and collision? Write about any three hashing algorithms. 11. What is Big O notation? Analyze any one sorting algorithm. 12. Describe strong and weekly connected graphs with examples. What is weighted graph? 13. State relative merits & demerits of contiguous list and linked list.

Presented By ASCOL CSIT 2070 Batch Institute Of Science and Technology 2070 Computer Science and Information Technology (CSc. 154) Full Marks: 60 (Data Structure and Algorithm) Pass marks: 24 Candidates are required to give their answers in their own words as far as practicable. Section (A) Attempt any two questions: (2x10=20) 1. Trace out Infix to Postfix conversion algorithm with given Infix expression. A + (((B-C) * (D-E) + F)/G) $ (H-I) Evaluate the postfix expression acquired from above for the given values: A = 6, B = 2, C = 4, D = 3, E = 8, F = 2, G = 3, H = 5, I = 1. 2. Explain the structure of Doubly Linked List (DLL). Differentiate the difference between DLL and Doubly Circular Linked List (DCLL). Explain the procedures to insert a node in DLL at the beginning and at the last. 3. Define Binary Search Type (BST). Write an algorithm to insert a node in non-empty BST. Construct BST from the data: 10, 20, 30, 25, 27, 7, 4, 23, 26, 21. Attempt any eight questions: (5x8=40) 4. Write C function to insert an item circular queue in array implementation. Write assumptions, you need. 5. What is an algorithm? What is to analyze in algorithm? Define Big C = Oh notation for time complexity measurement of algorithm. 6. State TOH problem. Explain a recursive algorithm to solve the problem. 7. Trace selection sort algorithm for the following data: 42, 23, 74, 11, 65, 58, 94, 86 8. What is Hashing? What collision means? State collision resolution techniques. Explain one of them in brief. 9. What is weighted graph? Explain Depth-first traversal of a graph. 10. Create a Huffman tree for the following set of data: Characters a b c d e f Probability 48 13 11 16 07 05 Encode 0 101 100 111 1101 1100

11. What is dynamic memory allocation? How it is achieved for declaring low dimensional array? Explain. 12. Explain efficiency of a) Binary Searching b) Quick sort 13. Write short notes on (any two): a) Queue in circular linked list b) ADT c) MST (Minimum Cost Spanning Tree) of a graph.

Presented By ASCOL CSIT 2070 Batch Institute Of Science and Technology 2071 Computer Science and Information Technology (CSc. 154) Full Marks: 60 (Data Structure and Algorithm) Pass Marks: 24 Candidates are required to give their answers in their own words as far as practicable. Section (A) Attempt any two questions: (2x10=20) 1. What is stack? How is it different from queue? Write a program to implement all stack operations. 2. What is linked list? Explain the process of inserting and removing nodes from a linked list. 3. What is graph traversal? Discuss depth-first traversal technique with suitable example. Attempt any eight questions: 4. Discuss array as an ADT. Section (B) 5. Transform the postfix expression AB C + DEF + $ to infix. 6. What is recursion? Write a recursive program to find factorial of a number. 7. Explain almost complete binary tree with example. 8. Write a program to sort an array using selection sort. 9. Discuss binary search technique along with its efficiency. 10. Why do we need Hashing? Discuss linear probing in detail. 11. How to find complexity of algorithms? Explain. 12. Hand test the insertion sort algorithm with following array of numbers. 16 7 31 2 9 41-10 13. Write short notes on: a. Tree traversal b. Circular queue

ASCOL CSIT 2070 Batch Institute of Science and Technology 2072 Bachelor Level/ First Year/ Second Semester/ Science Full Marks: 60 Computer Science and Information Technology (CSc. 154) Pass Marks: 24 (Data Structure and Algorithm) Time: 3 hours. Candidates are required to give their answers in their own words as far as practicable. Section A Attempt any TWO questions: (2x10=20) 1. What is binary search tree? Explain with an example. Write an algorithm to search, insert and delete node in binary search tree. 2. What is Postfix expression? Write an algorithm to evaluate value of postfix expression. Trace the following expression into postfix expression. (A+B*C) + D E/ F) 3. What is circular queue? Write an algorithm and C function to implement Circular queue. Attempt any EIGHT questions: 4. What is Recursion? Write a recursive algorithm to implement binary search. 5. Differentiate between array and pointer with example. 6. What is an algorithm? Write down the features of an algorithm. 7. How stack as ADT? Explain with example. 8. Write an algorithm and C function to delete node in singly link list. 9. Write an algorithm and C function for merge sort. 10. What do you mean by graph traversal? Explain primes algorithm with example. 11. Differentiate between selection sort and bubble sort. 12. Write an algorithm to implement tower of Hanoi. 13. Write short notes on a) Hashing b) Doubly Link list