How To Exam?

a knowledge trading engine...


Gujarat University 2009-1st Year B.C.A Computer Application 3rd nternet Technologies and Programming - Question Paper

Sunday, 12 May 2013 07:55Web


BCA Question Paper of April 2009

Internet Technologies and Programming April 2009

Total Marks 70 Duration : 3 hrs

Instructions

 

All the questions are compulsory.

Be careful of lower case and upper case

 

1

Answer the following.

14

(A)

Attempt any two

6

1

Write short note on thread life cycle.

2

Explain various methods of thread class.

3

Explain the concept of thread priorities in Java.

(B)

Answer the following (Any one)

4

1

Explain various access modifiers and their visibility.

2

Write short note on Java package.

(C)

Answer the following (Any one)

4

1

Write a Java program to create three theads. Each thread should produce the sum of 1 to 10, 11 to 20 and 21to 30 respectively. Main thread should wait for all the threads to be completed and it should be display final sum.

2

Write a Java program to create two theads. First thread should print the string at the interval of 300 ms. Second thread should print the string at the interval of 700 ms. String to be printed should be passed as constructor argument. Thread should be created using Runnable interface.

2

Answer the following

14

(A)

Answer the following (Any two)

8

1

Write a short note on data types of Java.

2

Explain types of Java programs. Also explain how to compile and run them.

3

Write short note on bitwise operators of Java.

(B)

Answer the following (Any three)

8

1

Explain any two feature of Java.

2

Explain the terms bytecode and JVM.

3

Explain the benefit of short ciruit operators.

4

Write a Java program that takes 3 integer numbers from command line and display maximum number. (Use conditional operator)

5

Explain various types of comments supported by Java.

3

Answer the following.

14

(A)

Attempt any two

6

1

Explain the process of deleating and renaming a file in a Java program with the help of suitable example.

2

Write a short note on Random Access File class.

3

List the names of various classes supported by Java.io package to handle character stream.

(B)

Answer the following (any one)

4

1

Explain Java's exception handling mechanism in detail.

2

Explain the process of creating custom exception and handling it.

(B)

Answer the following (any one)

4

1

Write a Java progrm that copies one text file to another, converting every lower case character to upper case equivalent. Names of surces file and destination file should be passed from command line.

2

Write a Java program that tales filename or directory name from command line. If it is a vlid flename then it should display its size.If it is a valid directory name then it shouls disply the count of numer of files in that directory.

4

Answer the following.

14

(A)

Attempt any two :

6

1

Explain final class, abstract class and super class.

2

Write a JAva program that takes various string from command line and display them in sorted order.

3

Write short note on character wrapper class.

(B)

Answer the following (any one).

3

1

Write short note on interface.

2

Write a Java program that demonstaress multiple inheritance.

(C)

Fill in the blanks.

5

1

_____________operator is used to crate an array.

2

_____________method can be called without the instance of a class.

3

When an interface method is implemented in a class. it must be declared as _____________.

4

_____________method of Math class returns the largest integer number less than or equal to given double value.

5

Strings that need modification are handled by _____________ class.

5

Answer the following .

14

(A)

Attempt any five :

10

1

Give the class hierarchy of an Applet class.

2

Explain the start() and stop() methods of applet life cycle.

3

Write a ava applet that sets blue color foreground and yellow color background at the start of an applet.

4

Give the exception hierarchy of Java.

5

Explain the use of throw and throws keywords.

6

Explain the parameters of Font class constructor.

7

What is delegation event model?

8

List the names of classes used to create button and text box in Java.

(B)

Attempt any one :

4

1

Write a Java applet that drwas a line between 2 points. The co-ordinates of 2 points should be passed as parametrs from html file. The color of the line should be red.

2

Write a Java applet to draw cylinder and pentagon shapes.

 

 


( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Gujarat University 2009-1st Year B.C.A Computer Application 3rd nternet Technologies and Programming - Question Paper