Good Coding Practices Computer Science Assessment Answer
Assignment Task:
Following good coding practices -
Follow the good coding practices listed under LAB01 Task 4. Your code will be manually marked by tutors for the ability to follow this list of good coding practices. The coding style will be checked in the lab environment, on GEDIT, under default GEDIT configuration discussed in LAB00 task 3.
To achieve marks for the good coding practices, your submission should not be trivial and you need to attempt to address the task sufficiently. e.g. if the submission is a blank C program that follows all applicable good practices listed in LAB01 Task 4, you will not receive marks for good coding practices.
The functionality of the program -
The functionality of your program will be checked by a series of automated tests done on UTS PLATE. The outcome of each test could be:
- PASS- behaviour of your program is identical to the sample executable on PLATE
- FAIL- behaviour of your program is different by at least one character
PLATE has been configured as follows, until the deadline:
- You will know the PASS/FAIL outcome of each test immediately after submission, allowing you to fix the program before the deadline.
- You have unlimited attempts to see the PASS/FAIL status of each test.
- PLATE will NOT show the test inputs, and it will NOT show the diff comparison for you.
- Follow the steps inLAB01 Task 3to test the program yourself. Think about possible test cases yourself, and generate the gvimdiff comparison yourself.
PLATE has been configured as follows, 5 days after the deadline:
- PLATE will show the complete test report - test inputs, diff comparison, and the outcome of each test as PASS/FAIL.
- No longer accepting submissions
Do NOT hardcode your answers. Tutors will manually check all the submissions. If you hardcode your solution, tutors may change your functionality marks to 0.
NO exceptions to the above criteria will be made under any circumstances.
Compilation Requirement
We will include all compilation flags we have been using throughout the semester. On lab computers, your program should compile as follows.
gcc -Wall -Werror -ansi -o syd_flights.outsyd_flights.c -lm
We will compile your code on PLATE as follows
gcc -Wall -Werror -ansi -o build/syd_flights.outsyd_flights.c -lm
Your program must compile with NO errors and NO warnings on lab computers as well as PLATE. Failing this, PLATE will not run any of the functionality tests, hence you will receive 0 marks for the functionality. But we will still mark the coding style.
Libraries Requirement
You are free to use the following C libraries in this assignment:
stdio.h
stdlib.h
string.h
You do not necessarily have to use all of them. However, you will receive 0 marks for the functionality if you use any libraries other than those listed above.
This Computer Science Assessment has been solved by our Computer Science experts at onlineassignmentbank. 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.