Cody

Solution 385594

Submitted on 14 Jan 2014 by Pascal Geschwill
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
%% x = 'The quick brown fox jumps over a lazy dog'; y_correct = true; assert(isequal(isPangram(x),y_correct))

chk = 32 35 tf = 1 chk = 11 tf = 1 chk = 8 tf = 1 chk = 39 tf = 1 chk = 3 29 tf = 1 chk = 17 tf = 1 chk = 41 tf = 1 chk = 2 tf = 1 chk = 7 tf = 1 chk = 21 tf = 1 chk = 9 tf = 1 chk = 34 tf = 1 chk = 23 tf = 1 chk = 15 tf = 1 chk = 13 18 27 40 tf = 1 chk = 24 tf = 1 chk = 5 tf = 1 chk = 12 30 tf = 1 chk = 25 tf = 1 chk = 1 tf = 1 chk = 6 22 tf = 1 chk = 28 tf = 1 chk = 14 tf = 1 chk = 19 tf = 1 chk = 37 tf = 1 chk = 36 tf = 1

2   Pass
%% x = 'The quick brown fox jumped over a lazy dog'; y_correct = false; assert(isequal(isPangram(x),y_correct))

chk = 33 36 tf = 1 chk = 11 tf = 1 chk = 8 tf = 1 chk = 26 40 tf = 1 chk = 3 25 30 tf = 1 chk = 17 tf = 1 chk = 42 tf = 1 chk = 2 tf = 1 chk = 7 tf = 1 chk = 21 tf = 1 chk = 9 tf = 1 chk = 35 tf = 1 chk = 23 tf = 1 chk = 15 tf = 1 chk = 13 18 28 41 tf = 1 chk = 24 tf = 1 chk = 5 tf = 1 chk = 12 31 tf = 1 chk = [] tf = 0

3   Pass
%% x = 'Pack my box with five dozen liquor jugs'; y_correct = true; assert(isequal(isPangram(x),y_correct))

chk = 2 tf = 1 chk = 9 tf = 1 chk = 3 tf = 1 chk = 23 tf = 1 chk = 21 26 tf = 1 chk = 18 tf = 1 chk = 38 tf = 1 chk = 16 tf = 1 chk = 14 19 30 tf = 1 chk = 36 tf = 1 chk = 4 tf = 1 chk = 29 tf = 1 chk = 6 tf = 1 chk = 27 tf = 1 chk = 10 24 33 tf = 1 chk = 1 tf = 1 chk = 31 tf = 1 chk = 34 tf = 1 chk = 39 tf = 1 chk = 15 tf = 1 chk = 32 37 tf = 1 chk = 20 tf = 1 chk = 13 tf = 1 chk = 11 tf = 1 chk = 7 tf = 1 chk = 25 tf = 1

4   Pass
%% x = 'Pack my box with four dozen liquor jugs'; y_correct = false; assert(isequal(isPangram(x),y_correct))

chk = 2 tf = 1 chk = 9 tf = 1 chk = 3 tf = 1 chk = 23 tf = 1 chk = 26 tf = 1 chk = 18 tf = 1 chk = 38 tf = 1 chk = 16 tf = 1 chk = 14 30 tf = 1 chk = 36 tf = 1 chk = 4 tf = 1 chk = 29 tf = 1 chk = 6 tf = 1 chk = 27 tf = 1 chk = 10 19 24 33 tf = 1 chk = 1 tf = 1 chk = 31 tf = 1 chk = 21 34 tf = 1 chk = 39 tf = 1 chk = 15 tf = 1 chk = 20 32 37 tf = 1 chk = [] tf = 0

5   Pass
%% x = 'Sphinx of black quartz, judge my vow'; y_correct = true; assert(isequal(isPangram(x),y_correct))

chk = 13 19 tf = 1 chk = 11 tf = 1 chk = 14 tf = 1 chk = 27 tf = 1 chk = 29 tf = 1 chk = 9 tf = 1 chk = 28 tf = 1 chk = 3 tf = 1 chk = 4 tf = 1 chk = 25 tf = 1 chk = 15 tf = 1 chk = 12 tf = 1 chk = 31 tf = 1 chk = 5 tf = 1 chk = 8 35 tf = 1 chk = 2 tf = 1 chk = 17 tf = 1 chk = 20 tf = 1 chk = 1 tf = 1 chk = 21 tf = 1 chk = 18 26 tf = 1 chk = 34 tf = 1 chk = 36 tf = 1 chk = 6 tf = 1 chk = 32 tf = 1 chk = 22 tf = 1

6   Pass
%% x = 'Sphinx of black onyx, judge my vow'; y_correct = false; assert(isequal(isPangram(x),y_correct))

chk = 13 tf = 1 chk = 11 tf = 1 chk = 14 tf = 1 chk = 25 tf = 1 chk = 27 tf = 1 chk = 9 tf = 1 chk = 26 tf = 1 chk = 3 tf = 1 chk = 4 tf = 1 chk = 23 tf = 1 chk = 15 tf = 1 chk = 12 tf = 1 chk = 29 tf = 1 chk = 5 18 tf = 1 chk = 8 17 33 tf = 1 chk = 2 tf = 1 chk = [] tf = 0

7   Pass
%% x = 'Wonderful watermelon, bringer of life.'; y_correct = false; assert(isequal(isPangram(x),y_correct))

chk = 12 tf = 1 chk = 23 tf = 1 chk = [] tf = 0

8   Pass
%% x = 'Dastardly dumpling, harbinger of doom!'; y_correct = false; assert(isequal(isPangram(x),y_correct))

chk = 2 5 22 tf = 1 chk = 24 tf = 1 chk = [] tf = 0

9   Pass
%% x = 'AbcDE FgHiJKl mmoPQrstuV Wxyz'; y_correct = false; assert(isequal(isPangram(x),y_correct))

chk = 1 tf = 1 chk = 2 tf = 1 chk = 3 tf = 1 chk = 4 tf = 1 chk = 5 tf = 1 chk = 7 tf = 1 chk = 8 tf = 1 chk = 9 tf = 1 chk = 10 tf = 1 chk = 11 tf = 1 chk = 12 tf = 1 chk = 13 tf = 1 chk = 15 16 tf = 1 chk = [] tf = 0

10   Pass
%% x = 'With quiz game Cody for MATLAB, expect perverse junk.'; y_correct = true; assert(isequal(isPangram(x),y_correct))

chk = 12 26 29 tf = 1 chk = 30 tf = 1 chk = 16 37 tf = 1 chk = 18 tf = 1 chk = 14 33 36 41 44 47 tf = 1 chk = 21 tf = 1 chk = 11 tf = 1 chk = 4 tf = 1 chk = 2 8 tf = 1 chk = 49 tf = 1 chk = 52 tf = 1 chk = 28 tf = 1 chk = 13 25 tf = 1 chk = 51 tf = 1 chk = 17 22 tf = 1 chk = 35 40 tf = 1 chk = 6 tf = 1 chk = 23 42 45 tf = 1 chk = 46 tf = 1 chk = 3 27 38 tf = 1 chk = 7 50 tf = 1 chk = 43 tf = 1 chk = 1 tf = 1 chk = 34 tf = 1 chk = 19 tf = 1 chk = 9 tf = 1

11   Pass
%% x = 'Punctuation marks like @#$%^</&>*?!!, when used in cartoons to stand in for swearing, are called "grawlix".'; y_correct = false; assert(isequal(isPangram(x),y_correct))

chk = 7 14 53 66 80 87 92 101 tf = 1 chk = [] tf = 0

Suggested Problems

More from this Author95