Total Questions : 40
Expected Time : 40 Minutes

1. What is the purpose of the 'spread' operator ('...') in Dart?

2. Which Dart data type is used for representing integers?

3. In Dart, what is the 'call()' method used for?

4. In Dart, what is the purpose of the 'is' keyword?

5. What is the purpose of the 'assert' statement in Dart?

6. How is error handling typically done in Dart?

7. What is the purpose of the 'break' statement in Dart?

8. Which Dart operator is used for null-aware assignment?

9. How do you declare a variable in Dart?

10. Which collection type in Dart does not allow duplicate elements?

11. What is the purpose of the 'sync*' function in Dart?

12. What is the purpose of the 'late' keyword in Dart?

13. What is the purpose of the 'factory constructor' in Dart?

14. What is the purpose of the 'const constructor' in Dart?

15. In Dart, how do you implement a singleton pattern?

16. What is the purpose of the 'rethrow' keyword in Dart?

17. In Dart, how do you handle asynchronous errors in a 'Future'?

18. What is the primary use of Dart programming language?

19. In Dart, what is the difference between 'is' and 'as' when working with types?

20. What is the purpose of the 'async' keyword in Dart?

21. What is the purpose of the 'covariant' keyword in Dart?

22. What is the purpose of the 'assert' keyword in Dart?

23. In Dart, how do you define an abstract class?

24. What is the purpose of the 'new' keyword in Dart?

25. What is the purpose of the 'cascade' operator ('..') in Dart?

26. In Dart, how do you import a library?

27. Which Dart concept is used for managing code execution in parallel?

28. In Dart, what is the purpose of the 'zoneCallback' function?

29. What is the purpose of the 'extension' keyword in Dart?

30. Which Dart keyword is used to implement inheritance?

31. What is the purpose of the 'if' statement in Dart?

32. What is the primary use of the 'print' function in Dart?

33. What is the purpose of the 'never' type in Dart?

34. What is the purpose of the 'Future' class in Dart?

35. What is the purpose of the 'finally' block in a try-catch statement in Dart?

36. What is the purpose of the 'with' keyword in Dart?

37. What is the main purpose of the 'async' and 'await' keywords in Dart?

38. How is the 'noSuchMethod' method used in Dart?

39. What is the purpose of the 'rethrow' expression in Dart?

40. What is the purpose of the 'onTimeout' method in Dart's 'Future' class?