9th Class Computer Science Full Book Urdu Medium Online MCQ Test With Answer

Computer science is a Field of study that deals with the science of computers and its programs, hardware and software. As a subject It is being taught in schools and colleges.

9th class Students can analyze their self by attempting this online test system as many time as they want until unless they find their self fully prepared. 9th class students are advised to attempt this online test for computer science subject. 9th class Students of all BISES can evaluate their preparation here on ilmkiunya.

Computer Science 9th Class Urdu Medium Online Test

Try The Computer Science 9th Class Urdu Medium Online Test

  • Total Questions10

  • Time Allowed15

Computer Science 9th Class Urdu Medium Online Test

00:00
Question # 1

ایک انٹیچر کو ذخیرہ کرنے کےلے کتنے بائٹس استعمال ہوتے ہیں

Question # 2

یہ ایک نان کمپریسڈ فارمیٹ ہے جو اعلی معایر کو برقرار رکھتا ہے۔

Question # 3

مسلسل ڈیٹا کی مثال کیا ہے۔

Question # 4

 یہ ٹپالوجی بہت قابل اعتماد ہے کیوں کہ اگر ایک لنک ناکام ہوجاتا ہے تو ڈیٹا کو دوسرے لنکس کے زریعے ڈیٹا کو دوبارہ روٹ کیا جاسکتاہے۔

Question # 5

 مخفف ہے۔CSS

Question # 6

یہ پروگراموں اور ہدایات کا ایک مجموعہ ہے جو کمپیٹر کو بتتا ہے کہ کیا اور کیسے کرتا ہے۔

Question # 7

اس گیٹ کی فعالیت یہ کے اس کا نتیجہ صفر صرف اس وقت ہوتا ہے جب دونوں ان پٹ قیمتیں صفر ہوں

Question # 8

 اس سیکشن میں ویب پیچ کا مواد شامل ہے جو آپ براوزر میں دیکھتے ہیں

  • `).join(""); holder.innerHTML += `
    Question # ${index + 1}

    ${q.question}

    ${questionImgHtml}
      ${choicesHtml}
    `; }); setupNavigation(); targetBox.classList.add("visible"); }); } let topicBoardQuestions = []; let topicBoardIndex = 0; let topicBoardAnswers = {}; let topicBoardStartTime; let topicBoardTimerInterval; let topicBoardTestTitle = ""; let topicBoardTestUrl = ""; /* ========================= MODE SWITCH ========================= */ function setMode(mode) { const container = document.getElementById("topic-pol"); const holder = container.querySelector("#topic-holder"); const answers = container.querySelector("#topic-answers"); const nav = container.querySelector(".last-box"); const btns = container.querySelector(".last-box-btns"); if (mode === "quiz") { holder.style.display = "block"; answers.style.display = "none"; if (nav) nav.style.display = "flex"; if (btns) btns.style.display = "block"; } else { holder.style.display = "none"; answers.style.display = "block"; if (nav) nav.style.display = "none"; if (btns) btns.style.display = "none"; } container.scrollTop = 0; } /* ========================= RESET EVERYTHING ========================= */ function resetTopicBoardUI() { if (topicBoardTimerInterval) { clearInterval(topicBoardTimerInterval); } topicBoardQuestions = []; topicBoardAnswers = {}; topicBoardIndex = 0; const container = document.getElementById("topic-pol"); container.querySelector("#topic-holder").innerHTML = "

    Loading...

    "; container.querySelector("#topic-ans-box").innerHTML = ""; container.querySelector("#topic-display").innerText = "00:00"; const nav = container.querySelector(".last-box"); const btns = container.querySelector(".last-box-btns"); const answers = container.querySelector("#topic-answers"); const holder = container.querySelector("#topic-holder"); // ✅ FORCE SHOW nav.style.display = "flex"; btns.style.display = "block"; holder.style.display = "block"; answers.style.display = "none"; // Show login/submit buttons based on user status const topicFakeSubmit = document.querySelector('.topic-fake-submit'); const topicRealSubmit = document.querySelector('.topic-real-submit'); if (window.isUserLoggedIn) { if (topicFakeSubmit) topicFakeSubmit.style.display = 'none'; if (topicRealSubmit) topicRealSubmit.style.display = 'inline-block'; } else { if (topicFakeSubmit) topicFakeSubmit.style.display = 'inline-block'; if (topicRealSubmit) topicRealSubmit.style.display = 'none'; } // 🔥 IMPORTANT: REMOVE ANY OLD INLINE HIDING nav.style.removeProperty("display"); btns.style.removeProperty("display"); // 🔥 RESET BUTTON STATES const prev = container.querySelector(".topic-prev"); const next = container.querySelector(".topic-next"); prev.classList.remove("active"); next.classList.remove("active"); prev.style.opacity = "0.5"; prev.style.pointerEvents = "none"; next.style.opacity = "1"; next.style.pointerEvents = "auto"; } /* ========================= OPEN QUIZ ========================= */ function openTopicBoardTest(apiUrl) { resetTopicBoardUI(); // ✅ SAVE TEST URL topicBoardTestUrl = apiUrl; fetch(apiUrl) .then(res => res.json()) .then(data => { // ✅ SAVE TITLE topicBoardTestTitle = data.title || "Topic Test"; topicBoardQuestions = data.questions || []; document.getElementById("topic-test-title").innerText = data.title || "Topic Test"; topicBoardIndex = 0; topicBoardAnswers = {}; topicBoardStartTime = new Date(); startTopicBoardTimer(); const container = document.getElementById("topic-pol"); // 🔥 FORCE POPUP OPEN + RESET STATE container.classList.add("visible"); // 🔴 FORCE QUIZ MODE UI setMode("quiz"); renderTopicBoardQuestion(); updateTopicBoardNavButtons(); }); } /* ========================= RENDER QUESTION ========================= */ function renderTopicBoardQuestion() { if (!topicBoardQuestions.length) return; const q = topicBoardQuestions[topicBoardIndex]; const baseImgPath = "https://cdn.ilmkidunya.com/images/ots/mcqs/"; let selected = topicBoardAnswers[topicBoardIndex]; let questionImg = q.questionImage ? `
    ` : ""; let choicesHtml = (q.choices || []) .filter(c => c && c.text) // remove null/empty options .map((c) => { let isSelected = selected === c.value; return `
  • `; }).join(""); document.getElementById("topic-holder").innerHTML = `
    Question # ${topicBoardIndex + 1}

    ${q.question}

    ${questionImg}
      ${choicesHtml}
    `; updateTopicBoardNavButtons(); } /* ========================= SAVE ANSWER ========================= */ function saveTopicBoardAnswer(index, value, el) { topicBoardAnswers[index] = value; document.querySelectorAll(`[name="topicBoard_q${index}"]`) .forEach(r => r.closest("li").classList.remove("correct")); el.closest("li").classList.add("correct"); } /* ========================= NAV BUTTONS ========================= */ document.addEventListener("DOMContentLoaded", function () { const container = document.getElementById("topic-pol"); container.querySelector(".topic-next").addEventListener("click", function () { if (topicBoardIndex < topicBoardQuestions.length - 1) { topicBoardIndex++; renderTopicBoardQuestion(); } }); container.querySelector(".topic-prev").addEventListener("click", function () { if (topicBoardIndex > 0) { topicBoardIndex--; renderTopicBoardQuestion(); } }); container.querySelector(".topic-real-submit") .addEventListener("click", submitTopicBoardTest); }); /* ========================= UPDATE NAV STATE ========================= */ function updateTopicBoardNavButtons() { const container = document.getElementById("topic-pol"); const prev = container.querySelector(".topic-prev"); const next = container.querySelector(".topic-next"); if (!topicBoardQuestions.length) return; prev.classList.toggle("active", topicBoardIndex > 0); next.classList.toggle("active", topicBoardIndex < topicBoardQuestions.length - 1); } /* ========================= TIMER ========================= */ function startTopicBoardTimer() { const el = document.getElementById("topic-display"); topicBoardTimerInterval = setInterval(() => { let diff = Math.floor((new Date() - topicBoardStartTime) / 1000); let min = Math.floor(diff / 60); let sec = diff % 60; el.innerText = `${min}:${sec < 10 ? '0' : ''}${sec}`; }, 1000); } /* ========================= SUBMIT ========================= */ function submitTopicBoardTest() { // ✅ exact end time when user clicks submit let topicBoardEndTime = new Date(); // ✅ stop timer immediately clearInterval(topicBoardTimerInterval); /* ========================= COLLECT QUIZ INFO ========================= */ let totalQuestions = topicBoardQuestions.length; let totalCorrect = 0; topicBoardQuestions.forEach((q, i) => { let userAnswer = topicBoardAnswers[i] || null; let correctAns = ["A","B","C","D","E"][q.correctAnswer - 1]; if (userAnswer === correctAns) { totalCorrect++; } }); // ✅ duration in seconds let totalSeconds = Math.floor( (topicBoardEndTime - topicBoardStartTime) / 1000 ); // ✅ FINAL QUIZ OBJECT let quizInfo = { TestTitle: topicBoardTestTitle, TestUrl: window.location.href, TotalQuestions: totalQuestions, CorrectAnswers: totalCorrect, wrongAnswers: totalQuestions - totalCorrect, attemptedQuestions: Object.keys(topicBoardAnswers).length, duration: totalSeconds, MemberId:userID, TestId: testId, TotalMarks:totalQuestions }; // ✅ SAVE QUIZ INFO FIRST fetch("/OTS/SaveQuizResult", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(quizInfo) }) .then(res => res.json()) .then(response => { console.log("Saved Successfully", response); /* ========================= SHOW RESULT ========================= */ let html = ""; const baseImgPath = "https://cdn.ilmkidunya.com/images/ots/mcqs/"; topicBoardQuestions.forEach((q, i) => { let user = topicBoardAnswers[i] || null; let correctAns = ["A","B","C","D","E"][q.correctAnswer - 1]; let choicesHtml = (q.choices || []).map((c) => { let className = ""; if (c.value === correctAns) className = "correct"; else if (c.value === user) className = "wrong"; return `
  • `; }).join(""); html += `
    Question # ${i + 1} ${ !user ? `(Not Selected)` : user === correctAns ? `(Correct)` : `(Wrong)` }

    ${q.question || ""}

      ${choicesHtml}
    `; }); document.getElementById("topic-ans-box").innerHTML = html; setMode("result"); }) .catch(err => { console.error("Save Error:", err); alert("Error saving quiz result"); }); } // ==================== EXPORT FUNCTIONS TO GLOBAL SCOPE ==================== window.loadResultInPopup = loadResultInPopup; window.closeResultModal = closeResultModal; window.downloadCertificate = downloadCertificate; window.printCertificateImage = printCertificateImage; window.saveTopicAnswer = saveTopicAnswer;

Share your comments & questions here

Guest
  • Muhammad

    Muhammad

    11 Nov 2019

    Hi

    Like
    Reply
  • Guest User

    Guest User

    13 Sep 2019

    Nice yar

    Like
    Reply
  • Hammad ahmad

    Hammad ahmad

    17 Mar 2019

    My test good

    Like
    Reply
  • SAJIDA

    SAJIDA

    05 Dec 2018

    computer notes short question

    Like
    Reply
  • User0

    User0

    19 Oct 2018

    what is computer stand for

    Like
    Reply