Scope determines how variables and their names are looked up in code. It defines the area of a program where you can access that name. There are two general scopes.. Global scope: names defined ...