Flutter Certified Application Developer Practice Exam, Exams of Technology

This practice exam is for individuals preparing for the Flutter Certified Application Developer exam. It covers topics related to building cross-platform mobile applications using Flutter. Areas tested include UI design, state management, APIs, and testing. The exam assesses the candidate's ability to develop scalable, maintainable, and performant applications using Flutter and Dart.

Typology: Exams

2025/2026

Available from 12/30/2025

shilpi-jain-1
shilpi-jain-1 šŸ‡®šŸ‡³

4.2

(5)

29K documents

1 / 81

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Flutter Certified Application Developer
Practice Exam
Question 1. What is the entry point for every Dart application?
A) runApp()
B) main()
C) build()
D) start()
Answer: B
Explanation: The main() function is the required entry point for every Dart
application.
Question 2. Which data type would you use to store decimal numbers in Dart?
A) int
B) bool
C) double
D) String
Answer: C
Explanation: The double type in Dart is used to store floating-point decimal
numbers.
Question 3. What is the difference between final and const in Dart?
A) final is compile-time constant, const is runtime constant
B) final can be assigned only once, const is compile-time constant
C) final variables can be reassigned, const cannot
D) Both are used for mutable variables
Answer: B
Explanation: final can be set only once at runtime, while const must be assigned a
compile-time constant value.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51

Partial preview of the text

Download Flutter Certified Application Developer Practice Exam and more Exams Technology in PDF only on Docsity!

Practice Exam

Question 1. What is the entry point for every Dart application? A) runApp() B) main() C) build() D) start() Answer: B Explanation: The main() function is the required entry point for every Dart application. Question 2. Which data type would you use to store decimal numbers in Dart? A) int B) bool C) double D) String Answer: C Explanation: The double type in Dart is used to store floating-point decimal numbers. Question 3. What is the difference between final and const in Dart? A) final is compile-time constant, const is runtime constant B) final can be assigned only once, const is compile-time constant C) final variables can be reassigned, const cannot D) Both are used for mutable variables Answer: B Explanation: final can be set only once at runtime, while const must be assigned a compile-time constant value.

Practice Exam

Question 4. Which operator checks if an object belongs to a specific type in Dart? A) as B) is C) == D) != Answer: B Explanation: The is operator is used in Dart for type checking. Question 5. What does null safety in Dart help prevent? A) Integer overflows B) Runtime null dereferencing errors C) Compilation errors D) Memory leaks Answer: B Explanation: Null safety ensures variables cannot be null unless explicitly allowed, preventing null dereference errors. Question 6. Which keyword is used to declare a non-nullable variable in Dart? A) required B) late C) var D) No keyword needed, non-nullable is default Answer: D Explanation: By default, Dart variables are non-nullable unless you use a question mark (?) for nullable types.

Practice Exam

Question 10. What method would you use to add an element to a Dart Set? A) append() B) add() C) push() D) insert() Answer: B Explanation: The add() method is used to add elements to a Set in Dart. Question 11. How do you specify named parameters in a Dart function? A) Square brackets [] B) Curly braces {} C) Parentheses () D) Angle brackets <> Answer: B Explanation: Named parameters in Dart are specified using curly braces in function definitions. Question 12. What is the function of the arrow (=>) syntax in Dart? A) Defines an anonymous function B) Shorthand for a single-expression function C) Used for type testing D) Declares a variable Answer: B Explanation: The arrow syntax is shorthand for functions with only one statement.

Practice Exam

Question 13. Which keyword is used to define a class in Dart? A) struct B) type C) class D) object Answer: C Explanation: Dart uses the class keyword to define classes. Question 14. How do you implement inheritance in Dart? A) extends B) implements C) with D) inherits Answer: A Explanation: The extends keyword is used to inherit from another class. Question 15. What is a mixin in Dart? A) A type of class that can be instantiated B) A way to reuse code in multiple classes C) Used for asynchronous programming D) A function parameter style Answer: B Explanation: Mixins allow code reuse in multiple classes without inheritance.

Practice Exam

A) Defines a synchronous function B) Marks a function to return a Future C) Declares a class as asynchronous D) Imports asynchronous libraries Answer: B Explanation: async marks a function that returns a Future and enables use of await inside it. Question 20. How do you listen to a Stream in Dart? A) stream.onData(callback) B) stream.listen(callback) C) stream.subscribe(callback) D) stream.read(callback) Answer: B Explanation: The listen() method is used to handle events from a Stream. Question 21. Which widget is typically the root of a Flutter app? A) MaterialApp B) Scaffold C) Container D) AppBar Answer: A Explanation: MaterialApp is usually the root widget, providing app-wide configuration. Question 22. What is the difference between StatelessWidget and StatefulWidget?

Practice Exam

A) StatelessWidget can change state B) StatefulWidget cannot rebuild C) StatelessWidget does not store state, StatefulWidget does D) Both have the same behavior Answer: C Explanation: StatelessWidget is immutable; StatefulWidget can store and update state. Question 23. What method must be implemented in every Flutter widget? A) main() B) runApp() C) build() D) setState() Answer: C Explanation: The build() method describes how to display the widget. Question 24. Which widget provides the basic visual structure of a Material Design app? A) Scaffold B) AppBar C) Drawer D) Row Answer: A Explanation: Scaffold includes app bars, drawers, floating action buttons, and more. Question 25. How do you display an image from the network in Flutter?

Practice Exam

B) ListView(items: ...) C) ListView.builder(items: ...) D) ListView(list: ...) Answer: A Explanation: ListView.builder requires an itemBuilder and itemCount. Question 29. What widget allows for vertical and horizontal alignment of children? A) Row B) Column C) Stack D) Align Answer: D Explanation: Align positions its child within itself. Question 30. How do you add spacing between widgets in a Column? A) Use SizedBox B) Use Padding C) Use Spacer D) Any of the above Answer: D Explanation: SizedBox, Padding, and Spacer can all add space in a Column. Question 31. What is the purpose of the Expanded widget? A) Shrinks its child B) Distributes space among children

Practice Exam

C) Makes widgets scrollable D) Provides animation Answer: B Explanation: Expanded helps distribute free space in a Row/Column. Question 32. What is the function of the GestureDetector widget? A) Detects hardware events B) Handles gestures like tap, double-tap, and swipe C) Animates widgets D) Changes theme Answer: B Explanation: GestureDetector allows handling user gestures. Question 33. Which widget is used for form validation in Flutter? A) Form B) TextField C) GlobalKey D) TextFormField Answer: A Explanation: The Form widget manages validation with a GlobalKey. Question 34. How do you access the current screen size in Flutter? A) MediaQuery.of(context).size B) LayoutBuilder.size C) context.size

Practice Exam

Answer: B Explanation: Custom fonts must be declared in pubspec.yaml. Question 38. Which widget should you use for a grid layout? A) ListView B) GridView C) Row D) Stack Answer: B Explanation: GridView displays items in a grid layout. Question 39. How do you handle orientation changes in Flutter? A) MediaQuery B) OrientationBuilder C) LayoutBuilder D) All of the above Answer: D Explanation: MediaQuery, OrientationBuilder, and LayoutBuilder can all respond to orientation changes. Question 40. Which widget allows you to select between multiple options? A) Checkbox B) Radio C) Switch D) All of the above

Practice Exam

Answer: D Explanation: Checkbox, Radio, and Switch are all selection widgets. Question 41. What is the first method called in a StatefulWidget's lifecycle? A) build() B) dispose() C) initState() D) didChangeDependencies() Answer: C Explanation: initState() is called first when creating a StatefulWidget. Question 42. How do you update a StatefulWidget's UI? A) setState() B) rebuild() C) update() D) refresh() Answer: A Explanation: setState() triggers a rebuild of the widget's UI. Question 43. What is lifting state up in Flutter? A) Moving state from parent to child B) Moving state from child to parent C) Sharing state between unrelated widgets D) Deleting state Answer: B

Practice Exam

Explanation: Navigator.push() is used to navigate between screens. Question 47. How can you define named routes in Flutter? A) routes property in MaterialApp B) Navigator.name() C) AppBar.routes() D) RouteBuilder Answer: A Explanation: Named routes are defined using the routes property of MaterialApp. Question 48. What method lets you return data from a pushed route? A) Navigator.pop() B) Navigator.push() C) Navigator.return() D) Route.pop() Answer: A Explanation: Navigator.pop() can return data to the previous route. Question 49. How do you handle dynamic routing in Flutter? A) onGenerateRoute property B) routes property C) Navigator.push() D) MaterialPageRoute Answer: A Explanation: onGenerateRoute allows dynamic route handling.

Practice Exam

Question 50. Which package is used to make HTTP requests in Flutter? A) http B) network C) fetch D) connection Answer: A Explanation: The http package is commonly used for HTTP requests. Question 51. How do you parse JSON in Dart? A) jsonDecode() B) parseJSON() C) decode() D) JSON.parse() Answer: A Explanation: jsonDecode() from dart:convert parses JSON strings. Question 52. Which package provides key-value storage in Flutter? A) shared_preferences B) sqflite C) hive D) storage Answer: A Explanation: shared_preferences is used for simple key-value data storage.

Practice Exam

A) Cloud Firestore B) Firebase Storage C) Firebase Authentication D) Firebase Realtime Database Answer: B Explanation: Firebase Storage is designed for file uploads/downloads. Question 57. How do you access device features like camera or gallery? A) Use image_picker package B) Use camera package C) Use media package D) Use photo_picker package Answer: A Explanation: image_picker is commonly used for accessing camera and gallery. Question 58. What are Method Channels in Flutter? A) A way to communicate with native code B) A widget for navigation C) A package for HTTP requests D) A state management solution Answer: A Explanation: Method Channels enable communication between Dart and native code. Question 59. What is the purpose of the flutter doctor command?

Practice Exam

A) Check project dependencies B) Diagnose development environment issues C) Run the app D) Install packages Answer: B Explanation: flutter doctor checks the setup of the development environment. Question 60. How do you add a dependency in Flutter? A) Add to pubspec.yaml and run flutter pub get B) Add to main.dart C) Use flutter add command D) Add to config.yaml Answer: A Explanation: Dependencies are declared in pubspec.yaml and installed with flutter pub get. Question 61. What is the difference between Hot Reload and Hot Restart? A) Hot Reload loses app state B) Hot Restart preserves app state C) Hot Reload preserves app state, Hot Restart does not D) Both are identical Answer: C Explanation: Hot Reload preserves state, Hot Restart resets the app. Question 62. How do you run widget tests in Flutter?