IGNOU MBA Assignment, Solved IGNOU MBA Assignments

CS- 74 Introduction to Internet Programming (Java, ActiveX) July – Dec 2011

Question 1: Differentiate between the following terms along with appropriate examples (20 Marks)

i) Applet and application
ii) Inheritance and interface
iii) Private and Protected
iv) This and Super

Question 2: Answer the following questions (20 Marks)

i) What is mean by Serialization? Also differentiate between Transient and Volatile keywords.
ii) Why Java is called platform independent? Is C++ also Platform independent? Justify your answer?
iii) When do we declare a member of class static ?Explain with the help of a suitable example
iv) What happens if a Final Keyword is applied to each of the followings:
a) Class
b) Function

Question 3: (i) What is finally block in Java? Explain with the help of a suitable example? (7 Marks)

(ii) Show the user defined exception through an example ? (8 Marks)

(iii) What is Call by reference in Java? Explain with an example? (10 Marks)

Question 4: (i) Write a program in java that displays all the arguments passed at the command line in reverse order. (10 Marks)

(ii) Write a program in java to print the following pattern (5 Marks)
1
2 2
3 3 3
4 4 4
5 5 5 5 5

(iii) What is Synchronized Block in Java? Why do we use it? (5 Marks)

Question 5: (i) Write a program in java to copy a file to another file. Name of the files are entered at command line? For example Copy File1, File 2. (5 Marks)

(ii) Write a recursive function in Java to find GCD of two integers entered at command line. (5 Marks)

(iii) What is event delegation model in Java? Explain (5 Marks)

  • http://www.facebook.com/profile.php?id=100002086829125 Amit Dubey

    it’s great site for BCA Assignment…thankuu