2020_2_CSE340F20_Exam_2
.pdf
keyboard_arrow_up
School
Arizona State University *
*We aren’t endorsed by this school
Course
340
Subject
Industrial Engineering
Date
Dec 6, 2023
Type
Pages
32
Uploaded by DrTree7011
1/2/21, 6’09 AM
Quiz: EXAM 2- Requires Respondus LockDown Browser
Page 1 of 32
https://asu.instructure.com/courses/67677/quizzes/502776/take?preview=1
EXAM 2- Requires Respondus
LockDown Browser
!
This is a preview of the published version of the quiz
Started: Jan 2 at 6:08am
Quiz Instructions
If you think that there is an issue with any question, write your
assumption in the box at the end of the exam that I left for that
purpose. I will look at it while grading.
The grade that you will see when you submit is not necessarily the
actual grade.
1.
Keep your speaker on so that you can hear the announcements
made during the exam.
2.
Open book and open notes
. This exam is open book and open notes.
No electronic notes and no electronics other than for zoom and the
lockdown browser.
3.
No outside help
. You are not allowed to get help form anyone directly or
indirectly during the exam
4.
No questions during the exam
. If you think there is an issue with a
question, you can write your assumptions and I will look at them when I
grade.
5.
Logged-in to zoom
.
You should be logged in to zoom and on-
camera for the duration of the exam.
6.
No pseudonyms/aliases
. You should use your actual name not an alias
or a pseudonym while logged-in on zoom for the exam
7.
No disconnect
. If you are disconnected you should get back on zoom in
a very
very short
amount of time
8.
Finishing
When you are done, you should write a private chat message
saying that you are done and stay in class.
1/2/21, 6’09 AM
Quiz: EXAM 2- Requires Respondus LockDown Browser
Page 2 of 32
https://asu.instructure.com/courses/67677/quizzes/502776/take?preview=1
1 pts
Question 1
2
5
none of the other answers
4
3
0
There is a total of 30 questions in this exam. 15 questions are on
lambda calculus
and 14 questions are on pointer semantics and
1 question is on names and attributes.
Not all questions require the same amount of effort. Some
questions can be answered in less than half a minute and some
questions take a couple minutes. For each concept, I tried to
start with the easier questions, but what is easier in general
varies from one student to another.
Good Luck!
_________________________________________________________
Question 1.
How many free variables are in the following lambda expression?
x. x x x x x
1/2/21, 6’09 AM
Quiz: EXAM 2- Requires Respondus LockDown Browser
Page 3 of 32
https://asu.instructure.com/courses/67677/quizzes/502776/take?preview=1
1
1 pts
Question 2
5
4
0
1
3
none of the other answers
2
Question 2.
How many free variables are in the following lambda expression?
x. ( x x ) x x x
1 pts
Question 3
Question 3.
How many free variables are in the following expressions?
x
x. ( y y ) ( x. x x ) x
1/2/21, 6’09 AM
Quiz: EXAM 2- Requires Respondus LockDown Browser
Page 4 of 32
https://asu.instructure.com/courses/67677/quizzes/502776/take?preview=1
2
4
none of the other answers
0
1
3
1 pts
"
HTML Editor
Question 4
Question 4.
Which variables are bound to
x. at
I
?
λ
x. x (
λ
x. x
y ) x (
λ
y.
x
y )
x
I
1
II
2
3
4
III
5
6
7
Just write the numbers corresponding to the bounds variables.
±
²
³
´
´
µ
¶
·
¸
¹
º
»
¼
½
¾
¿
À
Á
Â
Ã
#
$
Ä
Å
12pt
Parag
1/2/21, 6’09 AM
Quiz: EXAM 2- Requires Respondus LockDown Browser
Page 5 of 32
https://asu.instructure.com/courses/67677/quizzes/502776/take?preview=1
0 words
Æ
1 pts
"
HTML Editor
Question 5
Question 5.
Which variables are bound to
x. at
II
?
λ
x. x (
λ
x. ( x
y ) x (
λ
y.
x
y ) ) x
I
1
II
II
2
3
4
III
5
6
7
Just write the numbers corresponding to the bounds variables.
±
²
³
´
´
µ
¶
·
¸
¹
º
»
¼
½
¾
1/2/21, 6’09 AM
Quiz: EXAM 2- Requires Respondus LockDown Browser
Page 6 of 32
https://asu.instructure.com/courses/67677/quizzes/502776/take?preview=1
¿
À
Á
Â
Ã
#
$
Ä
Å
12pt
Parag
0 words
Æ
1 pts
"
HTML Editor
Question 6
Question 6.
Identify the redexes in the following expression by writing the roman numerals of
the abstraction of the redex.
( x. ( x. y) x ) ( x. x. y x ) ( x. x. y x ) x
I
II
III
IV
V
VI
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help