SlideShare a Scribd company logo
No. of Printed Pages : 3                               CS-74

       BACHELOR IN COMPUTER APPLICATIONS
N
                    Term-End Examination
14')
O                             June, 2011

          CS- 74 : INTRODUCTION TO INTERNET
                       PROGRAMMING

  Time : 3 hours                            Maximum Marks : 75
  Note : Question No. 1 is compulsory. Attempt any Three
          from the rest.

  1.    (a) How does Java Prog. Support robustness ?              4
        (b) Write the precedence of the following                 2
             operators.
             < > [] _ » ( )
        (c)   Is it possible to convert string into numbers ?     5
              Explain with the help of suitable example.
        (d)   State whether True or False for the following       5
              statements :
              (i) A subclass cannot call the constructor
                     of it's super class.
              (ii) The Array size in Java is fixed after it
                     is declared.
              (iii) A default member function of a class
                     can not be accessed outside the
                     package in which this class is
                     declared.

  CS-74                                                     P.T.O.
(iv) If no exception is thrown from a try
                block, then control passes to finally
                block after the closing braces of the
                try block.
           (v)   A Native method is a method which
                 is not written in Java.
     (e)   Differentiate between transient and volatile   4
           keyword in Java.
     (f)   What are the various ways to execute an 5
           Applet ?
     (g)   Write an Applet showing the sequence of        5
           method executed during the life cycle of an
           Applet.


2.   (a) When do we use protected specifier in a          6
          Java program ? Explain with example.
     (b)   What is method overloading ? Explain.          6
     (c)   How Garbage Collection is performed in         3
           Java ?


3.   (a) What is a package ? Why do we need               5
          package ? Explain.
     (b)   Differentiate between while and do - while     5
           with the help of suitable example.
     (c)   Write a program to accept two numbers at       5
           the command line and print out their
           product.



CS-74                         2
4.   (a) Can you extend interfaces in Java ? Explain       5
          with example
     (b)   What is the method to retrieve the color of     6
           the text ? Write a program to retrieve the
           RGB values of a color.
     (c)   What is a stream ? Differentiate between        4
           stream source and stream destination.


5.   (a) What will happen if main thread finishes          6
          before the child thread ? How do you make
          sure that child thread gets terminated first ?
     (b)   What is built - in Exceptions in Java ?         6
           Explain the use of any one of them with the
           help of suitable Example.
     (c)   How many Listeners are there for trapping       3
           mouse movements ? Explain briefly.




CS-74                         3

More Related Content

PPTX
The pocl Kernel Compiler
PDF
R09 object oriented modeling
PPTX
Copy propagation
PDF
Internet Technologies (October – 2013) [Question Paper | IDOL: Revised Course]
PPTX
achievements
PDF
PDF
PDF
The pocl Kernel Compiler
R09 object oriented modeling
Copy propagation
Internet Technologies (October – 2013) [Question Paper | IDOL: Revised Course]
achievements

Similar to Cs 74 (20)

PDF
ITI COPA Java MCQ important Questions and Answers
PDF
Operating%20 system iii_201
PDF
Oop april 2018
PDF
Java Interview Questions
DOC
Core java msc
PDF
Oop sample ktu
PPTX
Std 12 chapter 7 Java Basics Important MCQs
PDF
Oop r&amp;s may 2019
PDF
Oop r&amp;s may 2019 (2)
PDF
Java Programming.pdf
PDF
Java interview question
PDF
05211201 Advanced Data Structures And Algorithms
PDF
05211201 A D V A N C E D D A T A S T R U C T U R E S A N D A L G O R I...
PDF
PDF
PDF
computer exercise chapter 1 for Ninth Standard
PDF
Difference between java and c#
PDF
PPTX
What are the key features of Java 17, and how does it differ from previous ve...
PDF
C language 100 questions answers
ITI COPA Java MCQ important Questions and Answers
Operating%20 system iii_201
Oop april 2018
Java Interview Questions
Core java msc
Oop sample ktu
Std 12 chapter 7 Java Basics Important MCQs
Oop r&amp;s may 2019
Oop r&amp;s may 2019 (2)
Java Programming.pdf
Java interview question
05211201 Advanced Data Structures And Algorithms
05211201 A D V A N C E D D A T A S T R U C T U R E S A N D A L G O R I...
computer exercise chapter 1 for Ninth Standard
Difference between java and c#
What are the key features of Java 17, and how does it differ from previous ve...
C language 100 questions answers
Ad

More from Web Developer (20)

PDF
PDF
PDF
Cs 611 (p)s4
PDF
Cs 611 (p)s3
PDF
Cs 611 (p)s2
PDF
Cs 611 (p)s1
PDF
PDF
PDF
Cs 74 (p)s8
PDF
Cs 74 (p)s7
PDF
Cs 74 (p)s6
PDF
Cs 74 (p)s5
PDF
Cs 74 (p)s4
PDF
Cs 74 (p)s3
PDF
Cs 74 (p)s2
PDF
Cs 74 (p)s1
PDF
PDF
Cs 72 (p)s8
PDF
Cs 72 (p)s5
PDF
Cs 72 (p)s4
Cs 611 (p)s4
Cs 611 (p)s3
Cs 611 (p)s2
Cs 611 (p)s1
Cs 74 (p)s8
Cs 74 (p)s7
Cs 74 (p)s6
Cs 74 (p)s5
Cs 74 (p)s4
Cs 74 (p)s3
Cs 74 (p)s2
Cs 74 (p)s1
Cs 72 (p)s8
Cs 72 (p)s5
Cs 72 (p)s4
Ad

Recently uploaded (20)

PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPTX
TLE Review Electricity (Electricity).pptx
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PPTX
Chapter 5: Probability Theory and Statistics
PDF
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
Tartificialntelligence_presentation.pptx
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Mushroom cultivation and it's methods.pdf
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
PPTX
A Presentation on Touch Screen Technology
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
TLE Review Electricity (Electricity).pptx
Heart disease approach using modified random forest and particle swarm optimi...
Chapter 5: Probability Theory and Statistics
ENT215_Completing-a-large-scale-migration-and-modernization-with-AWS.pdf
OMC Textile Division Presentation 2021.pptx
A Presentation on Artificial Intelligence
Univ-Connecticut-ChatGPT-Presentaion.pdf
Tartificialntelligence_presentation.pptx
Accuracy of neural networks in brain wave diagnosis of schizophrenia
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
NewMind AI Weekly Chronicles - August'25-Week II
DP Operators-handbook-extract for the Mautical Institute
Mushroom cultivation and it's methods.pdf
MIND Revenue Release Quarter 2 2025 Press Release
SOPHOS-XG Firewall Administrator PPT.pptx
A comparative study of natural language inference in Swahili using monolingua...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Video forgery: An extensive analysis of inter-and intra-frame manipulation al...
A Presentation on Touch Screen Technology

Cs 74

  • 1. No. of Printed Pages : 3 CS-74 BACHELOR IN COMPUTER APPLICATIONS N Term-End Examination 14') O June, 2011 CS- 74 : INTRODUCTION TO INTERNET PROGRAMMING Time : 3 hours Maximum Marks : 75 Note : Question No. 1 is compulsory. Attempt any Three from the rest. 1. (a) How does Java Prog. Support robustness ? 4 (b) Write the precedence of the following 2 operators. < > [] _ » ( ) (c) Is it possible to convert string into numbers ? 5 Explain with the help of suitable example. (d) State whether True or False for the following 5 statements : (i) A subclass cannot call the constructor of it's super class. (ii) The Array size in Java is fixed after it is declared. (iii) A default member function of a class can not be accessed outside the package in which this class is declared. CS-74 P.T.O.
  • 2. (iv) If no exception is thrown from a try block, then control passes to finally block after the closing braces of the try block. (v) A Native method is a method which is not written in Java. (e) Differentiate between transient and volatile 4 keyword in Java. (f) What are the various ways to execute an 5 Applet ? (g) Write an Applet showing the sequence of 5 method executed during the life cycle of an Applet. 2. (a) When do we use protected specifier in a 6 Java program ? Explain with example. (b) What is method overloading ? Explain. 6 (c) How Garbage Collection is performed in 3 Java ? 3. (a) What is a package ? Why do we need 5 package ? Explain. (b) Differentiate between while and do - while 5 with the help of suitable example. (c) Write a program to accept two numbers at 5 the command line and print out their product. CS-74 2
  • 3. 4. (a) Can you extend interfaces in Java ? Explain 5 with example (b) What is the method to retrieve the color of 6 the text ? Write a program to retrieve the RGB values of a color. (c) What is a stream ? Differentiate between 4 stream source and stream destination. 5. (a) What will happen if main thread finishes 6 before the child thread ? How do you make sure that child thread gets terminated first ? (b) What is built - in Exceptions in Java ? 6 Explain the use of any one of them with the help of suitable Example. (c) How many Listeners are there for trapping 3 mouse movements ? Explain briefly. CS-74 3