Hey man, just a thought. Whenever the question is asking you to execute some other program, use fork() to split the process and execute the process using another system call on the child. That would most likely be the case scenario in the exams I'd i...
Hey everyone
Just wanted to wish everyone all the best for tomorrows exam Get rested up tonight, bring lots of water. Most importantly, do not stress, its all over for this class after tomorrow
Good luck to everyone
And by the way, I was refreshing the page to see if anyone had responded and the page came up with a segmentation fault I guess even the best of websites such as this can fall victim to segmentation faults haha
Hey
Would a question such as 2017 Q1 still be valid for this years exam and if so, how would I go about doing this? Would I have to use a tm struct or is there a syscall or am I meant to do the calcuation myself?
Thanks
Cool. As a follow up to this, would we also be allowed to write our answers in a different order? So I would prefer to get the short-answer questions out of the way first but would I be able to write them in the answer booklet first before the progra...
Hi everyone, I was just wondering in a function (not a program question) question, would it be permissible to create an extra function for things such as freeing memory, checking for errors etc? Thanks
Hey
I was just wondering if we would be required to write a hashtable in the exam and if so, if we'd need to implement something like the hash string() function you wrote in Workshop 8? I found it to be quite confusing and didn't really understand ho...
Yeah I think you do. On Tuesdays lecture, Chris explained the header files that are commonly used that should be pretty much included in every program function question and then if required, I believe you get extra marks for distinct header files (li...
Hey everyone,
I was just wondering if anyone had any clues about how to go about doing question 2 of the 2018 exam? Is it simply just creating a struct with the rows and columns and doing everything else accordingly? I am a bit confused about it all....
Hey
This might be a straightforward answer here but for dirent and stat structs, do you have to clear the structs at the end? We don't malloc or calloc it but I assume that it has memory, so I would assume that we have to free these structs at the en...
Hey everyone, hope the last assignment went well for all of you
I wanted to ask about the short answer section of the exam. Is there any outline or brief explanation of how questions would be marked for this part? For example, would you need to provi...
I was also wondering this myself, I believe he did say in the lecture that we can leave big gaps of space if we want to do functions beforehand or make additions changes but I feel that this is a bit risky and maybe writing main() first would be bett...
Hey Chris
I know this has been asked many times, but I just want my understanding to be 100 clear. Does our code need to output anything if there is no verbose option given? So, for example, do we need to print out the contents of the files or what...
Oops sorry, I just stumbled upon a thread indicating the input I gave to -i is wrong.
https secure.csse.uwa.edu.au run help2002?p np opt U925
It did ignore only copy the hidden file which I find strange but I guess that does make sense considering it...
Hey everyone,
I just wanted to ask you a few questions about the screenshot I have attached.
One, is the formatting of lab1-Q3.c correct for -i with pattern 'lab?-Q . ' to pick up? If not, what file name would be correct for this because this actually ...
Hey Chris, sorry this might be a straightforward answer but in questions where you specify that the function is what is required, would you still need to write in all of the header files for that function above? Thank you.
Hey, I was wondering if there were any restrictions on using fread, fwrite or fopen as options for opening and writing files? I ask because on the standard C11 functions list, it has open, read and write but not the Buffer I O options... I think I kn...
Hey everyone )
I'm looking for a partner for project 2. I am at the uni on Wednesday afternoon and I am willing to meet up online via Teams Zoom etc on days that we can arrange.
I am looking to start planning the assignment as soon as possible so it w...
Hey everyone )
I'm looking for a partner for project 2. I am at the uni on Wednesday afternoons and would also be willing to meet online via Teams Zoom etc on days we can arrange.
I would like to start planning for this assignment as soon as possible ...
I tried the example with smaller and it didn't complete sleep. But I think I know what you are saying. So basically, the process doesn't care what happens during sleep but will still perform other functions (such as a context switch or another proces...
Hey everyone, I wanted to ask why when doing a context switch from running to blocked on the sample solution when issuing the sleep command, it has the 10 usec transition from Running to Blocked outside the allocated 15usecs for sleeping and then the...