Fill This Form To Receive Instant Help
Homework answers / question archive / Python Homework Help Skills assessment: Object-oriented programming tasks ICTPRG430 - Apply introductory object-oriented language skills (1) Instructions for this assessment This is a skill-based assessment and will be assessing you on your ability to demonstrate skills required in the unit
Skills assessment: Object-oriented programming tasks
ICTPRG430 - Apply introductory object-oriented language skills (1)
Instructions for this assessment |
This is a skill-based assessment and will be assessing you on your ability to demonstrate skills required in the unit. This assessment is in one part: 1. Practical tasks. The assessment also contains: • Assessment Feedback. |
Submission instructions |
On completion of this assessment, you are required to submit it to your assessor for marking. Ensure you have written your name at the bottom of each page of this assessment. Submit the following documents for each part: • Part 1: Practical tasks o A zipped folder including:
It is important that you keep a copy of all electronic and hardcopy assessments submitted to TAFE and complete the assessment declaration when submitting the assessment. |
Assessment details Instructions |
|
What do I need to do to achieve a satisfactory result? |
To successfully complete this assessment the student will be available at the arranged time to complete all the assessment criteria as outlined in the assessment instructions. All parts of the observable task must be performed to a satisfactory level. All oral questions must be answered correctly to be deemed satisfactory in this assessment task: however, Assessors may ask questions to clarify understanding. |
Assessment conditions |
Assessment conditions will be safe and replicate the workplace. Noise levels, production flow, interruptions and time variances must be typical of those experienced in the programming and software development field of work. Assessment may be undertaken in normal classroom conditions, which is assumed to be noisy and similar to workplace conditions, or within the workplace. This may include phones ringing, people talking and other interruptions. |
What do I need to provide? |
• USB drive or other storage method with enough free space to save work to. |
What will the assessor provide? |
(Dip_Nwk_Programming_AE_Sk_3of3_SR1.zip) |
Due date/time allowed |
Time allowed is two hours. |
Assessment location |
This assessment will be completed in the classroom. The student may access their referenced text, learning notes and other resources. |
Supervision |
This is a supervised assessment. |
Assessment details |
Instructions |
Reasonable adjustment |
If you have a permanent or temporary condition that may prevent you from successfully completing the assessment event(s) in the way described, you should talk to your assessor about ‘reasonable adjustment’. This is the adjustment of the way you are assessed to take into account your condition, which must be approved BEFORE you attempt the assessment. |
Assessment feedback, review or appeals |
In accordance with the TAFE NSW policy Manage Assessment Appeals, all students have the right to appeal an assessment decision in relation to how the assessment was conducted and the outcome of the assessment. Appeals must be lodged within 14 working days of the formal notification of the result of the assessment. If you would like to request a review of your results or if you have any concerns about your results, contact your Teacher or Head Teacher. If they are unavailable, contact the Student Administration Officer. Contact your Head Teacher for the assessment appeals procedures at your college/campus. |
Download and unzip the resource folder (Dip_Nwk_Programming_AE_Sk_3of3_SR1.zip) for files referred to within the assessment. This folder includes a folder with five Python modules. Each module is related to an assessment task. The assessment has five tasks in total.
Before starting the assessment ensure you can open and successfully run each of the modules. It is recommended you use PyCharm for this assessment, by opening the folder titled ictprg430-skills-test as a project.
Each task below provides example console output of what is expected.
Add logic to the main function of the Task 1 module for processing a mathematical expression on two integer values with a single operator, as follows:
The order of operations is as follows:
See Figures 1 – 4 for example expected console output.
Figure 1 - Subtraction Example: 10 – 5 = 5
Figure 2 - Addition Example: 5 + 5 = 10
Figure 3 - Multiplication Example: 5 * 5 = 25
Figure 4 - Division Example: 25 / 5 = 5
Add logic to the main function of the Task 2 module for calculating the cost of booking a room.
You are not required to validate values entered by the end-user and it is assumed only valid values will be entered i.e. the room type (1, 2, 3 or 4) and the number of nights (a positive integer value).
See Figures 5 – 8 for example expected console output.
Figure 5 - Single room for 5 nights - $45.50 * 5 = $227.50
Figure 6 - Double room for 3 nights - $99.99 * 3 = $299.97
Figure 7 - Luxury room for 2 nights - $165.25 * 2 = $330.50
Figure 8 - Penthouse room for 1 night - $1,095.50 * 1 = $1,095.50
Complete the logic for the classes Teacher, PartTimeTeacher and FullTimeTeacher (shown in Figure 9 - Teacher, PartTimeTeacher and FullTimeTeacher Inheritance) as follows:
Complete the following tasks:
The subjects parameter needs to be assigned to the _subjects attribute.
FullTimeTeacher class inherits from Teacher, the name parameter needs to be passed to the base class initializer. The teach_load parameter needs to be assigned to the _teach_load attribute, and the salary parameter needs to be assigned to the _salary attribute.
Figure 9 - Teacher, PartTimeTeacher and FullTimeTeacher Inheritance
Figure 10 - Console Output, Inheritance and polymorphism
Add logic to the main function of the Task 4 module for calculating sales volume and sales revenue, per product, using a list of sold products in a provided text file. Write the results to another text file. The two text files have already been provided in the module as seen in Figure 11 - Task 4, line-items and sales-report text files. All product names in in the lineitems.txt file are lower case, so there is no need to consider casing.
Figure 11 - Task 4, line-items and sales-report text files
Figure 12 - sales-report.txt
Add logic to the main function of the Task 5 module to display the numbers 50 down to 25 with the following conditions:
Note: A number is a multiple when it can be evenly divided without a remainder.
Your logic must use a loop and only use the print function a maximum of four times.
For example:
Figure 13 – Task 5, Example Console Output