Quiz%202_03 - both approaches? ID: ___________ Name:...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
ICS 313-03 (022) Quiz # 2 Weight 3% 26 April, 2003 Q. 1 [5 points]: What are functional side effects? How does operand evaluation order effect functional side effects? Explain in terms of a language example. Q. 2 [6 points]: What is short-circuiting ? Why is it used? Name a language that, by default, does short-circuit evaluation of relational and Boolean expressions, name one that doesn’t. What is good and bad about
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: both approaches? ID: ___________ Name: _____________________ Q. 3 [9 points]: For each of the following pairs of programming language concepts, briefly describe an important difference between the two: (a) Scope of a variable vs. extent (lifetime) of a variable (b) Floating point real number vs. fixed-point real number (c) Coercion vs. casting...
View Full Document

Page1 / 2

Quiz%202_03 - both approaches? ID: ___________ Name:...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online