CSC148 Trees Exam Study Guide Questions with Complete solutions (A Graded)
Expression Tree - ANSWER A structured way of modeling ("simple") Python code Expression - ANSWER A unit of code that, when evaluated, produces a single value Statement - ANSWER - evaluating a statement can produce a value, and/or has some other effect Variable environment - ANSWER A map from variable names to values {"x":1, "y": True} - Name("x").evaluate({"x": 10}) ** create a environment like this
Written for
- Institution
- CSC148
- Course
- CSC148
Document information
- Uploaded on
- May 28, 2024
- Number of pages
- 10
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
csc148 trees exam study guid