Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

IT13 (Finals) - Quiz 3

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Why is a thoughtfully crafted UI considered essential in mobile applications?

a)

It primarily reduces the application's file size.

b)

It simplifies the backend development process.

c)

It enhances user engagement and overall usability.

d)

It allows for easier deployment to app stores.

2.

In React Native's declarative UI approach, what is the primary role of the developer?

a)

To directly manipulate the DOM elements at runtime.

b)

To describe what the UI should look like, letting React handle rendering.

c)

To write imperative commands for each UI state change.

d)

To manage memory allocation for UI components.

3.

Which core React Native component is described as the most fundamental building block, similar to a 'div' in web development?

a)

Text

b)

Image

c)

View

d)

Button

4.

What is the primary function of the 'Text' component in React Native?

a)

To create interactive forms.

b)

To display images from local assets.

c)

To display textual content.

d)

To define layout containers.

5.

Which core React Native component is used specifically for user input?

a)

View

b)

TextInput

c)

Button

d)

Image

6.

For creating custom interactive elements in React Native, which components are recommended?

a)

View and Text

b)

Image and Button

c)

TouchableOpacity and Pressable

d)

ScrollView and FlatList

7.

What type of layout system is Flexbox described as?

a)

A three-dimensional layout system.

b)

A grid-based layout system.

c)

A one-dimensional layout system.

d)

A table-based layout system.

8.

By default, what is the 'flexDirection' in Flexbox, causing items to display vertically?

a)

row

b)

wrap

c)

column

d)

row-reverse

9.

To display Flexbox items horizontally, which 'flexDirection' value should be used?

a)

column

b)

row

c)

wrap

d)

horizontal

10.

Which Flexbox property is used for alignment along the main axis?

a)

alignItems

b)

flexWrap

c)

justifyContent

d)

alignSelf

11.

Which Flexbox property is used for alignment along the cross axis, with 'stretch' being a common value?

a)

justifyContent

b)

flexDirection

c)

alignItems

d)

flex

12.

Which advanced Flexbox property controls how a flex item grows or shrinks to fill available space?

a)

flexWrap

b)

alignSelf

c)

gap

d)

flex

13.

To override the 'alignItems' property for a specific individual flex item, which property should be used?

a)

justifyContent

b)

alignSelf

c)

flexDirection

d)

flexGrow

14.

What is a significant disadvantage of using inline styles in larger React Native projects?

a)

They always cause performance issues.

b)

They prevent the use of Flexbox.

c)

They can lead to less readable and maintainable code.

d)

They only support a limited set of CSS properties.

15.

What is the primary benefit of using 'StyleSheet.create' for styling in Expo projects, especially in larger applications?

a)

It allows for direct DOM manipulation.

b)

It removes the need for any styling properties.

c)

It enhances performance and readability.

d)

It automatically generates styles based on component names.