Skip to content

amjedab/QuizApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quiz App

This app displays the questions cards. It is implemented using the following technologies:

  • Kotlin
  • MVVM (Model-View-ViewModel)
  • Jetpack Compose
  • Material3

Functionality:

  • 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.

Android Quiz App that uses Compose to display four types of 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages