Total Questions : 40
Expected Time : 40 Minutes

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

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

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

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

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

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

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

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

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

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

11. In Dart, what is the default value of an uninitialized variable?

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

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

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

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

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

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

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

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

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

21. How is error handling typically done in Dart?

22. What is the purpose of the 'Sync' in Dart's 'Future.sync'?

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

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

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

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

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

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

29. Explain the concept of mixins in Dart.

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

31. In Dart, how do you declare a multi-line string?

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

33. How do you declare a variable in Dart?

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

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

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

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

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

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

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