My Profile
Active Members
TodayLast 7 Days
more...
Awards & Gifts
Online Exams
Fresher Jobs
Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian
cities including Bangalore, Chennai, Hyderabad, Pune or Kochi
Resources
Find educational articles, blogs, discussion threads and other resources.
Colleges
Find details about any college in India or search for courses.
|
Download Model question papers & previous years question papers
|
Posted By: RAFI Member Level: Gold Posted Date: 22 May 2008
|
2005 Indira Gandhi National Open University (IGNOU) B.C.A CS-74 : INTRODUCTION TO INTERNET PROGRAMMING, DEC - 2005 Question paper
CS-74 : INTRODUCTION TO INTERNET PROGRAMMING DEC - 2005
Note: Question number 1 is compulsory and carries 30 marks. Answer any three from the rest.
1. (a) Write a program in Java to perform the addition of two complex numbers. (b) Explain what happens if private is applied to a method in a class. Give an example. (c) Write the output of the following statement where int a = -8, b = 4; (i) ++b << 1 (ii) a >> 2 (d) What are the final variable, final method and final class? (e) Write a program in Java that ask the user to choose circle or rectangle on choosing circle she has to enter its radius if rectangle is chosen she is prompted to input the length of its sides. Use an overloaded method to calculate the area and output the value on the screen.
2. (a) Write a program that prompts the user to enter an integer divisor and an integer dividend. The program should output the quotient and the remainder. Catch any arithmetic exception and output the suitable message. (b) Define a constructor. Is it possible to overload a constructor? Justify your answer using an example. 3. (a) What is finally blocks in Java? How many finally blocks can be associated with a try block? Give an appropriate example and explain. (b) Describe the accessibility of unnamed, private, protected and public members with in a package, subclass and globally.
4. (a) Consider the following class definition : public class excellent extends Good { public Excellent (int I) { } public Excellent ( int I, int j) { super(I, k); } } In how many ways can the instance of excellent class to be created? Write the corresponding statement.
(b) Write a program to find the least Common Multiple(LCM) of two integers.
5. (a) Write a program to input characters for the keyword and output a table giving the different number of vowels. (b) Is every Java program platform independent? Justify your answer.
Return to question paper search
|
|
|
Submit Previous Years University Question Papers and make money from adsense revenue sharing program
Are you preparing for a university examination? Download model question papers
and practise before you write the exam.
|
Watch TV Channels
|