Cs 74 (p)s3

322 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
322
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Cs 74 (p)s3

  1. 1. No. of Printed Page :1 SET-3 BACHELOR IN COMPUTER APPLICATIONS (BCA) Term-End Practical Examination 00296 June, 2011 CS-74P : INTRODUCTION TO INTERNET PROGRAMMINGTime allowed : 1 hour Maximum Marks : 30 (VVeightage : 15%)Note : There are two compulsory questions, 10 marks each. 10 marks for viva—voce. All programs are to be written in Java.1. Write a program to determine the sum of the following harmonic series for a given 10 value 1 1+ Y + Y + 2 3 + — n The value of n should be given interactively-through the keyboard.2. Write a program to extract a portion of a character string, and print the extract string. 10 Assume that m characters are extracted, starting with the nth character. The value of m and n should be accepted through the keyboard. CS-74P/S3 1 3,000

×