Functional Programming (H) - 2.05 - Nothing but the Truth

1. What is the value of this expression?

let x = 5 in x == 5

2. Which one of the following expressions should always evaluate to True?

3. What’s wrong with the following Haskell expression?

if (1) then "true" else "false"

4. Which one of the following expressions does not evaluate to 42?

5. Given these definitions:

a = "england" b = "scotland"

then which one of the following expressions has the greatest integer value?