IndiaStudyCenter.comWant to join in a course? Need suggestions?
Visit CollegeZones.com
Colleges & Universities | Distance Education | Admission Notifications | Entrance Exams | Course Syllabus | Question Papers
Home / Test Papers / IGNOU / CS74 Introduction to Internet Programming
CS74 Introduction to Internet Programming December 2005
Ask a question
Print this page
IGNOU CS-74

CS-74 Test Papers

IGNOU - BCA

About IGNOU - BCA Course

IGNOU - BCA Syllabus

IGNOU - BCA Assignments

IGNOU - BCA Test Papers

IGNOU Programs

IGNOU

Courses, Admissions & Eligibility

Admission to BA International Hospitality Administration - 2008-09 Session

Admission Procedure & Schedule

Colleges, Faculties & Departments

Who's Who at the University

Re-Admission Procedure

Study Centres in India

Partner Institutions outside India

Syllabus

IGNOU Test Papers (by Course)

IGNOU Test Papers (by Paper code)

Assignments

IGNOU Dec 2008 Examination Timetables

IGNOU Exam Timetables

Notifications, Circulars & Announcements 2008

Events, Seminars & Workshops

Examination Results

IGNOU Improvement tests

Test Papers / Previous Question Papers of IGNOU CS74 Introduction to Internet Programming December 2005

BACHELOR IN COMPUTER APPLICATIONS
Term-End Examination

December, 2005

CS74 : INTRODUCTION TO INTERNET PROGRAMMING

Time: 3 hours
Maximum Marks: 75

Note : Question number 1 is compulsory. Answer any three questions from the rest.

1. (a) Write a program in Java to perform the addition of two complex numbers. (10)

(b) Explain what happens if private is applied to a method in a class. Give an example. (5)

(c) Write the output of the following statements where int a = - 8, b = 4 ;
(i) ++b<<1
(ii) a >> 2
What are final variable, final method and final class ? (3)

(d) What are final variable, final method and final class ? (3)

(e) Write a program in Java that asks 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 lengths of its sides.
Use an overloaded method to calculate the area and output the value on the screen. (8)

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. (9)

(b) Define a constructor. Is it possible, to overload a constructor ? Justify your answer using an example. (6)

3. (a) What is finally block in Java ? How many finally blocks can be associated with a try block ? Give an appropriate example and explain. (8)

(b) Describe the accessibility of unnamed, private, protected and public members within a package, subclass and globally. (7)

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 instances of Excellent class be created ? Write the corresponding statements. (8)

(b) Write a program to find the Least Common Multiple (LCM) of two integers. (5+2=7)

5. (a) Write a program to input characters from the keyword and output a table giving the different numbers of vowels. (10)

(b) Is every Java program platform independent ? Justify your answer. (5)

Most popular pages

Business Schools - Engineering Colleges - Medical & Nursing Admissions - BEd in Distance mode - Journalism & Media Studies - Forensic Science

Search this site

Enter a detailed keyword. Ex: Question Papers of IGNOU MCA Ist Semester