TIME: 3 HOURS MARKS: a. Develop a java program to sort an array of N numbers in ascending order. (40)

Similar documents
Revised time table of BCA (2011 admission) record submission

List of Practical for Class XII Computer Science

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

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

MULTIMEDIA COLLEGE JALAN GURNEY KIRI KUALA LUMPUR

PROGRAMMING IN C AND C++:

(Following Paper ID and Roll No. to be filled by the student in the Answer Book)

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

Reg. No. : Question Paper Code : 27157

ANNA UNIVERSITY: CHENNAI B.E./B.Tech. DEGREE EXAMINATIONS, JAN Regulations First Semester (Common to All Branches )

Computer Science & Engineering. Second Year

Practical List of. MCA IV SEM Session -2010

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

UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING

VALLIAMMAI ENGINEERING COLLEGE

Sai Nath University. Assignment For BCA 3 RD Sem.

MASTER OF COMPUTER APPLICATIONS (Revised) (MCA) Term-End Practical Examination June, 2014 SECTION A

VALLIAMMAI ENGINEERING COLLEGE

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

Write a java program to prints the count of odd and even no s entered.

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

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

VALLIAMMAI ENGINEERING COLLEGE SRM NAGAR, KATTANGULATHUR

Reg. No. : Question Paper Code : B.E./B.Tech. DEGREE EXAMINATION, JANUARY First Semester GE 6151 COMPUTER PROGRAMMING

Lab Manual. Program Design and File Structures (P): IT-219

CSE 212 : JAVA PROGRAMMING LAB. IV Sem BE (CS&E) (2013) DEPT OF COMPUTER SCIENCE & ENGG. M. I. T., MANIPAL. Prepared By : Approved by :

ALIGARH MUSLIM UNIVERSITY Department of Computer Science. JAVA Lab Assignment Course: MCA II nd Semester Academic Session:

12 Abstract Data Types

Sardar Patel University S Y BSc. Computer Science CS-201 Introduction to Programming Language Effective from July-2002

Name of subject: JAVA PROGRAMMING Subject code: Semester: V ASSIGNMENT 1

COMPUTER SCIENCE Paper 2 (PRACTICAL)

VALLIAMMAI ENGINEERING COLLEGE

Time: 3 HOURS Maximum Marks: 100

17CS33:Data Structures Using C QUESTION BANK

COMPUTER PROGRAMMING LAB

Question Paper Code : 97044

Syllabus of Diploma Engineering. Computer Engineering. Semester: II. Subject Name: Computer Programming. Subject Code: 09CE1104

(DMCA 101) M.C.A.(Previous) DEGREE EXAMINATION, MAY 2006 PAPER - I - INFORMATION TECHNOLOGY

Ascending. Load. Descending. Save. Exit. Numbers

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

Answer any Five Questions. All questions carry equal marks.

Subject: Computer Science

CORE JAVA TRAINING COURSE CONTENT

LIST OF EXPERIMENTS. (1) (Office Automation)

Laboratory Manual. B. Sc. (Hons.) Computer Applications III Semester. Laboratory Course III: CCB 3P1

SECOND SEMESTER BCA : Syllabus Copy

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

INSTITUTE OF AERONAUTICAL ENGINEERING

Sample Question Paper

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

PESIT Bangalore South Campus Department of MCA Course Information for

B. V. Patel Institute of Business Management, Computer & Information Technology, UTU 2013

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

Suggestive List of C++ Programs

Computer Programming C++ (wg) CCOs

Programming for Problem Solving 105A L T P Credit Major Minor Total Time

HIGER SECONDARY FIRST YEAR COMPUTER SCIENCE

BACHELOR OF COMPUTER APPLICATIONS (BCA)

PRACTICAL LIST FOR ODD SEMESTERS Session (PGDCA/MCA/MSC (CS))

Name CPTR246 Spring '17 (100 total points) Exam 3

Advanced C Programming and Introduction to Data Structures

CHOICE BASED CREDIT SYSTEM (With effect from )

Largest Online Community of VU Students

M.C.A. DEGREE EXAMINATION, MAY First Year. Paper I INFORMATION TECHNOLOGY. SECTION A (3 15 = 45 marks) Answer any THREE of the following.

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

Syllabus for Bachelor of Technology. Computer Engineering. Subject Code: 01CE1303. B.Tech. Year - II

Questions Bank. 14) State any four advantages of using flow-chart

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

Index. Anagrams, 212 Arrays.sort in O(nlogn) time, 202

END TERM EXAMINATION

Course Code Course Name Theory Practical Tutorial Theory TW/Practical Tutorial Total. Internal assessment. End Sem. Exam. Avg.

Computer Science Spring 2005 Final Examination, May 12, 2005

PDS Lab (Assignment 1) Date: 31 st July, 2017 (2-6 pm)

FUNDAMENTALS OF MICROPROCESSOR AND MICROCONTROLLER (FMM) SHREE RAMCHANDRA EDUCATION SOCIETY S DEPARTMENY OF ELECTRICAL ENGINEERING LAB MANUAL

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

COMPUTER SCIENCE Paper 1

Data Structure (CS301)

Babaria Institute of Technology Computer Science and Engineering Department Practical List of Object Oriented Programming with C

Computer Science 302 Spring 2007 Practice Final Examination: Part I

Object Oriented Programming 2012

Page 1 of 7 SCAA Dt

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

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

Get Unique study materials from

I Year MCA I Semester L T P To C FOUNDATIONS OF INFORMATION TECHNOLOGY

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

DHANALAKSHMI COLLEGE OF ENGINEERING Tambaram, Chennai

(i) Describe in detail about the classification of computers with their features and limitations(10)

Stacks. Chapter 5. Copyright 2012 by Pearson Education, Inc. All rights reserved

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

MASTER OF COMPUTER APPLICATIONS (MCA)

SAURASHTRA UNIVERSITY

INDIAN SCHOOL MUSCAT COMPUTER SCIENCE(083) CLASS XI

Object Oriented Programming with JAVA

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

Do not turn over until you are told to do so by the Invigilator.

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

General Instructions. You can use QtSpim simulator to work on these assignments.

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

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

Transcription:

ANNA UNIVERSITY: CHENNAI-600 025 B.E/B.TECH DEGREE EXAMINATIONS, OCT/NOV. 2013 Regulations -2008 Fifth Semester B.TECH INFORMATION TECHNOLOGY IT2305 JAVA PROGRAMMING LAB TIME: 3 HOURS MARKS: 100 1. a. Develop a java program to sort an array of N numbers in ascending order. (40) b. Develop a java program for implementing a queue data structure using linked list. Perform the following operations: (50) i. Insert an element ii. Delete an element 2. a. Develop a java program to sort an array of N names alphabetically. (40) b. Develop a java program for implementing a stack data structure using linked list. Perform push and pop operations. (50) 1

3. a. Develop a java program to perform linear search on an array of N numbers. (40) b. Develop a java program for implementing a stack data structure using linked list. Perform push and pop operations. (50) 4. a. Develop a java program to perform binary search on a sorted array of N numbers. (40) b. Develop a java program for implementing a singly linked list data structure. Perform the following operations: (50) i. Insert a node ii. Delete a node 5. a. Develop a java program to sort an array of N names alphabetically. (40) b. Develop a java program for implementing a queue data structure using linked list. Perform the following operations: (50) i. Insert an element ii. Delete an element 2

6. a. Develop a java program to perform binary search on a sorted array of N numbers. (40) b. Develop a java program for implementing a singly linked list data structure. Perform the following operations: (50) i. Insert a node ii. Delete a node 7. a. Develop a java program to perform the following: (40) Define a class named COMPLEX for representing complex numbers that contains necessary data members and member functions. A complex number has the general form a + ib, where a is the real part and b is the imaginary part (i stands for imaginary). Include methods for all the four basic arithmetic operators. b. Develop a java program to copy the contents of one file in to another. (50) 3

8. a. Develop a java program to find the greatest of N numbers. (40) b. Develop a Java program to define a class called Account which contains two private data elements, an integer account number and a floating point account balance, and three methods: (50) A constructor that allows the user to set initial values for account number and account balance and a default constructor that prompts for the input of the values for the above data members. A method which reads a character value for transaction type (D for deposit and W for withdrawal), and a floating point value for transaction amount, and updates account balance. A method, which prints on the screen the account number and account balance. 4

9. a. Develop a java program to perform the following: (40) Define a class to represent a bank account. Include the following: Data members: Name of the depositor Account number Type of account Balance amount in the account Member functions: To assign initial values To deposit an amount To withdraw an amount after checking the balance To display account number, name and balance b. Develop a java program to copy the contents of one file in to another. (50) 5

10. a. Develop a java program to perform the following: (40) Define a class named COMPLEX for representing complex numbers that contains necessary data members and member functions. A complex number has the general form a + ib, where a is the real part and b is the imaginary part (i stands for imaginary). Include methods for all the four basic arithmetic operators. b. Develop a java program using files to prepare a mark list for ten students. The input is Roll Number, Name, Mathematics Mark, Physics Mark and Chemistry Mark. Compute Total and Average. (50) The report should be presented in the following format: Roll Name Mathematics Physics Chemistry Total Average Number Mark Mark Mark 11. a. Develop a java program using interfaces to implement a stack ADT. (50) b. Develop a java program to add two matrices. (40) 6

12. a. Develop a java program using applets that can draw basic graphical primitives in different dimensions and colors. Use appropriate menus and buttons. (90) b. Viva- Voce 10 marks 13. a. Develop a java program for a scientific calculator. (90) b. Viva- Voce 10 marks 14. a. Develop a java program using templates for implementing a linked list data structure and perform basic operations on the linked list. (40) b. Develop a java program using interfaces to implement a stack ADT. (50) 15. a. Develop a multi threaded program in java for the producer consumer application. (60) b. Develop a java program to find the transpose of a matrix. (40) 7

16. a. Develop a Java program for generating two threads to perform the following operations: (45) Generate first n prime numbers Generate first n Fibonacci numbers b. Develop a Java program that creates a string object and initializes it with your name and performs the following operations: (45) Find the length of the string object using appropriate string method. Find whether the character a is present in the string. If yes find the number of times a appears in the name and the location where it appears. 17. a. Develop a Java program for generating three threads to perform the following operations: (45) Accept N numbers Print the even numbers Print the odd numbers b. Develop a Java program to find the number of occurrences of a given word in a paragraph. (45) 8

18. a. Develop a java program that will create a data file containing the list of employees in the following table: Employee Name Designation Number 123 Hamen Assistant Professor 124 Vippin Professor Perform search operation. (45) b. Develop a java program to accept a paragraph, print each word in the paragraph with the number of vowels in each word. (45) ******** 9