Q12 3 Points Please do one beta reduction on the following expressions using the "eager evaluation" (call-by- value) 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. Q12.1 1 Point One reduction using eager 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 eager on: (Ax.xy) (Az.z) (Ax.xy) (Az.z) 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 Q12.3 1 Point One reduction using eager on: (λx.a) ((Ày.yy) (Àz.zz)) a (Ax.a) ((Az.zz) (Az.zz)) (Ay.yy) (Az.zz) 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
Chapter18: Stacks And Queues
Section: Chapter Questions
Problem 9SA
icon
Related questions
Question

awnser 12.1, 12.2 (missing number in image), and 12.3

Q12
3 Points
Please do one beta reduction on the following expressions using the "eager evaluation" (call-by-
value) 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.
Q12.1
1 Point
One reduction using eager 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:Q12 3 Points Please do one beta reduction on the following expressions using the "eager evaluation" (call-by- value) 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. Q12.1 1 Point One reduction using eager 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 eager on: (Ax.xy) (Az.z)
(Ax.xy) (Az.z)
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
Q12.3
1 Point
One reduction using eager on: (λx.a) ((Ày.yy) (Àz.zz))
a
(Ax.a) ((Az.zz) (Az.zz))
(Ay.yy) (Az.zz)
There is an infinite loop
Multiple of the above are valid answers
None of the above are valid answers
Transcribed Image Text:One reduction using eager on: (Ax.xy) (Az.z) (Ax.xy) (Az.z) 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 Q12.3 1 Point One reduction using eager on: (λx.a) ((Ày.yy) (Àz.zz)) a (Ax.a) ((Az.zz) (Az.zz)) (Ay.yy) (Az.zz) There is an infinite loop Multiple of the above are valid answers None of the above are valid answers
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,