Answer the following statements true (T) or false (F)
1) A hash table is one way to implement a dictionary.
2) The ?. operator determines whether an array or collection is null before accessing an
element of the array or collection.
3) A lambda expression begins with a parameter list and is followed by the => lambda operator
and an expression that represents the lambda’s body.
4) An expression lambda contains a statement block—one or more statements enclosed in
braces ({})—to the right of the lambda operator.
5) The parentheses surrounding a lambda’s parameter list are optional.
6) A key aspect of functional programming is immutability—not modifying the data
source being processed or any other program state, such as counter-control variables in
loops. This eliminates common errors that are caused by modifying data incorrectly.
1) True.
2) False. The ?[] determines whether an array or collection is null before accessing an
element of the array or collection.
3) True.
4) False. A statement lambda contains a statement block—one or more statements enclosed
in braces ({})—to the right of the lambda operator.
5) False. When specifying a lambda parameter’s type and/or when a lambda has more
than one parameter, you must enclose the parameter list in parentheses.
6) True
You might also like to view...
What are tab stop presets?
What will be an ideal response?
How can you change the color of selection marks on a layer?
What will be an ideal response?
A sorting algorithm based on a priority queue is
A) quicksort B) insertion sort C) bubble sort D) heap sort
What is the difference between using AND and OR as logical operators in a query?
What will be an ideal response?