SRI S.
RAMASAMY NAIDU MEMORIAL POLYTECHNIC COLLEGE,SATTUR-626 203
DEPARTMENT OF COMPUTER ENGINEERING
QUESTION CODE
MODEL EXAM
Marks: 100 Time: 3.00 Hrs
Part A (Answer All the questions)
(10x3=30)
1. Define Java virtual machine?
2. Define type casting?
3. Define continue statement?
4. Explain creating string buffer class?
5. Explain extending interface?
6. Explain naming convention in packages?
7. Define exception and built in exception?
8. How threads are created using runnable interface?
9. Write short notes on menu?
10. Explain drawing polygon?
Part B (Answer all the questions)
(5x14=70)
11. (a) i).Explain the basic concepts of java?
ii).Explain any three features of java?
(Or)
(b) i) Explain java environment?
ii) Explain how expressions are evaluated in java?
12. (a) i)Explain labelled loop with example.
ii).Define 1-D array and explain array creation?
(Or)
(b) Explain any seven string buffer methods?
13. (a) i)Write a program to explain interface?
ii)Define and explain constructor with example?
(Or)
(b) i).Explain visibility control?
14. (a) i)Explain thread priority?
ii) Explain character stream?
(Or)
(b) Explain how to create own exception sub class?
15. (a) Explain i) drawing lines ii).Filling rectangles iii). Drawing arc
(Or)
(b) i) Explain applet tag in HTML.
ii) Explain Layout manager.