15 Type Concepts questions from the Functional Programming bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.
Free to start: the 2-minute IT readiness check — six questions and a result.
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
Answer + AI explanation with Pro
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
Answer + AI explanation with Pro
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
Answer + AI explanation with Pro
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
Answer + AI explanation with Pro
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
Answer + AI explanation with Pro
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
Answer + AI explanation with Pro
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
Answer + AI explanation with Pro
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
Answer + AI explanation with Pro
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
Answer + AI explanation with Pro
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
Answer + AI explanation with Pro
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
Answer + AI explanation with Pro
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
Answer + AI explanation with Pro
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
Answer + AI explanation with Pro
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
Answer + AI explanation with Pro
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
Answer + AI explanation with Pro
Free to start
Start with a free readiness check
Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Type Concepts question come with Pro.