Cs 74 (p)s6

1
SET-6 No. of Printed Page : 1 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

Transcript of Cs 74 (p)s6

Page 1: Cs 74 (p)s6

SET-6 No. of Printed Page : 1

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