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


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

Dear All, I will sort out all problems related to project 1 marks on Monday, as I had an eye operation and was on leave yesterday and today. The exam paper is fairly easy, and I am sure you will do well. all the best, Amitava


SVG not supported 7:36pm Fri 25th Oct, Amitava D.

ANONYMOUS wrote good answer, thanks


SVG not supported 7:34pm Fri 25th Oct, Amitava D.

No, we haven't started marking the second project.


SVG not supported 7:34pm Fri 25th Oct, Amitava D.

ANONYMOUS wrote It needs to be consistent so that it is not misused by malicious processes.Complicated interfaces may be easier to manipulate to pass malicious parameters. Also parameter checking is more efficient if they are consistent.


SVG not supported 7:32pm Fri 25th Oct, Amitava D.

ANONYMOUS wrote Each process starts with three open file descriptors, stdin, stdout, stderr - these will require system calls to open.


SVG not supported 7:30pm Fri 25th Oct, Amitava D.

ANONYMOUS wrote page size is 2 10 primary page table size is 2 8 There are 2 14 secondary page tables, each entry of the primary page table holds the starting address of a secondary page table. One can bring the secondary page tables on demand (the sec...


SVG not supported 7:26pm Fri 25th Oct, Amitava D.

ANONYMOUS wrote Sort of, but you can ignore that question. I don't know what Chris meant, may be segmented paging (I haven't explained that).


SVG not supported 7:26pm Fri 25th Oct, Amitava D.

ANONYMOUS wrote No


SVG not supported 7:25pm Fri 25th Oct, Amitava D.

The page size is 2 10, but what you have written after that does not make any sense. I guess you haven't spent time to understand the lectures. It is impossible to explain here.


SVG not supported 3:23pm Mon 21st Oct, Amitava D.

I have an eye operation on Thursday, and will be able to answer questions on the help forum only on Friday afternoon. I am here until Wednesday afternoon and you can come and meet me if you need any clarifications.


SVG not supported 3:12pm Mon 21st Oct, Amitava D.

ANONYMOUS wrote I am trying to release the marks, some marking is still left.


SVG not supported 3:11pm Mon 21st Oct, Amitava D.

You can give examples of code locality and data locality (e.g., in arrays)


SVG not supported 2:19pm Mon 21st Oct, Amitava D.

That is right, it is up to the examination hall staff to decide, and they may confiscate any typed notes.


SVG not supported 2:18pm Mon 21st Oct, Amitava D.

ANONYMOUS wrote No, labs are not scheduled this week, as the semester is over. You can ask questions here, or meet me until Wednesday afternoon.


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported 3:42pm Fri 13th Sep, Amitava D.

ANONYMOUS wrote multiple declaration of the same variable (name) is an error, you can assume that. We are not overthinking here, make simplifying assumptions, state those assumptions in a file, and you will be fine.


SVG not supported 3:41pm Fri 13th Sep, Amitava D.

Where did you get this ml syntax from? I haven't seen this.


SVG not supported 3:40pm Fri 13th Sep, Amitava D.

There is no need to complicate matters. Assume that there is no nested function, and that the generated code can be compiled without -Werror


SVG not supported 3:39pm Fri 13th Sep, Amitava D.

ANONYMOUS wrote You can add a print statement in the ml file if you want something to be printed. Submit that modified ml file mentioning that you have added a print statement.


SVG not supported 3:37pm Fri 13th Sep, Amitava D.

ANONYMOUS wrote I don't understand the source of this confusion. I have sent an email (and you can clearly quote that in case of any dispute) aand what I wrote there is correct. I cannot go on sending emails recursively and validate ad infinitum.


SVG not supported 3:36pm Fri 13th Sep, Amitava D.

ANONYMOUS wrote I didn't have much time to look at the project carefully. However, main() is also valid in C, without any parameters like argc and argv


SVG not supported 3:30pm Fri 13th Sep, Amitava D.

ANONYMOUS wrote You should make simplifying assumptions, and clearly write those assumptions in your report. I am not sure whether a report was required in the original project description, but you can submit a report that lists all the assumptions y...


SVG not supported 3:28pm Fri 13th Sep, Amitava D.

ANONYMOUS wrote C accepts variable number of parameters in functions, so any parameter mismatch will be tolerated by the C compiler. You need not check the correctness of parameters.


SVG not supported 3:27pm Fri 13th Sep, Amitava D.

Use gcc without -Werror.


 UWA week 36 (2nd semester, mid-semester break) ↓
SVG not supported 10:34am Fri 6th Sep, Amitava D.

I don't know what Chris had mind, it could be a trick question (note the 'always be true'). Suppose I write a complete C code with a main() and do not call this function?

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