Intern Selection Task: Quiz App with Multiple Screens
Task Description:
Create a mobile quiz app in React Native with multiple screens.
Requirements:
1. Screens:
a. Home Screen:
i. Shows app title and a “Start Quiz” button.
b. Quiz Screen:
i. Displays a question with 3–4 options (multiple choice).
ii. When a user selects an option, show feedback (“Correct” / “Wrong”)
and move to the next question.
c. Result Screen:
i. Shows score (e.g., 3/5) and a button to restart quiz.
2. Quiz Logic:
a. Store questions and answers in a JSON array or local state.
b. Keep track of current question number and user score.
c. Navigate between screens using React Navigation.
3. Technical Requirements:
a. Use functional components and React Hooks (useState, useEffect).
b. Use React Navigation for moving between screens.
c. Optional: style screens nicely with basic layout and colors.
4. Bonus:
a. Show a progress bar for quiz progress.
b. Shuffle questions or options randomly.
c. Store previous results using AsyncStorage.
Evaluation Criteria:
• Understanding of multi-screen apps and navigation.
• Ability to manage state across components/screens.
• Logical thinking in scoring and progressing through the quiz.
• Clean, readable, and modular code.
• Basic UI/UX design sense.