Question: 1.1 Study the program in Figure 1 and determine the output for the following: a) Input =10111 b) Input =10101 c) Input = 11111 d)

1.1 Study the program in Figure 1 and determine the output for the following: a) Input =10111 b) Input =10101 c) Input = 11111 d) Input =01001 (4 marks) 1.2 Determine what mystery1 does? 1.4 Write a program that can perform the same. Your program must be different from the program in Figure 1. *Copy and paste your program AND output. (12 marks)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
