Afternoon everyone,
I was on BBC Bitesize the other day and i noticed some errors that are worth pointing out to pupils so that they dont end up learning the wrong thing. I’m talking about the definition of
Scope at the analysis stage in the SDD unit. Bitesize have described scope with regard to scope of variables and not scope of the project, as defined by the SQA. They describe it as:
scope – refers to the different levels of visibility within a given program
and in an example gave:
Example one
Purpose
Software should be created to allow a user to enter ten numbers.
Each number must be validated to make sure that it is no less than 0 and no more than 100.
The program should keep a running total of the numbers entered and output the final total.
Scope
The scope of this example would likely be local – a programmer might want to use this program as some kind of subroutine. It would be useful to have all variables held as local instead of global.
so, i thought i’d point that out in case anyone was using this resource or referring pupils to it. I’ve emailed them, but as yet, haven’t had a response.
Kerry