It's UWAweek 47

help3007

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.

Note that any posts must comply with the UWA Code of Conduct and the UWA Academic Conduct Policy. That means you should (a) treat everyone with respect and courtesy, and (b) not post your solutions to an assessment that's in progress.

If asking a programming question, it's recommended you read How do I ask a good question? If reporting or troubleshooting a bug in software used in the unit, it's recommend you read How to report bugs effectively.
Showing 20 of 170 articles
Showing page 2 of 9⬅ older  |  newer ⮕
Currently 11 other people reading this forum.


 UWA week 22 (1st semester, study break) ↓
SVG not supported 2:54pm Mon 27th May, Arran S.

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...


 UWA week 21 (1st semester, week 12) ↓
SVG not supported 9:53am Sat 25th May, ANONYMOUS

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 ...


SVG not supported 1:24pm Fri 24th May, Arran S.

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


SVG not supported 9:45pm Thu 23rd May, ANONYMOUS

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...


SVG not supported 6:07pm Thu 23rd May, Arran S.

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(...


SVG not supported 5:58pm Thu 23rd May, Arran S.

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...


SVG not supported 5:52pm Thu 23rd May, Arran S.

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...


SVG not supported 5:44pm Thu 23rd May, Shashwat A.

Thank you Just another question, since I submitted before the due time but Moddle didn't let me, will this still cause a late penalty.


SVG not supported 5:38pm Thu 23rd May, Arran S.

Hi Shashwat, The late submissions area should be open now. Cheers Arran


SVG not supported 5:36pm Thu 23rd May, ANONYMOUS

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...


SVG not supported 5:11pm Thu 23rd May, Joshua T.

Same, it pushed me out just before and didn't save as it was loading in. All submission windows have now closed including the late one.


SVG not supported 5:09pm Thu 23rd May, Shashwat A.

I was on time (around 4 50ish) but it kicked me out and yeh the late submission isn't open too


SVG not supported 5:05pm Thu 23rd May, Gemma L.

I'm having this issue too. I'm unable to submit despite being minutes past the due date. The late submission area has the date January 1 2024.


SVG not supported 5:02pm Thu 23rd May, Shashwat A.

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


SVG not supported 1:17pm Thu 23rd May, ANONYMOUS

Whats the difference between perror() and stderr()? Will using one rather than the other result to less marks?


SVG not supported 1:03pm Thu 23rd May, Arran S.

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...


SVG not supported 12:40pm Thu 23rd May, ANONYMOUS

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


SVG not supported 12:16pm Thu 23rd May, Arran S.

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...


SVG not supported 12:03pm Thu 23rd May, Arran S.

Yes, this has already been answered. ANONYMOUS wrote


SVG not supported 9:40pm Wed 22nd May, ANONYMOUS

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

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy