Which one of the following expressions is equivalent to the following dotted pair…
Jump to turn (7)
- 1Which one of the following expressions is equivalent to the following dotted pai
- 2Which one of the following expressions will select '6 from the nested list x, wh
- 3Which one of the following regex's describes strings of precisely 5 or more a's?
- 4Assume that a long occupies 8 bytes, an int occupies 4 bytes, a bool and a char
- 5Given the array declaration: T a[6][9]; What is the byte-offset of a[2][1] from
- 6Which one of the following regex's describes strings of precisely 5 or more a's?
- 7The correct regular expression to describe strings of precisely 5 or more 'a's i
- User
Which one of the following expressions is equivalent to the following dotted pair expression?
code{ { 7 . 9 } . { nil . nil } }?Note: Pairs with head hd and tail tl are denoted using the brace-enclosed dotted-pair { hd . tl }. List literals are enclosed within braces with elements separated by commas, with the empty list represented by nil.
Hint: This question is best solved by drawing the list structures.
{ 7, { 9 } }.
{ { 7 . 9 }, nil }.
{ { 7, 9 } }.
{ { { 7 . 9 } } }.
{ 7, 9, nil }.
- Assistant