30.11.2014 Views

B.Sc. - Acharya Nagarjuna University

B.Sc. - Acharya Nagarjuna University

B.Sc. - Acharya Nagarjuna University

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Model Question Paper<br />

B.<strong>Sc</strong>.(Computer <strong>Sc</strong>ience): II Year: Theory Paper­2<br />

OBJECT ORIENTED PROGRAMMING WITH JAVA AND DATA STRUCTURES<br />

Time: 3Hrs Max. Marks: 100<br />

______________________________________________________________<br />

Section – A<br />

Answer ALL Questions 10 * 2 = 20<br />

1. a) Difference between applet and Standalone applications?<br />

b) Is a Java Program compiled or Interpreted? Justify?<br />

c) Difference between String and StringBuffer.<br />

d) What are the components of Java Development kit?<br />

e) Write rules of thumb?<br />

g) How can you compile a package?<br />

h) Write attributes of applet tag.<br />

i) Define Stack.<br />

j) Define Completed Graph.<br />

Section – B<br />

Answer ALL Questions 5 * 16 = 80<br />

2. a) Explain the merits and demerits of Object Oriented<br />

Programming.<br />

b) How is java associated with World Wide Web.<br />

(or)<br />

c) Explain about the Structure of Java Program.<br />

d) What are different data types in Java.<br />

3. a) Discuss Type Conversion in Expressions.<br />

b) Explain Control Structures in Java.<br />

(or)<br />

c) What is the difference between Overloading and Overriding?<br />

d) Explain Visibility Access in Java.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!