Total Questions : 50
Expected Time : 50 Minutes

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

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

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

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

5. Explain the concept of mixins in Dart.

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

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

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

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

10. In Dart, what is the 'call' constructor used for?

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

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

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

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

15. How is a Dart set different from a Dart map?

16. In Dart, how do you perform conditional property access safely?

17. Which Dart keyword is used to implement inheritance?

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

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

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

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

22. What is the purpose of the 'match' expression in Dart?

23. How is error handling typically done in Dart?

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

25. How do you declare a variable in Dart?

26. Which Dart loop is used for iterating over elements of a collection?

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

28. Which Dart feature is used for handling asynchronous programming?

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

30. In Dart, how do you define a constant constructor for a class?

31. In Dart, how do you perform a conditional import?

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

33. How does Dart handle garbage collection?

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

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

36. In Dart, what is the 'main()' function used for?

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

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

39. What is the difference between 'var' and 'dynamic' in Dart?

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

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

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

43. Which keyword is used to define a constant variable in Dart?

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

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

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

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

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

49. What is the purpose of the 'mixin' keyword in Dart?

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