IGNOU MCA(2) MCS-024 Solved Assignment 2019-20 | MCS-024 Solved Assignment 2019-20
There are eight questions in this assignment which carried 80 marks. Rest 20 marks are for
viva-voce. Answer all the questions. Give appropriate comments in programs to increase
understandability. Wherever required, you may write java program, run it on machine
and take its output as part of solution. Please go through the guidelines regarding
assignments given in the Program Guide for the format of presentation.
IGNOU MCA MCS-024 Solved Assignment 2019-20 |
Q1.
(a) Explain basic concepts of Object Oriented Programming? Explain how data hiding is
achieved. (5 Marks)
(b) Explain use of different types of operators available in java with the help of examples.
(5 Marks)
Q2.
(a) Explain how class is defined in java with the help of an example. Also explain what are
the things which are kept inside a class. (2 Marks)
(b) Write a java program to create an Account class and define constructors in it. Inherit
Saving_Bank_Account class from Account class. Override constructors of Account class
in Saving_Bank_Account class. Define appropriate methods to operate the accounts.
Make necessary assumptions. (8 Marks)
Q3.
(a) Explain use of static methods in java. (2 Marks)
(b) Write a java program to add two matrices of 4X4 in java. (3 Marks)
(c) Explain different types of inheritance that are supported by java with the help of
examples. (5 Marks)
Q4.
(a) Explain uses of final and super keywords in java with the help of examples. (4 Marks)
(b) Explain the need of package in Java. Explain accessibility rules for packages. (3 Marks)
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.