Question: (a) Write a pseudocode for your program. Exercise 2 [Find & Generate] Please answer the following: Which variables do you need? ) Which variables
(a) Write a pseudocode for your program. Exercise 2 [Find & Generate] Please answer the following: Which variables do you need? ) Which variables do you use for input? ) Which types do you use for which variable. Explain why? What type of loop is best to validate the input? What is the loop condition? Exercise 3 [Evaluate & Reflect] ( Please describe at least three test cases that will allow you to assess whether the program is correct. Which inputs should you choose, and what outputs would you expect? Answer in less than 300 words. Does your program actually satisfy those test cases? Exercise 4 [Communicate & Apply Ethically] The program for this assignment is honest, in that it reports honestly what the user provides as input and what the random number is. Of course, rather than reporting what the user enters and/or the generated random number, your program could make a biased report a preferred option - more wins if it wants to. Would this be ethical to do? Would this be in line with the ACS Code of Ethics and with basic Programming Ethics? Explain. Please answer in less than 300 words.
Step by Step Solution
3.40 Rating (150 Votes )
There are 3 Steps involved in it
ask o... View full answer
Get step-by-step solutions from verified subject matter experts
