Question
Develop, debug and test the python script. As part of this process, you must demonstrate the following: Translate the written pseudo code from 1c into
Develop, debug and test the python script. As part of this process, you must demonstrate the following:
- Translate the written pseudo code from 1c into the finalised python script using the required basic language elements and python libraries. The finalised script must include item manipulation to generate the required output.
Include comments within the script to explain each function and process. These comments must fully explain the purpose of each block and how it contributes to the overall outcome of the completed script.
Review and debug the script to ensure that it is free of errors. To confirm this, you must be observed undertaking this task by a qualified assessor. This will be completed during a meeting organised by your assessor, where you will demonstrate your understanding of this assessment and demonstrate the correct operation of your code. The tests will be the following as a minimum:
- Failing to enter any host names
Entering host names: examplex.org scanme.org hackthissite.org and selecting the first host name (example.org) for resolving to an IPv4 address
Entering host names: examplex.org scanme.org hackthissite.org and selecting the second host name (scanme.org) for resolving to an IPv4 address, and then selecting the third host name (hackthissite.org) for resolving to an IPv4 address
Entering host names: examplex.org scanme.org hackthissite.org and entering an associated index that is out of the range (0..2)
Entering host names: examplex.org scanme.org hackthissite.org and entering a non-integer as an associated index
Document the operation of the script. This user documentation must include:
- Process for launching the script including any runtime environment requirements
- Steps for entering data
- Any error messages what they mean and steps for resolution.
- Explanation of the types of results presented and what they mean.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Answer Below is the Python script that translates the provided pseudo code into a finalized script T...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started