Unit Assessment Type Assessment Number Assessment Weighting Alignment with Unit and Course ISY1003 Foundations of Programming Practical 1 C Handling files and exception 10% Unit Learning Outcome...

1 answer below »
there we go


Unit Assessment Type Assessment Number Assessment Weighting Alignment with Unit and Course ISY1003 Foundations of Programming Practical 1 C Handling files and exception 10% Unit Learning Outcome Graduate Attributes Assessed ULO 3: Describe and discuss the GA 1: Communication elements of effective programming style GA 2: Collaboration ULO 4: Demonstrate an understanding of GA 4: Critical Thinking the software development life cycle and apply sound programming analysis techniques (design, coding, debugging, testing and documentation) to justify simple programming problems Due Date/Time Assessment Description Week 9 22 May 2020 via Moodle Turnitin 5:00pm (AEST) In this project, you will work individually to write programs which demonstrate your understanding of Handling Files and Exception in Python programs. Content and Structure: You will have to write a program that: 1. Uses files – open, read/write, delete to handle data. 2. Uses exception handling – try and except to catch and handle exceptions. Value, data Type, Zero Division, Syntax Error, Runtime Exception and others. Program expectation: The student must be able to explain the working of the program and its logic. Program should be indented, proper comments should be given, variable names and data types should be chosen appropriately. The program should compile and execute to display the result. The student must use programming constructs available in Python and follow coding standards. Detailed Submission Requirements Misconduct One program file must be uploaded. The program needs to handle data from/to files (open, read/write, delete to handle data). It uses exception handling – try and except to catch and handle exceptions. Follow coding standards, naming conventions for variables and functions. Students will be asked to explain the working of their program and the logic they’ve used. Program file must be submitted for the assessment through the Assessment 1 C Turnitin link on Moodle page for this unit. The assessment will be submitted through Turnitin via your unit page on Moodle. Turnitin is plagiarism software, which will identify if you have copied information and included it in your assessment. Copying information from others (i.e. websites, partner company information, or other students etc.) without the acknowledging the author is classified as misconduct. Engaging someone else to write any part of your assessment for you outside of the group work arrangement is classified as misconduct. To avoid being charged with Misconduct, students need to submit their own work and be able to explain the program logic and its working. The AIH misconduct policy and procedure can be read on the AIH website (https://aih.nsw.edu.au/about-us/policies-procedures/). Late Submission Special consideration Any assessment submitted past the specific due date and time will be classified as Late. Any Late submission will be subject to a reduction of the mark allocated for the assessment item by 5% per day (or part thereof) of the total marks available for the assessment item. A ‘day’ for this purpose is defined as any day of the week including weekends. Assignments submitted later than one (1) week after the due date will not be accepted, unless special consideration is approved as per the formal process. Students whose ability to submit or attend an assessment item is affected by sickness, misadventure or other circumstances beyond their control, may be eligible for special consideration. No consideration is given when the condition or event is unrelated to the student's performance in a component of the assessment, or when it is considered not to be serious. Students applying for special consideration must submit the form within 3 days of the due date of the assessment item or exam. The form can be obtained from the AIH website (https://aih.nsw.edu.au/current- students/student-forms/) or on-campus at Reception. The request form must be submitted to Student Services. Supporting evidence should be attached. For further information please refer to the Student Assessment Policy and associated Procedure available on (https://aih.nsw.edu.au/about-us/policies-procedures/). https://aih.nsw.edu.au/about-us/policies-procedures/ https://aih.nsw.edu.au/current-students/student-forms/ https://aih.nsw.edu.au/current-students/student-forms/ https://aih.nsw.edu.au/current-students/student-forms/ https://aih.nsw.edu.au/about-us/policies-procedures/ Rubrics Marking Criteria HD D C P F ULO 3: Describe and Program generates output as Program generates output as Program generates output as Code compiles Code does not compile discuss the elements of expected expected expected effective programming style Program uses concepts Unable to execute code File open, read/write, delete All coding standards are followed learnt in class to meet the ULO 4: Demonstrate an File open, read/write, delete Program does not perform as predicted operations are used operations are used requirements understanding of the functionalities and features software development life Code is indented Code is indented cycle and apply sound Program generates correct output programming analysis Possible exceptions are handled Possible exceptions are handled techniques (design, coding, using try, catch block using try, catch block debugging, testing and . documentation) to justify Functions are used to perform Functions are used to perform simple programming operations operations problems Program has comments that are clean, concise, and useful Naming conventions are followed for variables, functions and other programming units (8 - 10 marks) (6 - 8 marks) (5 – 6.5 marks) (5 marks) (0–5 marks) Word Bookmarks page1 page2 page3
Answered Same DayMay 13, 2021

Answer To: Unit Assessment Type Assessment Number Assessment Weighting Alignment with Unit and Course ISY1003...

Neha answered on May 15 2021
150 Votes
57687/File handling.py
import os
try:
f=open("Test.txt", "a+")
f.write("Now the file has
more content!")
print(f.read())
os.remove("Test.txt")
except ValueError:
print("Could not find the file")
except SyntaxError as error:
print("Invalid Syntax")
except:
...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here