SlideShare uma empresa Scribd logo
1 de 80
Baixar para ler offline
Team Emertxe
Strings and Storage
Classes
Assignment 11
Assignment 11
Assignment 11
WAP to check given string is Pangram or not
Assignment 11
WAP to check given string is Pangram or not
Input:
Assignment 11
WAP to check given string is Pangram or not
Input: Read the String from user (use selective scanf)
Assignment 11
WAP to check given string is Pangram or not
Input: Read the String from user (use selective scanf)
Output:
Assignment 11
WAP to check given string is Pangram or not
Input: Read the String from user (use selective scanf)
Output: Print whether the entered string is Pangram or
not.
Assignment 11
What is Pangram String?
Assignment 11
What is Pangram String?
 A Sentence containing all 26 letters of the English alphabet.
Assignment 11
What is Pangram String?
 A Sentence containing all 26 letters of the English alphabet.
 Example: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
Assignment 11
Example’s:
 Input: The quick brown fox jumps over the lazy dog
Output: The Entered String is a Pangram String.
Assignment 11
Example’s:
 Step 1: Create an array of size 26.
 arr[26] = {0}
Assignment 11
Example’s:
 Step 1: Create an array of size 26.
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Assignment 11
Example’s:
 Step 2: Check each character of the input string.
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 1 0 1 0 0 1 1 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 1 0 1 0 0 1 1 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 0 0 1 1 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 0 0 1 1 0 1 0 0 0 0 0 1 1 0 1 1 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 0 0 1 1 0 1 0 0 0 1 0 1 1 0 1 1 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 0 0 1 1 0 1 0 0 0 1 0 1 1 0 1 1 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 0 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 0 1 1 0 1 1 0 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 0 1 1 0 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 4: Check all the array elements are equal to 1.
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Step 4: Check all the array elements are equal to 1.
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Here, all the array elements are 1, so, entered string is a
Pangram string.
 Input: The quick brown fox jumps over the lazy dog
Assignment 11
Example’s:
 Input: Hello World
Output: The Entered string is not a Pangram String.
Assignment 11
Example’s:
 Step 1: Create an array of size 26.
 arr[26] = {0}
Assignment 11
Example’s:
 Step 1: Create an array of size 26.
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
Assignment 11
Example’s:
 Step 2: Check each character of the input string.
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 3: Update the respective position of the character to 1.
0 0 0 1 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Input: Hello World
Assignment 11
Example’s:
 Step 4: Check all the array elements are equal to 1.
0 0 0 1 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0
arr
‘a’
‘A’
‘b’
‘B’
‘c’
‘C’
‘e’
‘E’
‘f’
‘F’
‘g’
‘G’
‘h’
‘H’
‘i’
‘I’
‘d’
‘D’
‘q’
‘Q’
‘p’
‘P’
‘o’
‘O’
‘n’
‘N’
‘m’
‘M’
‘l’
‘L’
‘k’
‘K’
‘j’
‘J’
‘x’
‘X’
‘w’
‘W’
‘v’
‘V’
‘u’
‘U’
‘t’
‘T’
‘s’
‘S’
‘r’
‘R’
‘y’
‘Y’
‘z’
‘Z’
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
 Here, all the array elements are not 0, so, entered string is not
a Pangram string.
 Input: Hello World
Assignment 11
Sample execution:-
Assignment 11
Sample execution:-
Assignment 11
Sample execution:-
Assignment 11
Pre-requisites:-
Assignment 11
Pre-requisites:-
⮚Strings
Assignment 11
Pre-requisites:-
⮚Strings
⮚Functions
Assignment 11
Pre-requisites:-
⮚Strings
⮚Functions
⮚Pointers
Assignment 11
Pre-requisites:-
⮚Strings
⮚Functions
⮚Pointers
Objective:-
Assignment 11
Pre-requisites:-
⮚Strings
⮚Functions
⮚Pointers
Objective:-
To understand the concept of
⮚Strings
Assignment 11
Pre-requisites:-
⮚Strings
⮚Functions
⮚Pointers
Objective:-
To understand the concept of
⮚Strings
⮚Functions
Assignment 11
Pre-requisites:-
⮚Strings
⮚Functions
⮚Pointers
Objective:-
To understand the concept of
⮚Strings
⮚Functions
⮚Pointers
Team Emertxe
Thank you

Mais conteúdo relacionado

Mais de Emertxe Information Technologies Pvt Ltd

Mais de Emertxe Information Technologies Pvt Ltd (20)

05_fragments.pdf
05_fragments.pdf05_fragments.pdf
05_fragments.pdf
 
04_magic_square.pdf
04_magic_square.pdf04_magic_square.pdf
04_magic_square.pdf
 
03_endianess.pdf
03_endianess.pdf03_endianess.pdf
03_endianess.pdf
 
02_variance.pdf
02_variance.pdf02_variance.pdf
02_variance.pdf
 
01_memory_manager.pdf
01_memory_manager.pdf01_memory_manager.pdf
01_memory_manager.pdf
 
09_nrps.pdf
09_nrps.pdf09_nrps.pdf
09_nrps.pdf
 
10_combinations.pdf
10_combinations.pdf10_combinations.pdf
10_combinations.pdf
 
08_squeeze.pdf
08_squeeze.pdf08_squeeze.pdf
08_squeeze.pdf
 
07_strtok.pdf
07_strtok.pdf07_strtok.pdf
07_strtok.pdf
 
06_reverserec.pdf
06_reverserec.pdf06_reverserec.pdf
06_reverserec.pdf
 
05_reverseiter.pdf
05_reverseiter.pdf05_reverseiter.pdf
05_reverseiter.pdf
 
04_itoa.pdf
04_itoa.pdf04_itoa.pdf
04_itoa.pdf
 
03_atoi.pdf
03_atoi.pdf03_atoi.pdf
03_atoi.pdf
 
02_getword.pdf
02_getword.pdf02_getword.pdf
02_getword.pdf
 
01_Removeblanks.pdf
01_Removeblanks.pdf01_Removeblanks.pdf
01_Removeblanks.pdf
 
01_wordcount.pdf
01_wordcount.pdf01_wordcount.pdf
01_wordcount.pdf
 
19_sorted_order.pdf
19_sorted_order.pdf19_sorted_order.pdf
19_sorted_order.pdf
 
18_negative_fibonacci.pdf
18_negative_fibonacci.pdf18_negative_fibonacci.pdf
18_negative_fibonacci.pdf
 
17_positive_fibonacci.pdf
17_positive_fibonacci.pdf17_positive_fibonacci.pdf
17_positive_fibonacci.pdf
 
16_factorial.pdf
16_factorial.pdf16_factorial.pdf
16_factorial.pdf
 

Último

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxPooja Bhuva
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 

Último (20)

Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 

11_pangram.pdf

  • 1. Team Emertxe Strings and Storage Classes
  • 4. Assignment 11 WAP to check given string is Pangram or not
  • 5. Assignment 11 WAP to check given string is Pangram or not Input:
  • 6. Assignment 11 WAP to check given string is Pangram or not Input: Read the String from user (use selective scanf)
  • 7. Assignment 11 WAP to check given string is Pangram or not Input: Read the String from user (use selective scanf) Output:
  • 8. Assignment 11 WAP to check given string is Pangram or not Input: Read the String from user (use selective scanf) Output: Print whether the entered string is Pangram or not.
  • 9. Assignment 11 What is Pangram String?
  • 10. Assignment 11 What is Pangram String?  A Sentence containing all 26 letters of the English alphabet.
  • 11. Assignment 11 What is Pangram String?  A Sentence containing all 26 letters of the English alphabet.  Example: The quick brown fox jumps over the lazy dog
  • 13. Assignment 11 Example’s:  Input: The quick brown fox jumps over the lazy dog Output: The Entered String is a Pangram String.
  • 14. Assignment 11 Example’s:  Step 1: Create an array of size 26.  arr[26] = {0}
  • 15. Assignment 11 Example’s:  Step 1: Create an array of size 26. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
  • 16. Assignment 11 Example’s:  Step 2: Check each character of the input string. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 17. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 18. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 19. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 20. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 21. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 22. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 23. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 1 0 1 0 0 1 1 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 24. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 1 0 1 0 0 1 1 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 25. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 0 0 1 1 0 1 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 26. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 0 0 1 1 0 1 0 0 0 0 0 1 1 0 1 1 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 27. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 0 0 1 1 0 1 0 0 0 1 0 1 1 0 1 1 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 28. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 0 0 1 1 0 1 0 0 0 1 0 1 1 0 1 1 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 29. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 0 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 30. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 31. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 32. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 0 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 33. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 34. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 0 1 1 0 1 1 0 1 1 0 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 35. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 0 1 1 0 1 1 0 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 36. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 0 1 1 0 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 37. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 38. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 0 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 39. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 40. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 41. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 42. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 43. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 44. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 45. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 46. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 47. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 48. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 1 1 1 0 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 49. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 50. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 1 1 1 1 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 51. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 52. Assignment 11 Example’s:  Step 4: Check all the array elements are equal to 1. 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: The quick brown fox jumps over the lazy dog
  • 53. Assignment 11 Example’s:  Step 4: Check all the array elements are equal to 1. 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Here, all the array elements are 1, so, entered string is a Pangram string.  Input: The quick brown fox jumps over the lazy dog
  • 54. Assignment 11 Example’s:  Input: Hello World Output: The Entered string is not a Pangram String.
  • 55. Assignment 11 Example’s:  Step 1: Create an array of size 26.  arr[26] = {0}
  • 56. Assignment 11 Example’s:  Step 1: Create an array of size 26. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
  • 57. Assignment 11 Example’s:  Step 2: Check each character of the input string. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 58. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 59. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 60. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 61. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 62. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 0 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 63. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 64. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 65. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 66. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 0 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 67. Assignment 11 Example’s:  Step 3: Update the respective position of the character to 1. 0 0 0 1 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Input: Hello World
  • 68. Assignment 11 Example’s:  Step 4: Check all the array elements are equal to 1. 0 0 0 1 1 0 0 1 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 0 arr ‘a’ ‘A’ ‘b’ ‘B’ ‘c’ ‘C’ ‘e’ ‘E’ ‘f’ ‘F’ ‘g’ ‘G’ ‘h’ ‘H’ ‘i’ ‘I’ ‘d’ ‘D’ ‘q’ ‘Q’ ‘p’ ‘P’ ‘o’ ‘O’ ‘n’ ‘N’ ‘m’ ‘M’ ‘l’ ‘L’ ‘k’ ‘K’ ‘j’ ‘J’ ‘x’ ‘X’ ‘w’ ‘W’ ‘v’ ‘V’ ‘u’ ‘U’ ‘t’ ‘T’ ‘s’ ‘S’ ‘r’ ‘R’ ‘y’ ‘Y’ ‘z’ ‘Z’ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25  Here, all the array elements are not 0, so, entered string is not a Pangram string.  Input: Hello World