It's UWAweek 47

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.
12 articles posted by this ANONYMOUS person
Showing 12 of 830 articles.
Currently 27 other people reading this forum.


 UWA week 42 (2nd semester, week 12) ↓
SVG not supported 12:38am Mon 14th Oct, ANONYMOUS

Assume that we had called the same process ID 5 times like so 0 0 0 0 0 when we get to that fifth call, since it's already in memory, should we increase the time? like should it be 0, 1, 2, 3, 4 or 0, 1, 2, 3, 3 (since were not moving values from Virtual...


 UWA week 38 (2nd semester, week 8) ↓
SVG not supported 2:27pm Wed 18th Sep, ANONYMOUS

sorry, wrong tag


SVG not supported 2:25pm Wed 18th Sep, ANONYMOUS

hey just a quick clarification, does the arguments like arg0, arg1, ... also add towards the max 50 identifier count?


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported 10:09pm Thu 12th Sep, ANONYMOUS

okay, so I can assume that the arguments will be accessed under the alias arg0, arg1, .... and not under any other name correct? but wouldn't this contradict the statement where identifier names can only include lowercase alphabetic order?


SVG not supported 4:01pm Thu 12th Sep, ANONYMOUS

right, I understand that the temporary C files can just be encapsulated like so (correct me if i'm wrong) c int main(int argc, char argv ) converted c code here but that doesn't really explain how the program can access the arguments, a...


SVG not supported 12:08am Thu 12th Sep, ANONYMOUS

once we finished transcribing the ml language into C code in a separate file, I assume we need to call the system function to run shell commands to run the C file right? the problem with this is that we require a main function for it before it compile...


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported 4:23pm Fri 6th Sep, ANONYMOUS

Taking this into consideration from the ml language 6. there will be at most 50 unique identifiers appearing in any program lets just say a variable within a function is introduced, and then is set out of scope when exiting the function. The variable ...


SVG not supported 4:16pm Fri 6th Sep, ANONYMOUS

well, not really sure about this either, but in my opinion it really comes down to technicality, since after the fork, the code doesn't terminate, so we can either call fork() again somewhere outside the function, or call the function more than one t...


SVG not supported 11:42pm Wed 4th Sep, ANONYMOUS

so, i saw that in the steps to run and execute ml files, we basically turn the ml file into a c file, compile it, and execute the program. However, it also says to delete the c file and executables after running a program, so does it even matter if i ...


 UWA week 34 (2nd semester, week 5) ↓
SVG not supported 4:05pm Thu 22nd Aug, ANONYMOUS

You can find this state in the diagram found in lecture 8, slide page 14, or alternatively here https teaching.csse.uwa.edu.au units CITS2002 lectures lecture08 14.html


SVG not supported 2:38pm Thu 22nd Aug, ANONYMOUS

(10) Consider the following code which contains a common error c define N 10; void function(void) A) char array N ; B) int x 2 N; C) for(int i 0 ; i N i) printf(" c n", array i ); Which of the follo...


 UWA week 33 (2nd semester, week 4) ↓
SVG not supported 6:32pm Sat 17th Aug, ANONYMOUS

this is a question in the past exam Roughly, how many standard header files are defined by the C11 standard A. 10 B. 30 C. 100 D. 300 was this information accessible on the lecture slides? and if so will these types of questions come out in the midsem? jus...

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