TypeScript (Coding) Quiz
TypeScript's type system and the tooling it adds on top of JavaScript for safer, larger codebases.
This category currently has 86 questions in the SERVBG quiz bank. Below are a few sample questions: the full interactive quiz shuffles through the whole set with instant scoring.
Sample questions
Which file extension does TypeScript use?
- .ts
- .typescript
- .tsx (JSX only)
- .js
- .tps
Which compiler converts TS to JS?
- typec
- tscompile
- ts2js
- tsbuild
- tsc
How do you annotate a number variable?
- let x = number
- number x
- let x: number
- let<number> x
- let x as Number
Which type allows any value?
- mixed
- all
- any
- object
- auto
Which type is type-safe but unrestricted?
- unknown
- auto
- any
- object
- never
Related categories
Python (Coding)
Python syntax and standard-library usage, from quick scripts to full applications.
JavaScript (Coding)
Core JavaScript behavior and async patterns, including the quirks that trip up beginners and veterans alike.
Linux
Linux command-line usage, file permissions, process management. The daily admin tasks.
Security
General information security concepts: common threats and standard defenses.
Hardware
Hardware components, how they interact, and basic troubleshooting to keep systems running.