How To Exam?

a knowledge trading engine...


Anna University Chennai 2007 B.Sc Computer Science INTERNET PROGRAMMING - Question Paper

Friday, 01 March 2013 03:50Web

Computer Technology

INTERNET PROGRAMMING

(Common to B.Sc. info Technology)

PART A – (10 X two = 20 marks)

Three hours Maximum : 100 Marks

PART – A (10 X two = 20 marks)

1. Why are pointers excluded in Java?
2. What is meant by Java Virtual Machine?
3. What is an abstract class? What does it contain?
4. Illustrate the syntax of defining a 3- dimensional array.
5. Can an interface be extended and instantiated? Justify your ans.
6. How is multiple inheritance implemented in Java?
7. What is meant by synchronization? What is its need?
8. What are the two methods of creating threads?
9. How is applet included in a HTML file?
10. What do the init ( ) and begin ( ) method do?

PART – B (5 X 16 = 80 marks)

UNIT 1.

11. (i) Write a Java applet to demonstrate the use of colours in drawing lines, rectangles
and oval shapes.

(ii) Write a Java applet to display a text in different colours and fonts.

UNIT II

12. (a) elaborate the rules for explivit and implicit kind conversions? Illustrate them with
Programs.

(OR)

(b) (i) Write a Java program to illustrate the operation of right shift and unsigned right
Shift operators. (8)
(ii) Incorporate d-while structure in a Java program to add the elements of an array
Containing 100 numbers and calculatee mean value and mean deviation. (8)



UNIT III

13. (a) Develop a Java program to implement a stack with push and pop operations.
Appropriate overflow and underflow must also be generated during above
Operations. The main method must push 10 integers into stack, then pop then and
print their cubes on the output.

(Or)

(b) (i) Write a Java program to create an array of strings, store the months of a year
and print them live by line.

(ii) Write a Java program to illustrate the concept of constructor overloading.

UNIT IV

14. (a) Write a Java program, using inheritance, to model the employees of an
Organization. There are various kinds of employees like unskilled techniques,
skilled technicians, engineers, managers, directors and managing directors. Create
a super class called employee from which different classes are derived. Include
appropriate functions in different classes. (16)

(or)

(b) Write a Java program to illustrate the concept of multiple interface implementation. Also illustrate how an interface can be extended.

UNIT V

15. (a) (i) Write a Java program to learn phrases in the form of strings from the
Keyboard and echo them on the monitor. (10)
(ii) Write a Java program to illustrate the syntax of multiple catch statements after
a try block. (6)

(Or)
(b) (i) Write a Java program to copy the contents of 1 file into a different. (10)

(ii) Write a Java program to create a thread and illustrate its operation.




( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Anna University Chennai 2007 B.Sc Computer Science INTERNET PROGRAMMING - Question Paper