Similar documents
Question Paper Code : 97044

Department of Information Technology

SRI VENKATESWARA COLLEGE OF ENGINEERING. COURSE DELIVERY PLAN - THEORY Page 1 of 6

OBJECT ORIENTED DATA STRUCTURE & ALGORITHMS

Get Unique study materials from

VALLIAMMAI ENGINEERING COLLEGE

SRM ARTS AND SCIENCE 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)

SARDAR RAJA COLLEGE OF ENGINEERING

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

Analysis of Algorithms

2. (a) Explain the concept of virtual functions in C++ with suitable examples. (b) Explain the concept of operator overloading in C++.

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

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

MaanavaN.Com CS1203 OBJECT ORIENTED PROGRAMMING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

Data Structures and Algorithm Analysis in C++

Chapter 1 Introduction

I BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination. June, 2015 BCS-031 : PROGRAMMING IN C ++

VALLIAMMAI ENGINEERING COLLEGE

CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE

Object Oriented Programming with c++ Question Bank

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

M.C.A DEGREE EXAMINATION,NOVEMBER/DECEMBER 2010 Second Semester MC 9222-OBJECT ORIENTED PROGRAMMING (Regulation 2009)

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

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF INFORMATION TECHNOLOGY OBJECT ORIENTED PROGRAMMING QUESTION BANK UNIT I 2 MARKS

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

CGS 2405 Advanced Programming with C++ Course Justification

Overview of Data Structures, Algorithm Analysis

Course Review for Finals. Cpt S 223 Fall 2008

SAURASHTRA UNIVERSITY

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

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

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

C++ (Non for C Programmer) (BT307) 40 Hours

10CS36: Object Oriented Programming with C++

Department of Computer Applications. MCA 312: Design and Analysis of Algorithms. [Part I : Medium Answer Type Questions] UNIT I

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

M.Sc. (Computer Science) I Year Assignments for May Paper I DATA STRUCTURES Assignment I

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

Department of Information Technology. II B.Tech I Sem. DATA STRUCTURES THROUGH C++ (Subject code# 53023) Dept of IT

Time: 3 HOURS Maximum Marks: 100

Course Text. Course Description. Course Objectives. StraighterLine Introduction to Programming in C++

Thomas H. Cormen Charles E. Leiserson Ronald L. Rivest. Introduction to Algorithms

DATA STRUCTURES THROUGH C++

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

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

(the bubble footer is automatically inserted into this space)


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

CSci 231 Final Review

CHAPTER 1 Introduction to Computers and Programming CHAPTER 2 Introduction to C++ ( Hexadecimal 0xF4 and Octal literals 031) cout Object

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

Short Notes of CS201

10. Abstract Data Types

M.Sc. (Previous) DEGREE EXAMINATION, MAY (Examination at the end of First Year) Computer Science. Paper - I : DATA STRUCTURES

CS201 - Introduction to Programming Glossary By

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

XII- COMPUTER SCIENCE VOL-II MODEL TEST I

Data Structures in C++ Using the Standard Template Library

SECOND SEMESTER JAVA PROGRAMMING

Object Oriented Programming. Solved MCQs - Part 2

Introduction to Algorithms Third Edition

CLASSES AND OBJECTS IN JAVA

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

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

4.1.2 Merge Sort Sorting Lower Bound Counting Sort Sorting in Practice Solving Problems by Sorting...

END TERM EXAMINATION

9. Which situation is true regarding a cascading cut that produces c trees for a Fibonacci heap?

Preface to the Second Edition Preface to the First Edition Brief Contents Introduction to C++ p. 1 A Review of Structures p.

END-TERM EXAMINATION

CS521 \ Notes for the Final Exam

CS 162, Lecture 25: Exam II Review. 30 May 2018

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

BACHELOR OF COMPUTER APPLICATIONS (BCA)

VALLIAMMAI ENGINEERING COLLEGE

Object Oriented Programming

CISC 3130 Data Structures Spring 2018

Algorithm Design (8) Graph Algorithms 1/2

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

Learning Objectives. C++ For Artists 2003 Rick Miller All Rights Reserved xli

SUGGESTION : read all the questions and their values before you start.

Syllabus of C++ Software for Hands-on Learning: This course offers the following modules: Module 1: Getting Started with C++ Programming

( ) n 3. n 2 ( ) D. Ο

Graph Algorithms (part 3 of CSC 282),

ECE250: Algorithms and Data Structures Final Review Course

San José State University Department of Computer Science CS-144, Advanced C++ Programming, Section 1, Spring 2018

CS490 Quiz 1. This is the written part of Quiz 1. The quiz is closed book; in particular, no notes, calculators and cell phones are allowed.

DESIGN AND ANALYSIS OF ALGORITHMS

Object-Oriented Programming

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

R13 SET - 1. ''' '' ''' ' blog: anilkumarprathipati.wordpress.com. Code No: RT32054

( ) D. Θ ( ) ( ) Ο f ( n) ( ) Ω. C. T n C. Θ. B. n logn Ο

KLiC C++ Programming. (KLiC Certificate in C++ Programming)

COMP 251 Winter 2017 Online quizzes with answers

BASIC CONCEPT OF OOP

2) Explain in detail about different AVL rotation applied on unbalanced trees.

M.Sc. (Previous) DEGREE EXAMINATION, MAY (Examination at the end of First Year) Computer Science. Time : 03 Hours Maximum Marks : 75

B.C.A 2017 OBJECT ORIENTED PROGRAMMING USING C++ BCA303T MODULE SPECIFICATION SHEET

CSCE 310 Assignment 3 Summer 2018

The Foundation of C++: The C Subset An Overview of C p. 3 The Origins and History of C p. 4 C Is a Middle-Level Language p. 5 C Is a Structured

Transcription:

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Year & Semester : II / III Section : CSE - 1 & 2 Subject Code : CS 6301 Subject Name : Programming and Data structure II Degree & Branch : B.E C.S.E. Staff in charge : Ms. N.Meenakshi & Ms.R.Anitha UNIT-I 1. Define object oriented programming 2. Define Object. 3. Define Class. 4. Define Encapsulation. 5. Define Data Hiding. 6. Define Data Abstraction. 7. Define Data Members. 8. Define Constructor. 9. List the Types of Constructor. 10. Define Static Member. 11. List the storage class in C++. 12. List out the operators used in pointer concepts. 13. Define Pointer Variable. 14. What is the use of Scope resolution operator. 15. What is call by reference and address 16. State the Advantages of Default Argument. 17. Define Constant members. 18. Define Copy Constructor. 19. Difference between Copy Constructor and Assignment Constructor. 20. Define this pointer. Prepared By Ms. N.Meenakshi & Mr.R.Anitha Page 1

1. Explain the basic features of Object oriented programming in C++.(16) 2. Difference between Struct and Class in also illustrate with Example.(8) 3. Explain briefly about Constructor and it types with suitable Example.(16) 4. Explain about Storage Classes in C++ with Examples(16). 5. Explain about static members with suitable example.(8). 6. Explain the following (8) i) Pointer object. ii) This pointer. 7. Explain about call by reference and return by reference with C++ Programs(16) 8. Write a C++ program to get and display employee details using class and object.(16) 9. Write a C++ program to get and display student details using static members.(16) 10. Write a C++ program to use destructor and constructor in C++.(10) UNIT-2 1. What is String iterator? 2. Define String Constructor. 3. List the String Errors. 4. Define Copy Constructor. 5. Define Polymorphism 6. List the types of polymorphism. 7. What is function overloading? 8. Define operator overloading. 9. List the operator cannot overload in C++. 10. List the Advantage and disadvantage of operator overloading. 11. How we achieve dynamic memory allocation in C++? 12. What is nested Class? 13. Define inheritance. 14. List the types of inheritance. 15. Difference between multi level and multiple inheritance. 16. Define Virtual Function. 17. Define pure Virtual function. 18. What is Virtual table.? 19. What is Virtual Destructor? 20. How to implement default argument with Virtual function Prepared By Ms. N.Meenakshi & Mr.R.Anitha Page 2

1. Explain briefly about Copy Constructor with example program in C++. 2. Explain briefly about Inheritance with example program in C++. 3. Explain about the function overloading with suitable example program in C++. 4. Explain the syntax of operator overloading.how many arguments are needed in the definition of an overloaded binary operator with and without friend function and give example 5. Explain about the operator overloading through friend function with example program. 6. Write a C++ program to add two complex number using operators overloading. 7. Explain about nested class with suitable example. 8. Explain briefly about virtual function with suitable example program. 9. Write a C++ program the takes two values of Time(hr,min,sec) and the sum using constructor and operator overloading 10. Consider a fruit basket class with no of apples, no of mangos as data member. Overload the + operator to add two object of the class UNIT-3 1. Define Abstract class. 2. Define Exception Handling. 3. Define STL 4. List the types of STL components. 5. What is Container and its types. 6. What are the advantages of using container. 7. Difference between sequence and sorted associative container. 8. What is iterator. 9. What is the use of allocator. 10. What is meant by adaptors container? give Example. 11. Define template. 12. List the types of Template. 13. What are the advantages of Template. 14. What is parameterized class. 15. List the various file modes in the C++ 16. What is file pointer.? 17. Give a syntax reading a binary file. 18. Give a syntax for writing a binary file. 19. List the types to open the binary file. Prepared By Ms. N.Meenakshi & Mr.R.Anitha Page 3

20. List the types to close the binary file. PART-B 1. Explain the Exceptional handling with suitable diagram and example. 2. Explain briefly about template concepts. 3. Explain briefly about File Handling in C++.. 4. Write a C++ program to implement linked list concept using template. 5. Explain about Iterator with suitable example. 6. Explain about function adapters with suitable example. 7. Explain about allocator with suitable example. 8. Write a C++ program to sort the data using template. 9. Define a template class stack and implement all possible functionality of a stack. 10. Write a program to implement a Random Access File. UNIT-4 1. Define non linear datastructure. 2. Define AVL tree. 3. List the rotations in AVL Tree. 4. How to calculate the balancing facor in AVL Tree 5. Define red- Black tree. 6. What is the searching time for Red Black tree. 7. List the properties of Red-Black Tree. 8. What are the properties of B-Tree. 9. What are the rules for B-Tree. 10. What is Splay Tree. 11. List the Rotation in Splay Tree. 12. Define Binomial Heap. 13. What are the operations performed in Binomial Heap. 14. What is Amortized Analysis. 15. Define Aggregate Analysis. 16. Define FibacciHeap. 17. List the Operations in FibonacciHeap. 18. What is Deletmin in FibonacciHeap. 19. What is Accounting method. 20. What is potential method. Prepared By Ms. N.Meenakshi & Mr.R.Anitha Page 4

1. Explain AVL Tree with Suitable example. 2. Explain B-Tree with Suitable example. 3. Explain Red-BlackTree with Suitable example. 4. Explain Splay Tree with Suitable Example. 5. Explain BinamialGHeap with Suitable example. 6. Explain fibonacciheap with Suitable example 7. Explain briefly about disjoint set. 8. Build an AVL tree with the following values: 15, 20, 24, 10, 13, 7, 30, 36, 25 and Delete 13 and 25. 9..Build an Splay tree with the following values: 9 2 90 53 4 64 95 59 10.Build an Red-Black tree with the following values: 15, 20, 24, 10, 13, 7, 30, 36, 25 UNIT-5 1. Define Graph. 2. Compare Tree and Graph. 3. List the representation of Graph. 4. What is Graph traversal. 5. Define BFS. 6. Define DFs. 7. Compare BFS and DFS. 8. Define Topological Sort. 9. Define Indegree and out degree. 10. What is Minimum Spanning Tree. 11. What is Kruskal? 12. What is Prim? 13. Compare Kruskal and Prim. 14. Define Shortest path. 15. Write Dijktras Algorithm. 16. Write Bellman ford algorithm. 17. Write Floyd-warshall Algorithm. 18. Compare Bellman and Floyd. 19. Define Single source shortest path algorithm. 20. Define all pair shortest path algorithm. Prepared By Ms. N.Meenakshi & Mr.R.Anitha Page 5

1. Explain about BFS with suitable example. 2. Explain about DFS with suitable example. 3. Explain about Topological Sort with suitable example. 4. Explain about Kruskal algorithm with suitable example. 5. Explain about Prims with suitable example. 6. Explain about Dijktra s algorithm with suitable example. 7. Explain about Bellman-Ford algorithm with suitable example. 8. Explain about Floyd-warshall with suitable example. 9. Narrate Shortest path algorithm 10. Explain about various representation of trees in detail. Prepared By Ms. N.Meenakshi & Mr.R.Anitha Page 6