[go: up one dir, main page]

0% found this document useful (0 votes)
6 views2 pages

Java_m.c.a. ( 2019 Pattern )

This document is an examination paper for F.Y. M.C.A. students focusing on Java Programming, consisting of 12 questions divided into pairs for selection. It covers various topics including Java features, data types, method overloading, interfaces, threads, applets, stream classes, and JDBC. The exam has a total duration of 2.5 hours and is worth 70 marks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

Java_m.c.a. ( 2019 Pattern )

This document is an examination paper for F.Y. M.C.A. students focusing on Java Programming, consisting of 12 questions divided into pairs for selection. It covers various topics including Java features, data types, method overloading, interfaces, threads, applets, stream classes, and JDBC. The exam has a total duration of 2.5 hours and is worth 70 marks.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Total No. of Questions : 12] SEAT No.

:
P786 [Total No. of Pages : 2
[6006]-19
F.Y. M.C.A. (Engineering)
JAVA PROGRAMMING
(2019 Pattern) (Semester - II) (310913)
Time : 2½ Hours] [Max. Marks : 70
Instructions to the candidates:
1) Answer Q.1 or Q.2, Q.3 or Q.4, Q.5 or Q.6, Q.7 or Q.8. Q.9 or Q.10, Q.11 or Q.12.
2) Neat diagrams must be drawn wherever necessary.
3) Figures to the right side indicate full marks.
4) Assume Suitable data if necessary.

Q1) a) Explain features of java. [6]


b) What is the use of Data types? Explain Different data types in Java. [6]
OR
Q2) a) What is an array? How to create one Dimensional array with example.[6]
b) What is String? Explain different string methods with example. [6]

Q3) a) What is Method Overloading? Write a program in Java which calculate area
of circle, triangle and rectangle with the help of method overloading. [6]
b) What is Static variable? Explain static methods with the help of example.
[6]
OR
Q4) a) What is Interface? How to create interface with in java. Write a program
to read and print employee information using interface. [6]
b) Write a program that create package with name maths operation it contain
one interface called operation and that implements by a class called math.
Interface contains add, sub, multiply, div etc abstracts method. [6]

Q5) a) What is thread in Java? Explain life cycle of thread with example. [6]
b) What is exception handling in java? How to handle exception in java?[5]
OR
Q6) a) Create user define exception minimum balance & use it in a bank
operation program. [6]
b) Explain the following terms: [5]
i) Interthread communication
ii) Thread synchronization
iii) Thread priority
P.T.O.
Q7) a) What is Applet? Write down steps to create simple applet & Draw simple
geometry shapes in Applet. [6]
b) Why do we need swing in java? Explain any 3 swing packages in java. [6]
OR
Q8) a) Write a program using applet to draw oval and rectangle within triangle.
[6]
b) What is java layout manager? Explain any two layout manager with
example. [6]

Q9) a) Explain various stream classes in java. [6]


b) Accept name of the file from the user. Open this file and display its
contents on the screen. Use file character stream. [6]
OR
Q10)a) What is interactive input and output in java. [6]
b) Explain methods of Print Writer class. How to append a text in a file.[6]

Q11)a) Explain J2EE Architecture. [6]


b) Explain SQL Exception and it’s method with example. [5]
OR
Q12)a) What is JDBC? Write steps to connect any java application with the
database in java using JDBC. [6]
b) Write a java program to create an application which will perform
following operation on student data. (using JDBC). [5]
i) Insert
ii) delete

  

[6006]-19 2

You might also like