Code No: RT22052
II B. Tech II Semester Supplementary Examinations, April-2018
JAVA PROGRAMMING (Com. to CSE, IT)Time: 3 hours Max. Marks: 70
Note: 1. Question Paper consists of two parts (Part-A and Part-B)2. Answer ALL the question in Part-A
3. Answer any THREE Questions from Part-B
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
PART ?A
1. a) Write a short note on the installation of JDK. (4M)
b) Discuss about binary, unary and ternary operators. (3M)
c) Explain about the final keyword with examples. (3M)
d) How to suspend threads? Give examples. (4M)
e) Differentiate between application and applet (4M)
f) How menu?s are created? Give example. (4M)
PART -B
2. a) What is JVM? Give importance of JVM in java language. (8M)
b) What are the principles and applications of java? Discuss. (8M)
3. a) Differentiate between class and object (8M)
b) Write a java program factorial of a number using command line arguments. (8M)
4. a) What is package? How to create package? Give examples (8M)
b) Write a java program which illustrates the try, catch, throw and throws and finally
blocks. (8M)
5. a) Explain about java.io.package (8M)
b) Differentiate between thread and process? How a thread is created? Discuss. (8M)
6. a) Explain about applet life cycle. (8M)
b) Write a applet program for login page by considering username and password. If
both are correct then only it has to go to the next page. Otherwise it has to display
the error invalid user and password. (8M)
7. a) Explain about components in swings. (8M)
b) Write a program for Armstrong number using AWT components. (8M)
1 of 1
R13
SET – 3 SET – 1
R13
746268 PAPER V - REHABILITATION MEDICINE INCLUDING GERIATRIC MEDICINETHE TAMIL NADU DR. M.G.R. MEDICAL UNIVERSITY…
746268 PAPER V - REHABILITATION MEDICINE INCLUDING GERIATRIC MEDICINETHE TAMIL NADU DR. M.G.R. MEDICAL UNIVERSITY…
746267 PAPER IV - P.T. IN ORTHOPAEDICSTHE TAMIL NADU DR. M.G.R. MEDICAL UNIVERSITY [LN 6267]…
746267 PAPER IV - P.T. IN ORTHOPAEDICSTHE TAMIL NADU DR. M.G.R. MEDICAL UNIVERSITY [LN 6267]…
746266 PAPER III – CLINICAL ORTHOPAEDICSTHE TAMIL NADU DR. M.G.R. MEDICAL UNIVERSITY [LN 6266] AUGUST…
746265 PAPER II – P.T. IN NEUROLOGYTHE TAMIL NADU DR. M.G.R. MEDICAL UNIVERSITY [LN 6265]…