BCA IGNOU

Pages (1) : [1]



CS-74 Introduction to Internet Programming June-2004

Filed under:

Question Paper of CS-74 Introduction to Internet Programming June-2004

Ql(a). What is a byte code in Java?

(b) What is the default access method in Java? Explain this with the help of a suitable example.

© Can an abstract method be declared as final? Justify your answer.

(d) Write a program in Java to print the following pattern for a given input n = 5:
1
22.2
33333
4444444
555555555

(e) Find the error(s), if any, in the following blocks. Also correct the error(s),
(i) Class Demo {
Static void f( )
{system.out.println ("Inside f( )");
throw new Illegal Access Exception ("demo");
}
public static void main (string args[ ])
{
f();
}
}

(ii) Abstract Class A {

Abstract void f( );

Abstract void g( );
Void display ( ){
System.out.println ("Inside A");
}
}
Class B extends A
{
voidf( ){
system.out.println ("Version of B");
} :
Void display( ){system.out.printlii ("Inside B");
}
}
Class Demo {
Public static void main (string args [])
{
B b = newB( );
b.display( );
}
}

(f) What is ‘this’ keyword? How is it different from a super Keyword?

(g) Write a Java program to calculate the sum of the digits of a number. The sum should be calculated recursively to get 2 sing* a'’-A* son, (For example, if input is 189, then the result will be 9).
The input should be accepted from the COHMBU*:I? Ymz.

Pages: 1 2 3 4 5 6

CS-74 Introduction to Internet Programming Dec -2003

Filed under:

Question Papeer of CS-74 Introduction to Internet Programming Dec -2003

Q1 (i). Write a Java program to calculate Cr,
where C = n!/(n - r) ! (r!)
The input of n and r should be accepted from command line.

(ii) What is final keyword? What happens if we apply keyword in class access specifier?

(iii) List all the primitive data types with their sizes as defined in Java.

(iv) Explain the action of break and labelled break commands.

(v) What are reference type variables? How many types of reference variables are available in Java?

Pages: 1 2 3 4 5 6

CS -74 Introduction To Internet ProgrammingJune -2003

Filed under:

Question Paper of CS -74 Introduction To Internet ProgrammingJune -2003

Ql(i). Write a Java program to calculate Fibonacci series recursively.

(ii) What is a Java virtual machine?

(iii) What is the difference between keyword throw and throws?

(iv) What is the difference between an application and an applet?

(v) List all primitive data types, size and range of values they accept.

Pages: 1 2 3 4 5 6

CS -74 Introduction To Internet ProgrammingDec -2002

Filed under:

Question Paper of CS -74 Introduction To Internet ProgrammingDec -2002

Ql (i). Write a complete Java program to find out whether the string t, is contained in the string t. If so, it returns the offset of the first match. If not, it returns -1.

(ii) Answer the following questions:
(a) What is the relationship between Java and HTML?

(b) What happens when your program attempts to access an array element with an invalid index?

© How do you set colours and fonts in a graphics context? How do you find the current colour and font style?

(d) Describe the paint() method. Where is it defined? How is it invoked?

(e) Comment on “Java is a robust programming language".

Pages: 1 2 3 4 5 6

CS -74 Introduction To Internet Programming June -2002

Filed under:

Question Paper of CS -74 Introduction To Internet Programming June -2002

Ql(i). Write a Java program that reads in an integer and breaks it into a sequence of individual digits, for example, the input 16384 is displayed as 1 6 3 8 4.

(ii) Answer the following questions:
(a) What is a final variable? Can you define a final variable without supplying its value?

(b) What is the Java virtual machine ? Explain it.

© What is a integrated programming environment?

(d) Describe the paint() method. Where is it defined? How is it invoked?

(e) What method do you use to obtain an input character from a keyboard?

(f) Describe important men tods in a container and in a panel. Methods in container:

Pages: 1 2 3 4 5 6

CS -74 Introduction To Internet Programming Dec -2001

Filed under:

Question Paper of CS -74 Introduction To Internet Programming Dec -2001

Ql(i). Describe Unicode and ASCII code.

(ii) Java is object-oriented. What are the advantages of object-oriented programming compared to procedural oriented programming?

(iii) Write a recursive program in Java for the greatest common divisor (GCD), Given two positive integers, the GCD is the largest integer that divides them both.

(iv) What is the need of a layout manager? Describe flo wlayout. How do you create a flowlayout manager? How do you add a componenet to a flow-layout container? Is the number of components to be added to a flow-layout container limited?

Pages: 1 2 3 4 5 6

CS-74: Introduction To Internet Programming June-2001

Filed under:

Question Papere of CS-74: Introduction To Internet Programming June-2001

Ql(i). Write a Java program to count 1 to 1000 numbers using 10 threads.

(ii) Write a complete Java program to calculate Fibonacci series non recursively.
(iii) Describe main features of Java programming language.

Pages: 1 2 3 4 5 6

CS-74 Introduction To Internet Programming June - 2005

Filed under:

Question Paper of CS-74 Introduction To Internet Programming June - 2005

Q.l(a) Write a program in Java to find the largest and smallest of n numbers stored in an array, where n is a positive integer.
Program to find Max and Min in an Array.

(b) What happens if final is applied to method in a class ? Explain with the help of suitable example.

© Write the output of the following statements where int a - -10; b-2;
(i) a + 1 2;
(ii) a b + 1;

(d) What is method overloading in Java ? Overload a method swap() to swap values of two variables x, y. Write a program that swaps two integer values as well as two char values.

(e) What are the inner classes in Java ? Explain with example.

(f) What is ‘this’ pointer ? Explain with example.

(g) The commission paid to a salesperson is calculated as follows :
1. If sales < 50, no commission
2. If 50 < = sales ,< = 500, then 10% commission
3. If sales > 500 then commission = Rs. 50 + 8%
Write a Java program and test it with five samples of data.

Pages: 1 2 3 4 5

CS-74 Introduction To Internet Programming Dec.2004

Filed under:

Question Paper of CS-74 Introduction To Internet Programming Dec.2004

Ql(a) Why is Java platform independent ? Explain two advantages of Java independency.

(b) Explain why main method of any Java program is always static. Your explanation should include all the properties of any static method.

© Write a program in Java to print the following pattern for a given input n = 5.
Number = 1 Sum = 1
Number = 2 Sum = 3
Number = 3 Sum = 6
Number = 4 Sum = 10
Number = 5 Sum = 15

(d) Explain three uses of final keyword with the help of suitable example for each,

(e) What are the different data types available in Java ? Explain the need of various data types.

Pages: 1 2 3 4 5 6

CS-74 Introduction to Internet Programming (JAVA, ACTIV X)

Filed under:

We are in the process of upadting this section for the question papers of BCA IGNOU



Courses Offered by IGNOU

School of Computer and Information Sciences (SOCIS)
Master of Computer Applications (MCA)
Bachelor of Computer Applications (BCA)
Bachelor of Information Technology (BIT)
Advanced Diploma in Information Technology (ADIT)
Certificate in Computing (CIC)

School of Humanities
M.A.English (MEG)
M.A.Hindi (MHD)
BA English
BA Hindi
Postgraduate Diploma in Radio Prasran (PGDRP)
Postgraduate Diploma in Translation (PGDT)
Diploma in Creative Writing in English (DCE)
Postgraduate Certificate in Television Writing (PGCTW)
Postgraduate Certificate in Copyediting and Proofreading (PGCCP)
Certificate in the Teaching of English (CTE)

School of Education
Doctor of Philosophy (Ph.D.) (Phase-I)
Post Graduate Diploma in Higher Education (PGDHE)
Bachelor of Education (B.Ed)
Diploma in Primary Education (DPE)
CIG
Certificate in Primary Education (CPE)
Master of Arts (Education)
Post Graduate Diploma in Educational Technology (PGDET)
Post Graduate Diploma in School Leadership and Management (PGDSLM)

School of Continuing Education
Bachelor in Social Work (BSW)
Postgraduate Diploma in Rural Development (PGDRD)
Diploma in HIV & Family Education (DAFE)
Certificate in HIV & Family Education (CAFÉ)
Certificate Programme in Rural Development (CRD)
Elective in Rural Development
Diploma in Nutrition and Health Education (DNHE)
Diploma in Early Childhood Care and Education (DECE)
Certificate in Food and Nutrition (CFN)
Certificate Programme in Nutrition and Childcare (CNCC)
Application Oriented Courses for BDP
Postgraduate Diploma in Journalism and Mass Communication (PGDJMC)
Post Graduate Diploma in Audio Programme Production (PGDAPP)
Certificate in Food Safety (CFS)
M.A. in Rural Development, M.A.(RD)
Master's of Science Degree in Dietetics and Food Service Management {MSc. (DFSM) }
Application Oriented Courses for BDP

School of Health Sciences
Post Basic Bachelor of Sciences in Nursing
Post Graduate Diploma in Maternal & Child Health
Post Graduate Diploma in Hospital and Health Management
Post Graduate Certificate in Rural Surgery
Post Graduate Diploma in Geriatric Medicine
Certificate in Health and Environment
Certificate in Health Care Waste Management
Post Graduate Diploma in Community Cardiology

School of Sciences
Bachelor of Science (B.Sc.) Programme
Certficate Programme Teaching of Primary School Mathematics (CTPM)
Certificate Programme in Laboratory Techniques (CPLT)
Post Graduate Diploma in Intellectal Property Rights (PGDIPR)
Post Graduate Diploma in Environment and Sustainable Devlopment
Appreciation Course On Environment
Awareness Course On Intellectual Property Rights
Programme Under Development