1. What is Algebraic data type ? Mid A. a composite type that holds several values together at once, such as a record or tuple B. a composite type formed by combining other types through choice or grouping C. a composite type whose value is exactly one of several named alternatives, also called a tagged union D. deconstructing a value by testing its shape against alternatives and binding its parts in one expression Reveal the answer + AI explanation — free account
2. Which term means: "a composite type formed by combining other types through choice or grouping"? Mid A. Product type B. Parametric polymorphism C. Sum type D. Algebraic data type Reveal the answer + AI explanation — free account
3. Which statement is correct? Mid A. Algebraic data type — deconstructing a value by testing its shape against alternatives and binding its parts in one expression B. Algebraic data type — a composite type that holds several values together at once, such as a record or tuple C. Algebraic data type — writing routines and types that work uniformly over any type via type parameters, also known as generics D. Algebraic data type — a composite type formed by combining other types through choice or grouping Reveal the answer + AI explanation — free account
4. What is Sum type ? Mid A. writing routines and types that work uniformly over any type via type parameters, also known as generics B. a composite type whose value is exactly one of several named alternatives, also called a tagged union C. a composite type formed by combining other types through choice or grouping D. deconstructing a value by testing its shape against alternatives and binding its parts in one expression Reveal the answer + AI explanation — free account
5. Which term means: "a composite type whose value is exactly one of several named alternatives, also called a tagged union"? Mid A. Sum type B. Product type C. Parametric polymorphism D. Algebraic data type Reveal the answer + AI explanation — free account
6. Which statement is correct? Mid A. Sum type — a composite type whose value is exactly one of several named alternatives, also called a tagged union B. Sum type — writing routines and types that work uniformly over any type via type parameters, also known as generics C. Sum type — deconstructing a value by testing its shape against alternatives and binding its parts in one expression D. Sum type — a composite type formed by combining other types through choice or grouping Reveal the answer + AI explanation — free account
7. What is Product type ? Mid A. a composite type formed by combining other types through choice or grouping B. a composite type whose value is exactly one of several named alternatives, also called a tagged union C. writing routines and types that work uniformly over any type via type parameters, also known as generics D. a composite type that holds several values together at once, such as a record or tuple Reveal the answer + AI explanation — free account
8. Which term means: "a composite type that holds several values together at once, such as a record or tuple"? Mid A. Algebraic data type B. Product type C. Sum type D. Pattern matching Reveal the answer + AI explanation — free account
9. Which statement is correct? Mid A. Product type — a composite type formed by combining other types through choice or grouping B. Product type — a composite type that holds several values together at once, such as a record or tuple C. Product type — writing routines and types that work uniformly over any type via type parameters, also known as generics D. Product type — deconstructing a value by testing its shape against alternatives and binding its parts in one expression Reveal the answer + AI explanation — free account
10. What is Pattern matching ? Mid A. deconstructing a value by testing its shape against alternatives and binding its parts in one expression B. writing routines and types that work uniformly over any type via type parameters, also known as generics C. a composite type formed by combining other types through choice or grouping D. a composite type that holds several values together at once, such as a record or tuple Reveal the answer + AI explanation — free account
11. Which term means: "deconstructing a value by testing its shape against alternatives and binding its parts in one expression"? Mid A. Sum type B. Pattern matching C. Parametric polymorphism D. Algebraic data type Reveal the answer + AI explanation — free account
12. Which statement is correct? Mid A. Pattern matching — a composite type formed by combining other types through choice or grouping B. Pattern matching — a composite type that holds several values together at once, such as a record or tuple C. Pattern matching — deconstructing a value by testing its shape against alternatives and binding its parts in one expression D. Pattern matching — writing routines and types that work uniformly over any type via type parameters, also known as generics Reveal the answer + AI explanation — free account
13. What is Parametric polymorphism ? Senior A. deconstructing a value by testing its shape against alternatives and binding its parts in one expression B. a composite type that holds several values together at once, such as a record or tuple C. a composite type whose value is exactly one of several named alternatives, also called a tagged union D. writing routines and types that work uniformly over any type via type parameters, also known as generics Reveal the answer + AI explanation — free account
14. Which term means: "writing routines and types that work uniformly over any type via type parameters, also known as generics"? Senior A. Sum type B. Parametric polymorphism C. Product type D. Pattern matching Reveal the answer + AI explanation — free account
15. Which statement is correct? Senior A. Parametric polymorphism — a composite type whose value is exactly one of several named alternatives, also called a tagged union B. Parametric polymorphism — a composite type that holds several values together at once, such as a record or tuple C. Parametric polymorphism — writing routines and types that work uniformly over any type via type parameters, also known as generics D. Parametric polymorphism — deconstructing a value by testing its shape against alternatives and binding its parts in one expression Reveal the answer + AI explanation — free account