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 4 of 9⬅ older  |  newer ⮕
Currently no other people reading this forum.


 UWA week 21 (1st semester, week 12) ↓
SVG not supported 6:00pm Tue 21st May, Siyu Y.

Thank you Arran


SVG not supported 5:10pm Tue 21st May, Arran S.

Hi all, In tomorrow's lecture, I'll aim to finish discussion of any topics I didn't get a chance to cover fully in previous lectures. Other than that, it is an opportunity to ask questions about any topic you like related to the unit. So if there are q...


SVG not supported 3:41pm Tue 21st May, Arran S.

Hi Luke, That doesn't sound right. Where do you see that stipulation? Can you please give the relevant part of the project specification? Also, can you clarify, what do you mean by "the program"? The specification doesn't ask you to submit a "program"...


SVG not supported 2:56pm Tue 21st May, Luke G.

For this assignment the stipulation is that if the program is detected to fail we abort it and return 1, the standard practice of saying that a program encountered an error. A lot has been said about the assert function which I'm wondering if we are...


SVG not supported 2:53pm Tue 21st May, Arran S.

Hi Hugo. Well, where are you getting the requirement from that the Vigen re key shouldn't contain digits or characters outside the range? That might provide some clue as to how a violation needs to be handled. Cheers Arran


SVG not supported 2:27pm Tue 21st May, Hugo S.

Hi Arran, What should happen if the vigenere key contains digits or characters that are outside the range? Should a string like "abcd9" be rejected? What about "abcd "? Thanks in advance


SVG not supported 2:07pm Tue 21st May, Arran S.

Hi, Those questions explicitly state that markers will use them for allocating marks. So no, I don't suggest removing those from the total score. Cheers Arran


SVG not supported 2:03pm Tue 21st May, Arran S.

Hi, No worries. To clarify just paste your implementations (including any documentation for cli ) into Moodle. As the header file itself says, it isn't to be submitted, so just include your documentation block for cli with the source. (It's common t...


SVG not supported 1:44pm Tue 21st May, Arran S.

Hi, I'm afraid you'll have to work this out for yourself, at this point. I regard ambiguities or contradictions in the spec as already having been clarified (https cits3007.github.io faq how-are-problems-with-the-project-specification-resolved 3F)...


SVG not supported 1:42pm Tue 21st May, ANONYMOUS

There was the final questions that were not required to have any input which for some reason had 8 marks allocated to it. Do we have to remove that from the total score to get our actual marks?


SVG not supported 1:27pm Tue 21st May, Arran S.

Hi, Well, really it's up to you to apply your best understanding of appropriate software development principles, and decide this for yourself. But perhaps expand on your thinking here, a little bit - can you suggest reasons for or against calling cae...


SVG not supported 1:23pm Tue 21st May, Arran S.

Hi Siyu, Questions do get re-used from year to year (sometimes with minor changes), so I've had to hide your post. In this case, it looks like there was an error in the question I'll fix that, and adjust the marks of anyone who did that question. But ...


SVG not supported 1:17pm Tue 21st May, Arran S.

Hi, They don't need to be explicitly called, no. (You can if you want, but tbh it makes the code rather awkward.) The intent is just for you to make use of the logic you came up with while implementing the Caesar functions my apologies, the spec...


SVG not supported 1:12pm Tue 21st May, Arran S.

Hi, I assume you mean "the submission area", not "the test area". It works by compiling your code using GCC, and then linking it against a "main.c" file which calls the implemented functions. If the code fails to compile or link, then that indicates th...


SVG not supported 1:05pm Tue 21st May, ANONYMOUS

Forgive my confusion, but I'm just curious as to how our code and header file (assuming that this needs to be submitted due to the documentation requirement of cli() ) need to be submitted via Moodle. Will there be two fields, one where we paste the C...


SVG not supported 1:04pm Tue 21st May, Arran S.

Hi all, I've enable a "testbed" area in Moodle as well. It's no substitute for running your own tests (with sanitizers enabled, and at varying optimization levels), and if you rely on it solely, you may well miss errors in your code. But it's there fo...


SVG not supported 11:59am Tue 21st May, ANONYMOUS

I am having trouble understanding the caesar function. Consider this example char t1 "ZZZ"; char t2 sizeof(t1) 0 ; caesar encrypt('A', 'Z', 2, t1, t2); Would the 'Z' wrap around so become 'B' or would it just go beyond the alphab...


SVG not supported 10:22am Tue 21st May, ANONYMOUS

Hi, thanks for the response. I believe its probably a problem with my environment so I will test using Vagrant and see what happens. Thanks again


SVG not supported 9:42am Tue 21st May, ANONYMOUS

Hi, Are we allowed to call caesar-encrypt with a sign change for the key (ie negative to positive or positive to negative) within the caesar-decrypt function? This is my interpretation of "Calling it with some key n is exactly equivalent to calling ca...


SVG not supported 12:23am Tue 21st May, ANONYMOUS

Hi Arron, how the test area works, I made mine into 2 files crypto.c main.c , also I provided make file how I can test it now OR that's mean I should change all my work into only one c file ??

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