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.
I'll leave it up to Michael whether he wants to release the exact tests, but I will tell you roughly which will be useful enough for exam prep. It's pretty much exactly what was asked on the assignment page
- create a profile (several tests for this ...
Hi all,
I'm midway through marking assignment 2. While most submissions have been very good, there are a few that run poorly or not at all.
If you receive a mark that you do not agree with ("it works fine on my machine "), please do the following befor...
There will also be a question on git As I have mentioned, it will be looking at a single-user approach to git. You should understand basic git commands and file staging, but you don't need to worry about complicated stuff like merges and conflicts. ...
I know you're all keen for some Project 1 feedback before Project 2 is due, so here are some tips from me, based on common mistakes that I saw while marking
- Test to make sure your code it do all the examples shown in the project page.
- Test your co...
As per title, lab 11 solutions are now online.
As I mentioned during the labs, be remember that Makefiles require tabs for indenting This means you have to use the tab key to indent I've configured vim in our Docker image to use tabs as normal in Ma...
When you submit your assignment, you are submitting a zipped folder. The files inside the folder retain all the permissions they had before you zipped it - so if your scripts are already executable you won't need to chmod them again
It's a hint, it's not the only way to approach the assignment. The token approach means you can gradually add logic to your program and easily see where things are going wrong, which is particularly helpful if you don't know how to approach the assig...
As Michael has said, both sed and awk go one line at a time through a file. So sed -e (something) -e (something else) is one pass through a file, but sed -e (something; sed -e (something else) is two passes.
To understand Michael's approach, please go back and look at his word counter code from the lectures. His tips on solving this assignment are very similar to how he has made his word counter.
- "a sequence of things you want to keep" Michael is sugge...
I have just added python to the Docker image, so you can now run the python helper script inside a container if you wish.
To update your docker image, please run the following command (outside of a Docker container)
docker pull nebuzaradan cits4407 v0...
Follow up question, from my lab today this is particularly pertinent for characters like (note that this is different to the regular single quote ' that is present on your keyboard)
Long runtimes may cause you to lose marks for style maintainability, because it indicates that you have inefficiencies in your code (such as many nested loops).
Bash isn't super efficient anyway, so if it takes a few seconds to execute (especially on ...
Following the survey result, I've released solutions for labs 1 and 2 at https teaching.csse.uwa.edu.au units CITS4407 labs.html
I have also released lab 5 for keen beans who want to work ahead
' A-Za-z ' will match any upper or lower case character. If you understand tr -c then you will know what characters we are trying to replace.
0 indicates that we are typing an octal value. In this case, we are putting in octal value 12. To know what ...