SlideShare una empresa de Scribd logo
1 de 3
Descargar para leer sin conexión
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

Más contenido relacionado

Similar a Cs 74

Operating%20 system iii_201
Operating%20 system iii_201Operating%20 system iii_201
Operating%20 system iii_201
tafaratapera
 

Similar a Cs 74 (20)

Operating%20 system iii_201
Operating%20 system iii_201Operating%20 system iii_201
Operating%20 system iii_201
 
Oop april 2018
Oop april 2018Oop april 2018
Oop april 2018
 
Java Interview Questions
Java Interview QuestionsJava Interview Questions
Java Interview Questions
 
Core java msc
Core java mscCore java msc
Core java msc
 
Oop sample ktu
Oop sample ktuOop sample ktu
Oop sample ktu
 
Std 12 chapter 7 Java Basics Important MCQs
Std 12 chapter 7 Java Basics Important MCQsStd 12 chapter 7 Java Basics Important MCQs
Std 12 chapter 7 Java Basics Important MCQs
 
Oop r&amp;s may 2019
Oop r&amp;s may 2019Oop r&amp;s may 2019
Oop r&amp;s may 2019
 
Oop r&amp;s may 2019 (2)
Oop r&amp;s may 2019 (2)Oop r&amp;s may 2019 (2)
Oop r&amp;s may 2019 (2)
 
Java Programming.pdf
Java Programming.pdfJava Programming.pdf
Java Programming.pdf
 
Java interview question
Java interview questionJava interview question
Java interview question
 
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...
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...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...
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...
 
05211201 Advanced Data Structures And Algorithms
05211201 Advanced Data Structures  And  Algorithms05211201 Advanced Data Structures  And  Algorithms
05211201 Advanced Data Structures And Algorithms
 
Cs 64
Cs 64Cs 64
Cs 64
 
Cs 63
Cs 63Cs 63
Cs 63
 
Difference between java and c#
Difference between java and c#Difference between java and c#
Difference between java and c#
 
Cs 75
Cs 75Cs 75
Cs 75
 
C language 100 questions answers
C language 100 questions answersC language 100 questions answers
C language 100 questions answers
 
0502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set10502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set1
 
0502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set10502 Object Oriented Programming Through Java Set1
0502 Object Oriented Programming Through Java Set1
 
25 java tough interview questions
25 java tough interview questions25 java tough interview questions
25 java tough interview questions
 

Más de Web Developer (20)

Eco 2
Eco 2Eco 2
Eco 2
 
Cs 612
Cs 612Cs 612
Cs 612
 
Cs 611 (p)s4
Cs 611 (p)s4Cs 611 (p)s4
Cs 611 (p)s4
 
Cs 611 (p)s3
Cs 611 (p)s3Cs 611 (p)s3
Cs 611 (p)s3
 
Cs 611 (p)s2
Cs 611 (p)s2Cs 611 (p)s2
Cs 611 (p)s2
 
Cs 611 (p)s1
Cs 611 (p)s1Cs 611 (p)s1
Cs 611 (p)s1
 
Cs 610
Cs 610Cs 610
Cs 610
 
Cs 601
Cs 601Cs 601
Cs 601
 
Cs 74 (p)s8
Cs 74 (p)s8Cs 74 (p)s8
Cs 74 (p)s8
 
Cs 74 (p)s7
Cs 74 (p)s7Cs 74 (p)s7
Cs 74 (p)s7
 
Cs 74 (p)s6
Cs 74 (p)s6Cs 74 (p)s6
Cs 74 (p)s6
 
Cs 74 (p)s5
Cs 74 (p)s5Cs 74 (p)s5
Cs 74 (p)s5
 
Cs 74 (p)s4
Cs 74 (p)s4Cs 74 (p)s4
Cs 74 (p)s4
 
Cs 74 (p)s3
Cs 74 (p)s3Cs 74 (p)s3
Cs 74 (p)s3
 
Cs 74 (p)s2
Cs 74 (p)s2Cs 74 (p)s2
Cs 74 (p)s2
 
Cs 74 (p)s1
Cs 74 (p)s1Cs 74 (p)s1
Cs 74 (p)s1
 
Cs 73
Cs 73Cs 73
Cs 73
 
Cs 72 (p)s8
Cs 72 (p)s8Cs 72 (p)s8
Cs 72 (p)s8
 
Cs 72 (p)s5
Cs 72 (p)s5Cs 72 (p)s5
Cs 72 (p)s5
 
Cs 72 (p)s4
Cs 72 (p)s4Cs 72 (p)s4
Cs 72 (p)s4
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Último (20)

2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

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