21 C
New York
Tuesday, April 14, 2026

Buy now

spot_img
Home Blog

Primary 3 – Unit 7: TRANSPORT Quiz

0
Primary 3 Unit 7 Quiz – Transport & Communication

Primary 3 – Unit 7 Quiz 🚦

Time Left: 45:00

🏆 Leaderboard

    Q${index+1}: ${q.q}

    `; q.a.forEach((ans,i)=>{ html += ``; }); html += `
    `; document.getElementById('quizContainer').innerHTML = html; } showQuestion(currentQ); // NAVIGATION document.getElementById('prevBtn').onclick = () => { saveAnswer(); if(currentQ > 0){ currentQ--; showQuestion(currentQ); } }; document.getElementById('nextBtn').onclick = () => { saveAnswer(); if(currentQ < questions.length - 1){ currentQ++; showQuestion(currentQ); } }; // SAVE ANSWER function saveAnswer(){ const selected = document.querySelector('input[name="answer"]:checked'); if(selected){ answers[currentQ] = parseInt(selected.value); } } // LEADERBOARD let leaderboard = JSON.parse(localStorage.getItem('leaderboard')) || []; function updateLeaderboard(score){ const name = prompt("Enter your name:"); if(!name) return; leaderboard.push({name, score}); leaderboard.sort((a,b)=>b.score-a.score); leaderboard = leaderboard.slice(0,10); localStorage.setItem('leaderboard', JSON.stringify(leaderboard)); displayLeaderboard(); } function displayLeaderboard(){ const list = document.getElementById('leaderboardList'); list.innerHTML = ''; leaderboard.forEach(entry=>{ const li = document.createElement('li'); li.textContent = `${entry.name} - ${entry.score}/${questions.length}`; list.appendChild(li); }); } displayLeaderboard(); // SUBMIT document.getElementById('submitBtn').onclick = submitQuiz; function submitQuiz(){ saveAnswer(); clearInterval(timerInterval); let score = 0; answers.forEach((ans,i)=>{ if(ans === questions[i].correct) score++; }); document.getElementById('score').textContent = `🎯 Your Score: ${score} / ${questions.length}`; updateLeaderboard(score); }

    Unit 9 Quiz: Respect for God’s Creatures No 2

    0
    Unit 9 Quiz – Respect for God’s Creatures

    Unit 9 Quiz: Respect for God’s Creatures

    Q${index+1}: ${q.q}

    ${q.a.map((ans, i) => ``).join("")}
    `; container.appendChild(div); }); function submitQuiz() { let score = 0; questions.forEach((q, i) => { const selected = document.querySelector(`input[name="q${i}"]:checked`); if(selected && parseInt(selected.value) === q.correct) score++; }); document.getElementById("result").innerText = `Your score: ${score} / ${questions.length}`; }

    Primary Three (P3) Unit 10 Quiz: Not Doing Wrong Things & Asking Forgiveness

    0
    Primary Three (P3) Unit 10 Quiz: Not Doing Wrong Things & Asking Forgiveness
    Primary Three (P3) Unit 10 Quiz: Not Doing Wrong Things & Asking Forgiveness
    Unit 10 Quiz

    📝 Unit 10 Quiz

    Time Left: 45:00

    🏆 Leaderboard

      Q${index+1}: ${q.q}

      ${answers.map(ans => ` `).join("")}
      `; container.appendChild(div); }); // ⏱️ Timer let totalSeconds = 45 * 60; const timerEl = document.getElementById("timer"); const timerInterval = setInterval(() => { let minutes = Math.floor(totalSeconds / 60); let seconds = totalSeconds % 60; timerEl.innerText = `Time Left: ${minutes}:${seconds.toString().padStart(2,'0')}`; totalSeconds--; if(totalSeconds < 0){ clearInterval(timerInterval); submitQuiz(); alert("⏰ Time is up!"); } }, 1000); // ✅ Submit Quiz function submitQuiz(){ clearInterval(timerInterval); const name = document.getElementById("username").value || "Anonymous"; let score = 0; shuffledQuestions.forEach((q, i) => { const selected = document.querySelector(`input[name="q${i}"]:checked`); if(selected && selected.value === q.a[q.correct]){ score++; } }); document.getElementById("result").innerHTML = `🎉 ${name}, your score is ${score}/${shuffledQuestions.length}`; saveToLeaderboard(name, score); } // 🏆 Leaderboard function saveToLeaderboard(name, score){ let board = JSON.parse(localStorage.getItem("quizBoard")) || []; board.push({name, score}); board.sort((a,b) => b.score - a.score); localStorage.setItem("quizBoard", JSON.stringify(board)); displayLeaderboard(); } function displayLeaderboard(){ let board = JSON.parse(localStorage.getItem("quizBoard")) || []; const list = document.getElementById("leaderboardList"); list.innerHTML = ""; board.slice(0,5).forEach(player => { list.innerHTML += `
    • ${player.name} — ${player.score}
    • `; }); } displayLeaderboard();

      P3 ONLINE TEST OF SOCIAL STUDIES AND RELIGIOUS EDUCATION UNIT 11 :Peace and Justice Quiz No 2🕊️

      0
      Peace and Justice Quiz

      Peace and Justice Quiz 🕊️



      🏆 Leaderboard

        ${i+1}. ${q.q}

        ${answers.map(ans=>`
        `).join("")}
        `; }); } function submitQuiz(){ let score = 0; shuffled.forEach((q,i)=>{ let selected = document.querySelector(`input[name="q${i}"]:checked`); if(selected){ if(selected.value === q.a[q.correct]){ score++; } } }); const name = localStorage.getItem("currentUser"); let leaderboard = JSON.parse(localStorage.getItem("leaderboard")) || []; leaderboard.push({name, score}); leaderboard.sort((a,b)=>b.score-a.score); localStorage.setItem("leaderboard", JSON.stringify(leaderboard)); document.getElementById("result").innerHTML = `

        🎉 ${name}, your score is ${score}/50

        `; displayLeaderboard(); } function displayLeaderboard(){ let leaderboard = JSON.parse(localStorage.getItem("leaderboard")) || []; const list = document.getElementById("leaderboardList"); list.innerHTML=""; leaderboard.slice(0,5).forEach(player=>{ list.innerHTML += `
      • ${player.name} - ${player.score}
      • `; }); } displayLeaderboard();

        P3 ONLINE TEST OF SOCIAL STUDIES AND RELIGIOUS EDUCATION Unit 11 : Peace and Justice

        0
        P3 ONLINE TEST OF SOCIAL STUDIES AND RELIGIOUS EDUCATION Unit 11 : Peace and Justice
        P3 ONLINE TEST OF SOCIAL STUDIES AND RELIGIOUS EDUCATION Unit 11 : Peace and Justice

        Unit 11 CBT – Peace and Justice

        Time Left: 45:00
        Leaderboard: Top Scores

        Q${index+1}: ${q.q}

        ${q.a.map((ans,j)=>` `).join('')}
        `; quizForm.appendChild(div); } showQuestion(current); document.getElementById('nextBtn').addEventListener('click', ()=>{ if(current{ if(current>0){ current--; showQuestion(current);} }); // Timer let totalSeconds = 45*60; const timerDisplay = document.getElementById('timer'); const timerInterval = setInterval(()=>{ const min = Math.floor(totalSeconds/60); const sec = totalSeconds%60; timerDisplay.textContent = `Time Left: ${min}:${sec.toString().padStart(2,'0')}`; totalSeconds--; if(totalSeconds<0){ clearInterval(timerInterval); submitQuiz();} },1000); function updateLeaderboard(name, score){ let leaderboard = JSON.parse(localStorage.getItem('leaderboard')) || []; leaderboard.push({name:name, score:score}); leaderboard.sort((a,b)=>b.score - a.score); if(leaderboard.length>5) leaderboard = leaderboard.slice(0,5); localStorage.setItem('leaderboard', JSON.stringify(leaderboard)); const lbDiv = document.getElementById('leaderboard'); lbDiv.innerHTML = 'Leaderboard: Top Scores
        '; leaderboard.forEach((entry,i)=>{ lbDiv.innerHTML += `${i+1}. ${entry.name} - ${entry.score} / ${questions.length}
        `; }); } function submitQuiz(){ clearInterval(timerInterval); const studentName = document.getElementById('studentName').value || "Anonymous"; let score=0; questions.forEach((q,i)=>{ const selected = document.querySelector(`input[name="q${i}"]:checked`); const feedback = document.getElementById(`feedback${i}`); if(selected && parseInt(selected.value) === q.correct){ score++; feedback.textContent="Correct!"; feedback.className="feedback correct"; } else { feedback.textContent=`Wrong! Correct: ${q.a[q.correct]}`; feedback.className="feedback wrong";} }); document.getElementById('result').innerHTML = `

        ${studentName}, Your Score: ${score} / ${questions.length}

        `; updateLeaderboard(studentName, score); } document.getElementById('submitBtn').addEventListener('click', submitQuiz); })();

        Online Quiz for Primary 3 – Unit 7 Quiz: Transport & Communication.

        0
        Online Quiz for Primary 3 - Unit 7 Quiz: Transport & Communication
        Online Quiz for Primary 3 - Unit 7 Quiz: Transport & Communication

        🚦 CBT Quiz System


        Online Quiz for Primary 3 – Unit 6 Quiz: Environment in Our Sector

        0
        Online Quiz for Primary 3 - Unit 6 Quiz: Environment in Our Sector
        Online Quiz for Primary 3 - Unit 6 Quiz: Environment in Our Sector
        Primary 3 Unit 6 Quiz – Environment

        Primary 3 – Unit 6 Quiz: Environment in Our Sector

        Time Left: 45:00

        Leaderboard

          Q${i+1}: ${q.q}

          `; const answersDiv = document.createElement('div'); answersDiv.className = "answers"; q.a.forEach((ans, j) => { answersDiv.innerHTML += ` `; }); div.appendChild(answersDiv); quizForm.appendChild(div); }); // ==== TIMER ==== let timeLeft = 45 * 60; // 45 minutes const timerEl = document.getElementById('timer'); const timerInterval = setInterval(() => { const min = Math.floor(timeLeft / 60); const sec = timeLeft % 60; timerEl.textContent = `Time Left: ${min}:${sec < 10 ? '0' : ''}${sec}`; timeLeft--; if(timeLeft < 0) { clearInterval(timerInterval); submitQuiz(); } }, 1000); // ==== LEADERBOARD SYSTEM ==== let leaderboard = JSON.parse(localStorage.getItem('leaderboard')) || []; function updateLeaderboard(score) { const name = prompt("Enter your name for leaderboard:"); leaderboard.push({name, score}); leaderboard.sort((a,b) => b.score - a.score); leaderboard = leaderboard.slice(0,10); // keep top 10 localStorage.setItem('leaderboard', JSON.stringify(leaderboard)); displayLeaderboard(); } function displayLeaderboard() { const list = document.getElementById('leaderboardList'); list.innerHTML = ''; leaderboard.forEach((entry, index) => { const li = document.createElement('li'); li.style.backgroundColor = index % 2 === 0 ? '#f1c40f' : '#f39c12'; li.textContent = `${entry.name} - ${entry.score} / ${questions.length}`; list.appendChild(li); }); } displayLeaderboard(); // ==== SUBMIT QUIZ ==== document.getElementById('submitBtn').addEventListener('click', submitQuiz); function submitQuiz() { clearInterval(timerInterval); let score = 0; questions.forEach((q, i) => { const answer = document.querySelector(`input[name="q${i}"]:checked`); if(answer && parseInt(answer.value) === q.correct) { score++; } }); document.getElementById('score').textContent = `Your Score: ${score} / ${questions.length}`; updateLeaderboard(score); }

          Primary 3 – Unit 5 Quiz: Economy

          0
          Primary 3 - Unit 5 Quiz: Economy
          Primary 3 - Unit 5 Quiz: Economy
          Primary 3 Unit 5 Quiz – Economy

          Primary 3 – Unit 5 Quiz: Economy

          Time Left: 45:00

          Leaderboard

            Q${i+1}: ${q.q}

            `; const answersDiv = document.createElement('div'); answersDiv.className = "answers"; q.a.forEach((ans, j) => { answersDiv.innerHTML += ` `; }); div.appendChild(answersDiv); quizForm.appendChild(div); }); // ==== TIMER ==== let timeLeft = 45 * 60; // 45 minutes const timerEl = document.getElementById('timer'); const timerInterval = setInterval(() => { const min = Math.floor(timeLeft / 60); const sec = timeLeft % 60; timerEl.textContent = `Time Left: ${min}:${sec < 10 ? '0' : ''}${sec}`; timeLeft--; if(timeLeft < 0) { clearInterval(timerInterval); submitQuiz(); } }, 1000); // ==== LEADERBOARD SYSTEM ==== let leaderboard = JSON.parse(localStorage.getItem('leaderboard')) || []; function updateLeaderboard(score) { const name = prompt("Enter your name for leaderboard:"); leaderboard.push({name, score}); leaderboard.sort((a,b) => b.score - a.score); leaderboard = leaderboard.slice(0,10); // keep top 10 localStorage.setItem('leaderboard', JSON.stringify(leaderboard)); displayLeaderboard(); } function displayLeaderboard() { const list = document.getElementById('leaderboardList'); list.innerHTML = ''; leaderboard.forEach(entry => { const li = document.createElement('li'); li.textContent = `${entry.name} - ${entry.score} / ${questions.length}`; list.appendChild(li); }); } displayLeaderboard(); // ==== SUBMIT QUIZ ==== document.getElementById('submitBtn').addEventListener('click', submitQuiz); function submitQuiz() { clearInterval(timerInterval); let score = 0; questions.forEach((q, i) => { const answer = document.querySelector(`input[name="q${i}"]:checked`); if(answer && parseInt(answer.value) === q.correct) { score++; } }); document.getElementById('score').textContent = `Your Score: ${score} / ${questions.length}`; updateLeaderboard(score); }

            P3 ONLINE TEST OF SOCIAL STUDIES AND RELIGIOUS EDUCATION UNIT 4 : RELATIONSHIPS AND GOOD BEHAVIOURS

            0
            P3 ONLINE TEST OF SOCIAL STUDIES AND RELIGIOUS EDUCATION UNIT 4 : RELATIONSHIPS AND GOOD BEHAVIOURS
            P3 ONLINE TEST OF SOCIAL STUDIES AND RELIGIOUS EDUCATION UNIT 4 : RELATIONSHIPS AND GOOD BEHAVIOURS

            Primary 3 Unit 4 Quiz – Human Rights & Values

            Primary 3 – Unit 4 Quiz

            Time Left: 45:00

            Leaderboard

              P3 ONLINE TEST OF SOCIAL STUDIES AND RELIGIOUS EDUCATION UNIT 4 : RELATIONSHIPS AND GOOD BEHAVIOURS
              P3 ONLINE TEST OF SOCIAL STUDIES AND RELIGIOUS EDUCATION UNIT 4 : RELATIONSHIPS AND GOOD BEHAVIOURS

              Primary 3 Social Studies – Unit 3 Quiz (Hygiene)

              0
              Primary 3 Social Studies – Unit 3 Quiz (Hygiene)
              Primary 3 Social Studies Unit 3 Quiz – Hygiene

              Primary 3 Social Studies – Unit 3 Quiz (Hygiene)

              Time Remaining: 45:00

              Leaderboard

              RankNameScore

              P3 ONLINE TEST OF SOCIAL STUDIES AND RELIGIOUS EDUCATION UNIT 2 : OUR SECTOR

              0
              P3 ONLINE TEST OF SOCIAL STUDIES AND RELIGIOUS EDUCATION UNIT 2 : OUR SECTOR
              P3 ONLINE TEST OF SOCIAL STUDIES AND RELIGIOUS EDUCATION UNIT 2 : OUR SECTOR
              Primary 3 Social Studies Unit 2 Quiz

              Primary 3 Social Studies – Unit 2 Quiz

              Time Remaining: 45:00

              Leaderboard

              RankNameScore

              P3 ONLINE TEST OF SOCIAL STUDIES AND RELIGIOUS EDUCATION UNIT 1 : AN EXTENDED FAMILY

              0
              P3 ONLINE TEST OF SOCIAL STUDIES AND RELIGIOUS EDUCATION UNIT 1 : AN EXTENDED FAMILY
              P3 ONLINE TEST OF SOCIAL STUDIES AND RELIGIOUS EDUCATION UNIT 1 : AN EXTENDED FAMILY

              Primary 3 CBT – Extended Family

              📘 Primary 3 CBT: Extended Family

              Time: 30:00

              🏆 Leaderboard

                ONLINE QUIZ OF SRS FOR PRIMARY THREE ON Unit 17 PARTIII UNIT4:BRIEF HISTORY OF ALLAH’S PROPHETS BEFORE MOHAMMAD (P3)

                0
                ONLINE QUIZ OF SRS FOR PRIMARY THREE ON Unit 17 PARTIII UNIT4:BRIEF HISTORY OF ALLAH’S PROPHETS BEFORE MOHAMMAD (P3)
                ONLINE QUIZ OF SRS FOR PRIMARY THREE ON Unit 17 PARTIII UNIT4:BRIEF HISTORY OF ALLAH’S PROPHETS BEFORE MOHAMMAD (P3)

                ONLINE QUIZ OF SRS FOR GRADE 3 ON Unit 7: Environment in the Sector (P3)

                0
                ONLINE QUIZ OF SRS FOR GRADE 3 ON Unit 7: Environment in the Sector (P3)
                ONLINE QUIZ OF SRS FOR GRADE 3 ON Unit 7: Environment in the Sector (P3)

                ONLINE QUIZ OF SRS FOR PRIMARY THREE ON Unit 9: Main Historical Events of Our Sector (P3)

                0
                ONLINE QUIZ OF SRS FOR PRIMARY THREE ON Unit 9: Main Historical Events of Our Sector (P3)
                ONLINE QUIZ OF SRS FOR PRIMARY THREE ON Unit 9: Main Historical Events of Our Sector (P3)

                ONLINE QUIZ OF SRS FOR PRIMARY SIX ON Unit 11: Effects of foreigners in East Africa (P6)

                0
                ONLINE QUIZ OF SRS FOR PRIMARY SIX ON Unit 11: Effects of foreigners in East Africa (P6)
                ONLINE QUIZ OF SRS FOR PRIMARY SIX ON Unit 11: Effects of foreigners in East Africa (P6)

                ONLINE QUIZ OF SRS FOR PRIMARY 4 ON Unit 12: “Islamic Faith and the Quran”(P4)

                0
                ONLINE QUIZ OF SRS FOR PRIMARY 4 ON Unit 12: "Islamic Faith and the Quran"(P4)
                ONLINE QUIZ OF SRS FOR PRIMARY 4 ON Unit 12: "Islamic Faith and the Quran"(P4)

                ONLINE QUIZ OF SRS FOR PRIMARY FIVE ON Unit 17: Expansion of Islam(P5)

                0
                ONLINE QUIZ OF SRS FOR PRIMARY FIVE ON Unit 17: Expansion of Islam(P5)
                ONLINE QUIZ OF SRS FOR PRIMARY FIVE ON Unit 17: Expansion of Islam(P5)

                ONLINE QUIZ OF SRS FOR GRADE FIVE ON Unit2: Complementarity and social cohesion in the society (primary 5)

                0
                ONLINE QUIZ OF SRS FOR GRADE FIVE ON Unit2: Complementarity and social cohesion in the society (primary 5)
                ONLINE QUIZ OF SRS FOR GRADE FIVE ON Unit2: Complementarity and social cohesion in the society (primary 5)

                ONLINE QUIZ OF SRS FORGRADE 3 ON Unit 18 PART III UNIT 5: RESPECT YOURSELF AND BE GOOD TO OTHERS(P3)

                0
                ONLINE QUIZ OF SRS FORGRADE 3 ON Unit 18 PART III UNIT 5: RESPECT YOURSELF AND BE GOOD TO OTHERS(P3)
                ONLINE QUIZ OF SRS FORGRADE 3 ON Unit 18 PART III UNIT 5: RESPECT YOURSELF AND BE GOOD TO OTHERS(P3)