DEPARTMENT OF INFORMATION TECHNOLOGY

Similar documents
CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE

Get Unique study materials from

VALLIAMMAI ENGINEERING COLLEGE

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

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

Sri Vidya College of Engineering & Technology

CS Internet programming Unit- I Part - A 1 Define Java. 2. What is a Class? 3. What is an Object? 4. What is an Instance?

VALLIAMMAI ENGINEERING COLLEGE

DHANALAKSHMI SRINIVASAN COLLEGE OF ENGINEERING AND TECHNOLOGY ACADEMIC YEAR (ODD SEM)

SCHEME OF COURSE WORK

CORE JAVA TRAINING COURSE CONTENT

Compaq Interview Questions And Answers

Object Oriented Programming with Java. Unit-1

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

DOWNLOAD PDF CORE JAVA APTITUDE QUESTIONS AND ANSWERS

Time : 3 hours. Full Marks : 75. Own words as far as practicable. The questions are of equal value. Answer any five questions.

Syllabus & Curriculum for Certificate Course in Java. CALL: , for Queries

Java for Programmers Course (equivalent to SL 275) 36 Contact Hours

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

Objective Questions. BCA Part III Paper XIX (Java Programming) page 1 of 5

JAVA. Duration: 2 Months

15CS45 : OBJECT ORIENTED CONCEPTS

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

R. C. TECHNICAL INSTITUTE, AHMEDABAD COMPUTER ENGG. DEPARTMENT ASSIGNMENT 1

S.No Question Blooms Level Course Outcome UNIT I. Programming Language Syntax and semantics

Object-Oriented Programming

Application Development in JAVA. Data Types, Variable, Comments & Operators. Part I: Core Java (J2SE) Getting Started

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

Core Java Contents. Duration: 25 Hours (1 Month)

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

ABOUT CORE JAVA COURSE SCOPE:

LTBP INDUSTRIAL TRAINING INSTITUTE

Java Fundamentals p. 1 The Origins of Java p. 2 How Java Relates to C and C++ p. 3 How Java Relates to C# p. 4 Java's Contribution to the Internet p.

Introduction to Programming Using Java (98-388)

JAVA MOCK TEST JAVA MOCK TEST II

Java SE 8 Programming

Java SE 8 Programming

Core JAVA Training Syllabus FEE: RS. 8000/-

SRM INSTITUTE OF SCIENCE & TECHNOLOGY Faculty of Science and Humanities Department of Computer Science UNIT I - INTRODUCTION TO JAVA

Object Oriented Programming CS104 LTPC:

B2.52-R3: INTRODUCTION TO OBJECT ORIENTATED PROGRAMMING THROUGH JAVA

JAVA CONCEPTS Early Objects

5/23/2015. Core Java Syllabus. VikRam ShaRma

F1 A Java program. Ch 1 in PPIJ. Introduction to the course. The computer and its workings The algorithm concept

CS506 Web Programming and Development Solved Subjective Questions With Reference For Final Term Lecture No 1

CREATED BY: Muhammad Bilal Arslan Ahmad Shaad. JAVA Chapter No 5. Instructor: Muhammad Naveed

Govt. of Karnataka, Department of Technical Education Diploma in Information Science & Engineering. Fifth Semester

Java SE 8 Programming

Fast Track to Core Java 8 Programming for OO Developers (TT2101-J8) Day(s): 3. Course Code: GK1965. Overview

BCA (Part II) EXAMINATION, 2009 C++ PROGRAMMING Time allowed: Three Hours Maximum Marks: 50 Attempt any five questions

BCA (Part II) EXAMINATION 2008 C++ PROGRAMMING Max Time : 3 Hours Max. Marks : 50

Sri Vidya College of Engineering & Technology Question Bank

INHERITANCE & POLYMORPHISM. INTRODUCTION IB DP Computer science Standard Level ICS3U. INTRODUCTION IB DP Computer science Standard Level ICS3U

Index. Index. More information. block statements 66 y 107 Boolean 107 break 55, 68 built-in types 107

Course Description. Learn To: : Intro to JAVA SE7 and Programming using JAVA SE7. Course Outline ::

FOR BEGINNERS 3 MONTHS

Object-Oriented Programming

(2½ hours) Total Marks: 75

JAVA. 1. Introduction to JAVA

OBJECT ORIENTED PROGRAMMING TYm. Allotted : 3 Hours Full Marks: 70


AP COMPUTER SCIENCE JAVA CONCEPTS IV: RESERVED WORDS

CONTENTS. PART 1 Structured Programming 1. 1 Getting started 3. 2 Basic programming elements 17

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

Government of Karnataka Department of Technical Education Bengaluru

Contents. Figures. Tables. Examples. Foreword. Preface. 1 Basics of Java Programming 1. xix. xxi. xxiii. xxvii. xxix

Java 8 Programming for OO Experienced Developers

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

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

(800) Toll Free (804) Fax Introduction to Java and Enterprise Java using Eclipse IDE Duration: 5 days


Modern Programming Languages. Lecture Java Programming Language. An Introduction

CHOICE BASED CREDIT SYSTEM (With effect from )

Java Programming Training for Experienced Programmers (5 Days)

1/16/2013. Program Structure. Language Basics. Selection/Iteration Statements. Useful Java Classes. Text/File Input and Output.

Subject: PROBLEM SOLVING THROUGH C Time: 3 Hours Max. Marks: 100

WA1278 Introduction to Java Using Eclipse

UNIT I : OVERVIEW OF COMPUTERS AND C-PROGRAMMING

Murach s Beginning Java with Eclipse

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

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

Mathematics/Science Department Kirkwood Community College. Course Syllabus. Computer Science CSC142 1/10

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

Core Java Syllabus. Overview

Weiss Chapter 1 terminology (parenthesized numbers are page numbers)

PESIT Bangalore South Campus

PROGRAMMING IN C AND C++:

/ / JAVA TRAINING

Pace University. Fundamental Concepts of CS121 1

Chapter 5 Object-Oriented Programming

Page 1

Algorithms, merits and demerits, Exponentiation, How to compute fast exponentiation Linear Search, Binary Search "Big Oh" notation, Worst case

ΠΙΝΑΚΑΣ ΠΛΑΝΟΥ ΕΚΠΑΙΔΕΥΣΗΣ

Subject: Computer Science

Exception Handling. Chapter 9

3D Graphics Programming Mira Costa High School - Class Syllabus,

Class, Variable, Constructor, Object, Method Questions

Programming II (CS300)

Jayaram college of Engineering and Technology, Pagalavadi. CS2203 Object Oriented Programming Question Bank Prepared By: S.Gopalakrishnan, Lecturer/IT

Object Orientated Analysis and Design. Benjamin Kenwright

Transcription:

DEPARTMENT OF INFORMATION TECHNOLOGY II Year/III Sem CS8392- OBJECT ORIENTED PROGRAMMING Prepared by: Komal Kumar.N, AP/IT, VTHT UNIVERSITY QUESTIONS FROM 2011 to 2018 PART-A 1. What are the advantages of object oriented programming over structured programming? Apr 2015 2. What is object oriented programming? April/May 2016, Dec 2013 3. Define data abstraction. April/May 2016, May 12, 13, Dec 13 4. What are the concepts of OOPs? 5. What is Static Member Functions? What are the features of static data member? Nov/Dec 2012 6. List any four advantages of OOPS. Nov/Dec 2012 7. What is encapsulation? How it helps the programmer to design the system better? May 12,13,14 8. What is abstract class? 9. Give any four applications of the OOPS 10. What is meant by data abstraction? April/May 2015 11. Distinguish between class and object. April/May 2016 12. Define operator overloading. May-10, 14 13. List the operator that cannot be overloaded. May-11, 12 14. What are merits of using classes? May-14 15. What is a static variable? 16. What is function overloading? 17. Write at least four rules for operator overloading. 18. What do you mean by the term Generic programming? Nov/Dec 2015

19. What is generic programming? April/May 2016 20. What is meant by exception? April/May 2016 21. Define exception. Give example. May-2011,2012,Nov- Dec 2017 22. Give two real life examples for multilevel inheritance. April-14 23. Describe the syntax of multilevel inheritance. April-14 24. What happens when a catch handler throws an exception? April-14 25. What are the challenges in the exception handling mechanism? 26. What is byte code? Mention its advantage. May-16, May-15,May-11,12 27. Java is robust. Comment. April/May 2016 28. What is JVM? April/May 2015, May-10 29. Define the keyword static in java. Nov/Dec 2015 30. Write the output produced by the following code fragments. Nov/Dec 2015 System.out.printin( Result: +40+30); System.out.printin( Result: +(40+30)); 31. What are Nested classes? Nov/Dec 2011 32. Why is java language called as robust? Dec-12 33. Is JVM s platform independent? Justify. May-13 34. How do we allocate an array dynamically in Java? May-13 35. State the use of super keyword in java. Dec-11 36. What is inner class? Dec-12 37. What is the difference between superclass and subclass? May-13 38. What are wrapper classes in Java? Dec-11 39. Why does java make an executable file? Dec-12 40. Give two examples of java modifiers. Dec-10 41. What is an interface? April/May 2015 42. Write short note on throw (). April/May 2015 43. Differentiate checked and unchecked exceptions. Nov/Dec 2015 4. How do you 44. Compare two strings by ignoring the case? Give an example.nov/dec 2015 45. Distinguish between interface and class. April/May 2016 46. What is multithreading? April/May 2016 47. What is meant by Exception? Nov/Dec 2011 48. List any four packages in java and highlight their features. May-10 49. What are packages? May-11,12

50. Define interfaces. State its use. May-11,12 51. What is the difference between an interface and an abstract class? Dec-12 52. What is API package? May-14 53. What is the difference between throw and throws? Dec-12 54. What are the two ways of creating java threads? Dec-10,May-14 55. What is thread? How does it differ from a process? May-11,12 56. Which class and interface in java is used to create thread and which is the most advantageous one? May-13 57. What is the difference between superclass and subclass? May-13 58. Write the methods of threads? May-14 59. What are the advantages of using exception handling? May-13 60. Name two super classes used in character stream. 61. What is a class? Give an example for class in java Apr-May 2018 62. Name the access modifiers in java Apr-May 2018 63. Define a package in java and write the syntax to declare a package Apr-May 2018 64. What is multi threading Apr-May 2018 65. Write some java string class methods Nov-Dec 2017 66. State the use of try block in java exception handling Nov-Dec 2017 67. Give the syntax for while statement. Nov-Dec 2017 68. What are the features of java Nov-Dec 2017 PART-B 1. Explain the major principles of object oriented programming with illustrations and neat diagram. April/May 2015 2. Explain the characteristics of OOPS in detail. 3. List out the features of object oriented programming. 4. Distinguish between abstraction and encapsulation. Dec-13 5. Discuss the various types of operators in java and explain with suitable examples. April/May 2015 6. What is an access modifier? Differentiate between private, protected and public access modifiers with examples. April/May 2015 7. What are packages? How are they created and used? Illustrate it with an example. Nov/Dec 2015

8. How do you implement multiple inheritances in java? Explain. Nov/Dec 2015 9. Why java has been called as Write once and run anywhere? Explain. Nov/Dec 2015 10. Write a java application to implement mark processing system for a university consisting of various disciplines such as engineering, science and arts. Grade calculation for the students differs across the disciplines. Nov/Dec 2015 i) Grade calculation for undergraduate engineering students requires the involvement of technical events apart from the marks obtained in their subjects and post graduate engineering students require research project as an additional component. ii) For post graduate science student, involvement of paper presentation is required whereas assignment weightage is mandatory for post graduate arts students. iii) Grades for research scholars would be computed based on the number of research articles published and number of research project done. 11. List out the characteristics of JAVA. April/May 2016 12. Explain about dynamic method dispatch with an example. April/May 2016 13. Distinguish between instance methods and class methods with an example.april/may 2016 14. Implement a class student. A student has a name and a total quiz score. Supply an appropriate constructor and methods getname(), addquiz(int score), gettotalscore() and getaveragescore(). To computer the latter, you also need to store the number of quizzes that the student took.april/may 2016 15. Write a java program to find factorial of a given number. May-10 16. Write a menu-based java program that can calculate the area of triangle, circle or square based on the user s choice. Dec-10 17. Explain the arrays and its types in detail with example program. May-14 18. Explain the concept of classes, objects and methods in Java. Dec-11 19. Discuss about Java command line arguments. Dec-13 20. Write short notes on Java virtual machines. May-14 21. Write a java program to create two single dimensional arrays, initialize them and add them; store the result in another array. May-11, 12 22. Write a program to convert an integer array to string. Dec-12 23. Write a java program using arrays to do the following : May-13 To copy one array content to another array. To arrange the numbers in ascending order. Find the maximum of an array.

24. Write a java program to find the maximum number of the given array. Dec-12 25. Create a complex number class in java. The class should have a constructor and methods to add, subtract and multiply two complex numbers and to return the real and imaginary parts. Dec- 11 26. Illustrate the use of try-catch clauses by sample statements for rare type of runtime error. April/May 2015 27. What is multi-threading? Write a multithread program in java and explain. April/May 2015 28. Create an application that executes two threads. First thread displays the alphabets A to Z at every one second. The second thread will display the alphabets Z to A at every two seconds. Both the threads need to synchronize the each other for printing alphabets. The second thread has to wait until the first thread finishes its execution. The applicable waits for all the threads to finish the execution. Nov/Dec 2015 29. What is an interface? How do you achieve multiple inheritance through interfaces? Explain with an example. Nov/Dec 2015 30. Write a java program to accept a string from user and check whether it is a file or directory. If it is a directory, count the number for files in that directory. If it is a file, count the number of consonants and display the contents of the file in a reverse order. Nov/Dec 2015 31. Write a java program that enters an 8 digit string for a birthdate. The first two digits in the string are the months of birth, the next two are the day and the remaining four are the year. The java program should squeeze out these substrings and calculate the current age. Raise a negative age exception if the calculated age is negative. Nov/Dec 2015 32. How to define an interface? Why do the members of interface are static and final? April/May 2016 b) Write a Java Program to implement nested packages. April/May 2016 33. Distinguish between arrays and strings. April/May 2016 34. Explain the methods available in the string buffer class.april/may 2016 35. Explain the use of command line arguments with an example.april/may 2016 36. What are packages? How do they created and used? Dec-11 37. Explain about packages in Java. Dec-12 38. How do we add a class or interface to a package? Dec-13 39. Write a java program to implement nested packages. Dec-13 40. What is an exception? List the java common exception types and causes.nov-11 41. Write a java program to add 2 integers and raise exception when any other character except number (0-9) is given as input. Dec-12

42. What is a thread? How do you create threads? Dec-11 43. What is multithreading? Explain with an example. Dec-12 44. Explain about thread synchronization with an example. Dec-13 45. Write a java program to perform all string operations using the string class.may-11 46. Write short note on Strings in Java. May-14 47. Write a program in java, which will read a text and count all occurrences of a particular word. May-13 48. Explain the concept of stream and its byte stream classes in detail. May-14 49. Write short notes on various I/O streams in java.dec-12 50.Write a java program to demonstrate how to read and write data to a file.dec-11 51. Explain with an example the control statements in java Apr-May 2018 52. Write a java program to accept two matrices, multiply the matrices and print the result. Use classes and methods Apr-May 2018 53. What is java interface? How to implement an interface? Explain with an example Apr-May 2018 54. What is exception handling? Explain with an example exception handling in java Apr-May 2018 55. Write a java program to sort an array of n names in alphabetical order. Use classes and methods Apr-May 2018 56. Write a java program to generate Fibonacci series Nov-Dec 2017 57. Explain how to declare arrays in java. Give examples Nov-Dec 2017 58. With an example, discuss how to declare methods with multiple parameters in java Nov-Dec 2017 59. Brief about inheritance in java Nov-Dec 2017 60. Explain the use of packages in java with an illustrative example Nov-Dec 2017 61. Develop a java program to implement an interface with an example Nov-Dec 2017 62. Develop a java program to illustrate the concept of multi threading programming Nov-Dec 2017