Google Flutter App Development 1 — Questions and Answers
Question 1: Flutter is an example of ______.
- SDK (Correct answer)
- Programming Language
- Both
- None of the above
Correct answer: SDK
Flutter is a Software Development Kit (SDK) because it provides a complete set of tools, libraries, and documentation for building cross-platform applications. It includes a rendering engine, pre-built widgets, testing tools, and command-line tools, enabling developers to create mobile, web, and desktop apps from a single codebase.
Question 2: The Dart platform is famous for not supporting "hot reload."
- True
- False (Correct answer)
Correct answer: False
This statement is false. Flutter, which uses Dart, is famously known for its 'hot reload' feature. Hot reload allows developers to inject updated source code into a running application, instantly seeing changes without losing the current application state, significantly speeding up development cycles.
Question 3: Google developed the _____ Flutter framework for building mobile apps.
- Shareware
- Open-source (Correct answer)
- Both
- None of the above
Correct answer: Open-source
Flutter is an open-source UI software development kit created by Google. Being open-source means its source code is publicly available, allowing anyone to inspect, modify, and contribute to its development, fostering a large and active community around the framework.
Question 4: The _____ programming language is used to create Flutter apps, which take advantage of many of its more sophisticated features.
- Swift
- C++
- Dart (Correct answer)
- C
Correct answer: Dart
Flutter applications are built using the Dart programming language, which was also developed by Google. Dart is optimized for UI development, offering features like ahead-of-time (AOT) compilation for native performance and just-in-time (JIT) compilation for fast development cycles, making it ideal for Flutter.
Question 5: What are Flutter's benefits?
- UI Focused
- Faster Development
- Cross-platform Development
- All of the above (Correct answer)
Correct answer: All of the above
Flutter offers several significant benefits, including a strong focus on UI development with rich, customizable widgets, faster development cycles due to features like hot reload, and robust cross-platform capabilities allowing a single codebase for iOS, Android, web, and desktop applications. All these aspects contribute to its popularity and efficiency.
Question 6: Facebook is the creator of Flutter.
- True
- False (Correct answer)
Correct answer: False
This statement is false. Flutter was developed and is maintained by Google. Facebook is known for developing React Native, which is another popular framework for cross-platform mobile development.
Question 7: Which widget from the list below is used for layout?
- Inkwell
- Expanded
- Column (Correct answer)
- Text
Correct answer: Column
In Flutter, `Column` is a fundamental layout widget used to arrange its children widgets vertically. It's essential for structuring the user interface by placing elements one after another in a vertical direction, making it a key component for building complex layouts.
Flutter is an example of ______.