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


 UWA week 43 (2nd semester, study break) ↓
SVG not supported 7:40pm Fri 25th Oct, Chenjun H.

Sorry for the confusion, when the offset is 10 bits, does it mean there are 2 10 bytes, or 2 10 32-bit addresses?


SVG not supported 6:25pm Fri 25th Oct, Chenjun H.

Hi, just a quick question about calculating the page size from the offset. if there are 10 bits for the offset in a 32 bit system, would the page size be 2 10 1kB bytes, where each offset contains 2 bits to determine which byte of the 4 bytes in the...


 UWA week 41 (2nd semester, week 11) ↓
SVG not supported 6:15pm Mon 7th Oct, Chenjun H.

Hi The global least recently used policy only means that you have to evict the least recently used page if the program tries to bring a page already in memory, am I understanding that correctly? What is the purpose of the disk in this assignment? The p...


SVG not supported 6:11pm Mon 7th Oct, Chenjun H.

Hi, Just 2 questions about the assignment, With the global least recently used eviction policy, does this only occur when we try to add a page already in the memory to the memory? Also, since the output is only interested in the ram, what is the purpos...


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported 8:49pm Fri 13th Sep, Chenjun H.

By passing a function as a parameter to another function, I mean function exec a return a() function seven return 7 print exec(seven) Here we pass the function seven to the function exec as its a parameter, and the exec ...


SVG not supported 8:31pm Fri 13th Sep, Chenjun H.

Hi, on the project page, it states that we should submit on csmarks, however, the submission on csmarks has its due date set to the 13th, will this be updated to match the newest 20th submission date or will a new submission point be added?


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported 11:01am Fri 6th Sep, Chenjun H.

Hi, Just a few questions about functions What should happen if a top level variable shares the same name as a function? Is this disallowed by ml like it is in C? Also, is it possible to pass a function as a parameter to a function, if it is, how would ...


SVG not supported 10:51am Fri 6th Sep, Chenjun H.

I'm not really sure, but I believe the answer is D because the fork() system call doesn't exist on Windows, which is why it isn't guaranteed to work.


SVG not supported 10:34am Thu 5th Sep, Chenjun H.

How exactly can we ensure that integers are printed in that way without using 2 separate data types? Isn't it possible for an integer stored as float to have imprecision? Furthermore, since the arguments passed to print could be an expression, wouldn...


SVG not supported 5:03pm Wed 4th Sep, Chenjun H.

Hi, in the examples, the print statement has inconsistent behavior, for example in sample 4, when 2 integers are multiplied, the printed value is 24, but in example 2, the printed value for a decimal float value is 2.500000 with no truncation. Does t...


 UWA week 35 (2nd semester, week 6) ↓
SVG not supported 10:20pm Mon 26th Aug, Chenjun H.

Thank you for the clarifications. My question about argument checking was poorly worded. It is clear to me that runml should perform argument checking, what I meant to ask was whether the ml scripts compiled by our program should perform argument chec...


SVG not supported 12:48pm Mon 26th Aug, Chenjun H.

Hi, Just had a few questions about the assignment. First, what should happen if divide by zero occurs, are we expected to do static analysis at compile time, throw an error at run time, or is it UB? Second, in example 5 a function call is done using ...


 UWA week 33 (2nd semester, week 4) ↓
SVG not supported 7:23pm Wed 14th Aug, Chenjun H.

The code in the question doesn't have any breaks in the switch statement, remember that c has switch fall through by default, which should make the answer self evident.

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