CCC 4-1

 <!DOCTYPE html>
<html lang="hi">
<head>
    <meta charset="UTF-8">
    <title>LibreOffice Calc Quiz - Pioneer Computer Institute</title>
    <style>
        body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f4f7f6; display: flex; justify-content: center; padding: 20px; }
        #quiz-container { background: #ffffff; padding: 30px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); max-width: 750px; width: 100%; }
        .header { text-align: center; border-bottom: 2px solid #007bff; padding-bottom: 15px; margin-bottom: 20px; }
        .header h1 { color: #007bff; margin: 0; font-size: 24px; }
        .header p { color: #666; font-weight: bold; margin: 5px 0 0; }
        .q-text { font-size: 1.2em; font-weight: 600; margin-bottom: 20px; color: #333; }
        .option { display: block; padding: 12px; margin: 8px 0; border: 2px solid #e1e1e1; border-radius: 8px; cursor: pointer; transition: 0.3s; }
        .option:hover { background-color: #f0f7ff; border-color: #007bff; }
        .correct { background-color: #d4edda !important; border-color: #28a745 !important; color: #155724; }
        .wrong { background-color: #f8d7da !important; border-color: #dc3545 !important; color: #721c24; }
        #next-btn { background-color: #007bff; color: white; padding: 10px 25px; border: none; border-radius: 5px; cursor: pointer; display: none; font-size: 16px; }
    </style>
</head>
<body>

<div id="quiz-container">
    <div class="header">
        <h1>Pioneer Computer Institute</h1>
        <p>Kaptanganj, Azamgarh, U.P., 276141</p>
    </div>
    <div id="quiz-box">
        <div id="question" class="q-text"></div>
        <div id="options"></div>
        <button id="next-btn" onclick="nextQuestion()">अगला प्रश्न (Next Question)</button>
    </div>
    <div id="score-box" style="display:none; text-align:center;"></div>
</div>

<script>
const quizData = [
    {q: "1. What is the default file extension for spreadsheet in LibreOffice Calc? / लिब्रे ऑफिस Calc में स्प्रेडशीट के लिए डिफॉल्ट फाइल एक्सटेंशन क्या है?", a: [".odp", ".ods", ".odd", ".odt"], c: 1},
    {q: "2. In LibreOffice Calc, a formula always starts with a symbol? / लिब्रे ऑफिस Calc में, एक फॉर्मूला हमेशा किस प्रतीक से शुरू होता है?", a: ["%", "$", "&", "="], c: 3},
    {q: "3. What will be the result of the formula = 'Hello' & ' ' & 'World'? / सूत्र = 'Hello' & ' ' & 'World' का परिणाम क्या होगा?", a: ["'Hello' & ' ' & 'World'", "Hello & &", "Hello World", "None of the above"], c: 2},
    {q: "4. What will be the result of the formula = COUNT(B1:B3)? (Where B1=5, B2=4, B3=6) / सूत्र = COUNT(B1:B3) का परिणाम क्या होगा?", a: ["15", "3", "4", "5"], c: 1},
    {q: "5. How many types of cell references are there in LibreOffice Calc? / लिब्रे ऑफिस Calc में कितने सेल रेफरेन्सेस होते हैं?", a: ["1", "3", "2", "4"], c: 1},
    {q: "6. If the cell address changes by copying the formula, the address is known as? / यदि फार्मूला को कॉपी करके सेल एड्रेस बदल जाता है, तो यह क्या कहलाता है?", a: ["Relative address", "Absolute address", "Mixed address", "Dynamic address"], c: 0},
    {q: "7. In which menu is the option of Find and Replace in LibreOffice? / लिब्रे ऑफिस में Find and Replace विकल्प किस मेनू में होता है?", a: ["File", "View", "Edit", "Window"], c: 2},
    {q: "8. How many rows and columns are maximum in LibreOffice Calc? / लिब्रेऑफिस Calc में अधिकतम पंक्तियाँ और स्तम्भ कितने होते हैं?", a: ["1048576 or 1024", "1048576 or 16384", "16384 or 1048576", "1024 or 1048576"], c: 0},
    {q: "9. What is the maximum number of worksheets a LibreOffice Calc can have? / एक लिब्रे ऑफिस Calc में अधिकतम कितनी वर्कशीट हो सकती है?", a: ["256", "1028", "10000", "None of these"], c: 2},
    {q: "10. Which key is used to create a new line or paragraph inside the cell of LibreOffice Calc? / सेल के अंदर नई लाइन बनाने के लिए किस कुंजी का उपयोग होता है?", a: ["Shift + Enter", "Alt + Enter", "Tab", "Enter"], c: 1},
    {q: "11. What is the result of =MAX(B1:B3) + MIN(B1:B3)? (Where B1=5, B2=2, B3=7) / सूत्र =MAX(B1:B3) + MIN(B1:B3) का परिणाम क्या होगा?", a: ["7,2", "7+2", "9", "5,7"], c: 2},
    {q: "12. What is the result of =CONCATENATE('CCC', ' Rahul as Authors')? / सूत्र =CONCATENATE('CCC', ' Rahul as Authors') का परिणाम क्या होगा?", a: ["CCC", "CCC Rahul", "CCC Rahul as Authors", "CCC Rahul"], c: 2},
    {q: "13. What is the result of =IF(C2>20; 'Yes', 'No') where C2=5? / सूत्र =IF(C2>20; 'Yes', 'No') का परिणाम क्या होगा (जहाँ C2=5)?", a: ["Yes", "No", "Either Yes or No", "None"], c: 1},
    {q: "14. Which shortcut key is used for full screen in LibreOffice? / लिब्रे ऑफिस में फुल स्क्रीन के लिए किस शॉर्टकट का प्रयोग होता है?", a: ["Ctrl + Shift + F", "Ctrl + Shift + J", "Ctrl + J", "None"], c: 1},
    {q: "15. What is the shortcut to insert function in LibreOffice Calc? / लिब्रेऑफिस Calc में फंक्शन इन्सर्ट करने की शॉर्टकट क्या है?", a: ["Shift + F3", "Ctrl + F2", "Ctrl + F3", "Alt + F3"], c: 1},
    {q: "16. In which category are COS, EVEN, FACT, EXP functions? / COS, EVEN, FACT, EXP फंक्शन्स किस केटेगरी में होते हैं?", a: ["Data", "Math and String", "Mathematical", "String"], c: 2},
    {q: "17. What is the shortcut key of print preview in LibreOffice Calc? / लिब्रे ऑफिस में प्रिंट प्रीव्यू के लिए शॉर्टकट क्या है?", a: ["Ctrl + Shift + O", "Ctrl + Shift + P", "Ctrl + P", "None"], c: 0},
    {q: "18. Which key is used to edit the cell in edit mode? / सेल को एडिट मोड में करने के लिए कौन-सी की प्रयोग की जाती है?", a: ["F2", "Ctrl + Shift + M", "Ctrl + M", "F3"], c: 0},
    {q: "19. Which shortcut key is used to insert time in LibreOffice Calc? / लिब्रे ऑफिस Calc में टाइम इन्सर्ट करने के लिए शॉर्टकट?", a: ["Ctrl + Shift + ;", "Ctrl + ;", "Ctrl + T", "None"], c: 0},
    {q: "20. Which shortcut key is used for cell formatting in LibreOffice Calc? / लिब्रे ऑफिस Calc में सेल फोर्मेटिंग के लिए शॉर्टकट?", a: ["Ctrl + 1", "Ctrl + F2", "Ctrl + 2", "Ctrl + M"], c: 0},
    {q: "21. In which menu is the Merge Cells command found? / लिब्रे ऑफिस Calc में मर्ज सेल्स कमांड किस मेनू में पाई जाती है?", a: ["Format", "Style", "Sheet", "Edit"], c: 0},
    {q: "22. What is the shortcut to delete a cell? / एक सेल को डिलीट करने का शॉर्टकट क्या है?", a: ["Ctrl + +", "Ctrl + -", "Ctrl + D", "Delete"], c: 1},
    {q: "23. In LibreOffice Calc we cannot Zoom more than a maximum of? / लिब्रे ऑफिस Calc में अधिकतम जूम कितना हो सकता है?", a: ["300%", "200%", "400%", "600%"], c: 3},
    {q: "24. How many columns are there in LibreOffice Calc? / लिब्रे ऑफिस Calc में कितने कोलम्स होते हैं?", a: ["1024", "1048576", "16384", "None"], c: 2},
    {q: "25. Which shortcut key is used to select the entire row? / पूरी पंक्ति (row) को सेलेक्ट करने के लिए शॉर्टकट?", a: ["Ctrl + Space", "Shift + Space", "Ctrl + Shift + Page Down", "None"], c: 1},
    {q: "26. By which name is the LibreOffice Calc file saved by default? / लिब्रे ऑफिस Calc फाइल डिफॉल्ट किस नाम से सेव होती है?", a: ["Untitled1", "Calc1", "Spreadsheet1", "None"], c: 0},
    {q: "27. Which key do you use to comment in LibreOffice? / लिब्रे ऑफिस में कमेंट के लिए किस कुंजी का उपयोग करते हैं?", a: ["Ctrl + Shift + C", "Ctrl + C", "Ctrl + Alt + C", "None"], c: 2},
    {q: "28. Which key do you use to convert a number to currency format? / नंबर को करेंसी फॉर्मेट में बदलने के लिए शॉर्टकट?", a: ["Ctrl + Shift + 1", "Ctrl + Shift + 4", "Ctrl + Shift + 5", "Ctrl + Shift + 3"], c: 1},
    {q: "29. What is the shortcut to clear the direct format in LibreOffice Calc? / डायरेक्ट फॉर्मेट क्लियर करने के लिए शॉर्टकट?", a: ["Ctrl + V", "Ctrl + M", "Ctrl + Shift + F", "Ctrl + 1"], c: 1},
    {q: "30. Where is the name box found? / नेम बॉक्स कहाँ पाया जाता है?", a: ["Top left side of menu bar", "Bottom left side of menu bar", "On the status bar", "Right side below menu bar"], c: 0},
    {q: "31. Which shortcut key is used to highlight a value in LibreOffice Calc? / लिब्रे ऑफिस Calc में वैल्यू हाईलाइट करने के लिए शॉर्टकट?", a: ["Ctrl + F8", "Ctrl + F6", "Ctrl + F1", "None"], c: 0},
    {q: "32. Where does the address of a cell appear? / लिब्रे ऑफिस Calc में सेल एड्रेस कहाँ दिखता है?", a: ["Formula Bar", "Name box", "Status bar", "None"], c: 1},
    {q: "33. Which key is used to select the entire sheet? / पूरी शीट को सेलेक्ट करने के लिए शॉर्टकट?", a: ["Ctrl + A", "Ctrl + Shift + Space", "Ctrl + Shift + A", "A & B both"], c: 3},
    {q: "34. In Calc we have a shortcut to insert date? / Calc में डेट को इन्सर्ट करने की शॉर्टकट की क्या है?", a: ["Ctrl + ;", "Ctrl + :", "Ctrl + Shift + ;", "Ctrl + Shift + 1000"], c: 0},
    {q: "35. To break a merged cell, select the cell and click on the button? / मर्ज सेल को ब्रेक करने के लिए किस पर क्लिक करेंगे?", a: ["Merge and Center", "Split", "Split and Merge", "Center"], c: 0},
    {q: "36. To write Monday to Sunday in LibreOffice Calc, you will? / Monday to Sunday लिखने के लिए आप क्या करेंगे?", a: ["Type Monday and pull down right corner", "Press enter after typing", "Use week() function", "All of the above"], c: 0},
    {q: "37. LibreOffice Calc uses which key to move left of the cell? / सेल के बाएँ जाने के लिए किस कुंजी का उपयोग होता है?", a: ["Shift + Tab", "Tab", "Alt", "None"], c: 0},
    {q: "38. What is the address of the last column in LibreOffice Calc? / लिब्रे ऑफिस Calc में अंतिम कॉलम का एड्रेस?", a: ["AMJ", "XFD", "AMG", "EMJ"], c: 0},
    {q: "39. What is formed by adding Libre Office Calc row and column? / लिब्रे ऑफिस कैल्क में row और column से क्या बनता है?", a: ["Cell", "Table", "Position", "Data"], c: 0},
    {q: "40. Which sign is visible when there is a formula error? / फॉर्मूला एरर होने पर कौन सा चिन्ह दिखता है?", a: ["#", "$", "@", "!"], c: 0},
    {q: "41. What will be the value of PRODUCT(7, -5)? / PRODUCT(7, -5) का मान क्या होगा?", a: ["35", "-35", "12", "2"], c: 1},
    {q: "42. What will be the value of 10*20/48? / 10*20/48 का मान क्या होगा?", a: ["4.16", "6.25", "7", "500"], c: 0},
    // True/False
    {q: "43. Spreadsheet allows us to organize, analyze and store data? / स्प्रेडशीट डेटा को व्यवस्थित और स्टोर करने की अनुमति देती है?", a: ["True", "False"], c: 0},
    {q: "44. LibreOffice Calc spreadsheet can have only one sheet? / क्या Calc में केवल एक शीट हो सकती है?", a: ["True", "False"], c: 1},
    {q: "45. Calc has number left alignment and alphabet right alignment? / क्या Calc में नंबर लेफ्ट और अल्फाबेट राइट एलाइनमेंट होता है?", a: ["True", "False"], c: 1},
    {q: "46. LibreOffice Calc provides auto calculator feature? / क्या Calc ऑटो कैलकुलेटर सुविधा प्रदान करता है?", a: ["True", "False"], c: 0},
    {q: "47. In LibreOffice Calc can you convert whole cell into one cell? / क्या पूरे सेल को एक सेल में बदल सकते हैं?", a: ["True", "False"], c: 1},
    {q: "48. In LibreOffice Calc and Writer, does Ctrl+D have same function? / क्या Calc और Writer में Ctrl+D का काम समान है?", a: ["True", "False"], c: 1},
    {q: "49. Shortcut key for Standard date format is Ctrl+Shift+3? / क्या डेट फॉर्मेट के लिए Ctrl+Shift+3 है?", a: ["True", "False"], c: 0},
    {q: "50. Ctrl+F8 is used to highlight cells containing values? / क्या Ctrl+F8 वैल्यूज हाईलाइट करता है?", a: ["True", "False"], c: 0},
    {q: "51. Ctrl+Page Up is used in print preview to move to previous page? / क्या Ctrl+Page Up प्रिंट प्रीव्यू में पिछला पेज दिखाता है?", a: ["True", "False"], c: 0},
    {q: "52. To move current field right we use Ctrl+Right Arrow? / क्या फील्ड को दाईं ओर ले जाने के लिए Ctrl+Right Arrow है?", a: ["True", "False"], c: 0},
    {q: "53. To display options for current field we use Alt+O? / क्या विकल्प के लिए Alt+O है?", a: ["True", "False"], c: 0},
    {q: "54. To optimize column width we use Alt+Shift+Arrow Key? / क्या कॉलम विड्थ के लिए Alt+Shift+Arrow है?", a: ["True", "False"], c: 0},
    {q: "55. To show or hide Navigator we use F4 key? / क्या नेविगेटर के लिए F4 है?", a: ["True", "False"], c: 0},
    {q: "56. Sidebar has five panels: Styles, Character, Number Format, Alignment, Cell Appearance? / क्या साइडबार में ये पाँच पैनल होते हैं?", a: ["True", "False"], c: 0},
    {q: "57. Import and export of spreadsheets cannot be done in multiple formats? / क्या स्प्रेडशीट का एक्सपोर्ट/इम्पोर्ट कई फॉर्मेट में नहीं हो सकता?", a: ["True", "False"], c: 1},
    {q: "58. Formula Bar is permanently docked and cannot be used as floating? / क्या फॉर्मूला बार फ्लोटिंग नहीं हो सकता?", a: ["True", "False"], c: 1},
    {q: "59. Each sheet can have max 1,048,576 rows and 1024 columns? / क्या शीट में 1,048,576 पंक्तियाँ और 1024 कॉलम होते हैं?", a: ["True", "False"], c: 0},
    {q: "60. Spreadsheet files are not saved in ODF format? / क्या फाइलें ODF में सेव नहीं होतीं?", a: ["True", "False"], c: 1},
    {q: "61. F6 is used to check spelling? / क्या F6 स्पेलिंग चेक के लिए है?", a: ["True", "False"], c: 0},
    {q: "62. Styles and formatting deck contains a single panel? / क्या स्टाइल पैनल में एक सिंगल पैनल होता है?", a: ["True", "False"], c: 0},
    {q: "63. To unfreeze rows/columns we go to View -> Freeze Rows and Columns? / क्या फ्रीज हटाने के लिए व्यू में जाना होता है?", a: ["True", "False"], c: 0},
    {q: "64. To display comment attached to cell Ctrl+F2 is used? / क्या कमेंट के लिए Ctrl+F2 है?", a: ["True", "False"], c: 1},
    {q: "65. Automatic wrapping text option is found in Alignment tab? / क्या रैपिंग टेक्स्ट एलाइनमेंट टैब में होता है?", a: ["True", "False"], c: 0}
];

let currentQ = 0, score = 0;

function loadQuestion() {
    const data = quizData[currentQ];
    document.getElementById('question').innerText = data.q;
    const optionsDiv = document.getElementById('options');
    optionsDiv.innerHTML = '';
    data.a.forEach((opt, index) => {
        const div = document.createElement('div');
        div.className = 'option';
        div.innerText = opt;
        div.onclick = () => checkAnswer(index, div);
        optionsDiv.appendChild(div);
    });
    document.getElementById('next-btn').style.display = 'none';
}

function checkAnswer(selectedIdx, element) {
    const correctIdx = quizData[currentQ].c;
    const options = document.querySelectorAll('.option');
    options.forEach(o => o.onclick = null);
    if (selectedIdx === correctIdx) {
        element.classList.add('correct');
        score++;
    } else {
        element.classList.add('wrong');
        options[correctIdx].classList.add('correct');
    }
    document.getElementById('next-btn').style.display = 'block';
}

function nextQuestion() {
    currentQ++;
    if (currentQ < quizData.length) {
        loadQuestion();
    } else {
        document.getElementById('quiz-box').style.display = 'none';
        const s = document.getElementById('score-box');
        s.style.display = 'block';
        s.innerHTML = `<h2>क्विज़ समाप्त!</h2><p>आपका स्कोर: ${score} / ${quizData.length}</p>`;
    }
}
loadQuestion();
</script>
</body>
</html>

CCC 10-2

a Cybersecurity Quiz - Pioneer Computer Institute Pioneer Computer Institute Kaptanganj, Az...