HLL+Exercise+3

Answer the following questions:

1. Use pseudocode to write a program which takes as input a date, and validates that it is in the range 1-31

2. Use pseudocode to write a program which takes as input a password and checks that the length of the password is between 5 and 10 characters long

3. Use pseudocode to write a program which takes as input a single character, and which validates that it is in the range a-z or A-Z

4. What is meant by variable scope?

5. Explain what is meant by a global variable

6. Explain what is meant by a local variable