Question 14
AQA Computer Science June 2024 Paper 1C (8525/1C)GCSE7 marks
On the specification
- 14.1
- 3.2 Programming
- 14.2
- 3.2 Programming
Question text
14.1 State one property of local variables that is not true for all variables. box [1 mark] 14.2 Using VB.NET, write a subroutine to help a museum review the number of visitors in a month. The subroutine must: • have the identifier countDays • have the number of days a museum was open in the last month as a parameter • get the user to enter the number of visitors to the museum for each of those days • count how many of those days the museum had more than 200 visitors • return the count. You should use meaningful variable name(s) and VB.NET syntax in your answer. The answer grid below contains vertical lines to help you indent your code. [6 marks]