0% found this document useful (0 votes)
9 views6 pages

Unit Test 2 Reviewer ITE2

The document is a reviewer for Unit Test 2, covering various topics related to mobile application development, specifically focusing on Flutter and Dart programming. It includes multiple-choice questions about mobile operating systems, programming languages, IDEs, and Flutter widgets. Key concepts such as state management, widget types, and Dart syntax are also addressed.

Uploaded by

brixcoronejo328
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views6 pages

Unit Test 2 Reviewer ITE2

The document is a reviewer for Unit Test 2, covering various topics related to mobile application development, specifically focusing on Flutter and Dart programming. It includes multiple-choice questions about mobile operating systems, programming languages, IDEs, and Flutter widgets. Key concepts such as state management, widget types, and Dart syntax are also addressed.

Uploaded by

brixcoronejo328
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

Unit Test 2 Reviewer (Generated)

1. A software application designed to run c) Device fragmentation across


on a smartphone or tablet is called a: manufacturers and versions

a) Web application d) Higher average user spending

b) Desktop application

c) Mobile application 6. Flutter, created by Google, is best


described as a:
d) Server-side application
a) Mobile operating system

b) Programming language
2. Which pair represents dominant mobile
operating systems? c) User Interface (UI) toolkit or framework

a) Windows and macOS d) Database management system

b) Android and iOS

c) Linux and Unix 7. A key benefit of Flutter is its ability to:

d) Chrome OS and Ubuntu a) Create platform-specific native code

b) Write code once and deploy across


multiple platforms
3. For native Android development, which
language(s) are primarily used? c) Directly manipulate device hardware

a) Swift d) Replace web browsers entirely

b) Objective-C

c) Java and Kotlin 8. Which IDE is commonly recommended


for Android development?
d) C#
a) Xcode

b) Visual Studio Code


4. Apple Inc. is the developer and owner
of: c) Android Studio

a) Android d) Sublime Text

b) HarmonyOS

c) iOS 9. A limitation often cited for iOS


development is:
d) KaiOS
a) Difficulty in accessing device APIs

b) Higher development speed


5. Which of the following presents a
significant challenge unique to Android ) Less control over the user interface
development compared to iOS?
d) Restrictions on customization and a
a) Limited access to hardware features closed ecosystem

b) Strict adherence to design guidelines


Unit Test 2 Reviewer (Generated)

10. In the context of mobile development, 14. Dart's primary purpose is to develop
what does "platform" primarily refer to? applications for:

a) The physical device (phone, tablet) a) Scientific computing

b) The app store (Google Play, Apple App Store) b) Backend services exclusively

c) The combination of operating system and c) A wide range of platforms: mobile, web,
hardware desktop, server

d) The network infrastructure d) Database management

11. Huawei's mobile operating system is 15. Which characteristic is NOT a core
called: feature of the Dart programming
language?
a) Android
a) Garbage collection
b) iOS
b) Strong typing with type inference
c) HarmonyOS
c) Exclusively functional programming
d) KaiOS
paradigm

d) Null safety
12. KaiOS is specifically designed for:

a) High-end flagship phones


16. The print() function in Dart is used for:
b) Tablets
a) Receiving input from the user
c) Wearable devices
b) Displaying information to the console
d) Feature phones
c) Defining data structures

d) Performing mathematical calculations


13. What is a primary advantage of native
mobile development over cross-platform
solutions? 17. In Dart, the final keyword is used to
declare:
a) Faster development time
a) A constant value defined at compile-time
b) Code reusability
b) A variable whose value can be reassigned
c) Optimal performance and access to
platform-specific features c) A variable whose type cannot be changed

d) Lower development costs d) A variable whose value cannot be changed


after its first assignment

18. Which type of Flutter widget is inherently


immutable?
Unit Test 2 Reviewer (Generated)

a) Stateful Widget a) string

b) Stateless Widget b) int

c) Both Stateful Widget and Stateless Widget c) var

d) Neither Stateful Widget nor Stateless Widget d) const

23. The technique of inserting variables


directly into strings in Dart is known as:
19. When did Google initially release the
Dart programming language? a) String concatenation

a) 2005 b) String interpolation

b) 2008 c) String manipulation

c) 2011 d) String conversion

d) 2014

24. For integer division that discards the


remainder in Dart, you use:
20. Dart's syntax is most closely related to
which of these languages? a) /

a) Python b) %

b) HTML c) ~/

c) C-style languages (like Java and C#) d) \\

d) Assembly language

25. What will be the output of print(10 !=


10); in Dart?
21. In Dart, "AOT" compilation means:
a) 1
a) Applications Override Threading
b) 0
b) Asynchronous Output Transfer
c) true
c) Ahead-Of-Time compilation (compiling
before execution) d) false

d) Automatic Optimization Tuning

26. Which symbol represents the logical OR


operator in Dart?

a) && b) ||

c) ! d) ^

22. To declare a variable in Dart and allow


the compiler to infer its type, you would 27. The is operator in Dart is used to:
use:
a) Assign a value
Unit Test 2 Reviewer (Generated)

b) Compare for equality b) View

c) Check the type of an object c) Widget

d) Perform bitwise operations d) Component

28. Which control flow statement allows you 32. Which category does the Container
to execute different code blocks based widget belong to?
on multiple conditions?
a) Interactive widget
a) for loop
b) Styling widget
b) while loop
c) Structural widget
c) if-else if ladder
d) Text and Image widget
d) do-while loop

33. The Row widget's primary function is to:


29. To repeat a block of code a specific
a) Arrange children vertically
number of times in Dart, you would
typically use a: b) Arrange children horizontally
a) while loop c) Stack children on top of each other
b) do-while loop d) Create empty space
c) for loop

d) switch statement 34. To create overlapping UI elements in


Flutter, you would use the:

a) Column widget
30. In Flutter, calling setState() within a
StatefulWidget's State object does b) Wrap widget
what?
c) Stack widget
a) Initializes the widget's state
d) Expanded widget
b) Builds the widget's UI for the first time

c) Signals to Flutter that the UI needs to be


rebuilt 35. To add spacing inside a widget
(between its content and its border), you
d) Disposes of the widget and its state would use:

a) Margin b) Padding

c) Align d) SizedBox

36. Which Flutter widget provides a basic


app structure with elements like an
31. In Flutter, the fundamental building block
AppBar and body?
of the user interface is the:
a) Container
a) Activity
Unit Test 2 Reviewer (Generated)

b) MaterialApp c) TextField widget

c) Scaffold d) Scanner widget

d) Center

42. Detecting gestures like taps, swipes,


and long presses is primarily the
37. When widgets don't fit horizontally, the
responsibility of the:
Wrap widget will:
a) AnimationController
a) Throw an error
b) GestureDetector widget
b) Resize the widgets
c) InkWell widget
c) Move the widgets to the next line
d) Listener widget
d) Hide the overflowing widgets

43. What is the role of the AppBar within a


38. The FittedBox widget is used to:
Scaffold?
a) Add rounded corners to widgets
a) To display the main content of the screen
b) Resize its child to fit within its constraints
b) To provide a top-level navigation bar
c) Apply animations
c) To manage the app's theme
d) Create a grid layout
d) To handle user input

39. Which of these is classified as an


44. The Align widget's purpose is to:
interactive widget?
a) Create a row of widgets
a) Text
b) Create a column of widgets
b) Image
c) Position its child within itself
c) ElevatedButton
d) Wrap its child widget
d) Container

40. The onPressed callback function is a


crucial property of which widget type?

a) Text widget b) Button widgets

c) Container widget d) Image widget 45. The difference between padding and
margin is that padding:
41. For accepting text input from the user,
Flutter provides the: a) Adds space outside a widget, while margin
adds space inside
a) Text widget
b) Adds space inside a widget, while margin
b) Input widget
adds space outside
Unit Test 2 Reviewer (Generated)

c) Controls the widget's background color 50. What is the primary role of interactive
widgets in Flutter?
d) Defines the widget's size
a) To define the layout of the UI

b) To display static content


46. To control the alignment of widgets
within a Row or Column, you would use c) To handle user input and trigger actions
properties like:
d) To apply visual styling to the UI
a) padding and margin

b) width and height

c) mainAxisAlignment and
crossAxisAlignment

d) color and backgroundColor

47. Which widget behaves like a Row or


Column but wraps its children to the
next line when they overflow?

a) Stack

b) Expanded

c) Wrap

d) ListView

48. In Flutter, StatefulWidgets are used


when:

a) The UI needs to remain static

b) The UI needs to update dynamically based


on user interaction or data changes

c) You only need to display text

d) You want to create a simple button

49. The build() method in Flutter is


responsible for:

a) Initializing the widget's state

b) Updating the widget's state

c) Describing the widget's UI

d) Disposing of the widget

You might also like