SlideShare a Scribd company logo
1 of 1
Download to read offline
No. of Printed Page :1                                                                       SET-3
      BACHELOR IN COMPUTER APPLICATIONS (BCA)
                       Term-End Practical Examination                                    00296
                                          June, 2011
     CS-74P : INTRODUCTION TO INTERNET PROGRAMMING

Time 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

More Related Content

Viewers also liked

Monfort Emath Paper1_printed
Monfort Emath Paper1_printedMonfort Emath Paper1_printed
Monfort Emath Paper1_printedFelicia Shirui
 
Trigonometry and triangles
Trigonometry and trianglesTrigonometry and triangles
Trigonometry and trianglesschmi3ma
 
Explanation of app
Explanation of appExplanation of app
Explanation of appmajapamaya
 
Poem (Composed )
Poem (Composed )Poem (Composed )
Poem (Composed )Emily Reyes
 
Title Powerpoint
Title PowerpointTitle Powerpoint
Title PowerpointEmily Reyes
 
八上第一篇第三章維護生活環境
八上第一篇第三章維護生活環境八上第一篇第三章維護生活環境
八上第一篇第三章維護生活環境panolou
 
Formato tabla
Formato tablaFormato tabla
Formato tablaSakinami
 
Treball col·laboratiu en l'elaboració de materials de divulgació
Treball col·laboratiu en l'elaboració de materials de divulgacióTreball col·laboratiu en l'elaboració de materials de divulgació
Treball col·laboratiu en l'elaboració de materials de divulgacióTERMCAT
 
Culture And Language Dr Shriniwas Kashalikar
Culture And  Language Dr  Shriniwas KashalikarCulture And  Language Dr  Shriniwas Kashalikar
Culture And Language Dr Shriniwas Kashalikarramand
 
English Written Task
English Written TaskEnglish Written Task
English Written Taskbank8787
 
香港六合彩
香港六合彩香港六合彩
香港六合彩beichuan
 
Welcome To Prod Soc
Welcome To Prod SocWelcome To Prod Soc
Welcome To Prod SocKunal
 
New Year, New You: Give 2012 a Heart Healthy Start!
New Year, New You: Give 2012 a Heart Healthy Start!New Year, New You: Give 2012 a Heart Healthy Start!
New Year, New You: Give 2012 a Heart Healthy Start!Regina Druz, MD, FACC
 

Viewers also liked (19)

Monfort Emath Paper1_printed
Monfort Emath Paper1_printedMonfort Emath Paper1_printed
Monfort Emath Paper1_printed
 
Resonate
ResonateResonate
Resonate
 
Trigonometry and triangles
Trigonometry and trianglesTrigonometry and triangles
Trigonometry and triangles
 
Explanation of app
Explanation of appExplanation of app
Explanation of app
 
Poem (Composed )
Poem (Composed )Poem (Composed )
Poem (Composed )
 
Title Powerpoint
Title PowerpointTitle Powerpoint
Title Powerpoint
 
八上第一篇第三章維護生活環境
八上第一篇第三章維護生活環境八上第一篇第三章維護生活環境
八上第一篇第三章維護生活環境
 
Formato tabla
Formato tablaFormato tabla
Formato tabla
 
Treball col·laboratiu en l'elaboració de materials de divulgació
Treball col·laboratiu en l'elaboració de materials de divulgacióTreball col·laboratiu en l'elaboració de materials de divulgació
Treball col·laboratiu en l'elaboració de materials de divulgació
 
Practica Trigonometria
Practica TrigonometriaPractica Trigonometria
Practica Trigonometria
 
Culture And Language Dr Shriniwas Kashalikar
Culture And  Language Dr  Shriniwas KashalikarCulture And  Language Dr  Shriniwas Kashalikar
Culture And Language Dr Shriniwas Kashalikar
 
Man rules
Man rulesMan rules
Man rules
 
Nuclear energy
Nuclear energyNuclear energy
Nuclear energy
 
Fp growth
Fp growthFp growth
Fp growth
 
Cs 72 (p)s5
Cs 72 (p)s5Cs 72 (p)s5
Cs 72 (p)s5
 
English Written Task
English Written TaskEnglish Written Task
English Written Task
 
香港六合彩
香港六合彩香港六合彩
香港六合彩
 
Welcome To Prod Soc
Welcome To Prod SocWelcome To Prod Soc
Welcome To Prod Soc
 
New Year, New You: Give 2012 a Heart Healthy Start!
New Year, New You: Give 2012 a Heart Healthy Start!New Year, New You: Give 2012 a Heart Healthy Start!
New Year, New You: Give 2012 a Heart Healthy Start!
 

Similar to Program to determine the sum of a harmonic series and extract a portion of a character string

Similar to Program to determine the sum of a harmonic series and extract a portion of a character string (20)

Cs 74 (p)s7
Cs 74 (p)s7Cs 74 (p)s7
Cs 74 (p)s7
 
Cs 74 (p)s1
Cs 74 (p)s1Cs 74 (p)s1
Cs 74 (p)s1
 
Cs 74 (p)s4
Cs 74 (p)s4Cs 74 (p)s4
Cs 74 (p)s4
 
Cs 74 (p)s5
Cs 74 (p)s5Cs 74 (p)s5
Cs 74 (p)s5
 
Cs 74 (p)s6
Cs 74 (p)s6Cs 74 (p)s6
Cs 74 (p)s6
 
Bcs 061 (p)s2
Bcs 061 (p)s2Bcs 061 (p)s2
Bcs 061 (p)s2
 
Cs 62 (p)s1
Cs 62 (p)s1Cs 62 (p)s1
Cs 62 (p)s1
 
Bcs 061 (p)s3
Bcs 061 (p)s3Bcs 061 (p)s3
Bcs 061 (p)s3
 
Bcs 061 (p)s1
Bcs 061 (p)s1Bcs 061 (p)s1
Bcs 061 (p)s1
 
DSP_Lab_MAnual_-_Final_Edition[1].docx
DSP_Lab_MAnual_-_Final_Edition[1].docxDSP_Lab_MAnual_-_Final_Edition[1].docx
DSP_Lab_MAnual_-_Final_Edition[1].docx
 
DSP_Lab_MAnual_-_Final_Edition.pdf
DSP_Lab_MAnual_-_Final_Edition.pdfDSP_Lab_MAnual_-_Final_Edition.pdf
DSP_Lab_MAnual_-_Final_Edition.pdf
 
Bcs 061 (p)s4
Bcs 061 (p)s4Bcs 061 (p)s4
Bcs 061 (p)s4
 
Dsp file
Dsp fileDsp file
Dsp file
 
C programming session 04
C programming session 04C programming session 04
C programming session 04
 
GE3171-PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY
GE3171-PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORYGE3171-PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY
GE3171-PROBLEM SOLVING AND PYTHON PROGRAMMING LABORATORY
 
C Programming Lab manual 18CPL17
C Programming Lab manual 18CPL17C Programming Lab manual 18CPL17
C Programming Lab manual 18CPL17
 
Lab 5 array
Lab 5 arrayLab 5 array
Lab 5 array
 
CBCS 2018 Scheme I sem Lab Manual for 18CPL17
CBCS 2018 Scheme I sem Lab Manual for 18CPL17 CBCS 2018 Scheme I sem Lab Manual for 18CPL17
CBCS 2018 Scheme I sem Lab Manual for 18CPL17
 
Cs 68 (p)s3
Cs 68 (p)s3Cs 68 (p)s3
Cs 68 (p)s3
 
Seminar
SeminarSeminar
Seminar
 

More from 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 611
Cs 611Cs 611
Cs 611
 
Cs 610
Cs 610Cs 610
Cs 610
 
Cs 601
Cs 601Cs 601
Cs 601
 
Cs 75
Cs 75Cs 75
Cs 75
 
Cs 74
Cs 74Cs 74
Cs 74
 
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)s4
Cs 72 (p)s4Cs 72 (p)s4
Cs 72 (p)s4
 
Cs 72 (p)s2
Cs 72 (p)s2Cs 72 (p)s2
Cs 72 (p)s2
 
Cs 72 (p)s1
Cs 72 (p)s1Cs 72 (p)s1
Cs 72 (p)s1
 
Cs 72
Cs 72Cs 72
Cs 72
 
Cs 71
Cs 71Cs 71
Cs 71
 
Cs 70
Cs 70Cs 70
Cs 70
 
Cs 69
Cs 69Cs 69
Cs 69
 

Program to determine the sum of a harmonic series and extract a portion of a character string

  • 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 PROGRAMMING Time 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