Skip to content
Snippets Groups Projects
Forked from make grade / make grade
38 commits behind, 1 commit ahead of the upstream repository.
Taylor's avatar
Dr. Taylor authored
4a728f2a
History

Example programming assignment

This is an example assignment illustrating the functionality of make grade.

How to do this assignment

See this link for more details:

https://git.mst.edu/make-grade/make-grade

Problem description

Write two functions and one man driver:

nat_to_bin: Converts a natural number to a binary string.

bin_to_nat: Converts a binary string to a natural number.

main uses IO, and sequentially applies those functions.

Upload three files, examples of what student should generate copy into uploads/:

ls uploads/
# gpg2_key.asc
# id_rsa.pub
# ssh-key0.png

file uploads/gpg2_key.asc
# gpg2_key.asc: PGP public key block Public-Key (old)

file uploads/id_rsa.pub
# id_rsa.pub: OpenSSH RSA public key

file uploads/ssh-key0.png
# ssh-key0.png: PNG image data, 1608 x 984, 8-bit/color RGB, non-interlaced