Course Code : MCS-024
Course Code : MCS-024
Course Title: Object Oriented Technologies and Java Programming
Assignment Number : MCA (2)/024/Assign/12
Assignment Marks : 100
Maximum Marks : 25%
Last Dates for Submission : 15th October, 2012 (For July 2012 Session)
15th April, 2013 (For January 2013 Session)
There are eight questions in this assignment which carried 80 marks. Rest 20 marks are for viva-voce. Answer all the questions. Also in your programs give appropriate comments to increase understandability. You are advised to go through the guidelines regarding assignments given in the Program Guide for the format of presentation.
Question 1: a) What is Object Oriented Paradigm? Explain advantages of
Object Oriented Programming. (5 Marks)
b) What is polymorphism? Explain the advantages of polymorphism
with an example. (5 Marks)
Question 2: a) What is platform independence? Explain why java is secure
and platform independent. (3 Marks)
b) Write a program in java to generate Fibonnaci Series. (3 Marks)
c) Explain the advantage of of Unicode. (2 Marks)
d) Explain the significance of PATH and CLASS PATH. (2 Marks)
Question 3: a) What is an exception? Create an exception subclass named
MyException to handle user generate exceptions in Java. (5 Marks)
b) What is abstract class? What are advantages of using
abstract class? Write a program in Java to explain abstract
class and multilevel inheritance. (5 Marks)
Question 4: Differentiate the following and support with example: (10 Marks)
Final and static member
Inheritance and Aggregation
Abstract class and Interface
String and String Buffer
Question 5: a) What are the classes in Java available for file handling?
Write a program in Java to append content at the end of an
already existing file. (5 Marks)
7
b) Explain the difference between checked and unchecked
exceptions with example. (5 Marks)
Question 6: a) What is multithreading? Explain the two ways of creating
threads in Java programs. Also explain difference between
notify() and notify All( ) methods. (5 Marks)
b) What is need of Layout Manager? Explain different layouts
available in Java. (5 Marks)
Question 7: a) What is an Applet? Write an applet that prints "Lear Java it is
useful" at the current cursor position whenever the mouse left
button is clicked. (5 Marks)
b) Consider a class that stores a Bank account holder's name,
account number, ATM card number, account balance and
ATM PIN. Write a program to store the data onto a disk file,
except for the account balance and ATM PIN. Use serialization and transient variables. (5 Marks)
Question 8: a) Write a Java program to set up JDBC and execute the following
SQL statement on a database table employee-t with the fields
emp-id, emp name, emp-department, empbasic
"SELECT * FROM employee-t where emp-basic < 10000. (7 Marks)
b) What is Java Bean ? What are its advantages? (3 Marks)
IGNOU Coaching for BCA, MCA, MBA in Jaipur
BCA Coaching in Jaipur | MCA Coaching in Jaipur
IGNOU JAIPUR
Regional Director,
IGNOU Regional Centre,
70/79,
Sector - 7,
Patel Marg,
Mansarovar
Rajasthan - 302020
India
Ph :+91-0141-2785763 / 2785750
Fax :+91-0141-2784043
IGNOU Regional Centre,
70/79,
Sector - 7,
Patel Marg,
Mansarovar
Rajasthan - 302020
India
Ph :+91-0141-2785763 / 2785750
Fax :+91-0141-2784043
0 comments:
Post a Comment