Exam Details

Subject programming with java
Paper
Exam / Course mca
Department
Organization acharya nagarjuna university-distance education
Position
Exam Date May, 2018
City, State new delhi, new delhi


Question Paper

Total No. of Questions 18] [Total No. of Pages 02
M.C.A. DEGREE EXAMINATION, MAY 2018
Second Year
PROGRAMMING WITH JAVA
Time 3 Hours Maximum Marks :70
SECTION A
Answer any three of the following questions. x 15 45)
Q1) How to create string object in Java? Discuss about various string handling
functions in Java with syntax.
Q2) What is constructor? Give the restrictions of constructors. Explain about different
types of constructors.
Q3) What is collection in Java? Differentiate between Vector and ArrayList.
Explain how to use try, catch and finally in exception handling.
Q4) Explain polymorphism with its need. How to achieve polymorphism in Java?
Q5) What is AWT? Discuss about AWT labels, buttons menus and menu bars.
SECTION B
Answer any five of the following questions. x 4 20)
Q6) Write about JDK, JRE and Java virtual machines.
Q7) Describe different data types used in Java.
Q8) Write about public, private, protected and default access modifier with example.
Q9) Write a program that creates and initializes a four integer element array.
Calculate and display the average of its values.
Q10) Explain garbage collection and finalize method in JAVA.
Q11) Explain use of Interface with suitable example.
Q12) Describe different states of applets during the execution.
Q13) Differentiate Byte stream and Character stream.
SECTION C
Answer all of the following questions. x 1
Q14) Define platform independence.
Q15)Define package.
Q16)What is method overriding?
Q17) What is stream?
Q18) Give any two built-in exceptions.


Other Question Papers

Subjects

  • accounts & finance
  • computer algorithms
  • computer graphics
  • computer networking
  • computer organization
  • data base management systems
  • data structures
  • discrete mathematics
  • distributed operating systems
  • e-commerce
  • information technology
  • operating systems
  • probability and statistics
  • programming with c++
  • programming with java
  • software engineering