Cody

Solution 2098687

Submitted on 19 Jan 2020 by kieran Thompson
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))

tf = logical 1 a = logical 0 b = logical 0 c = logical 0 d = logical 0 e = logical 0 f = logical 0 g = logical 0 h = logical 0 i = logical 0 j = logical 0 k = logical 0 l = logical 0 m = logical 0 n = logical 0 o = logical 0 p = logical 0 q = logical 0 r = logical 0 sa = logical 0 y = logical 0 u = logical 0 v = logical 0 w = logical 0 x = logical 0 y = logical 0 z = logical 0 len = 41 t = logical 1 h = logical 1 e = logical 1 q = logical 1 u = logical 1 i = logical 1 c = logical 1 k = logical 1 b = logical 1 r = logical 1 o = logical 1 w = logical 1 n = logical 1 f = logical 1 o = logical 1 x = logical 1 j = logical 1 u = logical 1 m = logical 1 p = logical 1 sa = logical 1 o = logical 1 v = logical 1 e = logical 1 r = logical 1 a = logical 1 l = logical 1 a = logical 1 z = logical 1 y = logical 1 d = logical 1 o = logical 1 g = logical 1 tf = logical 1

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

tf = logical 1 a = logical 0 b = logical 0 c = logical 0 d = logical 0 e = logical 0 f = logical 0 g = logical 0 h = logical 0 i = logical 0 j = logical 0 k = logical 0 l = logical 0 m = logical 0 n = logical 0 o = logical 0 p = logical 0 q = logical 0 r = logical 0 sa = logical 0 y = logical 0 u = logical 0 v = logical 0 w = logical 0 x = logical 0 y = logical 0 z = logical 0 len = 42 t = logical 1 h = logical 1 e = logical 1 q = logical 1 u = logical 1 i = logical 1 c = logical 1 k = logical 1 b = logical 1 r = logical 1 o = logical 1 w = logical 1 n = logical 1 f = logical 1 o = logical 1 x = logical 1 j = logical 1 u = logical 1 m = logical 1 p = logical 1 e = logical 1 d = logical 1 o = logical 1 v = logical 1 e = logical 1 r = logical 1 a = logical 1 l = logical 1 a = logical 1 z = logical 1 y = logical 1 d = logical 1 o = logical 1 g = logical 1 tf = logical 0

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

tf = logical 1 a = logical 0 b = logical 0 c = logical 0 d = logical 0 e = logical 0 f = logical 0 g = logical 0 h = logical 0 i = logical 0 j = logical 0 k = logical 0 l = logical 0 m = logical 0 n = logical 0 o = logical 0 p = logical 0 q = logical 0 r = logical 0 sa = logical 0 y = logical 0 u = logical 0 v = logical 0 w = logical 0 x = logical 0 y = logical 0 z = logical 0 len = 39 p = logical 1 a = logical 1 c = logical 1 k = logical 1 m = logical 1 y = logical 1 b = logical 1 o = logical 1 x = logical 1 w = logical 1 i = logical 1 t = logical 1 h = logical 1 f = logical 1 i = logical 1 v = logical 1 e = logical 1 d = logical 1 o = logical 1 z = logical 1 e = logical 1 n = logical 1 l = logical 1 i = logical 1 q = logical 1 u = logical 1 o = logical 1 r = logical 1 j = logical 1 u = logical 1 g = logical 1 sa = logical 1 tf = logical 1

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

tf = logical 1 a = logical 0 b = logical 0 c = logical 0 d = logical 0 e = logical 0 f = logical 0 g = logical 0 h = logical 0 i = logical 0 j = logical 0 k = logical 0 l = logical 0 m = logical 0 n = logical 0 o = logical 0 p = logical 0 q = logical 0 r = logical 0 sa = logical 0 y = logical 0 u = logical 0 v = logical 0 w = logical 0 x = logical 0 y = logical 0 z = logical 0 len = 39 p = logical 1 a = logical 1 c = logical 1 k = logical 1 m = logical 1 y = logical 1 b = logical 1 o = logical 1 x = logical 1 w = logical 1 i = logical 1 t = logical 1 h = logical 1 f = logical 1 o = logical 1 u = logical 1 r = logical 1 d = logical 1 o = logical 1 z = logical 1 e = logical 1 n = logical 1 l = logical 1 i = logical 1 q = logical 1 u = logical 1 o = logical 1 r = logical 1 j = logical 1 u = logical 1 g = logical 1 sa = logical 1 tf = logical 0

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

tf = logical 1 a = logical 0 b = logical 0 c = logical 0 d = logical 0 e = logical 0 f = logical 0 g = logical 0 h = logical 0 i = logical 0 j = logical 0 k = logical 0 l = logical 0 m = logical 0 n = logical 0 o = logical 0 p = logical 0 q = logical 0 r = logical 0 sa = logical 0 y = logical 0 u = logical 0 v = logical 0 w = logical 0 x = logical 0 y = logical 0 z = logical 0 len = 36 sa = logical 1 p = logical 1 h = logical 1 i = logical 1 n = logical 1 x = logical 1 o = logical 1 f = logical 1 b = logical 1 l = logical 1 a = logical 1 c = logical 1 k = logical 1 q = logical 1 u = logical 1 a = logical 1 r = logical 1 t = logical 1 z = logical 1 j = logical 1 u = logical 1 d = logical 1 g = logical 1 e = logical 1 m = logical 1 y = logical 1 v = logical 1 o = logical 1 w = logical 1 tf = logical 1

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

tf = logical 1 a = logical 0 b = logical 0 c = logical 0 d = logical 0 e = logical 0 f = logical 0 g = logical 0 h = logical 0 i = logical 0 j = logical 0 k = logical 0 l = logical 0 m = logical 0 n = logical 0 o = logical 0 p = logical 0 q = logical 0 r = logical 0 sa = logical 0 y = logical 0 u = logical 0 v = logical 0 w = logical 0 x = logical 0 y = logical 0 z = logical 0 len = 34 sa = logical 1 p = logical 1 h = logical 1 i = logical 1 n = logical 1 x = logical 1 o = logical 1 f = logical 1 b = logical 1 l = logical 1 a = logical 1 c = logical 1 k = logical 1 o = logical 1 n = logical 1 y = logical 1 x = logical 1 j = logical 1 u = logical 1 d = logical 1 g = logical 1 e = logical 1 m = logical 1 y = logical 1 v = logical 1 o = logical 1 w = logical 1 tf = logical 0

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

tf = logical 1 a = logical 0 b = logical 0 c = logical 0 d = logical 0 e = logical 0 f = logical 0 g = logical 0 h = logical 0 i = logical 0 j = logical 0 k = logical 0 l = logical 0 m = logical 0 n = logical 0 o = logical 0 p = logical 0 q = logical 0 r = logical 0 sa = logical 0 y = logical 0 u = logical 0 v = logical 0 w = logical 0 x = logical 0 y = logical 0 z = logical 0 len = 38 w = logical 1 o = logical 1 n = logical 1 d = logical 1 e = logical 1 r = logical 1 f = logical 1 u = logical 1 l = logical 1 w = logical 1 a = logical 1 t = logical 1 e = logical 1 r = logical 1 m = logical 1 e = logical 1 l = logical 1 o = logical 1 n = logical 1 b = logical 1 r = logical 1 i = logical 1 n = logical 1 g = logical 1 e = logical 1 r = logical 1 o = logical 1 f = logical 1 l = logical 1 i = logical 1 f = logical 1 e = logical 1 tf = logical 0

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

tf = logical 1 a = logical 0 b = logical 0 c = logical 0 d = logical 0 e = logical 0 f = logical 0 g = logical 0 h = logical 0 i = logical 0 j = logical 0 k = logical 0 l = logical 0 m = logical 0 n = logical 0 o = logical 0 p = logical 0 q = logical 0 r = logical 0 sa = logical 0 y = logical 0 u = logical 0 v = logical 0 w = logical 0 x = logical 0 y = logical 0 z = logical 0 len = 38 d = logical 1 a = logical 1 sa = logical 1 t = logical 1 a = logical 1 r = logical 1 d = logical 1 l = logical 1 y = logical 1 d = logical 1 u = logical 1 m = logical 1 p = logical 1 l = logical 1 i = logical 1 n = logical 1 g = logical 1 h = logical 1 a = logical 1 r = logical 1 b = logical 1 i = logical 1 n = logical 1 g = logical 1 e = logical 1 r = logical 1 o = logical 1 f = logical 1 d = logical 1 o = logical 1 o = logical 1 m = logical 1 tf = logical 0

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

tf = logical 1 a = logical 0 b = logical 0 c = logical 0 d = logical 0 e = logical 0 f = logical 0 g = logical 0 h = logical 0 i = logical 0 j = logical 0 k = logical 0 l = logical 0 m = logical 0 n = logical 0 o = logical 0 p = logical 0 q = logical 0 r = logical 0 sa = logical 0 y = logical 0 u = logical 0 v = logical 0 w = logical 0 x = logical 0 y = logical 0 z = logical 0 len = 29 a = logical 1 b = logical 1 c = logical 1 d = logical 1 e = logical 1 f = logical 1 g = logical 1 h = logical 1 i = logical 1 j = logical 1 k = logical 1 l = logical 1 m = logical 1 m = logical 1 o = logical 1 p = logical 1 q = logical 1 r = logical 1 sa = logical 1 t = logical 1 u = logical 1 v = logical 1 w = logical 1 x = logical 1 y = logical 1 z = logical 1 tf = logical 0

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

tf = logical 1 a = logical 0 b = logical 0 c = logical 0 d = logical 0 e = logical 0 f = logical 0 g = logical 0 h = logical 0 i = logical 0 j = logical 0 k = logical 0 l = logical 0 m = logical 0 n = logical 0 o = logical 0 p = logical 0 q = logical 0 r = logical 0 sa = logical 0 y = logical 0 u = logical 0 v = logical 0 w = logical 0 x = logical 0 y = logical 0 z = logical 0 len = 53 w = logical 1 i = logical 1 t = logical 1 h = logical 1 q = logical 1 u = logical 1 i = logical 1 z = logical 1 g = logical 1 a = logical 1 m = logical 1 e = logical 1 c = logical 1 o = logical 1 d = logical 1 y = logical 1 f = logical 1 o = logical 1 r = logical 1 m = logical 1 a = logical 1 t = logical 1 l = logical 1 a = logical 1 b = logical 1 e = logical 1 x = logical 1 p = logical 1 e = logical 1 c = logical 1 t = logical 1 p = logical 1 e = logical 1 r = logical 1 v = logical 1 e = logical 1 r = logical 1 sa = logical 1 e = logical 1 j = logical 1 u = logical 1 n = logical 1 k = logical 1 tf = logical 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))

tf = logical 1 a = logical 0 b = logical 0 c = logical 0 d = logical 0 e = logical 0 f = logical 0 g = logical 0 h = logical 0 i = logical 0 j = logical 0 k = logical 0 l = logical 0 m = logical 0 n = logical 0 o = logical 0 p = logical 0 q = logical 0 r = logical 0 sa = logical 0 y = logical 0 u = logical 0 v = logical 0 w = logical 0 x = logical 0 y = logical 0 z = logical 0 len = 107 p = logical 1 u = logical 1 n = logical 1 c = logical 1 t = logical 1 u = logical 1 a = logical 1 t = logical 1 i = logical 1 o = logical 1 n = logical 1 m = logical 1 a = logical 1 r = logical 1 k = logical 1 sa = logical 1 l = logical 1 i = logical 1 k = logical 1 e = logical 1 w = logical 1 h = logical 1 e = logical 1 n = logical 1 u = logical 1 sa = logical 1 e = logical 1 d = logical 1 i = logical 1 n = logical 1 c = logical 1 a = logical 1 r = logical 1 t = logical 1 o = logical 1 o = logical 1 n = logical 1 sa = logical 1 t = logical 1 o = logical 1 sa = logical 1 t = logical 1 a = logical 1 n = logical 1 d = logical 1 i = logical 1 n = logical 1 f = logical 1 o = logical 1 r = logical 1 sa = logical 1 w = logical 1 e = logical 1 a = logical 1 r = logical 1 i = logical 1 n = logical 1 g = logical 1 a = logical 1 r = logical 1 e = logical 1 c = logical 1 a = logical 1 l = logical 1 l = logical 1 e = logical 1 d = logical 1 g = logical 1 r = logical 1 a = logical 1 w = logical 1 l = logical 1 i = logical 1 x = logical 1 tf = logical 0

Suggested Problems

More from this Author95