Name of the College : Sphoorthy Engineering College
University : JNTUH
Department : Instrumentation And Control Engineering
Subject Code/Name : R05312203/OOPS THROUGH JAVA
Degree : B.Tech
Year/Sem : III/I
Website : sphoorthyengg.com
Document Type : Model Question Paper
Download Model/Sample Question Paper : https://www.pdfquestion.in/uploads/sphoorthyengg.com/4758-R05312203-OOPSTHROUGHJAVA.pdf
Sphoorthy OOPS Through JAVA Question Paper
III B.Tech I Semester Examinations,December 2011
Time: 3 hours
Max Marks: 80
Related : Sphoorthy Engineering College RR310201 Computer Organization B.Tech Question Paper : www.pdfquestion.in/4754.html
Set No. 1
Answer any FIVE Questions :
All Questions carry equal marks :
1. Explain the following:
(a) Creating an applet
(b) Passing parameters to applets
(c) Adding graphics and colors to applets. [4+4+8]
2. Explain the following Thread related exceptions with examples:
(a) Illegal Monitor State Exception
(b) Illegal Thread State Exception. [8+8]
3. (a) What is the dierence between Internet address and Inet Address?
(b) Explain data grams. [8+8]
4. (a) How can you prevent a class from Inheritance?Explain with an example.
(b) How can you prevent a method from overriding? Explain with an example.
(c) What is the use of this keyword in java. [6+6+4]
5. (a) What is a package? How do we design a package?
(b) How do we add a class or interface to a package? [8+8]
6. Distinguish between the following terms:
(a) Objects and classes
(b) Data abstraction and data encapsulation
(c) Inheritance and polymorphism
(d) Dynamic binding and message passing. [16]
7. (a) How do you scale a drawing object in java? Explain with an example java program.
(b) What is the functionality supported by java related to colours. [8+8]
8. Write an application to solve quadratic equation of the form AX2+BX + C = 0 Where the coefficients A,B and C are real numbers. The two real number solutions are derived by the formula
Set No. 2
Code No: R05312203
R05
1. Explain the following:
(a) Creating an applet
(b) Passing parameters to applets
(c) Adding graphics and colors to applets. [4+4+8]
2. (a) What is the difference between Internet address and InetAddress?
(b) Explain data grams. [8+8]
3. Write an application to solve quadratic equation of the form AX2+BX + C = 0 Where the coefficients A,B and C are real numbers. The two real number solutions are derived by the formula.
For this exercise,you may assume that A 6= 0 and the relationship holds, so there will be real number solutions for x. Use the standard input and output. [16]
4. (a) How can you prevent a class from Inheritance?Explain with an example.
(b) How can you prevent a method from overriding? Explain with an example.
(c) What is the use of this keyword in java. [6+6+4]
5. Distinguish between the following terms:
(a) Objects and classes
(b) Data abstraction and data encapsulation
(c) Inheritance and polymorphism
(d) Dynamic binding and message passing. [16]
6. (a) How do you scale a drawing object in java? Explain with an example java program.
(b) What is the functionality supported by java related to colours. [8+8]
7. (a) What is a package? How do we design a package?
(b) How do we add a class or interface to a package? [8+8]
8. Explain the following Thread related exceptions with examples:
(a) Illegal Monitor State Exception
(b) Illegal Thread State Exception.
Set No. 3
1. Distinguish between the following terms :
(a) Objects and classes
(b) Data abstraction and data encapsulation
(c) Inheritance and polymorphism
(d) Dynamic binding and message passing. [16]
2. (a) What is the dierence between Internet address and InetAddress?
(b) Explain data grams. [8+8]
3. Write an application to solve quadratic equation of the form AX2+BX + C = 0 Where the coefficients A,B and C are real numbers. The two real number solutions are derived by the formula
4. Explain the following :
(a) Creating an applet
(b) Passing parameters to applets
(c) Adding graphics and colors to applets. [4+4+8]
5. (a) How can you prevent a class from Inheritance?Explain with an example.
(b) How can you prevent a method from overriding? Explain with an example.
(c) What is the use of this keyword in java. [6+6+4]
6. Explain the following Thread related exceptions with examples:
(a) Illegal Monitor State Exception
(b) Illegal Thread State Exception. [8+8]
7. (a) How do you scale a drawing object in java? Explain with an example java program.
(b) What is the functionality supported by java related to colours. [8+8]
8. (a) What is a package? How do we design a package?
(b) How do we add a class or interface to a package? [8+8]
View Comments (1)
java model paper