The Things Quiz (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/SaadAhmed1122/Kids_learnig_App/llms.txt
Use this file to discover all available pages before exploring further.
Vehicals_Act) helps young learners recognise the everyday objects they encounter at home — furniture, appliances, tools, and more. Despite the class name, this activity focuses on household things rather than vehicles. Each of its ten picture questions shows a target object alongside three answer images; the child taps the matching card, receives instant visual feedback, and works through the full set before earning a star rating. The activity slots seamlessly into both standalone play and multi-category Sequence Game sessions.
Launching the Activity
Vehicals_Act is started from FinalmainScreen by calling showthings(). The Intent extra value determines the play mode: 172 for standalone, or 1–7 when the activity is a step in a Sequence Game chain.
When
value is 1–7, the activity is running inside a Sequence Game. It calls finish() on completion rather than launching ScoringPage, handing control back to the sequence chain automatically.Layout
| Property | Value |
|---|---|
| Layout file | activity_vehicals_ |
| Package | com.kidsapp.fiver1 |
| Java class | Vehicals_Act |
| Sequence category label | "Things" |
Question Bank
Ten drawable images (q0–q9) represent the household-object questions. Each question is backed by three option drawables and one correct answer index (0, 1, or 2).
Questions Array
Drawable IDs
q0 through q9 — one household-object image per question, sourced from res/drawable.Options Array
answers[10][3] — three drawable option IDs per question, rendered as side-by-side tappable image cards.Correct Answer Key
| Question index | Drawable | Correct option index |
|---|---|---|
| 0 | q0 | 0 (first card) |
| 1 | q1 | 2 (third card) |
| 2 | q2 | 2 (third card) |
| 3 | q3 | 0 (first card) |
| 4 | q4 | 0 (first card) |
| 5 | q5 | 0 (first card) |
| 6 | q6 | 2 (third card) |
| 7 | q7 | 1 (second card) |
| 8 | q8 | 2 (third card) |
| 9 | q9 | 1 (second card) |
How a Round Plays
Shuffle
random_number_generator() fills queue[] with a randomised ordering of the ten question indices, so children encounter questions in a different sequence each time they play.Display question
displayquestion() loads the current q{n} drawable into the question ImageView and populates the three option cards with their respective drawables.Child taps a card
onClickCard(View) fires and calls condition(), which checks the tapped card’s index against correct_answer[current].Feedback
A correct tap makes a green dot indicator visible. A wrong tap sets that option’s
LinearLayout to GONE, quietly removing it from view.Advance
After a correct tap, the next entry from
queue[] drives displayquestion(). The cycle continues until all ten household-object questions are answered.Feedback Behaviour
Wrong Answer
The tapped option’s
LinearLayout is set to GONE, eliminating that distractor and helping the child narrow down the answer through logical deduction.Correct Answer
A green dot overlay appears on the correct card, giving clear positive reinforcement before the activity moves on to the next question.
End-of-Quiz Logic
Wrong count maps to star ratings and reward images, and the Sequence Game page for how seq values are assigned when categories are chained together.