IGNOU ‘Internet Programming’ Sample Paper

Posted on Saturday, September 12, 2009
This was posted in BCA

December 2001
CS-74: INTRODUCTION OF INTERNET PROGRAMMING
Time: 3 hours                            Maximum Marks: 75

Note: Question 1 is compulsory. Attempt any three from the rest.

1. (i) Describe Unicode and ASCII code. [05]
(ii) Java is object oriented. What are the advantages of object-oriented programming compared to procedural oriented programming? [05]
(iii) Write a recursive program in Java for the greatest common divisor (GCD). Given two positive integer that divides them both. [10]
(iv) What is the need if a layout manager? Describe flow layout. How do you create a flow layout manager? How do you add a component to a flow-layout container? Is the number of components to be added to a flow-layout container limited? [10]

2. Differentiate between the following: [15]
(a) Methods overloading and overriding a method.
(b) Constructors and methods
(c) This and super
(d) Private and Protected
(e) Extends and interface

3. Define the following terms and what is their purpose: [15]
(i) Panel
(ii) Frame
(iii) Java is distributed
(iv) Java is robust
(v) Java is interpreted

4. Answer the following questions: [04]
(1) Describe the relationship between an object and its defining class, How do you declare a class? How do you declare an object? How do you declare and create an object in statement? [04]
(2) Describe pass by references and pass by value through example. [02]
(3) List the modifiers and describe their purposes. [05]
(4) Determine true or false in the following statements: [04]
(1) You can add a component to a button
(2) You can add a frame to a panel
(3) You can add a button to a frame
(4) You can add a panel to a frame

5. (i) Implement a class employee. An employee a has a name (c string) and a salary (a double). Write a default constructor and constructor with two parameters (name and salary) and two methods: [10]

  • to return the name and salary and
  • a method that raises the employee’s salary. Write a small program that tests your class.

5. (i) Implement a class student. A student has a name and stipend (double data type). Write a dafault constructor and constructor with parameters (name and stipend) and two methods:

  • to return the name and stipend and [10]
  • a method that raises the employee’s salary. Write a small program that tests your class.

(ii) Answer the following questions: [05]
(a) How do you create a text area with 10 rows and 20 columns? How do you insert 2 lines into the text area?
(b) How do you create a checkbox group with three items? How do you determine if a box is checked?

6. (i) Draw the AWT class hierarchy and discuss important classes and its methods. [10]
(ii) Why do we need to use the layout manager? [05]

Define the following terms and their purpose (i) Panel (ii) Frame (iii) Java is distributed (iv) Java is robust (v) Java is interpreted,define the following terms and their purpose in java panel & frame,ignou internet programming,Implement a class student A student has a name and stipend (double data type) Write a default constructer and constructer with two parameters (name and stipend )and two methods : i) to return the name and stipend and ii) a method that raises the employees,mca internet programming questions with answers,SAMPLE PAPER FOR INTERNET PROGRAMING,sample paper for internet programming,sample paper for programming courses
Path :: Home > Sample Papers > IGNOU Question Papers > BCA > IGNOU ‘Internet Programming’ Sample Paper