It's UWAweek 49

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
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.
11 articles posted by this ANONYMOUS person
Showing 11 of 1168 articles.
Currently 1 other person reading this forum.


 UWA week 43 (2nd semester, study break) ↓
SVG not supported 1:04pm Tue 24th Oct, ANONYMOUS

How many pages are in the booklet roughly?


SVG not supported 11:43am Mon 23rd Oct, ANONYMOUS

Hello, Is it important to have functions ordered properly? For example, if I have void foo() bar(); void bar() printf("bar n"); This results in an error because you can't call bar() above where bar() is declared. This is a simple fix on a co...


 UWA week 40 (2nd semester, week 10) ↓
SVG not supported 5:32pm Fri 6th Oct, ANONYMOUS

Hello 1) If I have 2 or more -o options, do file names have to satisfy all -o options, or do they have to only satisfy one or more? For example, lets say I have "file.txt" and "notes.docx", with -o globs "file " and "notes ". Should both files be synce...


SVG not supported 3:59pm Mon 2nd Oct, ANONYMOUS

Hello, Do we need to free absolutely everything that we've malloc'd after the program finishes syncing and is about to exit? It's my understanding that when a process terminates, it's memory is freed automatically so it's sort of unneeded unless you w...


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported 9:53am Wed 6th Sep, ANONYMOUS

Since moving processes between states requires the OS to spend time on the CPU, I had assumed that this would also be the case for the databus. However, judging from the sample solution, the databus acquisition seems to run in parallel, essentially j...


 UWA week 35 (2nd semester, week 6) ↓
SVG not supported 10:25pm Tue 29th Aug, ANONYMOUS

Sometimes when a state transition is made, the transition itself takes 1usec to run, but other times it doesn't. Maybe I'm misunderstanding something about the correct behaviour. For example, at the start of every boot, a process gets spawned and is m...


SVG not supported 2:35pm Tue 29th Aug, ANONYMOUS

There is a maximum amount of running processes, which implies that spawn will block if the limit has been reached. However, the project sheet has no mention of it. What's the expected behaviour of spawn when the max amount of running processes has be...


SVG not supported 6:43pm Mon 28th Aug, ANONYMOUS

Hello, I heard Chris say in one of the lectures workshops that one of the ways you could advance time was to increment the clock by 1usec at a time and check what's happening at that point. However, this would mean for things like longsleep, there wou...


 UWA week 34 (2nd semester, week 5) ↓
SVG not supported 3:44pm Fri 25th Aug, ANONYMOUS

Will I penalised for using global variables? I've heard that it's bad practice in C, but I don't see how I could possibly pass half a dozen state variables to every function, plus the other variables specific to each function. I could make a struct a...


SVG not supported 5:55pm Thu 24th Aug, ANONYMOUS

Hello, I have a question about spawning processes. If I have a command called "command1" for example, and it has a system call that spawns "command2", it would be easier for us (with the system that we're thinking of using) to have "command2" be defi...


SVG not supported 10:01pm Mon 21st Aug, ANONYMOUS

Hello, I have some questions about the project. Some of them might be kinda obvious, but I want to make sure I understand. 1) Lets say the time-quantum is 100usecs, and a process in the running state has accumulated 90usecs of CPU time so far. If the ...

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  5:07AM Sep 06 2023
Privacy policy