Must excel in Write a C program, Perl program, Java, Write a JavaScript and Python script

  1. What features of the compilation process allow us to determine the reference environment for any at any given line of code in the program. Answer this question for both dynamic and static scoping? Does the type of scoping change this answer? Explain why?

  2. Given the natural constraints of an RDA explain how you would go about the creation of a Statement function in your RDA that would allow statement to either be a while statement, an if statement or an assignment statement.

  3. Write a JavaScript and Python script that has subprograms nested three deep and in which each nested subprogram references variables defined in all of its enclosing subprograms and also has variables used to hide at least 1 variable from a non-local function.