>_
SWE Maxx
Questions
Quizzes
Daily challenge
System design
My attempts
Sign in
☀
☾
Light mode
Dark mode
Loading question…
Sign in
Match the descriptions to these basic types terms: string, number, boolean, unknown. | SWE Maxx
← Question bank
TypeScript · Matching
Difficulty: Medium
Match the descriptions to these basic types terms: string, number, boolean, unknown.
Basic types
Concept relationships
Choose a match for every item. Use each answer once.
The string type represents primitive text values and supports normal string operations.
Choose a match
unknown
number
string
boolean
Boolean values express two alternatives without relying on the truthiness of other types.
Choose a match
unknown
number
string
boolean
TypeScript's number follows JavaScript Number behavior and is distinct from bigint.
Choose a match
unknown
number
string
boolean
Unknown preserves type safety by requiring checks before accessing the input's structure.
Choose a match
unknown
number
string
boolean
Check answer
More in TypeScript →