
Practice for Test 3
1. Multiple choices (exactly one correct answer). (20 pts).
Figure 1
1) What output is produced by Label 1 in Figure 1?
a) [โdโ, โaโ]
b) [โcโ, โbโ]
c) set([โaโ, โbโ, โcโ, โdโ])
d) set([โdโ, โaโ])
2) What output is produced by Label 2 in Figure 1?
a) True
b) set([โcโ, โbโ])
c) False
d) [โbโ, โcโ]
3) What output is produced by Label 3 in Figure 1?
a) [โ2โ, โcโ, โdโ]
c) set([โ2โ, โcโ, โdโ])
b) [โ1โ, โcโ, โbโ]
d) set([โcโ, โbโ, โ1โ])
4) What output is produced by Label 4 in Figure 1?