This app displays the questions cards. It is implemented using the following technologies:
- Kotlin
- MVVM (Model-View-ViewModel)
- Jetpack Compose
- Material3
- The app consist of a single screen that transitions between questions.
- Display the question and potential answers, allowing the user to select an answer and move on to another question.
- Display one question at a time.
- App to handles configuration changes (e.g., rotation) and lifecycle changes (e.g., backgrounding the app).
- Use a 'Previous' & 'Next' button navigation pattern to move between questions.
1.True/False Question:
Question:
"True or False: ViewModel survives configuration changes and holds UI-related data."
Answer:
True
2.Single Choice Question:
Question:
"Which layout is recommended when building flexible, responsive UI components in Jetpack Compose?"
Options:
- a) ConstraintLayout
- b) LinearLayout
- c) Column
- d) RelativeLayout
Answer:
c) Column
3.Multi-Choice Question:
Question:
"Which of the following are part of the Android Jetpack suite? (Choose all that apply)"
Options:
- a) DataStore
- b) Hilt
- c) BroadcastReceiver
- d) Navigation Component
Answers:
- a) DataStore
- b) Hilt
- d) Navigation Component
4.Text Input Question:
Question:
"What is the latest android OS version?"
Answers: 15