0% found this document useful (0 votes)
4 views3 pages

ICSE String Handling Programs

The document provides comprehensive notes on string handling programs for ICSE Class 10, covering topics such as character counting, reversing strings, palindrome checking, and extracting characters. It also includes programs for changing case, ASCII operations, word-based tasks, frequency counting, string comparison, sorting, and pattern printing. These notes are designed to address all expected board questions related to string handling.

Uploaded by

meenagusain1981
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views3 pages

ICSE String Handling Programs

The document provides comprehensive notes on string handling programs for ICSE Class 10, covering topics such as character counting, reversing strings, palindrome checking, and extracting characters. It also includes programs for changing case, ASCII operations, word-based tasks, frequency counting, string comparison, sorting, and pattern printing. These notes are designed to address all expected board questions related to string handling.

Uploaded by

meenagusain1981
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

ICSE Class 10 – String Handling Programs (Complete Notes)

1. Character Counting

- Vowels, consonants, digits, spaces, uppercase, lowercase, specials.

2. Reversing

- Reverse word

- Reverse sentence word-wise

- Reverse each word

3. Palindrome Checking

- Word palindrome

- Sentence palindrome (ignore spaces)

4. Extracting Characters

- First, last, middle

- Even/odd indexed characters

5. Changing Case

- Lowercase to uppercase

- Uppercase to lowercase

- Toggle case

6. ASCII Based Programs

- Print ASCII values

- ASCII even/odd

- Odd name check

7. Word Based Programs

- Count words
- Longest/shortest word

- Words starting/ending with vowel

- Words with length > 3

- Extract initials

8. Frequency Counting

- Count frequency of any letter

- Count frequency of vowels

- Duplicate letters

9. Remove / Replace

- Remove extra spaces

- Remove vowels

- Replace vowels with '*'

- Replace spaces with '-'

10. Compare Strings

- Manual comparison

- Anagram check (optional)

11. Sorting

- Sort characters alphabetically

- Sort words alphabetically

12. Pattern Printing Using Strings

Example for “HELLO”:

HE

HEL
HELL

HELLO

These include all expected board questions.

You might also like