Highlights
Please read the rules carefully. These rules exist to keep things fair for everyone. The rules can be updated at any stage so use the live rules rather than saving them to a file. Note that you can easily avoid these by eliminating them using a checklist.
You will get a zero for the entire assessment if any of the following is true,
1. any of the files contain an infinite loop. this is indicated by a right-facing blue triangle against a JUnit test during execution (not against the file name), and the fact that the execution of JUnit tests never finishes.
2. any of the files contain a compilation error. this is indicated by a red cross against your project. if your project does not have a red cross against it, you are safe on this one. Note that the JUnit error is not the same as a compilation error (watch the week 2 video to understand this better).
3. any of the files result in StackOverflowError.
4. any use of functions defined outside the submitted files (unless explicitly allowed in the whitelist below). Use of built-in ArrayLists functions is allowed ONLY for the submission that covers built-in ArrayList). If you are not sure whether or not you can use a function, ask on the forums!
5. execution time exceeds the maximum permissible time to run all the tests, which will be specified in specs for each assessment (and if not specified, is 5 seconds by default).
6. there is a dependency on files not provided as part of the template and/or not submitted. Any code (including helper functions or classes), should be put inside the files included in the template and required to be submitted.
7. removal of any import besides the ones already existing in the template causing a compilation error.
8. modifying (adding/removing/editing) package declarations or any method signature in files submitted.
9. submitting file(s) besides the ones provided. Includes incorrect file name. For example, if we ask for "abcd.java", you cannot submit "abcd(1).java" or "abcd (1).java" or "My Program.java" or "ab cd.java" and so on. Includes submitting class files. For example, if we ask for "abcd.java", you cannot submit "abc.class".
10. use of lambdas.
-----------------------------------------------
WHITELIST (Programming structures you ARE allowed to use):
1. variables,
2. casting (For example, int x = (int)(4.5 - 2.7);)
3. arithmetic and boolean operators,
4. conditions,
5. loops,
6. break and continue statements,
7. arrays,
8. helper functions (create your own functions. especially useful to replace Math.min, Math.max, etc.),
9. helper attributes in classes (you'll soon see what this means).
10. String objects and methods operating on String objects (if str is a String, these operate as str.
11. The ternary operator (For example: int max = a > b ? a : b;). Don't get carried away with this.
12. Constants from Java classes, such as Integer.MIN_VALUE, Integer.MAX_VALUE, Double.MAX_VALUE, etc.
13. switch statement
14. ONLY for the submissions regarding Java's ArrayList class, use of any method operating on ArrayList objects is allowed.
-----------------------------------------------
BLACKLIST (Functions definitely not allowed)
1. Any class method from the Character class (that needs to be used as Character.
2. Any class method from the Integer class (that needs to be used as Integer.
3. Any class method from the Double class (that needs to be used as Double.
4. Any class method from the Long class (that needs to be used as Long.
5. Any class method from the String class (that needs to be used as String.
6. Any class method from the Math class (that needs to be used as Math.
7. Any class method from the Collections class (that needs to be used as Collections.
8. Any class method from the Arrays class (that needs to be used as Arrays.
9. HashMaps
-----------------------------------------------
Standard substitutions to use in place of some of the blacklisted functions:
· INSTEAD OF Character.isDigit(ch), USE ch >= '0' && ch <= '9'
· INSTEAD OF result = Math.max(a, b), USE if(a > b) { result = a; } else { result = b; }
· INSTEAD OF result = Math.min(a, b), USE if(a < b xss=removed xss=removed>
· INSTEAD OF result = Math.abs(n), USE if(n > 0) { result = n; } else { result = -n; }
· Checking if a character ch is lowercase letter of the English alphabet: ch >= 'a' && ch <= 'z'
· Checking if a character ch is uppercase letter of the English alphabet: ch >= 'A' && ch <= 'Z'
· Checking if a character ch is letter of the English alphabet: (ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'Z')
This COMP1010 –IT Computer Science Assignment has been solved by our IT Computer Science Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing Style. Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered.
You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turn tin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.