Q13 3 Points Please do one beta reduction on the following expressions using the "lazy evaluation" (call-by- name) beta reduction method. Please do not do beta reductions until this is in beta normal form, (unless you think one reduction will take it to beta normal form), do exactly one reduction. Q13.1 1 Point One reduction using lazy on: (Ax.xy) ((Ay.yz) a) ((Ay.yz) a) y (Ax.xy) (az) azy There is an infinite loop Multiple of the above are valid answers None of the above are valid answers Save Answer One reduction using lazy on: (x.xy) (Az.z) (Ax.xy) (Az.z) y Az.zy (Az.z) y There is an infinite loop Multiple of the above are valid answers None of the above are valid answers Save Answer Q13.3 1 Point One reduction using lazy on: (Ax.a) ((Ay.yy) (Az.zz)) (Ax.a) ((Az.zz) (Az.zz)) (Ay-yy) (Az.zz) O There is an infinite loop Multiple of the above are valid answers None of the above are valid answers
Q13 3 Points Please do one beta reduction on the following expressions using the "lazy evaluation" (call-by- name) beta reduction method. Please do not do beta reductions until this is in beta normal form, (unless you think one reduction will take it to beta normal form), do exactly one reduction. Q13.1 1 Point One reduction using lazy on: (Ax.xy) ((Ay.yz) a) ((Ay.yz) a) y (Ax.xy) (az) azy There is an infinite loop Multiple of the above are valid answers None of the above are valid answers Save Answer One reduction using lazy on: (x.xy) (Az.z) (Ax.xy) (Az.z) y Az.zy (Az.z) y There is an infinite loop Multiple of the above are valid answers None of the above are valid answers Save Answer Q13.3 1 Point One reduction using lazy on: (Ax.a) ((Ay.yy) (Az.zz)) (Ax.a) ((Az.zz) (Az.zz)) (Ay-yy) (Az.zz) O There is an infinite loop Multiple of the above are valid answers None of the above are valid answers
C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter11: Inheritance And Composition
Section: Chapter Questions
Problem 28SA
Related questions
Question

Transcribed Image Text:Q13
3 Points
Please do one beta reduction on the following expressions using the "lazy evaluation" (call-by-
name) beta reduction method.
Please do not do beta reductions until this is in beta normal form, (unless you think one reduction
will take it to beta normal form), do exactly one reduction.
Q13.1
1 Point
One reduction using lazy on: (Ax.xy) ((Ay.yz) a)
((Ay.yz) a) y
(Ax.xy) (az)
azy
There is an infinite loop
Multiple of the above are valid answers
None of the above are valid answers
Save Answer

Transcribed Image Text:One reduction using lazy on: (x.xy) (Az.z)
(Ax.xy) (Az.z)
y
Az.zy
(Az.z) y
There is an infinite loop
Multiple of the above are valid answers
None of the above are valid answers
Save Answer
Q13.3
1 Point
One reduction using lazy on: (Ax.a) ((Ay.yy) (Az.zz))
(Ax.a) ((Az.zz) (Az.zz))
(Ay-yy) (Az.zz)
O There is an infinite loop
Multiple of the above are valid answers
None of the above are valid answers
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps

Recommended textbooks for you

C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning

C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L

C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning

C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L

EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT

Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning