HEELPP ME Plssss WITH CODING :(((

First you have to understand that anything can be wrote down as a code, so there are not exact meaning, as i can say anything i want about anything else.

About your question. Probably is, but that really deppends on what he(professor) wanted to do with the code he wrote.
Maybe it'll be easier if you post the pseudocode here.
 


Yes it simply is a name for a value. Example tempname = 5 or tempname could be a value for a string like tempname = "Utah". It is simply a way for humans to identify what value in code we are talking about. A flag is a value that usually represents an on/off value like a light bulb. True/false or 0/1 would be other ways of expressing a flag.