Type 2 : Input a paragraph and perform some operation on every sentence of the paragraph

perform some operation on even and odd numbered sentences separately

sort the sentences on the basis of number of words

How to solve?

Create a function which does the required operation with one sentence, then in the main() method, break the paragraph into sentences, and send them to this function one by one to get your final result.

Range questions

(Example: Print all the Disarium numbers within ‘p’ and ‘q’ along with their frequency)

Similarly, any named number could be given and you will be told to print those numbers and their frequency within a given range.

Note: Don’t forget to check for valid range which are always given in the question like p<q etc.

How to solve?

Create a function which checks whether a number is the desired number or not by returning a true or a false. Then in the main() method, write a loop which starts from the lower range and goes on till the upper range. Then one by one send the numbers to the function you created. If you get a true from there, then increase the frequency and print the number.

How to write Algorithm

Viva Questions

Viva-voce includes questions on the following aspects of the problem attempted by the student: the algorithm and implementation strategy, documentation, correctness, alternative algorithms or implementations. Questions should be confined largely to the problem the student has attempted.

ICSE | ISC Sample Papers

In this section we will be providing you with the Sample/Guess papers of ICSE (Computer Applications) and ISC (Computer Science) which can be easily downloaded. We hope that the students will benefit from these resources.