18 Utility & Composite Types questions from the TypeScript 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 & B — a value that simultaneously has all members of A and B
B.a utility type describing an object whose keys are K and whose values are V
C.a utility type that makes every property of T optional
D.a utility type that removes the properties K from T
Answer + AI explanation with Pro
2. Which term means: "a utility type that makes every property of T optional"?
Mid
A.Partial<T>
B.Pick<T,K>
C.Intersection type
D.Union type
Answer + AI explanation with Pro
3. Which statement is correct?
Mid
A.Partial<T> — a utility type describing an object whose keys are K and whose values are V
B.Partial<T> — A & B — a value that simultaneously has all members of A and B
C.Partial<T> — a utility type that makes every property of T optional
D.Partial<T> — a utility type that selects a subset K of the properties of T
Answer + AI explanation with Pro
4. What is Pick<T,K>?
Mid
A.a utility type describing an object whose keys are K and whose values are V
B.a utility type that selects a subset K of the properties of T
C.a utility type that makes every property of T optional
D.a utility type that removes the properties K from T
Answer + AI explanation with Pro
5. Which term means: "a utility type that selects a subset K of the properties of T"?
Mid
A.Union type
B.Omit<T,K>
C.Pick<T,K>
D.Record<K,V>
Answer + AI explanation with Pro
6. Which statement is correct?
Mid
A.Pick<T,K> — a utility type that makes every property of T optional
B.Pick<T,K> — a utility type that removes the properties K from T
C.Pick<T,K> — A & B — a value that simultaneously has all members of A and B
D.Pick<T,K> — a utility type that selects a subset K of the properties of T
Answer + AI explanation with Pro
7. What is Omit<T,K>?
Mid
A.a utility type that selects a subset K of the properties of T
B.a utility type describing an object whose keys are K and whose values are V
C.a utility type that makes every property of T optional
D.a utility type that removes the properties K from T
Answer + AI explanation with Pro
8. Which term means: "a utility type that removes the properties K from T"?
Mid
A.Intersection type
B.Pick<T,K>
C.Omit<T,K>
D.Record<K,V>
Answer + AI explanation with Pro
9. Which statement is correct?
Mid
A.Omit<T,K> — A | B — a value that may be any one of several types
B.Omit<T,K> — a utility type describing an object whose keys are K and whose values are V
C.Omit<T,K> — a utility type that removes the properties K from T
D.Omit<T,K> — A & B — a value that simultaneously has all members of A and B
Answer + AI explanation with Pro
10. What is Record<K,V>?
Mid
A.A | B — a value that may be any one of several types
B.a utility type that makes every property of T optional
C.a utility type describing an object whose keys are K and whose values are V
D.a utility type that selects a subset K of the properties of T
Answer + AI explanation with Pro
11. Which term means: "a utility type describing an object whose keys are K and whose values are V"?
Mid
A.Union type
B.Record<K,V>
C.Intersection type
D.Omit<T,K>
Answer + AI explanation with Pro
12. Which statement is correct?
Mid
A.Record<K,V> — a utility type that makes every property of T optional
B.Record<K,V> — a utility type that selects a subset K of the properties of T
C.Record<K,V> — a utility type that removes the properties K from T
D.Record<K,V> — a utility type describing an object whose keys are K and whose values are V
Answer + AI explanation with Pro
13. What is Union type?
Junior
A.a utility type that makes every property of T optional
B.A | B — a value that may be any one of several types
C.a utility type describing an object whose keys are K and whose values are V
D.a utility type that removes the properties K from T
Answer + AI explanation with Pro
14. Which term means: "A | B — a value that may be any one of several types"?
Junior
A.Union type
B.Omit<T,K>
C.Pick<T,K>
D.Record<K,V>
Answer + AI explanation with Pro
15. Which statement is correct?
Junior
A.Union type — A & B — a value that simultaneously has all members of A and B
B.Union type — a utility type that selects a subset K of the properties of T
C.Union type — A | B — a value that may be any one of several types
D.Union type — a utility type describing an object whose keys are K and whose values are V
Answer + AI explanation with Pro
16. What is Intersection type?
Mid
A.a utility type that selects a subset K of the properties of T
B.A | B — a value that may be any one of several types
C.a utility type that makes every property of T optional
D.A & B — a value that simultaneously has all members of A and B
Answer + AI explanation with Pro
17. Which term means: "A & B — a value that simultaneously has all members of A and B"?
Mid
A.Intersection type
B.Omit<T,K>
C.Record<K,V>
D.Pick<T,K>
Answer + AI explanation with Pro
18. Which statement is correct?
Mid
A.Intersection type — a utility type describing an object whose keys are K and whose values are V
B.Intersection type — A & B — a value that simultaneously has all members of A and B
C.Intersection type — A | B — a value that may be any one of several types
D.Intersection type — a utility type that selects a subset K of the properties of T
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 Utility & Composite Types question come with Pro.