MCS-024 Object Oriented Technologies and Java Solved Assignment 2018-2019

30.00

Course Code : MCS-024
Course Titlle : Object Oriented Technologies and Java
Programming
Assignment Number : BCA(4)/024/Assignment/2018-19
Assignment Marks : 100
Maximum Marks : 25%
Last Date of Submission: 15th October, 2018 (For July, 2018 Session)
15th April, 2019 (For January, 2019 Session)

Out of stock

SKU: MCS-024 Categories: , , ,

Description

Course Code : MCS-024
Course Titlle : Object Oriented Technologies and Java
Programming
Assignment Number : BCA(4)/024/Assignment/2018-19
Assignment Marks : 100
Maximum Marks : 25%
Last Date of Submission: 15th October, 2018 (For July, 2018 Session)
15th April, 2019 (For January, 2019 Session)

Note: 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. Please go through the
guidelines regarding assignments given in the Program Guide for the format of
presentation.

Question 1:
(a) What is Object Oriented Programming? Explain advantages of Object Oriented
Programming with the help of an example. (5 Marks)
(b) Explain features of java programming language. (2 Marks)
(c) Write a program to explain use of Relational and Boolean operators in java.
(3 Marks)
Question 2:
(a) Explain use of super and final keywords in java with the help of examples.
(4 Marks)
(b) Explain followings in context of java, with the help of examples.
(6 Marks)
i. Class and Objects
ii. Message Passing
iii. Garbage collection
Question 3:
(a) What is static method? Explain why main method in java is always static.
(2 Marks)
(b) What is inheritance? How inheritance is implemented in java? Create a class
Book and define display method to display book information. Inherit
Reference_Book and Magazine classes from Book class and override display
method of Book class in Reference_Book and Magazine classes. Make
necessary assumptions required. (5 Marks)
(c) Explain the steps involved in creating a distributed application using Remote
Method Invocation (RMI). (3 Marks)
7
Question 4:

(a) What is polymorphism? Explain its advantages with the help of a program.
(4 Marks)
(b) What is constructor overloading? Explain advantage of constructor overloading
with the help of an example. (3 Marks)
(c) What is rule of accessibility? Explain different level of accessibility in java.
(3 Marks)
Question 5:
(a) What is abstract class? Explain situations in which abstract classes are used.
(3Marks)
(b) What is an exception? Explain haw an exception is handled in Java. Create your
own exception class to handle a situation when age of a person is given in
negative. Make necessary assumptions. (4 Marks)
(c) Explain how threads are created in java. Write a java program to display threads
priority. (3 Marks)
Question 6:
( a) What is I/O stream in java? Write a program in java to create a file and copy the
content of an already existing file into it. (4 Marks)
(b) Create an Applet program to display your brief profile with photograph. Make
necessary assumptions and use appropriate GUI and layout in your program.
(4Marks)
(c ) Differentiate between String and StringBuffer classes. Also write a program to
reverse a given string. (2Marks)
Question 7:
(a) What is need of layout manager? Explain different layouts available in java for
GUI programming. (4 Marks)
(b) Explain FilterInputStream and FilterOutputStream in detail. (4 Marks)
(c) Explain File class and its methods. (2 Marks)
Question 8:
(a) Explain UDP in context of java programming. (2 Marks)
(b) Explain different ways of session handling. (3 Marks)
(c) What is JDBC? Explain how select statements are executed and ResultSet are
accessed in JDBC programming.

Reviews

There are no reviews yet.

Be the first to review “MCS-024 Object Oriented Technologies and Java Solved Assignment 2018-2019”