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.
Displaying the 2 articles in this topic
Showing 2 of 170 articles.
Currently 24 other people reading this forum.


 UWA week 19 (1st semester, week 10) ↓
SVG not supported

Login to reply

👍?
helpful
4:26pm Sun 12th May, ANONYMOUS

Hey Arran, I was reading through crypto.h and I saw the preconditions. Is this for us to worry about, or does the caller of the function have to worry about these preconditions? In the lecture slides, it states "should we assert() that the preconditions for a function hold?" Can you please clarify this confusion of mine.


 UWA week 20 (1st semester, week 11) ↓
SVG not supported

Login to reply

👍?
helpful
1:05pm Mon 13th May, Arran S.

Hi!

ANONYMOUS wrote:

I was reading through crypto.h and I saw the preconditions. Is this for us to worry about, or does the caller of the function have to worry about these preconditions?

Well, based on what was said in the lecture, what do you think? What's your interpretation, and if there are bits of the lecture you didn't understand, what exactly were they? Feel free to give timestamps to exact positions in the lecture recording, or excerpts from your written lecture notes.

In the lecture slides, it states "should we assert() that the preconditions for a function hold?"

That's not a statement: it's a question. Having presumably watched the lecture, what would your answer be?

Can you please clarify this confusion of mine.

I'm not sure what your confusion is, so I can't clarify it. What's confusing you, exactly?

Sorry I can't be of more assistance, but I'm happy to come back to this if you can provide more information. Remember that the links at the top of the forum (How do I ask a good question? and How to report bugs effectively) both basically recommend the same thing, when asking questions. You need to explain what you already understand (or what you've already tried), and then detail exactly what the problem is (what content did you not understand, or what commands failed?).

Cheers,

Arran

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