It's UWAweek 5


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting.

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.

How do I ask a good question?
 Posts from 2022 will be available until after the Deferred and Supplementary Exams
27 articles posted by this ANONYMOUS person
Showing 27 of 564 articles.
Currently 6 other people reading this forum.

 UWA week 20 (1st semester, week 11) ↓
SVG not supported 8:51am Wed 18th May, ANONYMOUS

Please also reply this as my profile does not match the recently uploaded ones due to confusion for the contractions definition

SVG not supported 9:06pm Tue 17th May, ANONYMOUS

Hello, I'm just wondering if decomposing the tasks in Assignment 2 into external shell scripts would be safe for marking? Because I've decomposed my main coding into 2 tasks one for counting the occurences of conjunctions, and the other for counting...

SVG not supported 4:59pm Mon 16th May, ANONYMOUS

Hello, I want to ask if counting the list of conjunctions e.g. "and", "of", "because" etc. means counting the conjunctions as a word of its own? For example, when counting the number of "while"s, sentences containing "once-in-a-while" or "while's" sh...

 UWA week 19 (1st semester, week 10) ↓
SVG not supported 5:32pm Sat 14th May, ANONYMOUS

Hi Micheal, could you also upload the profiles of the three longer samples as shown in the screenshot below? perhaps also include their normalised profiles? Because it would be easier for me to keep track of what actually went wrong in the Euclidian ...

SVG not supported 6:53pm Tue 10th May, ANONYMOUS

Hi, can someone explain what does the output for each instance i.e. and, while, so, contractions, commas etc in the second part of the assignment represent?

SVG not supported 5:21pm Tue 10th May, ANONYMOUS

Hello, I came across a weird word from one of the given samples, which is "pain'-killin". Rrevious discussions mentioned that any words joined by one or two hyphens e.g. "one-of-a-kind" "seven-foot" are counted as a compound word so 1) does "pain'-...

 UWA week 18 (1st semester, week 9) ↓
SVG not supported 11:37am Sun 8th May, ANONYMOUS

Hello, I would want to make a point that based on my testing and research, compound words just means any words that are joined with one or more hyphens. But in the samples given, it seems that multiple-hyphenated words are not counted as compound wor...

 UWA week 17 (1st semester, week 8) ↓
SVG not supported 7:33pm Sat 30th Apr, ANONYMOUS

Thanks for the clarification Want to ask if we can assume the input directory for common words would always have txt files (excluding directory with suffix .txt)?

SVG not supported 3:18pm Sat 30th Apr, ANONYMOUS

hahaha thanks anyway Michael

SVG not supported 11:05am Sat 30th Apr, ANONYMOUS

Hello, just to take precaution, if I want to call the title script provided in my program, should I assume that "title" would always be the name of the called script? Wanted to make sure because I'm planning to just call .py if the a...

SVG not supported 10:57am Sat 30th Apr, ANONYMOUS

Hello, I wanted to call the another script within the main code and I've read that the program would be functional if the script is within the same directory as the main code. So how should I submit the assignments? Should I submit it as a folder tha...

SVG not supported 9:03pm Fri 29th Apr, ANONYMOUS

Hi, I did the command that you hinted but it seems to not work against the given text files without outputting the error "illegal byte sequence". What I did for precaution was type "cat -vet file command ..." This led to the error, I found out ...

SVG not supported 10:31am Thu 28th Apr, ANONYMOUS

Would the program be tested against files with BOM characters (i.e. cat -vet file)? For my program, I've managed to remove non-sensible characters such as ' ' and ' '. But when I manually tested the program on cat -vet file, my results are affected...

SVG not supported 10:02am Thu 28th Apr, ANONYMOUS

Hi, want to clarify how would the textfiles directory input be tested? e.g. if I named the directory "text files", and the marker types "textfiles", the program should inform the user that the given directory name is wrong right? What I'm concerned a...

SVG not supported 2:01pm Tue 26th Apr, ANONYMOUS

Hello, I want to ask if there would be penalisation if the submitted codes do not function properly due to different OS? Since I'm an online student and MacBook Pro is the only laptop that I have, I can't test my codes on a different OS, let alone th...

 UWA week 16 (1st semester, week 7) ↓
SVG not supported 4:01pm Wed 20th Apr, ANONYMOUS

Ok thanks for the clarification

SVG not supported 3:54pm Wed 20th Apr, ANONYMOUS

and to add another question, would the elapsed time be checked against the system output or the real time output? because my real time output greatly differs from the system output

SVG not supported 3:50pm Wed 20th Apr, ANONYMOUS

Just to clarify, does 20 seconds mean 0m20. s as in the output or 0m0.020s? Since so far my code is functioning correctly but it takes around 0m0.060s. Would I be penalised in this case?

SVG not supported 11:34pm Mon 18th Apr, ANONYMOUS

And also, I don't get how to preserve the 's when I try to output each word from the file, apparently the ' is recognised as a special character that prompts new inputs i.e. new input

SVG not supported 11:24pm Mon 18th Apr, ANONYMOUS

To add to the previous question, what about words that are linked with "-" such as "well-known"? Should this case be counted as 2 distinct words or as one? I think it would be more helpful to give the whole specification on what to be expected in the ...

 UWA week 15 (1st semester, non-teaching week) ↓
SVG not supported 11:15pm Sat 16th Apr, ANONYMOUS

Yes thanks for the clarification

SVG not supported 6:45pm Sat 16th Apr, ANONYMOUS

Hi, I want to ask in general what kind of test cases would be applied against the submitted codes e.g. are we expected to handle syntax errors such as "syntax error near unexpected token '('" if 1 '('? or that the codes would be tested against th...

SVG not supported 4:48pm Thu 14th Apr, ANONYMOUS

Hello, I want to know if a word followed by a punctuation e.g. "hello," should be considered as a different word from "hello"? Since it was mentioned that lower-case letters differ from their upper-case counterparts in the assignment, so should my ca...

SVG not supported 10:33am Thu 14th Apr, ANONYMOUS

Yup got them all Really helpful Thanks

SVG not supported 7:03pm Wed 13th Apr, ANONYMOUS

Hi, I wonder where I could get the directory "text files" so that I could create a new terminal folder from that directory? Thanks

SVG not supported 5:53pm Wed 13th Apr, ANONYMOUS

So does it mean that for the input parameters for both parts of the assignments, I could leave the scripts case-sensitive? e.g. Afghanistan valid; afghanistan invalid Thanks )

 UWA week 13 (1st semester, week 5) ↓
SVG not supported 10:00am Sun 3rd Apr, ANONYMOUS

Hi, I want to ask about bin bash at the beginning of most of your demo scripts. What does it actually do and is it necessary to include that every time I write a script ( in coding sections for exam)? 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