SlideShare una empresa de Scribd logo
1 de 80
Descargar para leer sin conexión
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

Más contenido relacionado

Más de Emertxe Information Technologies Pvt Ltd

Más 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

fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 

Último (20)

fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 

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