No. of Printed Page : 1                    SET-6
 BACHELOR IN COMPUTER APPLICATIONS (BCA Revised)

                          Term-End Practical Examination                          00292
                                      June, 2011
              CS-74P : Introduction to Internet Programming

Time allowed : 1 hour                                                 Maximum Marks : 30
                                                                        (Weightage : 15%)

Note :     There are two compulsory questions, 10 marks each. 10 marks are for viva-voce.
           All Programs are to be written in Java.

1.   Write a program in java that prompts the user to enter an integer number. It should     10
     throw a user-defined exception Invalid number if a number is negative.


2.    Write a program to compare the corresponding elements of the two arrays and return 10
      TRUE if there is a match, otherwise return FALSE.




CS-74P/ S6                                   1                                             1,000

Cs 74 (p)s6

  • 1.
    No. of PrintedPage : 1 SET-6 BACHELOR IN COMPUTER APPLICATIONS (BCA Revised) Term-End Practical Examination 00292 June, 2011 CS-74P : Introduction to Internet Programming Time allowed : 1 hour Maximum Marks : 30 (Weightage : 15%) Note : There are two compulsory questions, 10 marks each. 10 marks are for viva-voce. All Programs are to be written in Java. 1. Write a program in java that prompts the user to enter an integer number. It should 10 throw a user-defined exception Invalid number if a number is negative. 2. Write a program to compare the corresponding elements of the two arrays and return 10 TRUE if there is a match, otherwise return FALSE. CS-74P/ S6 1 1,000