How To Exam?

a knowledge trading engine...


Swami Ramanand Teerth Marathwada University 2010-3rd Year B.C.A Computer Application >> V sem >> Programming with Java - Question Paper

Thursday, 31 January 2013 02:40Web

FACULTY OF COMPUTER STUDIES
BCA III YEAR V SEMESTER

PROGRAMMING WITH JAVA
TIME - 3 HOURS MAX MARKS - 80

Q1. Attempt the following [Marks 20]
a) Java Virtual Machine
b) Looping Statement.
c) Write a java programme to display output as 9A1B, 8A2B, 7A3B . . . . . . 1A9B.
d) provide the Java errors in attempting the following:
i) Defining a method in interface.
ii) Redifining base class final method in derived class.
iii) Performing division operation on string value.

Q 2. (a) What is method overriding? discuss with example. [ marks 8]
(b) Write a Java programme to compute sequence and square-root of provided number using 2 classes. [marks 7]

OR

(c) explain in brief features of Java. [marks 8]
(d) Write a java programme to check whether provided number is armstrong number or not. [marks 7]

Q 3. (a) What do you mean by thread? Discull any 1 method of creation of thread in Java. [marks 8]
(b) Create an applet to display number ranging from 1-10 in sequence at the identical location after the interval of two seconds. [marks 7]

OR

(c) What do you mean by method overloading? discuss with example. [marks 8]
(d) Write a Java programme to show multiple inheritance using interface. [marks 7]

Q 4. (a) What do you mean by applet? explain life cycle of applet. [marks 8]
(b) Write a program to pass a string parameter to applet and display that string in upper case on applet window. [marks 7]

OR

(c) What is constructor? discuss constructor overloading with example. [marks 8]
(d) Create a user described package Mypackage with method void display(), write a Java programme to use above package. [marks 7]

Q 5. Attempt the subsequent (any three) [marks 15]
(a) Symbolic constant
(b) Write a Java programme to compute factorial of provided input number.
(c) String ans string Buffer methods.
(d) Write a Java program to print the subsequent output:

*
* *
* * *
* * * *
* * * * *

(e) Command line argument.


( 1 Vote )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Swami Ramanand Teerth Marathwada University 2010-3rd Year B.C.A Computer Application >> V sem >> Programming with Java - Question Paper