munotes®

B.Sc. (Computer Science) Sem 4 BSc CS Semester 4 (2014 2015) 2015 Comp II Question Paper - Mumbai University | munotes

BSc CS Semester 4 (2014 2015) Question Paper, 2015.pdf
SEM 4 · BSc CS Semester 4 (2014-2015) · 1 May 2025

Loading PDF...

Questions asked in this paper

  1. Q1 Write a program to sort given array elements
    • d) What do you mean by method overloading? Illustrate with example What is the difference between instance members and static members?
    • f) Compare in terms of their functions, the following pair of statements , 1) while and do.,.while
    • ii) while and for
    • g) Explain ternary operator. Write a program to illustrate the concept of same
    • h) Explain Entry-controlled loop and Exit-controlled loop
  2. Q2 Attempt any Four. 20 marks
    • a) What is finally block? When and how is it used? Give suitable example
    • b) Describe various forms of implementing interfaces. Give examples of java code for any How Java prevents overriding of the superclass method in subclass?
    • d)How to achieve Run time polymorphism in Java? Compare and contrast overloading and overriding methods,
    • f) What is a package? How do we design a package? Explain with example
    • g) What is an exception? Explain exception handling mechanism in java
    • h) What are input and output stream? List two methods of each class
  3. Q3 Attempt any Four. 20 marks
    • a) Write an applet code to display a messages “GOOD MORNING” on the screen with size
  4. Q50 The message should display in Green color with Italic Font Style
    • b) Explain following AWT controls :
    • i) Label
    • ii) TextArea
    • iii) List ) d) Write a short note on Delegation event model Write a short note on following:
    • a) Component
    • b) Container
    • c) Panel d
    • e) Frame
    • e) Describe the different stages in the life cycle of an applet
    • f) Explain following event listener interface
    • h) What are the different Color methods used in
  5. Q4 Attempt any three. with example
    • a) What do vou mean by method overriding?
    • b) Explain constructor overloading with proper te protected access used in Java
    • c) Explain public, private, protected, friendly, private of exception and then incorporate
    • d)Create a try block likely to generate three necessary catch blocks to catch and handle them on? What is the difference between an applet and
    • f) Write an applet code to draw the following shapes:

Read from the scan above, so a character or two may differ. The scan is the original.

Report or request

Something wrong on this page? Report it and we will check it against the scan.

Quick Help

No. The full paper opens straight away, with no login and nothing to pay.

Something wrong with this paper? Report it.

Connected Papers
B.Sc. (Computer Science) / Sem 4 · 55 papers
Browse all →
Questions? Email contact@munotes.in
Done!
Done!