RR

Code No: 27038

Set No - 1

in

IV B.Tech I Semester Supplimentary Examinations,Nov/Dec 2009 TRANSPORT PHENOMENON Chemical Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? [16]

2. Design an applet to create a menu bar and pull down menus.

[16]

File Open New

Edit Undo Cut

ld .

1. Show how and why, HTML file is used in an applet. With an example.

View Normal Tool bar

3. (a) Distinguish between instance methods and class methods.

[4]

[4]

(c) What is the difference between a method and a program?

[4]

or

(b) Discuss about class variable with an example.

(d) The variables System.in and System.out are static public variables. Is it possible to override them? If so, how? [4]

uW

4. (a) What is a stream? What are the types of streams defined in Java2? Explain in brief? [8] (b) Explain the following: i. BufferedReader ii. BufferedWriter.

[4] [4]

5. (a) A Super class variable can reference a subclass object. Justify you answer with example program. [8]

nt

(b) Define reusable classes based on inheritance and abstract classes and abstract methods. [8]

Aj

6. (a) Suppose that statement2 causes an exception in the following try-catch block: try{ statement1; statement2; statement3; } catch(Exception1 e1) { } catch(Exception2 e2) { } statement4; Answer the following and justify your answer. i. Will the statement3 be executed? ii. If the exception is not caught, will statement4 be executed? 1

Code No: 27038

RR

Set No - 1

iii. If the exception is caught in the catch clause, will statement4 be executed? iv. If the exception is passed to the caller, will statement4 be executed? [6]

Will statement5 be executed? If the exception is of type Exception3, what will happen? Will statement5 be executed? Will statement4 be executed?

or

i. ii. iii. iv.

ld .

in

(b) Suppose that statement2 causes an exception in the following try-catch block: try{ statement1; statement2; statement3; } catch(Exception1 e1) { } catch(Exception2 e2) { } catch(Exception3 e3) {throw e3; } finally {statement5;} statement4; Answer the following and justify your answer?

[5]

nt

uW

(c) Write the output of the following program? import java.io.File; class Demo { static void p(String s) { System.out.println(s); } public static void main(String args[ ]) { File f1 = new File(“ /java/COPYRIGHT”); p(“\n Name:”+f1.getName( )); p(“\n Parent:”+f1.getParent( )); p(f1.exists( ) ? “ is writeable” : “ is not writeable”); p(f1.canRead( ) ? “is readable” : “is not readable”); } }

[5]

7. (a) Describe the arguments used in the method drawRoundRect ( )

Aj

(b) Explain the purpose of each argument used in the method draw Arc( )

8. (a) Write the different kinds of arithmetic and relational operators in Java. (b) Discuss the package java.lang in detail. ?????

2

[8] [8] [8] [8]

Code No: 27038

RR

Set No - 2

in

IV B.Tech I Semester Supplimentary Examinations,Nov/Dec 2009 TRANSPORT PHENOMENON Chemical Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. (a) What is a stream? What are the types of streams defined in Java2? Explain in brief? [8]

ld .

(b) Explain the following: i. BufferedReader ii. BufferedWriter.

[4] [4]

2. (a) Distinguish between instance methods and class methods.

or

(b) Discuss about class variable with an example.

(c) What is the difference between a method and a program?

[4]

[4]

[4]

(d) The variables System.in and System.out are static public variables. Is it possible to override them? If so, how? [4]

uW

3. (a) Write the different kinds of arithmetic and relational operators in Java. (b) Discuss the package java.lang in detail. 4. (a) Describe the arguments used in the method drawRoundRect ( ) (b) Explain the purpose of each argument used in the method draw Arc( ) 5. Show how and why, HTML file is used in an applet. With an example.

[8] [8] [8] [8] [16]

nt

6. (a) A Super class variable can reference a subclass object. Justify you answer with example program. [8] (b) Define reusable classes based on inheritance and abstract classes and abstract methods. [8]

Aj

7. (a) Suppose that statement2 causes an exception in the following try-catch block: try{ statement1; statement2; statement3; } catch(Exception1 e1) { } catch(Exception2 e2) { } statement4; Answer the following and justify your answer. i. Will the statement3 be executed? 3

RR

Code No: 27038

Set No - 2

ii. If the exception is not caught, will statement4 be executed? iii. If the exception is caught in the catch clause, will statement4 be executed? iv. If the exception is passed to the caller, will statement4 be executed? [6]

Will statement5 be executed? If the exception is of type Exception3, what will happen? Will statement5 be executed? Will statement4 be executed?

or

i. ii. iii. iv.

ld .

in

(b) Suppose that statement2 causes an exception in the following try-catch block: try{ statement1; statement2; statement3; } catch(Exception1 e1) { } catch(Exception2 e2) { } catch(Exception3 e3) {throw e3; } finally {statement5;} statement4; Answer the following and justify your answer?

[5]

nt

uW

(c) Write the output of the following program? import java.io.File; class Demo { static void p(String s) { System.out.println(s); } public static void main(String args[ ]) { File f1 = new File(“ /java/COPYRIGHT”); p(“\n Name:”+f1.getName( )); p(“\n Parent:”+f1.getParent( )); p(f1.exists( ) ? “ is writeable” : “ is not writeable”); p(f1.canRead( ) ? “is readable” : “is not readable”); } }

[5]

Aj

8. Design an applet to create a menu bar and pull down menus. File Open New

Edit Undo Cut

?????

4

View Normal Tool bar

[16]

RR

Code No: 27038

Set No - 3

1. Design an applet to create a menu bar and pull down menus. Edit Undo Cut

View Normal Tool bar

[16]

ld .

File Open New

in

IV B.Tech I Semester Supplimentary Examinations,Nov/Dec 2009 TRANSPORT PHENOMENON Chemical Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ?????

2. (a) Distinguish between instance methods and class methods.

[4]

[4]

(c) What is the difference between a method and a program?

[4]

or

(b) Discuss about class variable with an example.

(d) The variables System.in and System.out are static public variables. Is it possible to override them? If so, how? [4]

uW

3. (a) A Super class variable can reference a subclass object. Justify you answer with example program. [8] (b) Define reusable classes based on inheritance and abstract classes and abstract methods. [8] 4. (a) What is a stream? What are the types of streams defined in Java2? Explain in brief? [8] (b) Explain the following:

nt

i. BufferedReader ii. BufferedWriter.

5. Show how and why, HTML file is used in an applet. With an example. 6. (a) Write the different kinds of arithmetic and relational operators in Java.

Aj

(b) Discuss the package java.lang in detail.

7. (a) Describe the arguments used in the method drawRoundRect ( ) (b) Explain the purpose of each argument used in the method draw Arc( )

[4] [4] [16] [8] [8] [8] [8]

8. (a) Suppose that statement2 causes an exception in the following try-catch block: try{ statement1; statement2; statement3; } 5

Code No: 27038

RR

Set No - 3

catch(Exception1 e1) { } catch(Exception2 e2) { } statement4; Answer the following and justify your answer. Will the statement3 be executed? If the exception is not caught, will statement4 be executed? If the exception is caught in the catch clause, will statement4 be executed? If the exception is passed to the caller, will statement4 be executed? [6]

in

i. ii. iii. iv.

Will statement5 be executed? If the exception is of type Exception3, what will happen? Will statement5 be executed? Will statement4 be executed?

uW

i. ii. iii. iv.

or

ld .

(b) Suppose that statement2 causes an exception in the following try-catch block: try{ statement1; statement2; statement3; } catch(Exception1 e1) { } catch(Exception2 e2) { } catch(Exception3 e3) {throw e3; } finally {statement5;} statement4; Answer the following and justify your answer?

Aj

nt

(c) Write the output of the following program? import java.io.File; class Demo { static void p(String s) { System.out.println(s); } public static void main(String args[ ]) { File f1 = new File(“ /java/COPYRIGHT”); p(“\n Name:”+f1.getName( )); p(“\n Parent:”+f1.getParent( )); p(f1.exists( ) ? “ is writeable” : “ is not writeable”); p(f1.canRead( ) ? “is readable” : “is not readable”); } } ?????

6

[5] [5]

RR

Code No: 27038

Set No - 4

1. Design an applet to create a menu bar and pull down menus. Edit Undo Cut

View Normal Tool bar

[16]

ld .

File Open New

in

IV B.Tech I Semester Supplimentary Examinations,Nov/Dec 2009 TRANSPORT PHENOMENON Chemical Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ?????

2. (a) Distinguish between instance methods and class methods.

[4]

[4]

(c) What is the difference between a method and a program?

[4]

or

(b) Discuss about class variable with an example.

(d) The variables System.in and System.out are static public variables. Is it possible to override them? If so, how? [4]

uW

3. (a) A Super class variable can reference a subclass object. Justify you answer with example program. [8] (b) Define reusable classes based on inheritance and abstract classes and abstract methods. [8] 4. (a) What is a stream? What are the types of streams defined in Java2? Explain in brief? [8] (b) Explain the following:

nt

i. BufferedReader ii. BufferedWriter.

5. Show how and why, HTML file is used in an applet. With an example. 6. (a) Write the different kinds of arithmetic and relational operators in Java.

Aj

(b) Discuss the package java.lang in detail.

[4] [4] [16] [8] [8]

7. (a) Suppose that statement2 causes an exception in the following try-catch block: try{ statement1; statement2; statement3; } catch(Exception1 e1) { } catch(Exception2 e2) { } statement4; Answer the following and justify your answer. 7

Code No: 27038 i. ii. iii. iv.

RR

Set No - 4

Will the statement3 be executed? If the exception is not caught, will statement4 be executed? If the exception is caught in the catch clause, will statement4 be executed? If the exception is passed to the caller, will statement4 be executed? [6]

Will statement5 be executed? If the exception is of type Exception3, what will happen? Will statement5 be executed? Will statement4 be executed?

uW

i. ii. iii. iv.

or

ld .

in

(b) Suppose that statement2 causes an exception in the following try-catch block: try{ statement1; statement2; statement3; } catch(Exception1 e1) { } catch(Exception2 e2) { } catch(Exception3 e3) {throw e3; } finally {statement5;} statement4; Answer the following and justify your answer?

nt

(c) Write the output of the following program? import java.io.File; class Demo { static void p(String s) { System.out.println(s); } public static void main(String args[ ]) { File f1 = new File(“ /java/COPYRIGHT”); p(“\n Name:”+f1.getName( )); p(“\n Parent:”+f1.getParent( )); p(f1.exists( ) ? “ is writeable” : “ is not writeable”); p(f1.canRead( ) ? “is readable” : “is not readable”); } }

Aj

8. (a) Describe the arguments used in the method drawRoundRect ( ) (b) Explain the purpose of each argument used in the method draw Arc( ) ?????

8

[5] [5]

[8] [8]

RR Set No - 1

Open Undo Normal · New · Cut Tool bar · 3. (a) Distinguish between instance methods and class methods. [4] · (b) Discuss about class variable with an example.

53KB Sizes 0 Downloads 159 Views

Recommend Documents

RR Set No - 1
ELECTRICAL AND ELECTRONICS MEASUREMENTS · Instrumentation ... meter moment with an internal resistance of 150 Ω. What would be the · sensitivity of ...

RR Set No - 1
(a) Explain with a block diagram an instrumentation system and explain the · function of various blocks. [12M] · (b) The dead-zone of a certain plyrometer is 0.125 ...

RR Set No - 1
Set No - 1. (b) Define Voltage regulation of a transmission line and explain clearly the Ferranti · effect with a phasor diagram. 8. (a) Define short circuit. Derive the ...

RR Set No - 1
Set No - 1. IV B.Tech I Semester Supplimentary Examinations,Nov/Dec 2009 · COMPUTER AIDED ANALYSIS AND DESIGN · Civil Engineering · Time: 3 hours.

RR Set No - 1
(b) Write the principle of gas analysis by thermal conductivity. [8+8] · 3. What is the procedure for analyzing a process and applying instrumentation? Dis-.

RR Set No - 1
Code No: 23118. RR. Set No - 1. II B.Tech I Semester Supplimentary Examinations,Nov/Dec 2009 · MECHANICS OF SOLIDS · Common to Mechatronics ...

RR Set No - 1
Set No - 1. III B.Tech II Semester Supplimentary Examinations,February 2010 ... (b) Give the construction procedure for a WBM road in a step by step manner.

RR Set No - 1
located at 20 % of the chord located from the leading edge: At CL = 0, CM = · -0.04; at α = 50 , CL = 0.7 , CD = 0.05; CM = -0.016. Where is the aerodynamic.

RR Set No - 1
RR. Set No - 1. II B.Tech I Semester Supplimentary Examinations,Nov/Dec 2009 ... RR. Set No - 1. (b) A 3-phase, 50 Hz, 400 V, wound-rotor induction motor runs ...

RR Set No - 1
(b) With the help of neat sketches, explain the effect of semi cone angles on extruding force and discuss the mode of flow of material. [8+8]. *****. 2. AjntuWorld.in ...

RR Set No - 1
RR. Set No - 1. III B.Tech II Semester Supplimentary Examinations,February 2010 ... RR. Set No - 1. 7. (a) A magnetron is operating in the Π mode and has the ...

RR Set No - 1 Accounts
II B.Tech I Semester Supplimentary Examinations,Nov/Dec 2009 · PULSE AND DIGITAL CIRCUITS · Common to Electronics And Computer Engineering, ...

RR Set No. 2
A venturimeter is to be fitted in a pipe of 0.20m diameter where pressure ... diameter of the throat to ensure that the pressure head does not become negative.

RR Set No. 2
in each droplet of dispersed phase, no movement of A or R in to continuous phase, · and identical concentration of B with in all the droplets determine the ...

RR Set No. 2
3. (a) Explain the different steps to be conducted for software design from project ... (b) “Object Oriented Analysis is radically different from the conventional Struc-.

RR Set No. 2
G = inert-gas rate, lb moles/hr. H = moles of inert solvent held up by packing per unit of tower volume k = reaction-rate constant, lb moles/- (lb mole/hr).

RR Set No. 2
RR. Set No. 2. II B.Tech II Semester Supplementary Examinations,May 2010 ... Code No: RR220801. RR. Set No. 2. (b) One kg of steam having a volume of 180 ...

RR Set No. 2
3. Sketch the root locus of the given system GH(s) = K / (s+1) (s+3) (s+6) · (a) Find the break ... amplifier gain KA=5. Also find steady state error to unit ramp input.

RR Set No. 2
RR. Set No. 2. II B.Tech I Semester Supplementary Examinations,June 2010 · ELECTROMAGNETIC THEORY · Common to Electronics And Control Engineering ...

RR Set No. 2
ii. Synchronous motors totaling 100HP with an average efficiency of 85% and ... RR. Set No. 2. 7. (a) Explain the principle of operation of circuit ReClosure.

RR Set No. 2
Vapour pressure in mm Hg. 200 400 760 1520. T emperature0C for ethanol. 48.4 62.5 78.4 97.5. T emperature0C for methanol 34.8 49.9 64.7. 84. 3. AjntuWorld.

RR Set No. 2
(a) Explain the Flag register of 8085 Microprocessor. (b) Explain the following pins of 8085 Microprocessor. i. RST 5.5 · ii. RST 6.5 · iii. READY · iv. INTA · v. X1,X2 · [6+10] · 3. (a) Define a macro for moving an arbitrary character string that en

RR Set No. 2
is not to exceed 0.85 bar. External diameter of the friction plate is 1.25 times the · internal diameter. Determine the dimensions of the friction plate and the axial.

RR Set No. 2
Code No: RR310806. RR. Set No. 2. III B.Tech I Semester Examinations,May 2011 · ENERGY ENGINEERING · Chemical Engineering · Time: 3 hours.