Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Setting up the python Project: You are required to save the file as ICE2_firstname.py. Failure to follow this naming format makes it more difficult for
Setting up the python Project: You are required to save the file as ICE2_firstname.py. Failure to follow this naming format makes it more difficult for me to download and grade your solution, so attention to this detail is appreciated. Program Requirements: The Boundary value analysis technique checks the program with input values that are on or close to boundary values. The Boundary value analysis is best suited when input values are expected to be within some domain. We would like to go beyond the legitimate domain of input values. This is what we call Robustness testing. Here, we also select invalid values and see the responses of the program. Invalid values are also important to check for the behavior of the program. Consider a program termed as 'minimum' that reads a set of elements and prints the smallest of entered elements. The elements are required to be taken from user. Do not ask for the number of elements from the user. The elements are required to be split by a space. The elements should be added to the list only if they are integers, not alphanumeric and are not special characters. Make sure to use exception handling to handle different test cases. You are not allowed to use inbuilt function ( min) from python library. Develop your own logic to find the smallest of entered elements. Concentrate on some typical and critical test cases as discussed below: Test Case 1: A very short list (of inputs) with the size of 1,2 , or 3 elements. Test Case 2: An empty list i.e., of size 0. Test Case 3: A list where the minimum element is the first or last element. Test Case 4: A list where the minimum element is negative. Test Case 5: A list where all elements are negative. Test Case 6: A list where some elements are real numbers. Test Case 7: A list where some elements are alphabetic characters and special characters. Test Case 8: A list with duplicate elements. Test Case 9: A list where one element has a value greater than the maximum permissible limit of an integer. [There is no limit for int in python3- with this test case, it would be confirmed] [Note: You may think of additional test cases beyond the given. Feel free to explore. Include in the table below if vou find more.l Expected Output: The expected output is not given as you are required to design your solution to meet the requirements of test cases discussed above
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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