wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Mobile App Development Quiz

Total questions: 116

Worksheet time: 58mins

Name
Class
Date
1.

Which of the following is the official Integrated Development Environment (IDE) for Android app development?

a)

Xcode

b)

Visual Studio

c)

Android Studio

d)

Eclipse

2.

What is the primary programming language currently preferred for native iOS app development?

a)

Java

b)

Kotlin

c)

Swift

d)

Python

3.

Which of these is a popular cross-platform mobile app development framework?

a)

Xcode

b)

Android Studio

c)

Flutter

d)

Eclipse

4.

Which of the following language primarily used for native Android development?

a)

Kotlin

b)

Objective-C

c)

Swift

d)

Dart

5.

A native mobile app is typically developed for

a)

A single operating system (e.g., iOS or Android)

b)

Multiple operating systems with a single codebase

c)

Web browsers only

d)

Desktop computers only

6.

Differentiate between native and cross-platform development?

a)

Native apps are built specifically for one platform, while cross-platform apps use a single codebase for multiple platforms

b)

Cross-platform apps are compiled separately for each platform.

c)

Native apps run faster because they are written in JavaScript

d)

Cross-platform apps cannot access device hardware

7.

What is the main advantage of using a cross-platform framework like React Native for mobile app development?

a)

Higher app performance

b)

Tight security

c)

Code reusability

d)

Full access to device features

8.

Find the IDE required for iOS app development.

a)

Xcode

b)

Android Studio

c)

IntelliJ IDEA

d)

Eclipse

9.

Which programming language is commonly used for native Android development?

a)

Swift

b)

Objective-C

c)

Java

d)

JavaScript

10.

The primary distribution platform for Android apps is

a)

Google Play Store

b)

Apple App Store

c)

Amazon Appstore

d)

Microsoft Store

11.

Which of the following describes a disadvantage of native app development

a)

Lower app performance

b)

Functionality constraints

c)

Costly and time-consuming

d)

Difficult integrations

12.

What is the purpose of the App Store for iOS apps?

a)

To provide development tools

b)

To distribute apps to users

c)

To manage app lifecycle

d)

To perform app testing

13.

Which of these is a key consideration when choosing between native and cross-platform development, as it affects development time?

a)

App security

b)

User interface (UI) design

c)

Time to market

d)

Network connectivity

14.

Select the programming concept most relevant for handling a tap gesture in a mobile app

a)

Memory management

b)

Event listeners and touch inputs

c)

Database queries

d)

Multithreading

15.

Which development approach typically offers the best performance and closest adherence to platform-specific user interface guidelines?

a)

Cross-platform development

b)

Hybrid app development

c)

Native app development

d)

Progressive web app development

16.

A key advantage of cross-platform app development is:

a)

Superior app performance for graphically intensive applications.

b)

Direct access to all native device features without the need for plugins

c)

Building an app for multiple platforms using a single codebase.

d)

Faster updates for platform-specific features immediately upon release.

17.

Which of the following is a potential disadvantage of cross-platform app development?

a)

Higher development costs compared to native development

b)

Longer time to market due to platform-specific codebases

c)

Potential limitations in accessing all native device functionalities

d)

Increased maintenance effort due to separate codebases

18.

You're on a tight budget and need to launch an app on both Android and iOS quickly. Which development approach would be more suitable?

a)

Native development, as it guarantees superior performance.

b)

Cross-platform development, leveraging code reusability and reduced costs.

c)

Hybrid development, though it may compromise on native features

d)

Developing two separate native apps simultaneously

19.

The method used to handle a button click event in Android (Kotlin).

a)

onTouch()

b)

onClick()

c)

setInput()

d)

handleEvent()

20.

Interpret the role of Git in software development.

a)

A cloud service for hosting apps

b)

A tool only used for compiling mobile apps

c)

A version control system that tracks changes in source code

d)

An operating system for developers

21.

In mobile app development, what is the primary role of an event listener?

a)

To create the user interface layout.

b)

To store data persistently within the app

c)

To detect and respond to user interactions or system events

d)

To manage background processes and network requests

22.

Which of the following describes a typical touch gesture used for navigating through a scrolling list or image carousel?

a)

Pinch and Spread

b)

Double Tap

c)

Swipe

d)

Long Press

23.

When a user places a finger on the touch screen, which touch event is typically fired first

a)

touchend

b)

touchmove

c)

touchstart

d)

touchcancel

24.

Which concept allows developers to define a set of actions that should be performed in response to a specific user interaction, like clicking a button or touching the screen?

a)

Data persistence

b)

User authentication

c)

Event handling

d)

View binding

25.

Recall the Git command used to save changes to the local repository.

a)

git pull

b)

git add

c)

git push

d)

git commit

26.

What is an IBAction in the context of iOS development?

a)

A method for storing user preferences

b)

A function called when a specific user interaction occurs

c)

A framework for managing data persistence

d)

A component for creating network requests

27.

What type of Version Control System (VCS) is Git

a)

Distributed Version Control System (DVCS)

b)

Centralized Version Control System (CVCS)

c)

Localized Version Control System (LVCS)

d)

Linear Version Control System

28.

Which command is used to initialize a new Git repository in the current directory

a)

git start

b)

git init

c)

git new

d)

git create

29.

What is the purpose of the Git staging area (also known as the index)?

a)

To permanently store snapshots of the repository's history

b)

To prepare changes before committing them to the local repository

c)

To store all the untracked files

d)

To manage the remote repositories

30.

Which command adds changes from the working directory to the staging area?

a)

git commit

b)

git add

c)

git stage

d)

git push

31.

Choose the reason why Git is useful for mobile development teams

a)

It speeds up app execution on mobile devices

b)

It allows multiple developers to collaborate by tracking and merging code changes

c)

It automatically converts native apps to cross-platform apps

d)

It reduces app size during deployment

32.

What command is used to save the staged changes into the Git repository's history?

a)

git push

b)

git save

c)

git commit

d)

git update

33.

How do you include a message with a commit?

a)

git commit "Your message here"

b)

git commit -m "Your message here"

c)

git message "Your message here"

d)

git add -m "Your message here"

34.

Which command creates a local copy of a remote Git repository

a)

git fork

b)

git copy

c)

git clone

d)

git duplicate

35.

List the tool required to set up the Android development environment

a)

Android Studio

b)

Visual Studio Code

c)

Xcode

d)

Eclipse

36.

What does a Git branch represent

a)

A separate version of the project's codebase

b)

A link to a remote repository

c)

A commit message

d)

A network connection to a Git server

37.

What is the primary function of git pull

a)

To upload local changes to the remote repository

b)

To fetch new changes from the remote repository and merge them into the local branch

c)

To create a new branch

d)

To permanently delete a commit

38.

When does a merge conflict occur in Git?

a)

When two developers work on different files in the same project.

b)

When a developer tries to push changes without first pulling the latest updates.

c)

When two different users make simultaneous, different changes to the same line of a file.

d)

When a branch is created from the master branch

39.

The default UI toolkit for building modern Android apps

a)

XML

b)

Jetpack Compose

c)

SwiftUI

d)

Flexbox

40.

What does the acronym UX primarily focus on?

a)

Visual aesthetics and branding

b)

The overall user journey and satisfaction.

c)

Technical implementation and code efficiency.

d)

Maximizing profit margins for the business

41.

In UI/UX design, what is the importance of consistency?

a)

It makes the interface more visually dynamic and exciting.

b)

It allows for greater flexibility in design choices.

c)

It reduces cognitive load and improves learnability.

d)

It enables faster development and implementation

42.

Which of the following is considered a key usability heuristic, according to Jakob Nielsen?

a)

Emotional engagement.

b)

Memorability.

c)

Aesthetics and visual appeal

d)

Marketing and brand identity

43.

What does the term "affordance" refer to in UI/UX design?

a)

The overall visual aesthetic of the interface

b)

The perceived properties of an object that suggest its use

c)

The emotional response triggered by a design

d)

The accessibility features implemented in the design

44.

The declarative UI framework introduced by Apple for iOS.

a)

Auto Layout

b)

SwiftUI

c)

UIKit

d)

Storyboards

45.

What is the main goal of incorporating feedback in UI/UX design?

a)

To make the interface visually more complex and interesting.

b)

To inform users about their actions and the system's status.

c)

To primarily focus on debugging and technical error detection.

d)

To encourage users to spend more time within the application

46.

Which principle of UI/UX design ensures that the interface can be used by people with a wide range of abilities and disabilities?

a)

Learnability.

b)

Efficiency.

c)

Memorability

d)

Accessibility.

47.

What is the purpose of user research in the UI/UX design process?

a)

To finalize the visual design and aesthetics.

b)

To understand user needs, behaviors, and preferences.

c)

To write the code and implement the interface functionalities.

d)

To conduct A/B testing after the product launch

48.

Which of the following is NOT typically a stage in the UX design process?

a)

Research.

b)

Design.

c)

Evaluation

d)

Tax audit.

49.

The core principle of responsive design.

a)

Adaptive layouts for different screens

b)

Device-specific coding

c)

Fixed layouts

d)

Inline styling

50.

What is the benefit of designing for a mobile-first approach?

a)

It makes the design process longer and more complex.

b)

It forces designers to prioritize essential content and functionality.

c)

It focuses solely on aesthetics and ignores usability.

d)

It makes it difficult to adapt the design to larger screens

51.

What is the goal of balancing user needs and business goals in UX design?

a)

To find common ground and optimize for both user experience and business success.

b)

To always prioritize aesthetics over functionality.

c)

To ensure the design only serves business objectives.

d)

To make the design process faster by ignoring user needs

52.

In Jetpack Compose, which type of object is primarily used to adjust the appearance, layout, and behavior of Composables?

a)

Views

b)

Intents

c)

Modifiers

d)

Adapters

53.

Which of the following is a key advantage of Jetpack Compose compared to XML for Android UI development, regarding development time and boilerplate code?

a)

Deeper view hierarchies

b)

More verbose XML files

c)

Less boilerplate code and faster development

d)

Requires separate XML and Kotlin/Java files

54.

To add space between the content of a Composable and its boundary in Jetpack Compose, you would use the following Modifier

a)

Modifier.margin()

b)

Modifier.space()

c)

Modifier.offset()

d)

Modifier.padding()

55.

Flexbox in React Native

a)

A database system

b)

A networking library

c)

A font rendering tool

d)

A UI layout system for arranging items

56.

In Android XML layouts, what is the attribute used to specify the extra space outside of a View element?

a)

android:layout_padding

b)

android:layout_gravity

c)

android:layout_margin

d)

android:layout_width

57.

Which Android XML Layout type is generally recommended for creating complex, flat hierarchies with fewer nested layouts for better performance

a)

LinearLayout

b)

RelativeLayout

c)

FrameLayout

d)

ConstraintLayout

58.

In SwiftUI, what are the primary constructs used to apply changes or behaviors to a View?

a)

Delegates

b)

Storyboards

c)

Modifiers

d)

Outlets

59.

Which of the following SwiftUI modifiers is used to control the position and size of Views within a layout, based on relationships to each other or their container?

a)

background()

b)

font()

c)

frame()

d)

shadow()

60.

Which of the following SwiftUI layout containers arranges views in a linear fashion, either vertically or horizontally

a)

Grid

b)

FlowLayout

c)

Stack

d)

ZStack

61.

What is the core idea behind responsive design in mobile development?

a)

Designing for a fixed screen size

b)

Creating separate apps for each device

c)

Adapting the UI to different screen sizes and orientations

d)

Prioritizing desktop view over mobile

62.

Which of the following is NOT a fundamental principle of responsive design?

a)

Fluid grids

b)

Flexible images

c)

Fixed layouts

d)

Media queries

63.

In responsive design, what do "fluid grids" primarily use for layout dimensions?

a)

Pixels

b)

Points

c)

Percentages or relative units

d)

Inches

64.

What is the purpose of flexible images in responsive design?

a)

To always display the largest image available

b)

To crop images to fit any screen size

c)

To scale proportionally with their container without distortion

d)

To replace images with text on smaller screens

65.

Recognize the constraint-based layout system in SwiftUI

a)

Auto Layout

b)

GridView

c)

ConstraintLayout

d)

RecyclerView

66.

Which CSS feature allows you to apply different styles based on device characteristics like screen width, height, or orientation?

a)

CSS Transitions

b)

CSS Animations

c)

CSS Transforms

d)

Media Queries

67.

A mobile-first approach to responsive design means:

a)

Designing for large screens first, then shrinking down

b)

Ignoring tablet users

c)

Starting the design for the smallest screen size first

d)

Only building for Android devices

68.

What is a common strategy for responsive navigation on smaller screens?

a)

Displaying all menu items in a horizontal line

b)

Removing the navigation entirely

c)

Using a "hamburger" menu icon to toggle navigation

d)

Always requiring users to search for content

69.

Which HTML tag is crucial for controlling the viewport's size and scaling on mobile devices?

a)

b)

c)

d)

70.

When should you use a @media (min-width: 768px) media query?

a)

When the screen width is exactly 768 pixels

b)

When the screen width is less than 768 pixels

c)

When the screen width is 768 pixels or greater

d)

Only for printing styles

71.

What is adaptive design in contrast to responsive design?

a)

Uses a single layout that adjusts fluidly

b)

Creates multiple fixed layouts for different screen sizes

c)

Focuses only on mobile devices

d)

Primarily uses JavaScript for layout

72.

Which React Native style property is used to define how a component's children are laid out along the main axis?

a)

alignItems

b)

flexWrap

c)

flexDirection

d)

alignSelf

73.

Identify the feature that allows Android apps to switch themes automatically based on user settings

a)

Auto Layout

b)

Adaptive UI

c)

Jetpack Lifecycle

d)

XML Styles

74.

By default, what is the flexDirection in React Native?

a)

row

b)

row-reverse

c)

column-reverse

d)

column

75.

To center items horizontally within a Flexbox container in React Native (assuming default flexDirection: 'column'):

a)

alignItems: 'center'

b)

justifyContent: 'center'

c)

alignSelf: 'center'

d)

flex: 1

76.

Which Flexbox property determines how much a flex item will grow relative to the rest of the flex items in the container?

a)

flexShrink

b)

flexBasis

c)

flexGrow

d)

flexWrap

77.

To make a Flexbox item take up all available space along the main axis, you would typically set which property to 1?

a)

flexDirection

b)

justifyContent

c)

alignItems

d)

flex

78.

To make a Flexbox item take up all available space along the main axis, you would typically set which property to 1?

a)

flexDirection

b)

justifyContent

c)

alignItems

d)

flex

79.

What does alignItems: 'flex-end' do in a React Native Flexbox container with flexDirection: 'row'?

a)

Aligns items to the start of the cross axis (top)

b)

Aligns items to the center of the cross axis

c)

Aligns items to the end of the cross axis (bottom)

d)

Aligns items along the main axis

80.

Which Flexbox property wraps items to the next line when they overflow the container?

a)

overflow

b)

lineWrap

c)

flexWrap

d)

wrapItems

81.

What is the equivalent of a div element in web development for basic layout in React Native?

a)

b)

c)

d)

82.

To distribute items evenly with space around them in a Flexbox container, you would use which justifyContent value?

a)

flex-start

b)

flex-end

c)

space-between

d)

space-around

83.

Recall the UI principle that ensures readability in both light and dark backgrounds

a)

Dark mode support

b)

Accessibility

c)

Responsiveness

d)

Typography scaling

84.

If you set flex: 1 on multiple sibling components within a React Native Flexbox container, what will happen to their width/height (depending on flexDirection)?

a)

They will all have the same fixed size.

b)

Only the first one will expand.

c)

They will shrink to their minimum content size.

d)

They will share the available space equally.

85.

What is the primary purpose of Auto Layout in SwiftUI?

a)

To manually position and size UI elements using explicit coordinates.

b)

To handle network requests asynchronously.

c)

To manage data persistence in Core Data.

d)

To define the layout of UI elements dynamically based on constraints.

86.

Which SwiftUI container view arranges its children vertically?

a)

HStack

b)

ZStack

c)

VStack

d)

Grid

87.

Which SwiftUI container view stacks its children along the Z-axis (overlapping)?

a)

HStack

b)

VStack

c)

ZStack

d)

Grid

88.

In SwiftUI, what are used to modify the behavior or appearance of views?

a)

Protocols

b)

Delegates

c)

Modifiers

d)

Closures

89.

The Android layout system that existed before Jetpack Compose.

a)

FlexboxLayout

b)

XML-based Views

c)

SwiftUI

d)

Storyboards

90.

Which SwiftUI modifier is used to specify the padding around a view?

a)

frame()

b)

margin()

c)

padding()

d)

spacing()

91.

To make a SwiftUI view take up all available width, you can use the frame modifier with which parameter set?

a)

fixedSize()

b)

minWidth: .infinity

c)

maxWidth: .infinity

d)

width: .infinity

92.

Which SwiftUI view is similar to a flexible space in UIKit, pushing content apart within a stack?

a)

Divider()

b)

Rectangle()

c)

Spacer()

d)

EmptyView()

93.

What is the default alignment for items within an HStack in SwiftUI?

a)

Leading

b)

Trailing

c)

Bottom

d)

Center (vertically)

94.

Which SwiftUI modifier would you use to change the font of a Text view?

a)

textSize()

b)

fontFamily()

c)

font()

d)

textStyle()

95.

To define a complex grid-based layout in SwiftUI, which view is specifically designed for this purpose?

a)

HStack

b)

VStack

c)

ZStack

d)

Grid

96.

The SwiftUI component used to display a list of images.

a)

VStack

b)

HStack

c)

List

d)

ZStack

97.

What is a crucial consideration when working with images in mobile apps to ensure good performance and visual quality?

a)

Always use the largest possible image file

b)

Bypass image compression entirely

c)

Optimize image sizes and formats (e.g., WebP, JPEG, PNG)

d)

Load all images at app startup

98.

Which image format is generally preferred for photographs in mobile apps due to its balance of compression and quality?

a)

PNG

b)

GIF

c)

JPEG

d)

BMP

99.

Which image format is better suited for images with transparency or sharp lines, like icons or logos?

a)

JPEG

b)

GIF

c)

PNG

d)

WebP

100.

What is the purpose of image assets in Android development (e.g., in the drawable folder)?

a)

To store app preferences

b)

To define app permissions

c)

To provide images adapted for different screen densities

d)

To manage network requests

101.

How do you typically manage different image resolutions or sizes for various devices in Android?

a)

By manually creating separate image files for each device

b)

By using a single image and letting the OS scale it

c)

By providing different resolution images in drawable folders (e.g., mdpi, hdpi, xhdpi)

d)

By using an external image CDN exclusively

102.

In SwiftUI, how do you specify an image asset to be used in your app?

a)

By its file path as a string

b)

By its name as a string literal (e.g., Image("myImageName"))

c)

By using a URL only

d)

Images are automatically imported and available

103.

What is a benefit of using vector drawable graphics in Android?

a)

Larger file sizes for better quality

b)

Difficulty in scaling without pixelation

c)

Scalable without pixelation, adapts to any screen density

d)

Only supports simple shapes

104.

To use custom fonts in an Android application, where do you typically place the font files?

a)

In the raw folder

b)

In the assets folder

c)

In the res/font folder

d)

In the res/values folder

105.

The property in Jetpack Compose to set text style.

a)

style

b)

textStyl

c)

font

d)

typography

106.

In SwiftUI, to use a custom font you've added to your project, what information do you need to provide?

a)

Only the file extension

b)

The font's origin URL

c)

The font's name and possibly size/weight

d)

A pre-defined SwiftUI enum

107.

What is the primary purpose of themes in mobile app development (Android/iOS)?

a)

To define the app's functionality

b)

To manage database interactions

c)

To apply consistent styling across the application

d)

To handle user authentication

108.

What is a style in Android XML used for?

a)

Defining app logic

b)

Managing network calls

c)

Applying a set of formatting attributes to a View or Window

d)

Handling user input

109.

In Android, if you want to reuse a specific set of colors across your app, where would you define them?

a)

In the strings.xml file

b)

In the styles.xml file

c)

In the colors.xml file

d)

In the layouts.xml file

110.

What is the purpose of a Theme in Android development?

a)

To define the architecture of the app

b)

To handle animations

c)

To apply a consistent style to an entire Activity or Application

d)

To manage external dependencies

111.

Differentiate between Jetpack Compose and XML layouts.

a)

XML is declarative, Compose is imperative

b)

XML is code-driven, Compose is declarative

c)

Both are imperative

d)

Both are declarative

112.

How do you switch between different themes programmatically in an Android application?

a)

By calling changeTheme() on the Activity

b)

By modifying styles.xml at runtime

c)

By using a theme selector component

d)

By calling setTheme() on the Activity before super.onCreate()

113.

In SwiftUI, how can you define and apply a consistent set of styles for different components?

a)

By creating separate View files for each style

b)

By using .environment() modifiers and custom styles/themes

c)

SwiftUI does not support custom styling beyond basic modifiers

d)

By manually applying modifiers to every view

114.

Implementing Dark Mode in mobile apps primarily improves which aspect?

a)

Network speed

b)

App launch time

c)

User experience in low-light environments

d)

Data processing speed

115.

What is adaptive UI?

a)

An interface that only works on tablets

b)

An interface that adapts to network conditions

c)

An interface that responds to various environmental factors (e.g., dark mode, locale, screen size)

d)

An interface designed only for accessibility

116.

In Android, how do you provide different resources (like colors or drawables) for Dark Mode?

a)

By defining them in styles.xml with different names

b)

By using if-else statements in code based on time of day

c)

By placing them in res/values-night and res/drawable-night directories

d)

Dark Mode is handled automatically by the OS