How To Exam?

a knowledge trading engine...


Rajasthan Technical University 2011-6th Sem B.Tech Computer Science and Engineering ( - ) Programming in java - Question Paper

Friday, 24 May 2013 11:45Web

B.tech VI Semester (Main) Examination, May/June 2011
Computer Engineering
6CS4 Programming in java

Unit 1
1.
a. Explain java virtual machine. What is the significance of java byte code in java programming language?

b. Explain kind conversion and kind casting in java with an example.

c. Explain the subsequent operators with an example.

i) Bit wise operators
ii) Relational operators and Boolean logic operators.

OR

a. How can you implement an array in java. Whose size may change during execution of a program?
b. Explain briefly the subsequent object oriented concepts:-
a. Abstraction and encapsulation
b. Methods and messages
c. Inheritance
d. Polymorphism.


Unit 2

2.
a. Write object oriented program in java which covers subsequent concept:
i) Using break.
ii) Using continue on.
iii) Return.
b. What is method overloading? elaborate the important points which should be taken care of while overloading methods?
c. Write a java program to discuss the "using final with inheritance".

OR
a. Write object oriented program in java to exemplify various kinds of visibility modifiers namely:
i) Public
ii) Protected
iii) Private
iv) Private protected
v) Friendly (default).

b. Explain about explicitly invoking garbage collector and finalize() method.


Unit 3
3.
a. What is an interface? define the purpose and applications of interface.
b. How do you add a class or an interface to a package? discuss with an example.
c. What is string buffer? provide the 3 ways of creating a string object.

OR

a. Explain with the help of a java program how an interface can be used to support multiple inheritance.
b. Describe the different levels of access protection available in package and their implications with an example program.


Unit 4
4.
a. What is main difference ranging from Readers/Writers and Input/output streams? provide a few sub classes of learner and author class.
b. Write a detail note on byte streams and character streams in java.

OR

Write detail note on exception handling in terms of subsequent :
i) Try- catch
ii) The finally keyword
iii) Catching multiple exception
iv) The throws keyword and throwing exception.


Unit 5
5.
a. Explain the structure of applet, with the help of example.
b. Describe complete life cycle of thread. How thread is various from process?

OR

a. Describe the concept of applet. elaborate different kinds of applets? discuss the procedure of creating threads.
b. Briefly explain:
i) Thread synchronization
ii) Thread execution.




( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Rajasthan Technical University 2011-6th Sem B.Tech Computer Science and Engineering ( - ) Programming in java - Question Paper