Solved by verified expert:SPECIFICATION OF HW1Shell ProgrammingDownload test.txt from the link below http://csit.udc.edu/~jkim/data/test.txt#hid pid age gender126774360 405498148 22 2126774361 405498149 29 1126774362 405498150 32 2126774363 405498152 48 2126774363 405498151 49 2Figure 1. Example of the input file (i.e., test.txt)For text.txt,The file (i.e., test.txt) contains household id, person id, age, and gender for each person. For gender, 1 and 2 represent male and female, respectively.If persons have the same household id, they live together. For example, person ids 405498152 and 405498151 have the same household id 126774363 as shown in Figure 1.Design a shell program (File name: person_female_30_50.sh)Read text.txt using a file descriptor (Use exec 3< $1 and read)Extract person ids corresponding to persons who are female, and more than 30 and less than 50 years old. (Use a loop)Store the extracted person ids to $2 indicating the second parameter. (Use exec 4> $2)Print the total number of the extracted person ids.(Use echo)Print the total number of the household ids having more than two extracted person ids. (Use echo)For execution, bash person_female_30_50.sh test.txt person.txtIf Figure 1 is an input file, person.txt contains 405498152405498152405498151The output will be 3 and 1.3 indicates the number of the extracted person id.1 indicates the number of the household id.Submit your shell program — person_female_30_50.sh———————————————————–SPECIFICATION OF HW2PYTHON PROGRAMMINGDESIGN A PYTHON PROGRAM RETURNING THE SAME RESULT AS HW1. SUBMIT YOUR PYTHON PROGRAM (PERSON_FEMALE_30_50.PY)PYTHON PROGRAMMINGDesign a python program returning the same result as HW1. Submit your python program (person_female_30_50.py)
You will get a plagiarism-free paper and you can get an originality report upon request.
All the personal information is confidential and we have 100% safe payment methods. We also guarantee good grades
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more