Skip to main content

MCS-024 Assignment Questions July 2012

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)  
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)

Comments

Popular posts from this blog

IGNOU ON-LINE EXAMINATION FORM

Students are required to pay examination fee @ Rs. 60/- per course for theory as well as practical. A late fee of Rs. 300/- from 1st October, 2012 to 20th October, 2012 and Rs. 500/- from 21st Ocltober, 2012 to 31st October 2012 also needs to be included, if submitted during this period. Mode of payment Credit Card  Demand Draft  Cash Payment Debit Card of Union Bank of India  Results of June, 2012 Term-end examinations are available on University website  www.ignou.ac.in  . Please see result status before filling examination form.  Click here to see the result status of June, 2012 Examination.   Select and enter Programme code and Examination Centre Code from the options available. If the centre opted by the student is not activated as examination centre or not allotted for any other reason, alternative examination centre will be allotted.  Select courses carefully. Courses for theory as well as practical needs to be selected separate...

IGNOU MCA 2012 Assignments

Course Code                           :            MCS-013 Course Title                            :            Discrete Mathematics Assignment Number              :            MCA(1)/013/Assign/2012 Assignment Marks                 :            100 Weightage                         ...