BHI & CAE ASSESSMENT COVER SHEET
This form must be attached to the front of all submitted hard copy assessments.
| Student Details: Student to complete | |
| Student Name: | |
| Student ID : | |
| Student Declaration: By signing below, I declare that the work submitted here is my own work and it does not include work which is plagiarised, copied in whole or in part from another student or other source such as published books, internet or journals without due acknowledgement in the text. | |
| Student Signature: | Date: |
| Assessment Details: Teacher to complete | |
| Course National ID and Title | 22334VIC Cert IV in Cyber Security |
| Unit/s National ID and Title | ICTPRG405: Automate Processes |
| Assessment Task number and name | Assessment Task 1 |
| Date due: Refer to StudentWeb | Date submitted: |
| Assessor Names: Qurratul Ain Munzir Travis Matheson Matthew Krins Le Bui Ian Shakes |
| Assessment Result and Feedback | ||||
| Result | ☐ Satisfactory ☐ Not yet Satisfactory | Re-submit date if required: | ||
| Feedback: | ||||
| Assessor’s signature: | Date: | |||
| I acknowledge that I have received the assessor’s feedback | Student signature | Date: | ||
| Assessment Review If you believe that you have been assessed unfairly, you have the right to request an informal assessment review. When your assessment cover sheet is returned to you, you can request an informal review by filling in the section below and returning it to your assessor or the Operations Manager of your area. If you are not satisfied with the outcome, you can apply for a formal review of assessment on the application form located on the Box Hill Institute Website https://goo.gl/Pb3Rtx VCE courses: VCAA rules and regulations replace the above assessment review. Please see your VCE Teacher or VCE Coordinator for further discussion. | ||||
| I request a review of my assessment for the following reasons (not applicable to VCE courses): | ||||
| Student Signature | Date |
| Instructions to Student | ||
| Assessment task name | Assessment Task 1 | |
| Assessment task type | Structured Activity/Questioning | |
| Time allowed | 4 weeks | |
| Where the assessment will take place | Classroom/Home environment | |
| Personal protective equipment required | Not Applicable | |
| Emergency procedures | As Directed | |
| Equipment provided | Classroom computers/StudentWeb | |
| Individual or group work | Individual | |
| Support equipment allowed i.e.: calculator, dictionary | Text to speech, large screen, your own laptop, home computer, your mobile phone, translator, dictionary, are all permitted. | |
| Context and conditions of assessment | Gather evidence to demonstrate consistent performance in conditions that are 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 industry, and include access to: applications capable of being scripted, or having their own scripting language templates for automating processes executable scripts for set repeat time slices, single runs, break-out loops debugging tools. | |
| What to submit | This completed document | |
| How to submit | Upload this document to StudentWeb | |
| How to present your work | In this document | |
| How many attempts at assessment are permitted | 2 | |
| Naming protocol for electronic files | StudentID_StudentName_ICTPRG405 AT1 | |
| How will the assessment judgement be made | ☐ Observation checklist | ☐ Exemplar |
| ☐Performance checklist | ☐ Rubric | |
| ☒ Answer guide | ☐ – | |
| Safety | ||
| If at any time during the learning and assessment process, your Trainer/Assessor considers that the safety of any person is at risk they will abort the session. | ||
| Reasonable Adjustment | ||
| Students identifying as having a disability may access reasonable adjustment to enable them to participate in training and assessment on the same basis as other students. Students can learn more about this through the Learners with a disability policy and procedure on the Box Hill Institute website http://www.boxhill.edu.au/for-students/student-support or by calling Student Life on 9286 9891, by emailing the Disability liaison service on dls@boxhill.edu.au or by calling into the Student Hub at Elgar Campus in E3.220A, (inside Library). | ||
| Special Consideration | ||
| Where a student anticipates that a result will be impacted by special circumstances such as ill health or bereavement, application can be made for special consideration. Forms can be accessed from the Student Life office at Elgar Campus in E3.220A or downloaded at: http://www.boxhill.edu.au/for-students/student-information/forms-and-downloads. VCE courses: Supplementary exam procedures apply. Please see your VCE Teacher or VCE Coordinator for further discussion. |
Read each of the following questions and answer them at the end of this document.
Question 1
Refer to the following flowchart:
C
A
B
D
Your boss has asked you to complete the documentation and Python program for the following problem.
Problem description
Your program must collect input from the user, asking them to input a temperature. The program will then output one of the following statements:
- If the temperature is below zero, it will output “Below Freezing”
- If the temperature is above zero, it will output “Above Freezing”
- If the temperature is zero, it will output “Freezing”
Part a: Complete the above flowchart – i.e. what text should be in every red circle labelled A through D.
Part b: Put a circle around a SELECTION statement in the above flowchart.
Part c: Translate the flowchart into pseudocode.
Part d: Write the code for this program. Include at least three comments describing your code, including one that has your name, date, and a brief description of the problem at the top. Include both the code and the output (i.e. screenshots) with your answer.
Question 2
We’ve been using CodingBat to practice our logic, list, and general programming skills. For this part, you must complete the following exercises and take a screenshot:
| If your student number ends in an even number | If your student number ends in an odd number |
| SleepIn http://codingbat.com/prob/p173401 | SleepIn http://codingbat.com/prob/p173401 |
| NearHundred: http://codingbat.com/prob/p124676 | CommonEnd: http://codingbat.com/prob/p147755 |
| Reverse3: http://codingbat.com/prob/p192962 | First_last6: http://codingbat.com/prob/p181624 |
| MaxEnd: http://codingbat.com/prob/p135290 | MiddleWay: https://codingbat.com/prob/p171011 |
Your screenshot must include the problem statement, your code, and the test output – for example:
Question 3
Your boss has sheepishly asked you to help identify problems with a program he’s made.
| # This program gets two numbers from the user and adds all even numbers between them # e.g. 10 (inclusive) and 18 (exclusive) = 10 + 12 + 14 + 16 (18 is skipped/excluded) rangeLow = int(input(“What is the lowest number you’d like to add? (inclusive) ” )) rangeLow = int(input(“What is the highest number you’d like to add? (exclusive) ” )) rangeSum = 0 while (rangeLow < 0): print(“My minimum is 0 – please try again.”) rangeLow int(input(“What is the lowest number you’d like to add? (inclusive) “)) while (rangeHigh <= 1000): print (“My maximum is 1000 – please try again.”) rangeHigh = int(input(“What is the highest number you’d like to add? (exclusive) “)) if (rangeLow >= rangeHigh): print (“The High number must be larger than Low number. I’ll swap these for you.”) temp = rangeHigh rangeHigh = rangeLow rangeLow = temp for i in loop(rangeLow, rangeHigh): # Even numbers have 0 remainder when divided by 2 – add these numbers, throw away the odds. The % operator gives us the remainder. if (i % 2 == 0): print(” Adding ” + str(i) + ” to the sum.”) rangeSum = rangeSum + i if (i > rangeHigh): print (“My loop has gone past the High number! This shouldn’t happen!”) print(“The sum of the even numbers from [” + str(rangeLow) + “] to [” + str(rangeHigh) + “] is: ” + str(rangeSum)) |
Part a: Identify at least 1 section of dead code and briefly describe why it will never run.
Part b: Identify at least one syntax error.
Part c: Identify one logical/semantic error.
Part d: Your boss is bad at testing code. Provide him a test plan with at least 6 test cases that test his code thoroughly. Use the template in Studentweb.
Part e: Create a flow chart (abstract design) that represents the first/top half of the program (everything from the start, to the line just before the for loop).
You can do this using a free online tool (e.g. www.draw.io), handwritten (take a photo and insert into your Word document), or using Microsoft Word itself (not particularly easy).
Part f: In your flow chart: Identify (circle and label) all three major structures of an algorithm:
linear sequences, selection (branches), and repetition (loops).
Part g: Write user-level and technical-level documentation for this program (1-2 paragraphs of each).
Question 4: Python Automatic Downloader
In class, we reviewed the Automatic Downloader python script and talked about improvements. Take the existing code and make the following improvements:
- This program assumes the python script and urls.txt are in the same folder. Change the program to ask the user for a path to store the files and update the urlretrieve line
(e.g. “c:/mydownloads/” + filename will save program.zip to c:/mydownloads/program.zip - To give the user visual feedback about what the program is currently doing, change the script to make it print the current link being downloaded and the name of the file to be saved. e.g.
Now downloading http://speedcheck.cdn.on.net/10meg.test and saving as downloads10meg.test - Write 1-2 short paragraphs of user-level and technical-level documentation for this script.
Responses
1a and 1b Insert the flowchart below. Remember to circle a part of the flowchart that shows Selection.
1c Paste your pseudocode below.
1d Paste your code below. Also include 2 screenshots of the program working with different inputs and outputs (e.g. warm and cold temperatures)
2a Insert your screenshot below.
2b Insert your screenshot below.
2c Insert your screenshot below.
2d Insert your screenshot below.
3a Identify a section of dead code and briefly describe why it/they will never be run.
3b Identify at least one syntax error.
3c Identify at least one logical/semantic error.
3d Paste your test plan here.
3e and 3f: Insert your flow chart. Also identify (circle + label) all three major types of structures of an algorithm:
Part g: Write user-level and technical-level documentation for this program (1-2 paragraphs of each).
| User Documentation |
| Technical Documentation |
Part 4:
Screenshot of your updated, improved script:
One screenshot of the output of your script:
User documentation:
Technical documentation:
The post BHI & CAE ASSESSMENT appeared first on My Assignment Online.