This forum is provided to promote discussion amongst students enrolled in
CITS3007 Secure Coding.
If posting a question, it's suggested you check first whether your question
is answered in the unit Frequently Asked Questions (FAQ) list, and use the search box
(on the right) to see if an answer to your question has already been posted.
Please consider offering answers and suggestions to help other students!
And if you fix a problem by following a suggestion here,
it would be great if other interested students could see a short
"Great, fixed it!" followup message.
Hi,
You can put anything you like in your notes. That said, there's usually not much time in an exam to look through and use written materials - so instead of planning to make use of notes or lab sheets in the exam, it's often a better idea to try and...
Hi there,
I was taking a look at the exam section of the CITS3007 page and I had a question about what is allowed in the notes.
As it states that lab solutions are not provided during the exam, are we allowed to instead choose to add some solutions to ...
Hi,
Sure, just email me - you're correct, the late submissions area isn't open by default. (If I make it open by default, Moodle starts warning all the people with on-time submissions that they have an assessment due.)
Cheers
Arran
Hi Arran,
I have decided to submit again, but I've discovered that the late project submissions area of Moodle is not open for me to submit. I've seen in an earlier thread that you've fixed it for others, but maybe it is not working for me because I d...
Hi,
The cli function is expected to print output to stdout and stderr, so printing to those file-streams won't interfere with the marking scripts. The marking scripts capture your function's output by creating in-memory "files" using memfd create(...
Hi,
Well, what do you think the difference is? A C textbook, or a man page, or the cppreference website might be good places to look for information. (I'll gently point you towards the "How do I ask a good question?" link at the top of the forum i...
Hi Shashwat,
That's not what the Moodle logs say. They say that you were still using the testbed area up until 4 58 01 PM. At 4 59 55 PM, you opened the project submission area for the first time ever. And at 5 00 pm, having failed to make a submissi...
Somehow, I have only just remembered that there is a difference between stdout and stderr. My project code has been printing error messages to stdout. Would this interfere with the marking scripts, and is it worth putting in a late submission now tha...
I submitted my code on moddle however, it kicked me out and didnt save my code. Now it is not letting me submit anything or open the submission.
Please help
ANONYMOUS wrote
My suggested process is
- Make sure you have a Makefile for building your project.
- Install bear sudo apt-get install bear . Clang analysers work best with a "compilation database" that tells them how your code is built (e.g. wher...
Would you be willing to restate the answer, or link the previously given response? I've made an honest effort to look through the help forum, but there's only so many vaguely titled articles I can trawl through before losing my mind.
Thanks
It's nearly always a good idea to include newlines at the end of output to stdout or stderr.
Besides the fact that it makes the output more legible, output to a file stream is buffered - see here
https www.gnu.org software libc manual html node B...
Hi,
Are we able to use newlines at the end of our stderr message? I am aware that we should for the stdout outputs but I would like to make sure for stderr, given the automated marking system.
Thank you