Quiz05 - CSE324 Quiz#5 Name-I True or False a The compiler...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE324 Quiz #5 Name-------------------- I) True or False: a) The compiler knows the static nesting level of the use SNL use , but not that of the definition , SNL definition , of a procedural formal parameter. T b) Passing procedural parameters is a powerful polymorphic feature, yet it forces the inefficient dynamic type checking, in the language. F Not always that the dynamic type checking is needed, only when the list of formals (and the return type in case of a function) of the proc/func is not provided. c) In addition to the static distance (sd), the compiler is also able to compute the dynamic distance for names that are used in the code. F d) Sometimes there is no difference between dynamic and static scoping name visibility. T (when the definer is always the caller, ie., static and dynamic chains are the same.) e) Yes, the same names’ attributes (types, values, etc) can be synthesized and inherited , but at different compilation stages, in the compiled code.
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern