Search
⏱️ Time Left --:--
🏆 Score 0/31
❌ Wrong 0/31
🎯 Accuracy -
📊 Answered 0/31
Overall Progress 0%
Q1
What is TypeScript and what major advantage does it add over JavaScript?
Q2
What is the difference between interface and type in TypeScript?
Q3
What is the any type in TypeScript and why should you avoid it?
Q4
What is the difference between unknown and any in TypeScript?
Q5
What is a Union Type in TypeScript and how do you define one?
Q6
What is an Intersection Type in TypeScript?
Q7
What are Generics in TypeScript and why are they useful?
Q8
What does the readonly modifier do in TypeScript?
Q9
What is Type Narrowing in TypeScript?
Q10
What is a Type Guard in TypeScript and how do you write a custom one?
Q11
What are TypeScript Utility Types? Name and explain at least three.
Q12
What does the keyof operator do in TypeScript?
Q13
What is the typeof type operator in TypeScript (different from JavaScript's typeof)?
Q14
What are Mapped Types in TypeScript?
Q15
What are Conditional Types in TypeScript?
Q16
What is the never type in TypeScript and when does it appear?
Q17
What is the difference between void and never as function return types?
Q18
What is an Enum in TypeScript and what are its two types?
Q19
What is a Discriminated Union (Tagged Union) in TypeScript?
Q20
What does the as const assertion do in TypeScript?
Q21
What is the satisfies operator introduced in TypeScript 4.9?
Q22
What are Decorators in TypeScript and what are they used for?
Q23
What is Declaration Merging in TypeScript?
Q24
What is the infer keyword in TypeScript and how is it used?
Q25
What is a Namespace in TypeScript and when should you use it?
Q26
What is the TypeScript tsconfig.json and what do the strict mode flags enable?
Q27
What is the difference between strictNullChecks: true and strictNullChecks: false?
Q28
What is the Non-null Assertion Operator (!) in TypeScript?
Q29
What is Optional Chaining (?.) and Nullish Coalescing (??) in TypeScript?
Q30
What is the Awaited<T> utility type in TypeScript?
Q31
What are Template Literal Types in TypeScript 4.1+ and what can they do?

Explore Other Quiz Topics

Test your programming skills and knowledge across all available quiz topics.

Quizzes

Categories