Texts:
Question 7 - Program input (6 pts)
Read the program to understand the required inputs. A valid input sequence is defined as one that runs without error, runs the code to completion, and does not have any extra/unread inputs after the program ends. On the answer sheet, mark each input sequence as valid or invalid by shading in the square (like a bubble sheet).
A March 7, 2021 X
B March 7, 2021 2 3 X
1 2 3 2
C 05/05/2020 1 2 X
Question 8 - Program output (8 pts)
Find the output produced for the following input sequence:
april 17 2022
D 05/05/2020 3 2 X
E January 27th 1 2 3
F that one day X12
Write your output on the answer sheet. Do not include the input prompts in your output (i.e. do not include "Enter date of experiment:" and "Enter command:").
Question 7 - Program input (6 pts)
Read the program to understand the required inputs. A valid input sequence is defined as one that runs without error, runs the code to completion, and does not have any extra/unread inputs after the program ends. On the answer sheet, mark each input sequence as valid or invalid by shading in the square (like a bubble sheet).
D E F A R 05/05/2020 January 27th that one day March 7, 2021 March 7, 2021 05/05/2020 3 x Y 1 2 21 23 X
Question 8 - Program output (8 pts)
Find the output produced for the following input sequence:
april 17 2022
2 3 x
Write your output on the answer sheet. Do not include the input prompts in your output (i.e. do not include "Enter date of experiment:" and "Enter command:").