Sikkim-Manipal University of Health Medical and Technological Sciences (SMUHMTS) 2009 B.C.A Computer Application BC0047-Java Programming -Assignment s for fall session - Question Paper
Sunday, 09 June 2013 04:50Web
August 2009
Bachelor of Computer Application (BCA) – Semester 4
BC0047 – Java Programming – four Credits
(Book ID: B0831)
Assignment Set – one (40 Marks)
ans All the ques.
1. discuss the main features of Java language. [5 Marks]
2 Write a program in java to obtain factorial of a number. [5 Marks]
3. discuss the InputStream and OutputStream class hierarchies with suitable diagrams.
[10 Marks]
4. Write a program to obtain largest of three integers using:
a) Comparison Operators
b) Logical Operators
[5 Marks]
5. Write a program to discuss the Exception Handling mechanisms in Java using the keywords: try, catch and finally. [5 Marks]
6. Write a simple GUI based program to prepare a similar interface as shown below:
[10 Marks]
August 2009
Bachelor of Computer Application (BCA) – Semester 4
BC0047 – Java Programming – four Credits
(Book ID: B0831)
Assignment Set – two (40 Marks)
ans All the ques.
1. Write a simple Java program to demonstrate the use of ‘Continue’ statement. [5 Marks]
2. elaborate the rules for naming variable in Java? [5 Marks]
.
3. Write a program to perform the basic arithmetic operations:
a) Addition [10 Marks]
b) Subtraction
c) Multiplication
d) Division
Use four various methods for the above and invoke them as necessary from the main() method.
4. discuss the concept of interfaces in Java with a suitable example for the identical
[10 Marks]
5. elaborate the various components of an event. [10 Marks]
Earning: Approval pending. |