mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
235 lines
16 KiB
235 lines
16 KiB
5 years ago
|
#### Functional Project Questions
|
||
|
|
||
|
##### Try passing as argument "hello".
|
||
|
```
|
||
|
_ _ _
|
||
|
| | | | | |
|
||
|
| |__ ___ | | | | ___
|
||
|
| _ \ / _ \ | | | | / _ \
|
||
|
| | | | | __/ | | | | | (_) |
|
||
|
|_| |_| \___| |_| |_| \___/
|
||
|
|
||
|
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
##### Try passing as argument "HELLO".
|
||
|
```
|
||
|
_ _ ______ _ _ ____
|
||
|
| | | | | ____| | | | | / __ \
|
||
|
| |__| | | |__ | | | | | | | |
|
||
|
| __ | | __| | | | | | | | |
|
||
|
| | | | | |____ | |____ | |____ | |__| |
|
||
|
|_| |_| |______| |______| |______| \____/
|
||
|
|
||
|
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
##### Try passing as argument "HeLlo HuMaN".
|
||
|
```
|
||
|
_ _ _ _ _ _ __ __ _ _
|
||
|
| | | | | | | | | | | | | \/ | | \ | |
|
||
|
| |__| | ___ | | | | ___ | |__| | _ _ | \ / | __ _ | \| |
|
||
|
| __ | / _ \ | | | | / _ \ | __ | | | | | | |\/| | / _` | | . ` |
|
||
|
| | | | | __/ | |____ | | | (_) | | | | | | |_| | | | | | | (_| | | |\ |
|
||
|
|_| |_| \___| |______| |_| \___/ |_| |_| \__,_| |_| |_| \__,_| |_| \_|
|
||
|
|
||
|
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
##### Try passing as argument "1Hello 2There".
|
||
|
```
|
||
|
_ _ _ _ _______ _
|
||
|
_ | | | | | | | | ____ |__ __| | |
|
||
|
/ | | |__| | ___ | | | | ___ |___ \ | | | |__ ___ _ __ ___
|
||
|
| | | __ | / _ \ | | | | / _ \ __) | | | | _ \ / _ \ | '__| / _ \
|
||
|
| | | | | | | __/ | | | | | (_) | / __/ | | | | | | | __/ | | | __/
|
||
|
|_| |_| |_| \___| |_| |_| \___/ |_____| |_| |_| |_| \___| |_| \___|
|
||
|
|
||
|
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
##### Try passing as argument "Hello\nThere".
|
||
|
```
|
||
|
_ _ _ _
|
||
|
| | | | | | | |
|
||
|
| |__| | ___ | | | | ___
|
||
|
| __ | / _ \ | | | | / _ \
|
||
|
| | | | | __/ | | | | | (_) |
|
||
|
|_| |_| \___| |_| |_| \___/
|
||
|
|
||
|
|
||
|
_______ _
|
||
|
|__ __| | |
|
||
|
| | | |__ ___ _ __ ___
|
||
|
| | | _ \ / _ \ | '__| / _ \
|
||
|
| | | | | | | __/ | | | __/
|
||
|
|_| |_| |_| \___| |_| \___|
|
||
|
|
||
|
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
##### Try passing "{Hello & There #}" as argument.
|
||
|
```
|
||
|
__ _ _ _ _ _______ _ _ _ __
|
||
|
/ / | | | | | | | | ___ |__ __| | | _| || |_ \ \
|
||
|
| | | |__| | ___ | | | | ___ ( _ ) | | | |__ ___ _ __ ___ |_ __ _| | |
|
||
|
/ / | __ | / _ \ | | | | / _ \ / _ \/\ | | | _ \ / _ \ | '__| / _ \ _| || |_ \ \
|
||
|
\ \ | | | | | __/ | | | | | (_) | | (_> < | | | | | | | __/ | | | __/ |_ __ _| / /
|
||
|
| | |_| |_| \___| |_| |_| \___/ \___/\/ |_| |_| |_| \___| |_| \___| |_||_| | |
|
||
|
\_\ /_/
|
||
|
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
##### Try passing "hello There 1 to 2!" as argument.
|
||
|
```
|
||
|
_ _ _ _______ _ _ _
|
||
|
| | | | | | |__ __| | | _ | | ____ | |
|
||
|
| |__ ___ | | | | ___ | | | |__ ___ _ __ ___ / | | |_ ___ |___ \ | |
|
||
|
| _ \ / _ \ | | | | / _ \ | | | _ \ / _ \ | '__| / _ \ | | | __| / _ \ __) | | |
|
||
|
| | | | | __/ | | | | | (_) | | | | | | | | __/ | | | __/ | | \ |_ | (_) | / __/ |_|
|
||
|
|_| |_| \___| |_| |_| \___/ |_| |_| |_| \___| |_| \___| |_| \__| \___/ |_____| (_)
|
||
|
|
||
|
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
##### Try passing "MaD3IrA&LiSboN" as argument.
|
||
|
```
|
||
|
__ __ _____ _____ _ _ _____ _ _ _
|
||
|
| \/ | | __ \ _____ |_ _| /\ ___ | | (_) / ____| | | | \ | |
|
||
|
| \ / | __ _ | | | | |___ / | | _ __ / \ ( _ ) | | _ | (___ | |__ ___ | \| |
|
||
|
| |\/| | / _` | | | | | |_ \ | | | '__| / /\ \ / _ \/\ | | | | \___ \ | '_ \ / _ \ | . ` |
|
||
|
| | | | | (_| | | |__| | ___) | _| |_ | | / ____ \ | (_> < | |____ | | ____) | | |_) | | (_) | | |\ |
|
||
|
|_| |_| \__,_| |_____/ |____/ |_____| |_| /_/ \_\ \___/\/ |______| |_| |_____/ |_.__/ \___/ |_| \_|
|
||
|
|
||
|
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
##### Try passing "1a\"#FdwHywR&/()=" as argument.
|
||
|
```
|
||
|
_ _ _ _ ______ _ _ _ _____ __ __ __
|
||
|
_ ( | ) _| || |_ | ____| | | | | | | | __ \ ___ / / / / \ \ ______
|
||
|
/ | __ _ V V |_ __ _| | |__ __| | __ __ | |__| | _ _ __ __ | |__) | ( _ ) / / | | | | |______|
|
||
|
| | / _` | _| || |_ | __| / _` | \ \ /\ / / | __ | | | | | \ \ /\ / / | _ / / _ \/\ / / | | | | ______
|
||
|
| | | (_| | |_ __ _| | | | (_| | \ V V / | | | | | |_| | \ V V / | | \ \ | (_> < / / | | | | |______|
|
||
|
|_| \__,_| |_||_| |_| \__,_| \_/\_/ |_| |_| \__, | \_/\_/ |_| \_\ \___/\/ /_/ | | | |
|
||
|
__/ / \_\ /_/
|
||
|
|___/
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
##### Try passing "{|}~" as argument.
|
||
|
```
|
||
|
__ _ __ /\/|
|
||
|
/ / | | \ \ |/\/
|
||
|
| | | | | |
|
||
|
/ / | | \ \
|
||
|
\ \ | | / /
|
||
|
| | | | | |
|
||
|
\_\ | | /_/
|
||
|
|_|
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
##### Try passing "[\]^_ \`a" as argument.
|
||
|
```
|
||
|
___ __ ___ /\ _
|
||
|
| _| \ \ |_ | |/\| ( )
|
||
|
| | \ \ | | \| __ _
|
||
|
| | \ \ | | / _` |
|
||
|
| | \ \ | | | (_| |
|
||
|
| |_ \_\ _| | \__,_|
|
||
|
|___| |___| ______
|
||
|
|______|
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
##### Try passing "RGB" as argument.
|
||
|
```
|
||
|
_____ _____ ____
|
||
|
| __ \ / ____| | _ \
|
||
|
| |__) | | | __ | |_) |
|
||
|
| _ / | | |_ | | _ <
|
||
|
| | \ \ | |__| | | |_) |
|
||
|
|_| \_\ \_____| |____/
|
||
|
|
||
|
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
##### Try passing ":;<=>?@" as argument.
|
||
|
```
|
||
|
__ __ ___
|
||
|
_ _ / / ______ \ \ |__ \ ____
|
||
|
(_) (_) / / |______| \ \ ) | / __ \
|
||
|
< < ______ > > / / / / _` |
|
||
|
_ _ \ \ |______| / / |_| | | (_| |
|
||
|
(_) ( ) \_\ /_/ (_) \ \__,_|
|
||
|
|/ \____/
|
||
|
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
##### Try passing "\!\" #$%&'()*+,-./" as argument.
|
||
|
```
|
||
|
__ _ _ _ _ _ _ _ __ _ __ __ _ __
|
||
|
\ \ | | ( | ) _| || |_ | | (_) / / ___ ( ) / / \ \ /\| |/\ _ / /
|
||
|
\ \ | | V V |_ __ _| / __) / / ( _ ) |/ | | | | \ ` ' / _| |_ ______ / /
|
||
|
\ \ | | _| || |_ \__ \ / / / _ \/\ | | | | |_ _| |_ _| |______| / /
|
||
|
\ \ |_| |_ __ _| ( / / / _ | (_> < | | | | / , . \ |_| _ _ / /
|
||
|
\_\ (_) |_||_| |_| /_/ (_) \___/\/ | | | | \/|_|\/ ( ) (_) /_/
|
||
|
\_\ /_/ |/
|
||
|
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
##### Try passing "ABCDEFGHIJKLMNOQPRSTUVWXYZ" as argument.
|
||
|
```
|
||
|
____ _____ _____ ______ ______ _____ _ _ _____ _ _ __ _ __ __ _ _ ____ _____ ____ _____ _____ _______ _ _ __ __ __ __ __ __ __ __ ______
|
||
|
/\ | _ \ / ____| | __ \ | ____| | ____| / ____| | | | | |_ _| | | | |/ / | | | \/ | | \ | | / __ \ | __ \ / __ \ | __ \ / ____| |__ __| | | | | \ \ / / \ \ / / \ \ / / \ \ / / |___ /
|
||
|
/ \ | |_) | | | | | | | | |__ | |__ | | __ | |__| | | | | | | ' / | | | \ / | | \| | | | | | | |__) | | | | | | |__) | | (___ | | | | | | \ \ / / \ \ /\ / / \ V / \ \_/ / / /
|
||
|
/ /\ \ | _ < | | | | | | | __| | __| | | |_ | | __ | | | _ | | | < | | | |\/| | | . ` | | | | | | ___/ | | | | | _ / \___ \ | | | | | | \ \/ / \ \/ \/ / > < \ / / /
|
||
|
/ ____ \ | |_) | | |____ | |__| | | |____ | | | |__| | | | | | _| |_ | |__| | | . \ | |____ | | | | | |\ | | |__| | | | | |__| | | | \ \ ____) | | | | |__| | \ / \ /\ / / . \ | | / /__
|
||
|
/_/ \_\ |____/ \_____| |_____/ |______| |_| \_____| |_| |_| |_____| \____/ |_|\_\ |______| |_| |_| |_| \_| \____/ |_| \___\_\ |_| \_\ |_____/ |_| \____/ \/ \/ \/ /_/ \_\ |_| /_____|
|
||
|
|
||
|
|
||
|
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
##### Try passing "abcdefghijklmnopqrstuvwxyz" as argument.
|
||
|
```
|
||
|
_ _ __ _ _ _ _ _
|
||
|
| | | | / _| __ _ | | (_) (_) _ | | | |
|
||
|
__ _ | |__ ___ __| | ___ | |_ / _` | | |__ _ _ | | _ | | _ __ ___ _ __ ___ _ __ __ _ _ __ ___ | |_ _ _ __ __ __ __ __ __ _ _ ____
|
||
|
/ _` | | '_ \ / __| / _` | / _ \ | _| | (_| | | _ \ | | | | | |/ / | | | '_ ` _ \ | '_ \ / _ \ | '_ \ / _` | | '__| / __| | __| | | | | \ \ / / \ \ /\ / / \ \/ / | | | | |_ /
|
||
|
| (_| | | |_) | | (__ | (_| | | __/ | | \__, | | | | | | | | | | < | | | | | | | | | | | | | (_) | | |_) | | (_| | | | \__ \ \ |_ | |_| | \ V / \ V V / > < | |_| | / /
|
||
|
\__,_| |_.__/ \___| \__,_| \___| |_| __/ | |_| |_| |_| | | |_|\_\ |_| |_| |_| |_| |_| |_| \___/ | .__/ \__, | |_| |___/ \__| \__,_| \_/ \_/\_/ /_/\_\ \__, | /___|
|
||
|
|___/ _/ | | | | | __/ /
|
||
|
|__/ |_| |_| |___/
|
||
|
```
|
||
|
###### Does it display the right graphical representation in ASCII as above?
|
||
|
|
||
|
#### Basic
|
||
|
|
||
|
###### *Has the code passed the formatting? (gofmt, goimports)
|
||
|
###### *Does the project runs quickly and effectively? (Favoring recursive, no unnecessary data requests, etc)
|
||
|
|
||
|
###### *Does the code present commenting? (https://github.com/01-edu/public/blob/master/subjects/good-practices.en.md)
|
||
|
###### *Does the code present documentation?
|
||
|
###### *Does it present consistent indentation?
|
||
|
###### *Does the code avoid obvious comments? (no over information)
|
||
|
###### *Does the code avoid code grouping?
|
||
|
###### *Does the code have a consistent naming scheme (camelCase, under_scores)?
|
||
|
###### *Does the code obey the principles "DRY" (Don't Repeat Yourself) or "DIE" (Duplication is Evil)?
|
||
|
###### *Does the code obey the principal "KISS" (keep it simple, stupid)?
|
||
|
###### *Does the code obey the principle "YAGNI" (You Are not Gonna Need It)?
|
||
|
###### *Does the code obey the principle "SOC" (Separation of Concerns)?
|
||
|
###### *Does the code avoid deep nesting (if in ifs, forest of ifs)?
|
||
|
###### *Does the code present a good file and folder organization?
|
||
|
###### *Does it present a good separation of Code and Data?
|
||
|
###### *Does the go code follow the go recommendation? (https://github.com/01-edu/public/blob/master/subjects/good-practices.en.md)
|
||
|
|
||
|
###### *Is the error handled, is it error free?
|
||
|
###### *Is there a test file for this code?
|
||
|
###### *Are the tests checking each possible case?
|
||
|
###### *Is the output of the program well structured? Does any letter seems to be out of line?
|
||
|
|
||
|
#### Social
|
||
|
|
||
|
###### *Did you learn anything from this project?
|
||
|
###### *Can it be open-sourced / be used for other sources?
|
||
|
###### *Would you recommend/nominate this program as an example for the rest of the school?
|