Exam Details

Subject java programming
Paper
Exam / Course m.c.a.science
Department
Organization solapur university
Position
Exam Date November, 2017
City, State maharashtra, solapur


Question Paper

MCA (Semester III) (CBCS) Examination Oct/Nov-2017
Science
JAVA PROGRAMMING
Day Date: Tuesday, 21-11-2017 Max. Marks: 70
Time: 02.30 PM to 05.00 PM
Instructions: Q.NO.1 and 2 are compulsory.
Attempt any 3 questions from Q.No.3 to Q.No.7.
Figure to the right indicates full marks.
Q.1 Choose the Correct Alternatives: 14
Which of the following is not method of an Applet?
Start() Paint()
Suspend() Destroy()
Overloaded methods can be differentiated on the basis of
Number of parameters Types of parameters
Both a and b None of these
Java supports to the global variables.
True False
Which of the following is not the method of the Thread class?
Yield Sleep()
Stop() Process()
An interface contains methods.
Non-abstract Unimplemented
both a and b none of these
In situation you obtain a default constructor.
When you define any class
When the class has no other constructors
When you define at least one constructor
None of these
layout manager arrange the component in rows columns.
Flow Layout Grid Layout
Card Layout None of these
Which of the following is not a wrapper class?
Integer Boolean
Character String
The method executes a simple query and returns a single Result
Set object.
Execute Update Execute Query()
Execute Executes SQL
10) Final methods can be overridden.
True False
11) class are of varying length.
String String Buffer
Char Char Buffer
Page 2 of 2
SLR-SM-19
12) Java. lang package is automatically imported into all programs.
True False
13) Which of the following method will be invoked if a character is entered?
Key Pressed() Key Released()
Key Typed() Key Entered()
14) Which of the following class cannot be inherited?
Abstract class A Class A
Final A None of these
Q.2 Write short notes on the following: 08
Differentiate constructor and method.
Differentiate Byte stream and Character stream classes.
Answer the following: 06
What are the differences between String and String Buffer?
Give the features of Applets.
Q.3 Answer the following: 14
Explain event-delegation model with its advantages.
What is interface? How to create it? Explain with example.
Q.4 Answer the following: 14
Explain the term:
Event Event source Event listener
Write a program to copy one text file into another text file.
Q.5 Answer the following. 14
How can you add an image to an applet? Explain with an example.
What is synchronization? When do we use it? Explain with example.
Q.6 Answer the following. 14
Write a program to demonstrate the implementation of Prepared
Statement interface.
Explain thread life cycle and thread creation in Java.
Q.7 Answer the following. 14
Differentiate method overloading with method overriding with examples.
Write a java program using listeners for handling keyboard events.


Subjects

  • .net
  • artificial intelligence
  • computer communication network
  • computer graphics
  • computer oriented statistics
  • data mining and warehouse
  • data structures
  • database management system
  • digital circuits and microprocessors
  • digital image processing
  • discrete mathematical structures
  • distributed operating system
  • finite automata
  • introduction to computers
  • java programming
  • management
  • mobile computing
  • network security
  • numerical analysis
  • object oriented programming using c++
  • opeartions research
  • operating system
  • pattern recognition mobile computing
  • programming using - c
  • programming with php
  • software engineering
  • system software
  • uml
  • web design techniques
  • web technology