It's UWAweek 5

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.

 Posts from 2022 will be available until after the Deferred and Supplementary Exams
17 articles posted by this ANONYMOUS person
Showing 17 of 919 articles.
Currently 1 other person reading this forum.


 UWA week 42 (2nd semester, week 12) ↓
SVG not supported 5:43pm Thu 20th Oct, ANONYMOUS

ANONYMOUS wrote just adding some points in my previous reply


SVG not supported 5:41pm Thu 20th Oct, ANONYMOUS

yup, so I've tested multiple times and my program mostly works perfectly after invoking the same option another time. e.g. it reports that the index file does not exist when either -u, -r, or the searching option is invoked but when let's say . trove...


SVG not supported 12:55pm Thu 20th Oct, ANONYMOUS

Hello, I would want to ask if a command does not run successfully for the first time, would it be run more than once during testing? Because my code is producing the desired output, but upon running each command option (-u -l search for word) for the...


SVG not supported 2:58pm Wed 19th Oct, ANONYMOUS

Hi, I'm currently struggling to implement the decompressing function in the code since it requires execl to call the utility I learned that execl replaces the current process with a new image, and based on multiple research, it's apparently impossible...


SVG not supported 6:53pm Tue 18th Oct, ANONYMOUS

the 1st question is that I would like to know if there is a way to run a pipe function within the program without exiting, since I tested using it within the codes, but it seems that pipe function terminates the whole program So far it only works whe...


SVG not supported 4:36pm Tue 18th Oct, ANONYMOUS

adding on from above, my pipe function only involves gzip and zcat utilities, so if my code were to be run again after compressing the file, then the code would have to identify the name of the compressed version of the file, otherwise it would repor...


SVG not supported 4:30pm Tue 18th Oct, ANONYMOUS

yeah, my pipe function works fine with compressing the file and outputting the index file via zcat, just that it could only work when I put it at the end of the program, after everything is executed. I find it tricky to implement the pipe function in...


SVG not supported 2:34pm Tue 18th Oct, ANONYMOUS

Hello, want to ask if the file would be decompressed manually (i.e. gunzip command is invoked by the marker) before compiling the trove.c program another time? I've tried implementing the decompressing function with pipe in the code, but the program ...


SVG not supported 8:33am Tue 18th Oct, ANONYMOUS

Hello, I'm wondering if the named trove file would be "called" again in further tests after being compressed. Because I've implemented the gzip and zcat functions in the project but upon testing after compressing the file, the program does not execut...


 UWA week 41 (2nd semester, week 11) ↓
SVG not supported 8:38am Sat 15th Oct, ANONYMOUS

Hello, are there any ways to implement zcat in the project? because I got zcat to work for the index file in my project, where it prints the contents of the compressed file to the standard output. I thought of creating a new index file, in which zcat...


SVG not supported 8:28am Sat 15th Oct, ANONYMOUS

so sorry, realised that I wrote in the reply itself So just to add in, would the marking check for similarities in the debugging output in terms of order e.g. "reading - decompressing - find words - compressing"?


SVG not supported 8:27am Sat 15th Oct, ANONYMOUS

ANONYMOUS wrote


SVG not supported 8:21am Sat 15th Oct, ANONYMOUS

Hi, might be a silly question. Do we have to produce the exact same output in the sample solution? e.g. the same sequences of "reading", "decompressing", "1 unique word" etc? because since the project said that we "may leave" the output for debugging...


 UWA week 40 (2nd semester, week 10) ↓
SVG not supported 8:04pm Tue 4th Oct, ANONYMOUS

Hello Chris, I'm quite confused with how the trove file should more or less look like. How does each file listed in the trove file store the words to be searched? - does each of the listed files store those words like a hashtable? - e.g. file1 - "hel...


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported 2:33pm Fri 16th Sep, ANONYMOUS

Our code doesn't let a command run if it would run passed the end of the month. On the sample solution, given month 0 crontab 0 0 1 0 foo estimates foo 99999999 The command foo is called, even though it would run past the end of the month. So the res...


SVG not supported 9:59pm Thu 15th Sep, ANONYMOUS

Hello, I want to ask if it's ok to still have a function that checks for leap years despite leap years are not considered in the project? Would we be marked down if our code still checks for leap years as unnecessary coding? Thanks


 UWA week 30 (2nd semester, week 1) ↓
SVG not supported 11:10am Tue 26th Jul, ANONYMOUS

Hi, just to check if the recordings for replacement lectures would be uploaded in the "Lecture Recordings" tab in LMS, or on "Schedule" tab in the unit's main page? Thanks

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  2:26AM Jan 17 2023
Privacy policy