| Want to join in a course? Need suggestions? Visit CollegeZones.com |
|
Home / Test Papers / IGNOU / CS74 Introduction to Internet Programming CS74 Introduction to Internet Programming December 2005 | Ask a question Print this page |
BACHELOR IN COMPUTER APPLICATIONS
Term-End Examination
December, 2005
CS74 (S) : INTRODUCTION TO INTERNET PROGRAMMING
Time: 3 hours
Maximum Marks: 75
1. (a) Write a program for the addition of two matrices. (10)
(b) What happens if an abstract modifier is applied to a method in a class ? Also, what happens when it is applied to a class ? Explain with suitable examples. (10)
(c) Consider the following classes, declared in separate source files : (10)
public class C{
public void method (int i) {
system.out.print("value is" +i);
}
}
public class B extends C
{ public void method (int j)
{ system.out.print
("This value is" +j);
}
public void melhod (string s)
{
system.out.print("1 was passed" +s);
}
public static void main (String args[ ])
{ C b1=new (C);
C b2=new (C);
b1.method (5);
b2.method (6);
}
}
What will be the output when the main method of the Class B is run ?
2. (a) Define Class. Define Static Class. Give an example of each. (6)
(b) List and explain at least four classes of java.lang package. (6)
(c) Differentiate between call by value and call by reference. (3)
3. (a) What's a package ? List the important packages in Java and describe its main features. (6)
(b) If no exceptions are thrown in a try block, then, where does control proceed to when the try block completes execution ? Explain with examples. (9)
4. (a) Explain the instance of operator with the help of a suitable example. (5)
(b) Suppose that you have to computerize a scooter showroom, which keeps the latest models of scooters and provides post sales services to customers. (10)
For the above description. do the following :
(i) List all important classes, their data structures and other attributes.
(ii) Draw an inheritance diagram for the entire application which should comprise of base classes and sub classes.
(iii) Describe at least two reports to be produced by the programmer.
5. (a) Explain the concepts of Polymorphism and Inheritance. Give an example of each. (8)
(b) Differentiate between the following : (7)
(i) Thread and Process
(ii) Applet and Application
(iii) Java and C++ Programming
Business Schools - Engineering Colleges - Medical & Nursing Admissions - BEd in Distance mode - Journalism & Media Studies - Forensic Science
Enter a detailed keyword. Ex: Question Papers of IGNOU MCA Ist Semester