Biju Patnaik University of Technology 2008 M.C.A Programming with java - Question Paper
Friday, 24 May 2013 08:45Web
4th Semester exam – 2008
PROGRAMMING WITH JAVA
Full Marks – 70
Time : three Hours
ans ques. No. one which is compulsory and any 5 from the rest.
The figures in the right-hand margin indicate marks.
1. ans the subsequent ques. : [Marks 2×10]
(a) What is abstract method ? How it is created ?
(b) Why does Java use Unicode ?
(c) Does importing a package have an impact in performance of any program ?
(d) What is run-time exception ?
(e) elaborate wrapper classes ? discuss their uses.
(f) elaborate swing classes ? Why it is used for ?
(g) Differentiate ranging from Java interface and abstract class.
(h) discuss various ways of creating a thread.
(i) elaborate listeners ? How these are used in event handling ?
(j) What is a constructor ? When it gets executed ?
2. (a) Write a program in Java to obtain Fibonacci series using recursion.[Marks 5]
(b) Write a program to create a 2-D array to accommodate integer that accepts the values and
stores them in an array. Your program should display all the values and the length of the array
objects. [Marks 5]
3. (a) Write a Java program to use super to access super class members. [Marks 5]
(b) discuss multi-level inheritance in Java by improper example. [Marks 5]
4. (a) Write a program to create a menu for Hospital system. [Marks 5]
(b) Write a program for a n × m matrix multiplication. [Marks 5]
5. (a) What is overloading ? [Marks 2.5]
(b) What is the difference ranging from while statement and do statement ? [Marks 2.5]
(c) Overridden method supports polymorphism.Justify throughJava programming. [Marks 5]
6. (a) Using Java program show the use of constructor, destructor and new operator. [Marks 5]
(b) How objects are passed to methods in Java. discuss with an example. [Marks 5]
7. (a) What is the difference ranging from declaring and defining a variable ? [Marks 2.5]
(b) What is Synchronization in Java ? discuss with example. [Marks 2.5]
(c) Using single string show the println ( ) statement that produce the output. [Marks 5]
One
Two
Three
8. Write short notes on : [Marks 2.5 × 4]
(a) Abstract class
(b) various kinds of JDBC drivers
(c) various Synchronisation methods
(d) Switch and Break statement in Java.
Earning: Approval pending. |