Question: 4. (20 points. ) Consider the pseudocode below and list all the variables that are visible in bodies of functions fun1, fun2 and fun3, as

 4. (20 points. ) Consider the pseudocode below and list all

4. (20 points. ) Consider the pseudocode below and list all the variables that are visible in bodies of functions fun1, fun2 and fun3, as well as the program units where they are declared, assuming static scoping is used. var x,y,z; function funl() { ...var b, c... } function fun2() { ...var x, b... function fun3) { ...var a, Z, X... } }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!