Professional Documents
Culture Documents
1 Mobile Applications:
3 Mobile Applications
A. No installation is needed
B. Provides more functionality
C. Maintenance is easy
D. Self-upgradation
E. Quick implementation
F. Does not require approval from app store.
4 Mobile Applications
A. No installation
B. No need of internet connectivity
C. Maintenance is easy
D. Self-upgradation
E. Quick implementation
F. Does not require approval from the app store.
5 Mobile Applications
A. Provides security
B. No installation
C. Maintenance is easy
D. Self-upgradation
E. Quick implementation
6 Mobile Applications
A. No installation
B. Maintenance is easy
C. Self-upgradation
D. Easy to implement.
E. Quick implementation
F. Does not require approval from app store
7 Mobile Applications
8 Mobile Applications
16 The way To access the native features of mobile device in the native apps
A. Direct access
B. Use third party plugins
C. You can not access to native features
17 The way To access the native features of mobile device in the cross- platform
apps
A. You can not access to native features
B. Direct access
C. Use third party plugins and APIs
18 The way To access the native features of mobile device in the hybrid apps
A. You can not access to native features
B. Direct access
C. Use third party plugins
27 If you need less time to market,less time to develop and less performance
use…… application development model
A. PWA
B. Desktop
C. Hybrid
D. Native
E. Cross-platform
A. Cordova
B. Ionic,
C. Flutter
D. Dart
A. Open-source
B. Object-oriented
C. Platform-independent
D. UI framework
A. Android
B. pubspec
C. Test
D. Lib
33 To run your flutter app you must call runApp with your top-level widget passed
as an argument.
A. True
B. False
C. In special cases
A. Object
B. Class
C. Widget
D. Variable
35 Many built-in widgets have both regular constructors and const constructors.
A. True
B. False
C. In special cases
A. Widget
B. Element
C. Element Tree
D. widget tree
A. True
B. False
A. A Stateful Widget doesn’t have any internal state that changes during the
lifetime of the widget.
B. A StatelessWidget doesn’t have any internal state that changes during the
lifetime of the widget.
C. A stateful widget is immutable.
D. A stateless widget is mutable.
E. A Stateful Widget doesn’t have any internal state that changes during the
lifetime of the widget.
F. A stateless widget is immutable.
G. A stateful widget is immutable.
H. A StatelessWidget has an internal state that changes during the lifetime of
the widget.
42
Draw the widget tree for the following method
43
44
Draw the widget tree for the following method
45
46
Which function will return the widgets attached to the screen as a root of the
widget tree to be rendered on screen?
A. main()
B. runApp()
C. container()
D. root()
47 What is the key configuration file used when building a Flutter project?
A. pubspec.yaml
B. pubspec.lock
C. config.xml
D. main.dart
48 Which widget type allows you to modify its appearance dynamically according
to user input?
A. Stateful widget
B. Stateless widget
B. To build a widget tree that does not depend on any mutable state
52
The Flutter tooling supports _____ modes while compiling the application
A. 2
B. 3
C. 4
D. 5
53
54
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
A. Navigator
B. Them
C. WidgetsApp
D. RunApp
E. Column
F. RunApp
G. WidgetsApp
H. Navigator
A. MaterialApp
B. Scaffold
C. Them
D. AppBar
A. Body
B. Home
C. homePage
D. AppBar
A. Scaffold
B. AppBar
C. Drawer
A. Direction
B. Body
C. trailing
D. leading
A. Scaffold
B. MaterialApp
C. AppBar
D. ThemData
A. Padding
B. Margin
C. SizedBox
D. SaveArea
A. Label
B. Text
C. RichText
D. RichLabel
A. AssetBundle
B. AssetImage
C. Pubspec.yamel
D. pubspec.lock
65
To get the orientation of the user device use
A. Orientation class
B. Landscape class
C. Portrait class
D. MediaQuery class
A. True
B. False
C. In special cases
67 ……………….. arrange other widgets, columns, rows, grids, and many other
layouts.
A. Visible widgets
B. Basic widgets
C. Layout widgets
71
…………..is a portion of the scrollable area which is used to achieve a custom
scrolling effect.
A. Scrollable
B. CustomScroll
C. SliverList
D. Sliver
A. Card
B. Container
C. ListTile
D. CheckBox
1. GridView
2. ListTile
3. ListView
4. SliverList
5.
74
The most suitable layout widget for this app is
A. ListTile
B. ListView
C. SliverList
D. GridView
75
The most suitable layout for this app is
A. ListView of ListTiles
B. ListTile of ListViews
C. SliverList of ListView
D. ListTile of GridView
77 automatically provides scrolling when its content is too long for its render box.
A. ListView
B. Column
C. Card
D. Row
78
The most suitable layout for this app is
A. Gridview of Columns
B. Listview of Columns
C. ListView of Rows
A. Queue
B. Map
C. Stack
80 To start navigating between pages, you use the Navigator.push, pushNamed, and
pop methods.
A. True
B. False
81 To push a new Route you create an instance of the …………class that replaces
the screen with the appropriate animation transition.
A. Scaffold
B. MaterialApp
C. MaterialPageRoute
A. GestureDetector
B. Navigator
C. BottomNavigationBar
A. ‘/secondScreen’
B. ‘secondScreen’
C. ‘{secondScreen}’
A. BottomNavigationBarItem
B. BottomNavigationBar
C. MaterialBottomNavigation
A. Drawer
B. DrawerHeader
C. UserAccountsDrawerHeader
D. Drawer
E. DrawerHeader
F. UserAccountsDrawerHeader
90 If you have a relatively small collection of key-values to save inside the local
storage of a mobile device , you can use the plugin…………..
A. Http
B. Dart:convert
C. shared_preferences
D. Http
E. shared_preferences
F. Dart:convert
A. Shared_preference
B. JSON
C. sqLite
A. Html file
B. Text file
C. Json file
96 In JSON files :
98 A ……………. widget works with a Future to retrieve the latest data without
blocking the UI.
A. FutureResponse
B. FlutterBuilder
C. FutureBuilder
A. snapshot.connectionState
B. Snapshot.data
C. snapshot.hasData
A. False
B. True
101 To save data to the JSON file, you use serialization to…………………..
102 To read data from the JSON file, you use deserialization to
103 use the json .encode() method to serialize and the json.decode() method to
deserialize the data.
C. False
D. True
104 both the json.encode() and json.decode() methods are from the ………. Library.
A. Dart:io
B. Dart:material
C. Dart:convert
A. True
B. False
106 For apps with several JSON models with more complexity use ……………….
Serialization strategy
A. Manual
B. Complex
C. Automated
D. Manual
E. Automated
F. Complex
108 If you are writing an app that needs to persist and query large amounts of data on
the local device, consider using ………………..
A. local file
B. key-value store.
C. sqflite
109 databases provide faster inserts, updates, and queries compared to other local
persistence solutions.
A. True
B. False
110 To insert an object into the sqflite database you should …………..
A. Convert the object into a string
B. Convert the object into a map
C. Convert the object into a document
112 the state that you do manage in Flutter can be separated into two conceptual
types:
113 whatever data you need in order to rebuild your UI at any moment in time is
……………
A. Provider
B. state
C. widget
A. Local state
B. App state
C. Dispose state
115 State that you want to share across many parts of your app
A. Dispose state
B. App state
C. Local state
A. App state
B. Dispose state
C. Local state
117 In Flutter, it makes sense to keep the state ……… the widgets that use it.
A. below
B. in
C. above
118 ………… is a simple class which provides change notification to its listeners.
A. ChangeNotifierProvider
B. ChangeNotifier
C. Consumer
A. ChangeNotifierProvider
B. ChangeNotifier
C. Consumer
120 It is best practice to put Consumer widgets ………………in the tree as possible.
You don’t want to rebuild large portions of the UI just because some detail
somewhere changed.
A. as high
B. in the middle
C. as deep
A. Connecting to firebase
B. Opening cloud firestore
C. Making get and post network requests
124 The…………….class contains the data received from a successful http call.
A. http.Response
B. http.Request
C. http.Output
A. Future<Response>
B. Future
C. Response
126 ………………is a core Dart class for working with async operations. Its object
represents a potential value or error that will be available at some time in the
future.
A. Builder
B. Await
C. Future
A. Fetch
B. Post
C. Put
D. Get
129 If the server does return an OK response with a status code of 200, this
indicates………
A. initState()
B. build()
C. dispose()
A. build()
B. didChangeDependencies()
C. initState()
132 To display the data which fetched from API on screen, use the
……………widget
A. Future
B. Builder
C. FutureBuilder
A. Fetch()
B. Post()
C. send()
D. Get()
134 Both The http.post() and The http.get() method returns a Future that contains a
Response.
A. True
B. False
return Album(
userId: json['userId'] as int,
id: json['id'] as int,
title: json['title'] as String,
);
}
136 If the server returns a CREATED response with a status code of 201, this
indicates………
A. Firebase
B. Firestore
C. Authentication
138 ………………… Store and sync NoSQL data in documents and collections
between devices.
A. Cloud storage
B. Cloud functions
C. Cloud Firestore
A. Performance monitoring
B. Crashlytics
C. Test lab
A. Cloud storage
B. Cloud Firestore
C. Cloud functions
A. Documents
B. Fields
C. Collections
143 ……………………… hold data that is stored as a key-value pair similar to JSON
A. Authentications
B. Collections
C. Documents
A. Class
B. Screen
C. Object
D. Widget