Fundamentals of programming course resources in AUT CE.
The bank folder contains problems categorized by topic. you can find a problem from the bank, then copy the content of ***.md file into Quera.
If there is a tc directory, you can use the generator.sh script in scripts/generator.sh to create a ready-to-import zip file.
as an example:
./scripts/generator.sh functions capitallize_stringsNote: It's better to manually check the test case's zip file with inputs from {problem}/tc/in and samples in the probelm description before uploading them.
There are five types of questions in the bank.
- Non-code
- Manual Input & Output
- Manual Input + Generated Output
- Generated Input + Generated Output
- Generated Input +
tester.cpp
- All types of questions must contain a Markdown file with problem description.
- All Coding problems must contain
tc/inandtc/outfolders. - avoid using
-or()in problem names as it BREAKS thegenerator.shscript. - For automatic output generation, you must write a solution in either python/go and save them in the problem's root directory.
- For automatic Input generation. You must create a
generator.gofile in{problem}/tc/generator.go. Each test case is divided by;character. - For
tester.cppdocumentation refer to Quera.
A sample problem in the pointer category might look like this:
pointer\
|
|- new_question\
| |
| |- new_question.md
| |- new_question.go
| |- tc\
| | |- generator.go
| | |- in
| | |- out
|
|- other_questions\
Many thanks to those who helped us get here :)