Circle the statements that are true: 1. Ada allows narrowing coercions. 2. Namel
ID: 3686459 • Letter: C
Question
Circle the statements that are true:
1. Ada allows narrowing coercions.
2. Nameless functions can be defined in Python using lambda expressions.
3. C++’s type checking is less effective compared to Ada’s.
4. C implements both row-pointer and contiguous arrays.
5. Ada allows the definition of stack-dynamic arrays.
6. Explicit heap-dynamic variables are nameless.
7. Union fields in C++ are type checked.
8. Python has no indexing mechanism for accessing slices in an array.
9. Functions in Scheme can be returned from other functions.
10. Access to array elements is faster than access to record elements.
Explanation / Answer
1.
2. True
3.
4.True
5. True
6.
7.True
8.
9.
10.True