2007 Anna University Chennai B.Sc Computer Science INTERNET PROGRAMMING Question paper for exam preparation. Question paper for 2007 Anna University Chennai B.Sc Computer Science INTERNET PROGRAMMING Question paper, Exam Question papers 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2012 university in india question papers. SiteMap
K2Questions Logo

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

University Question Papers
2007 Anna University Chennai B.Sc Computer Science INTERNET PROGRAMMING Question paper
Computer Technology

INTERNET PROGRAMMING

(Common to B.Sc. Information Technology)

PART A – (10 X 2 = 20 marks)

Three hours Maximum : 100 Marks

PART – A (10 X 2 = 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 answer.
6. How is multiple inheritance implemented in Java?
7. What is meant by synchronization? What is its need?
8. What are the 2 methods of creating threads?
9. How is applet included in a HTML file?
10. What do the init ( ) and start ( ) 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 various colours and fonts.

UNIT II

12. (a) What are the rules for explivit and implicit type 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 different types of employees like unskilled techniques,
skilled technicians, engineers, managers, directors and managing directors. Create
a super class called employee from which various classes are derived. Include
appropriate functions in various 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 read sentences 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 one file into another. (10)

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



About us | SiteMap | Terms of use | Privacy Policy | Disclaimer | Contact us | ©2010 K2Questions.com