Browse Source

Merge pull request #409 from 01-edu/questions-corrections

corrections in ascii-art subjects
content-update
augusto-mantilla 5 years ago committed by GitHub
parent
commit
15fa1c2ff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 34
      subjects/ascii-art/ascii-art.audit.en.md
  2. 12
      subjects/ascii-art/ascii-color.audit.en.md
  3. 6
      subjects/ascii-art/ascii-fs.audit.en.md
  4. 35
      subjects/ascii-art/ascii-justify.audit.en.md
  5. 4
      subjects/ascii-art/ascii-justify.en.md
  6. 9
      subjects/ascii-art/ascii-output.audit.en.md
  7. 16
      subjects/ascii-art/ascii-reverse-example.md
  8. 16
      subjects/ascii-art/ascii-reverse.audit.en.md
  9. 2
      subjects/tetrisoptimizer/tetrisoptimizer.audit.en.md

34
subjects/ascii-art/ascii-art.audit.en.md

@ -1,6 +1,6 @@
#### Functional Project Questions
#### Functional
##### Try passing as argument "hello".
##### Try passing as argument `"hello"`.
```
_ _ _
| | | | | |
@ -12,7 +12,7 @@
```
###### Does it display the right graphical representation in ASCII as above?
##### Try passing as argument "HELLO".
##### Try passing as argument `"HELLO"`.
```
_ _ ______ _ _ ____
| | | | | ____| | | | | / __ \
@ -24,7 +24,7 @@
```
###### Does it display the right graphical representation in ASCII as above?
##### Try passing as argument "HeLlo HuMaN".
##### Try passing as argument `"HeLlo HuMaN"`.
```
_ _ _ _ _ _ __ __ _ _
| | | | | | | | | | | | | \/ | | \ | |
@ -36,7 +36,7 @@
```
###### Does it display the right graphical representation in ASCII as above?
##### Try passing as argument "1Hello 2There".
##### Try passing as argument `"1Hello 2There"`.
```
_ _ _ _ _______ _
_ | | | | | | | | ____ |__ __| | |
@ -48,7 +48,7 @@
```
###### Does it display the right graphical representation in ASCII as above?
##### Try passing as argument "Hello\nThere".
##### Try passing as argument `"Hello\nThere"`.
```
_ _ _ _
| | | | | | | |
@ -68,7 +68,7 @@
```
###### Does it display the right graphical representation in ASCII as above?
##### Try passing "{Hello & There #}" as argument.
##### Try passing `"{Hello & There #}"` as argument.
```
__ _ _ _ _ _______ _ _ _ __
/ / | | | | | | | | ___ |__ __| | | _| || |_ \ \
@ -80,7 +80,7 @@
```
###### Does it display the right graphical representation in ASCII as above?
##### Try passing "hello There 1 to 2!" as argument.
##### Try passing `"hello There 1 to 2!"` as argument.
```
_ _ _ _______ _ _ _
| | | | | | |__ __| | | _ | | ____ | |
@ -92,7 +92,7 @@
```
###### Does it display the right graphical representation in ASCII as above?
##### Try passing "MaD3IrA&LiSboN" as argument.
##### Try passing `"MaD3IrA&LiSboN"` as argument.
```
__ __ _____ _____ _ _ _____ _ _ _
| \/ | | __ \ _____ |_ _| /\ ___ | | (_) / ____| | | | \ | |
@ -104,7 +104,7 @@
```
###### Does it display the right graphical representation in ASCII as above?
##### Try passing "1a\"#FdwHywR&/()=" as argument.
##### Try passing `"1a\"#FdwHywR&/()="` as argument.
```
_ _ _ _ ______ _ _ _ _____ __ __ __
_ ( | ) _| || |_ | ____| | | | | | | | __ \ ___ / / / / \ \ ______
@ -116,7 +116,7 @@
|___/
```
###### Does it display the right graphical representation in ASCII as above?
##### Try passing "{|}~" as argument.
##### Try passing `"{|}~"` as argument.
```
__ _ __ /\/|
/ / | | \ \ |/\/
@ -128,7 +128,7 @@
|_|
```
###### Does it display the right graphical representation in ASCII as above?
##### Try passing "[\]^_ \`a" as argument.
##### Try passing `"[\]^_ \`a"` as argument.
```
___ __ ___ /\ _
| _| \ \ |_ | |/\| ( )
@ -140,7 +140,7 @@
|______|
```
###### Does it display the right graphical representation in ASCII as above?
##### Try passing "RGB" as argument.
##### Try passing `"RGB"` as argument.
```
_____ _____ ____
| __ \ / ____| | _ \
@ -152,7 +152,7 @@
```
###### Does it display the right graphical representation in ASCII as above?
##### Try passing ":;<=>?@" as argument.
##### Try passing `":;<=>?@"` as argument.
```
__ __ ___
_ _ / / ______ \ \ |__ \ ____
@ -164,7 +164,7 @@
```
###### Does it display the right graphical representation in ASCII as above?
##### Try passing "\!\" #$%&'()*+,-./" as argument.
##### Try passing `"\!\" #$%&'()*+,-./"` as argument.
```
__ _ _ _ _ _ _ _ __ _ __ __ _ __
\ \ | | ( | ) _| || |_ | | (_) / / ___ ( ) / / \ \ /\| |/\ _ / /
@ -176,7 +176,7 @@ __ _ _ _ _ _ _ _ __ _ __ __ _
```
###### Does it display the right graphical representation in ASCII as above?
##### Try passing "ABCDEFGHIJKLMNOQPRSTUVWXYZ" as argument.
##### Try passing `"ABCDEFGHIJKLMNOQPRSTUVWXYZ"` as argument.
```
____ _____ _____ ______ ______ _____ _ _ _____ _ _ __ _ __ __ _ _ ____ _____ ____ _____ _____ _______ _ _ __ __ __ __ __ __ __ __ ______
/\ | _ \ / ____| | __ \ | ____| | ____| / ____| | | | | |_ _| | | | |/ / | | | \/ | | \ | | / __ \ | __ \ / __ \ | __ \ / ____| |__ __| | | | | \ \ / / \ \ / / \ \ / / \ \ / / |___ /
@ -189,7 +189,7 @@ __ _ _ _ _ _ _ _ __ _ __ __ _
```
###### Does it display the right graphical representation in ASCII as above?
##### Try passing "abcdefghijklmnopqrstuvwxyz" as argument.
##### Try passing `"abcdefghijklmnopqrstuvwxyz"` as argument.
```
_ _ __ _ _ _ _ _
| | | | / _| __ _ | | (_) (_) _ | | | |

12
subjects/ascii-art/ascii-color.audit.en.md

@ -1,10 +1,10 @@
#### Ascii-Color
#### Functional
##### Try passing as arguments "hello world" --color=red.
##### Try passing as arguments `"hello world" --color=red`.
###### Does it displays the expected result?
##### Try passing as arguments "1 + 1 = 2" --color=green.
##### Try passing as arguments `"1 + 1 = 2" --color=green`.
###### Does it display the expected result?
##### Try passing as arguments "(%&) ??" --color=yellow.
##### Try passing as arguments `"(%&) ??" --color=yellow`.
###### Does it display the expected result?
##### Try specifying a set of letters to be colored (the second until the last letter).
###### Does it displays the expected result (the corresponding set of letters with that color)?
@ -12,9 +12,9 @@
###### Does it displays the expected result (the corresponding letter with that color)?
##### Try specifying letter to be colored(just two letter).
###### Does it displays the expected result (the corresponding letters with that color)?
##### Try passing as arguments "HeY GuYs" --color=orange, in order to color "GuYs".
##### Try passing as arguments `"HeY GuYs" --color=orange`, in order to color `GuYs`.
###### Does it display the expected result?
##### Try passing as arguments "RGB()" --color=blue, in order to color just the B.
##### Try passing as arguments `"RGB()" --color=blue`, in order to color just the B.
###### Does it display the expected result?
#### General Requirements

6
subjects/ascii-art/ascii-fs.audit.en.md

@ -61,7 +61,7 @@ _|_| _| _| _|
```
###### Does it display the stirng in the right template as an ASCII art representation as above?
##### Try passing as arguments `"/(\")" thinkertoy`
##### Try passing as arguments `/(\") thinkertoy`
```
o o
o / | | \
@ -73,7 +73,7 @@ o \ /
```
###### Does it display the stirng in the right template as an ASCII art representation as above?
##### Try passing as arguments `"ABCDEFGHIJKLMNOPQRSTUVWXYZ" shadow`
##### Try passing as arguments `ABCDEFGHIJKLMNOPQRSTUVWXYZ shadow`
```
_|_| _|_|_| _|_|_| _|_|_| _|_|_|_| _|_|_|_| _|_|_| _| _| _|_|_| _| _| _| _| _| _| _| _| _|_| _|_|_| _|_| _|_|_| _|_|_| _|_|_|_|_| _| _| _| _| _| _| _| _| _| _| _|_|_|_|_|
@ -85,7 +85,7 @@ _| _| _|_|_| _|_|_| _|_|_| _|_|_|_| _| _|_|_| _| _| _|_|_|
```
###### Does it display the stirng in the right template as an ASCII art representation as above?
##### Try passing as arguments `"\"#$%&/()*+,-./" thinkertoy`
##### Try passing as arguments `\"#$%&/()*+,-./ thinkertoy`
```
o o | |
| | | | -O-O- O o / \ o | o o

35
subjects/ascii-art/ascii-justify.audit.en.md

@ -1,26 +1,41 @@
#### Functional Project Questions
##### Try passing as arguments `"left" --align=right`
##### Try passing as arguments `left standard --align=right`
###### Does it displays the correct result at the right side?
##### Try passing as arguments `"right" --align=left`
##### Try passing as arguments `right standard --align=left`
###### Does it displays the correct result at the left side?
##### Try passing as arguments `"hello" --align=center`
##### Try passing as arguments `hello shadow --align=center`
###### Does it displays the correct result at the center?
##### Try passing as arguments `"1 Two 4" --align=justify`
##### Try passing as arguments `"1 Two 4" shadow --align=justify`
###### Does it displays the correct result justified?
##### Try passing as arguments `"23/32" --align=right`
##### Try passing as arguments `23/32 standard --align=right`
###### Does it displays the correct result at the right side?
##### Try passing as arguments `"ABCabc123" --align=right`
##### Try passing as arguments `ABCabc123 thinkertoy--align=right`
###### Does it displays the correct result at the right side?
##### Try passing as arguments `"!#$%&" --align=center`
##### Try passing as arguments `!#$%&" thinkertoy --align=cente`
###### Does it displays the correct result at the center?
##### Try passing as arguments `"23Hello World!" --align=left`
##### Try passing as arguments `"23Hello World!" standard --align=left`
###### Does it displays the correct result at the left side?
##### Try passing as arguments `"HELLO there HOW are YOU?!" --align=justify`
##### Try passing as arguments `"HELLO there HOW are YOU?!" thinkertoy --align=justify`
###### Does it displays the correct result justified?
##### Try passing as arguments `"a -> A b -> B c -> C" --align=right`
##### Try passing as arguments `"a -> A b -> B c -> C" shadow --align=right`
###### Does it displays the correct result at the right side?
###### Try reducing the terminal window and run `abcd shadow --align=right`
###### Does the representation adapt to the terminal size displaying the right result in the right side?
###### Try reducing the terminal window and run `ola standard --align=center`
###### Does the representation adapt to the terminal size displaying the right result in the right side?
#### Basic
###### +Does the project runs quickly and effectively (Favoring of recursive, no unnecessary data requests, etc.)?

4
subjects/ascii-art/ascii-justify.en.md

@ -9,6 +9,8 @@ You must follow the same [instructions](https://github.com/01-edu/public/blob/ma
- right
- justify
- You must adapt your representation to the terminal size. If you reduce the terminal window the graphical representation should be adapted to the terminal size.
This project will help you learn about :
- Client utilities.
@ -55,7 +57,7 @@ This project will help you learn about :
| _| _| _|_|_| _| _| _|_| |
| |
| |
|student@ubuntu:~/ascii-art$ ./ascii-art "hello" shadow --align=justify |
|student@ubuntu:~/ascii-art$ ./ascii-art "how are you" shadow --align=justify |
| |
|_| |
|_|_|_| _|_| _| _| _| _|_|_| _| _|_| _|_| _| _| _|_| _| _| |

9
subjects/ascii-art/ascii-output.audit.en.md

@ -1,4 +1,4 @@
#### Functional Project Questions
#### Functional
##### Try passing as arguments `"First\nTest" shadow --output=test00.txt`
```
@ -50,7 +50,7 @@ student$ cat test02.txt
```
###### Does it save the right output in the right file?
##### Try passing as arguments `"432 -> #$%&@" shadow --output=test03.txt`
##### Try passing as arguments `"32 -> #$%&@" shadow --output=test03.txt`
```
student$ cat test03.txt
@ -78,7 +78,7 @@ _|_|_|_|_| _|
```
###### Does it save the right output in the right file?
##### Try passing as arguments `"123 -> \"#$%@" thinkertoy --output=test05.txt`
##### Try passing as arguments `"23 -> \"#$%@" thinkertoy --output=test05.txt`
```
student$ cat test05.txt
o o | |
@ -121,8 +121,7 @@ student$ cat test07.txt
```
###### Does it save the right output in the right file?
###### Does it save the right output in the right file?
###### Are all the test files saved?
###### Are all the test files tested saved?
#### Basic

16
subjects/ascii-art/ascii-reverse-example.md

@ -47,14 +47,14 @@
### example03
```console
__ _ _ _ __
/ / | | | | (_) __ _ ___ ____ _____ _ _ \ \
| | ___ ___ _ __ | |_ | |__ _ _ __ ___ / _` | ( _ ) |___ \ |___ / | || | | |
| | / __| / _ \ | '_ \ | __| | _ \ | | | '_ ` _ \ | (_| | / _ \/\ __) | |_ \ | || |_ | |
| | \__ \ | (_) | | | | | \ |_ | | | | | | | | | | | | \__, | | (_> < / __/ ___) | |__ _| | |
| | |___/ \___/ |_| |_| \__| |_| |_| |_| |_| |_| |_| __/ | \___/\/ |_____| |____/ |_| | |
\_\ |___/ /_/
__ _ _ _ __
/ / | | | | (_) __ _ ___ ____ _____ _ _ \ \
| | ___ ___ _ __ ___ | |_ | |__ _ _ __ ___ / _` | ( _ ) |___ \ |___ / | || | | |
| | / __| / _ \ | '_ ` _ \ | __| | _ \ | | | '_ ` _ \ | (_| | / _ \/\ __) | |_ \ | || |_ | |
| | \__ \ | (_) | | | | | | | \ |_ | | | | | | | | | | | | \__, | | (_> < / __/ ___) | |__ _| | |
| | |___/ \___/ |_| |_| |_| \__| |_| |_| |_| |_| |_| |_| __/ | \___/\/ |_____| |____/ |_| | |
\_\ |___/ /_/
```

16
subjects/ascii-art/ascii-reverse.audit.en.md

@ -1,27 +1,27 @@
#### Functional Project Questions
##### Try passing to the reverse flag (--reverse=example00.txt) the example 00 (github.com/public/subject/ascii-art/ascii-reverse-example.md).
##### Try passing to the reverse flag `"--reverse=example00.txt"` the [example 00](github.com/public/subject/ascii-art/ascii-reverse-example.md).
`Hello World`
###### Does it display the value above?
##### Try passing to the reverse flag (--reverse=example01.txt) the example 01 (github.com/public/subject/ascii-art/ascii-reverse-example.md).
##### Try passing to the reverse flag `"--reverse=example01.txt"` the [example 01](github.com/public/subject/ascii-art/ascii-reverse-example.md).
`123`
###### Does it display the value above?
##### Try passing to the reverse flag (--reverse=example02.txt) the example 02 (github.com/public/subject/ascii-art/ascii-reverse-example.md).
##### Try passing to the reverse flag `"--reverse=example02.txt"` the [example 02](github.com/public/subject/ascii-art/ascii-reverse-example.md).
`#=\[`
###### Does it display the value above?
##### Try passing to the reverse flag (--reverse=example03.txt) the example 03 (github.com/public/subject/ascii-art/ascii-reverse-example.md).
##### Try passing to the reverse flag `"--reverse=example03.txt"` the [example 03](github.com/public/subject/ascii-art/ascii-reverse-example.md).
`(somthing&234)`
###### Does it display the value above?
##### Try passing to the reverse flag (--reverse=example04.txt) the example 04 (github.com/public/subject/ascii-art/ascii-reverse-example.md).
##### Try passing to the reverse flag `"--reverse=example04.txt"` the [example 04](github.com/public/subject/ascii-art/ascii-reverse-example.md).
`abcdefghijklmnopqrstuvwxyz`
###### Does it display the value above?
##### Try passing to the reverse flag (--reverse=example05.txt) the example 05 (github.com/public/subject/ascii-art/ascii-reverse-example.md).
##### Try passing to the reverse flag `"--reverse=example05.txt"` the [example 05](github.com/public/subject/ascii-art/ascii-reverse-example.md).
`\!" #$%&'()*+,-./`
###### Does it display the value above?
##### Try passing to the reverse flag (--reverse=example06.txt) the example 06 (github.com/public/subject/ascii-art/ascii-reverse-example.md).
##### Try passing to the reverse flag `"--reverse=example06.txt"` the [example 06](github.com/public/subject/ascii-art/ascii-reverse-example.md).
`:;<=>?@`
###### Does it display the value above?
##### Try passing to the reverse flag (--reverse=example07.txt) the example 07 (github.com/public/subject/ascii-art/ascii-reverse-example.md).
##### Try passing to the reverse flag `"--reverse=example07.txt"` the [example 07](github.com/public/subject/ascii-art/ascii-reverse-example.md).
`ABCDEFGHIJKLMNOPQRSTUVWXYZ`
###### Does it display the value above?

2
subjects/tetrisoptimizer/tetrisoptimizer.audit.en.md

@ -1,4 +1,4 @@
#### Functional Project Questions
#### Functional
##### Try bad example 00 (https://github.com/01-edu/public/blob/master/subjects/tetrisoptimizer/badexample00.md).
`ERROR`

Loading…
Cancel
Save