Download Model question papers & previous years question papers
|
Posted Date: 26 Dec 2010 Posted By:: SOURABH DESHMUKH Member Level: Silver Points: 5 (Rs. 1)
|
2010 Swami Ramanand Teerth Marathwada University B.C.A Computer Application BCA III year >> V sem >> Programming with Java Question paper
FACULTY OF COMPUTER STUDIES BCA III YEAR V SEMESTER
PROGRAMMING WITH JAVA TIME - THREE 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) Give 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? Explain with example. [ marks 8] (b) Write a Java programme to calculate sequence and square-root of given number using two classes. [marks 7]
OR
(c) Discuss in brief features of Java. [marks 8] (d) Write a java programme to check whether given number is armstrong number or not. [marks 7]
Q 3. (a) What do you mean by thread? Discull any one method of creation of thread in Java. [marks 8] (b) Create an applet to display number between 1-10 in sequence at the same location after the interval of 2 seconds. [marks 7]
OR
(c) What do you mean by method overloading? Explain 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? Discuss 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? Explain constructor overloading with example. [marks 8] (d) Create a user defined package Mypackage with method void display(), write a Java programme to use above package. [marks 7]
Q 5. Attempt the following (any three) [marks 15] (a) Symbolic constant (b) Write a Java programme to calculate factorial of given input number. (c) String ans string Buffer methods. (d) Write a Java program to print the following output:
* * * * * * * * * * * * * * *
(e) Command line argument.
Return to question paper search
|
|
|
Submit Previous Years University Question Papers and
make money from adsense revenue sharing program
Are you preparing for a university examination? Download model question papers
and practise before you write the exam.