<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1350638439242049187</id><updated>2026-04-02T14:12:00.687+05:00</updated><category term="Academic Calculators"/><category term="Tools"/><category term="CGPA"/><category term="CGPA Calculator"/><category term="Converter"/><category term="Entry Test"/><category term="IUB Test"/><category term="Marks Percentage Calculator"/><category term="Percentage to CGPA Calculator"/><category term="SGPA to CGPA Calculator"/><category term="Tests"/><title type='text'>Best Online Learning Website </title><subtitle type='html'>🚀 Study Smarter, Succeed Faster! iubians.com The Best Online Learing Website. 📢 Get the latest updates for your Studey.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='https://www.iubians.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1350638439242049187/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='https://www.iubians.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Arshad Mehmood</name><uri>http://www.blogger.com/profile/17555678431430754885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTCfT40t1yZuVB8kRRT53VZLCq_QA1V5TrMWBpsbu4XFUnaoMxlOqBJ7AekF8XXmHrfqNKFpHI7zeunIkhPTqIuCe-KVHwh2imlPcR81ZbUFjIgCgTc49scplYroMIHkkaSVRnjzcGc3sQZK5SYwk4Rp40bel6ytYFcqh1HnqWJpZIKQ/s1600/Gemini_Generated_Image_sjv4jhsjv4jhsjv4.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1350638439242049187.post-570342315505677434</id><published>2026-01-30T10:12:00.003+05:00</published><updated>2026-02-04T13:12:53.258+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Academic Calculators"/><category scheme="http://www.blogger.com/atom/ns#" term="CGPA Calculator"/><title type='text'>CGPA Calculator - Free Onine Accurate Grade Calculator</title><content type='html'>
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;&lt;/meta&gt;
    &lt;meta content=&quot;width=device-width, initial-scale=1.0&quot; name=&quot;viewport&quot;&gt;&lt;/meta&gt;
    &lt;title&gt;GPA Calculator&lt;/title&gt;
    &lt;style&gt;
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: &#39;Segoe UI&#39;, Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
            padding: 20px;
        }
        
        .gpa-container {
            max-width: 800px;
            margin: 0 auto;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            padding: 30px;
        }
        
        h1 {
            text-align: center;
            margin-bottom: 10px;
            color: #2c3e50;
        }
        
        .description {
            text-align: center;
            margin-bottom: 30px;
            color: #7f8c8d;
        }
        
        .calculator-section {
            margin-bottom: 30px;
        }
        
        .section-title {
            font-size: 1.2rem;
            margin-bottom: 15px;
            color: #2c3e50;
            border-bottom: 1px solid #eee;
            padding-bottom: 8px;
        }
        
        .course-inputs {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr auto;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        input, select {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }
        
        button {
            background-color: #3498db;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1rem;
            transition: background-color 0.3s;
        }
        
        button:hover {
            background-color: #2980b9;
        }
        
        .add-course-btn {
            background-color: #2ecc71;
            width: 100%;
            margin-top: 10px;
        }
        
        .add-course-btn:hover {
            background-color: #27ae60;
        }
        
        .courses-list {
            margin-top: 20px;
        }
        
        .course-item {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr auto;
            gap: 10px;
            padding: 12px;
            border-bottom: 1px solid #eee;
            align-items: center;
        }
        
        .course-item:nth-child(even) {
            background-color: #f9f9f9;
        }
        
        .remove-btn {
            background-color: #e74c3c;
            padding: 5px 10px;
            font-size: 0.9rem;
        }
        
        .remove-btn:hover {
            background-color: #c0392b;
        }
        
        .results-section {
            background-color: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            margin-top: 20px;
        }
        
        .gpa-display {
            font-size: 2rem;
            font-weight: bold;
            text-align: center;
            color: #2c3e50;
            margin: 15px 0;
        }
        
        .grade-scale {
            margin-top: 30px;
            font-size: 0.9rem;
            color: #7f8c8d;
        }
        
        .grade-scale table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 10px;
        }
        
        .grade-scale th, .grade-scale td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: center;
        }
        
        .grade-scale th {
            background-color: #f2f2f2;
        }
        
        @media (max-width: 600px) {
            .course-inputs, .course-item {
                grid-template-columns: 1fr;
                gap: 5px;
            }
            
            .gpa-container {
                padding: 15px;
            }
        }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div class=&quot;gpa-container&quot;&gt;
        &lt;h1&gt;GPA Calculator&lt;/h1&gt;
        &lt;p class=&quot;description&quot;&gt;Calculate your Grade Point Average quickly and easily&lt;/p&gt;
        
        &lt;div class=&quot;calculator-section&quot;&gt;
            &lt;h2 class=&quot;section-title&quot;&gt;Add Your Courses&lt;/h2&gt;
            &lt;div class=&quot;course-inputs&quot;&gt;
                &lt;input id=&quot;courseName&quot; placeholder=&quot;Course Name&quot; type=&quot;text&quot; /&gt;
                &lt;input id=&quot;courseCredits&quot; max=&quot;10&quot; min=&quot;1&quot; placeholder=&quot;Credits&quot; type=&quot;number&quot; /&gt;
                &lt;select id=&quot;courseGrade&quot;&gt;
                    &lt;option value=&quot;4.0&quot;&gt;A (4.0)&lt;/option&gt;
                    &lt;option value=&quot;3.7&quot;&gt;A- (3.7)&lt;/option&gt;
                    &lt;option value=&quot;3.3&quot;&gt;B+ (3.3)&lt;/option&gt;
                    &lt;option value=&quot;3.0&quot;&gt;B (3.0)&lt;/option&gt;
                    &lt;option value=&quot;2.7&quot;&gt;B- (2.7)&lt;/option&gt;
                    &lt;option value=&quot;2.3&quot;&gt;C+ (2.3)&lt;/option&gt;
                    &lt;option value=&quot;2.0&quot;&gt;C (2.0)&lt;/option&gt;
                    &lt;option value=&quot;1.7&quot;&gt;C- (1.7)&lt;/option&gt;
                    &lt;option value=&quot;1.3&quot;&gt;D+ (1.3)&lt;/option&gt;
                    &lt;option value=&quot;1.0&quot;&gt;D (1.0)&lt;/option&gt;
                    &lt;option value=&quot;0.0&quot;&gt;F (0.0)&lt;/option&gt;
                &lt;/select&gt;
                &lt;button id=&quot;addCourse&quot;&gt;Add&lt;/button&gt;
            &lt;/div&gt;
            &lt;button class=&quot;add-course-btn&quot; id=&quot;addSampleData&quot;&gt;Add Sample Data&lt;/button&gt;
            
            &lt;div class=&quot;courses-list&quot; id=&quot;coursesList&quot;&gt;
                &lt;!-- Course items will be added here dynamically --&gt;
            &lt;/div&gt;
        &lt;/div&gt;
        
        &lt;div class=&quot;results-section&quot;&gt;
            &lt;h2 class=&quot;section-title&quot;&gt;Your GPA&lt;/h2&gt;
            &lt;div class=&quot;gpa-display&quot; id=&quot;gpaResult&quot;&gt;0.00&lt;/div&gt;
            &lt;button id=&quot;calculateGpa&quot;&gt;Calculate GPA&lt;/button&gt;
            &lt;button id=&quot;resetCalculator&quot; style=&quot;background-color: #95a5a6; margin-left: 10px;&quot;&gt;Reset&lt;/button&gt;
        &lt;/div&gt;
        
        &lt;div class=&quot;grade-scale&quot;&gt;
            &lt;h2 class=&quot;section-title&quot;&gt;Grade Scale&lt;/h2&gt;
            &lt;table&gt;
                &lt;tr&gt;
                    &lt;th&gt;Grade&lt;/th&gt;
                    &lt;th&gt;Grade Points&lt;/th&gt;
                    &lt;th&gt;Grade&lt;/th&gt;
                    &lt;th&gt;Grade Points&lt;/th&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td&gt;A&lt;/td&gt;
                    &lt;td&gt;4.0&lt;/td&gt;
                    &lt;td&gt;C+&lt;/td&gt;
                    &lt;td&gt;2.3&lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td&gt;A-&lt;/td&gt;
                    &lt;td&gt;3.7&lt;/td&gt;
                    &lt;td&gt;C&lt;/td&gt;
                    &lt;td&gt;2.0&lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td&gt;B+&lt;/td&gt;
                    &lt;td&gt;3.3&lt;/td&gt;
                    &lt;td&gt;C-&lt;/td&gt;
                    &lt;td&gt;1.7&lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td&gt;B&lt;/td&gt;
                    &lt;td&gt;3.0&lt;/td&gt;
                    &lt;td&gt;D+&lt;/td&gt;
                    &lt;td&gt;1.3&lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td&gt;B-&lt;/td&gt;
                    &lt;td&gt;2.7&lt;/td&gt;
                    &lt;td&gt;D&lt;/td&gt;
                    &lt;td&gt;1.0&lt;/td&gt;
                &lt;/tr&gt;
                &lt;tr&gt;
                    &lt;td&gt;&lt;/td&gt;
                    &lt;td&gt;&lt;/td&gt;
                    &lt;td&gt;F&lt;/td&gt;
                    &lt;td&gt;0.0&lt;/td&gt;
                &lt;/tr&gt;
            &lt;/table&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;script&gt;
        document.addEventListener(&#39;DOMContentLoaded&#39;, function() {
            const courses = [];
            
            // DOM Elements
            const courseNameInput = document.getElementById(&#39;courseName&#39;);
            const courseCreditsInput = document.getElementById(&#39;courseCredits&#39;);
            const courseGradeSelect = document.getElementById(&#39;courseGrade&#39;);
            const addCourseButton = document.getElementById(&#39;addCourse&#39;);
            const addSampleDataButton = document.getElementById(&#39;addSampleData&#39;);
            const coursesList = document.getElementById(&#39;coursesList&#39;);
            const calculateGpaButton = document.getElementById(&#39;calculateGpa&#39;);
            const resetButton = document.getElementById(&#39;resetCalculator&#39;);
            const gpaResult = document.getElementById(&#39;gpaResult&#39;);
            
            // Add course function
            function addCourse() {
                const name = courseNameInput.value.trim();
                const credits = parseInt(courseCreditsInput.value);
                const grade = parseFloat(courseGradeSelect.value);
                
                if (!name || isNaN(credits) || credits &lt;= 0) {
                    alert(&#39;Please enter a valid course name and credits&#39;);
                    return;
                }
                
                const course = {
                    id: Date.now(),
                    name,
                    credits,
                    grade
                };
                
                courses.push(course);
                renderCourses();
                clearInputs();
            }
            
            // Render courses list
            function renderCourses() {
                coursesList.innerHTML = &#39;&#39;;
                
                if (courses.length === 0) {
                    coursesList.innerHTML = &#39;&lt;p style=&quot;text-align: center; color: #7f8c8d; padding: 20px;&quot;&gt;No courses added yet&lt;/p&gt;&#39;;
                    return;
                }
                
                courses.forEach(course =&gt; {
                    const courseItem = document.createElement(&#39;div&#39;);
                    courseItem.className = &#39;course-item&#39;;
                    courseItem.innerHTML = `
                        &lt;span&gt;${course.name}&lt;/span&gt;
                        &lt;span&gt;${course.credits} credit(s)&lt;/span&gt;
                        &lt;span&gt;${getGradeLetter(course.grade)}&lt;/span&gt;
                        &lt;button class=&quot;remove-btn&quot; data-id=&quot;${course.id}&quot;&gt;Remove&lt;/button&gt;
                    `;
                    coursesList.appendChild(courseItem);
                });
                
                // Add event listeners to remove buttons
                document.querySelectorAll(&#39;.remove-btn&#39;).forEach(button =&gt; {
                    button.addEventListener(&#39;click&#39;, function() {
                        const id = parseInt(this.getAttribute(&#39;data-id&#39;));
                        removeCourse(id);
                    });
                });
            }
            
            // Remove course function
            function removeCourse(id) {
                const index = courses.findIndex(course =&gt; course.id === id);
                if (index !== -1) {
                    courses.splice(index, 1);
                    renderCourses();
                }
            }
            
            // Clear input fields
            function clearInputs() {
                courseNameInput.value = &#39;&#39;;
                courseCreditsInput.value = &#39;&#39;;
                courseGradeSelect.selectedIndex = 0;
                courseNameInput.focus();
            }
            
            // Calculate GPA
            function calculateGPA() {
                if (courses.length === 0) {
                    gpaResult.textContent = &#39;0.00&#39;;
                    return;
                }
                
                let totalPoints = 0;
                let totalCredits = 0;
                
                courses.forEach(course =&gt; {
                    totalPoints += course.grade * course.credits;
                    totalCredits += course.credits;
                });
                
                const gpa = totalPoints / totalCredits;
                gpaResult.textContent = gpa.toFixed(2);
            }
            
            // Reset calculator
            function resetCalculator() {
                courses.length = 0;
                renderCourses();
                gpaResult.textContent = &#39;0.00&#39;;
            }
            
            // Add sample data
            function addSampleData() {
                const sampleCourses = [
                    { name: &#39;Mathematics&#39;, credits: 3, grade: 3.7 },
                    { name: &#39;English&#39;, credits: 3, grade: 4.0 },
                    { name: &#39;Science&#39;, credits: 4, grade: 3.3 },
                    { name: &#39;History&#39;, credits: 3, grade: 3.0 }
                ];
                
                sampleCourses.forEach(course =&gt; {
                    courses.push({
                        id: Date.now() + Math.random(),
                        ...course
                    });
                });
                
                renderCourses();
            }
            
            // Helper function to get grade letter from grade points
            function getGradeLetter(gradePoints) {
                const gradeMap = {
                    4.0: &#39;A&#39;,
                    3.7: &#39;A-&#39;,
                    3.3: &#39;B+&#39;,
                    3.0: &#39;B&#39;,
                    2.7: &#39;B-&#39;,
                    2.3: &#39;C+&#39;,
                    2.0: &#39;C&#39;,
                    1.7: &#39;C-&#39;,
                    1.3: &#39;D+&#39;,
                    1.0: &#39;D&#39;,
                    0.0: &#39;F&#39;
                };
                
                return gradeMap[gradePoints] || &#39;N/A&#39;;
            }
            
            // Event listeners
            addCourseButton.addEventListener(&#39;click&#39;, addCourse);
            addSampleDataButton.addEventListener(&#39;click&#39;, addSampleData);
            calculateGpaButton.addEventListener(&#39;click&#39;, calculateGPA);
            resetButton.addEventListener(&#39;click&#39;, resetCalculator);
            
            // Allow adding course with Enter key
            courseNameInput.addEventListener(&#39;keypress&#39;, function(e) {
                if (e.key === &#39;Enter&#39;) addCourse();
            });
            
            courseCreditsInput.addEventListener(&#39;keypress&#39;, function(e) {
                if (e.key === &#39;Enter&#39;) addCourse();
            });
            
            // Initial render
            renderCourses();
        });
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;

&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibhtBTXPJ7rehI3vsto2Y3D_3e88zv9wGuTFIopORHHcSL-sjIkeoFABDkBYrQvb-sZ-KMGyN7npbAWO15Ruqau5x6cRJJfQsZgMST9q_65V2RB5MuO2ObtwZS8mKgffQY_coEqp0n1NuRE4fQpJV_NvMbnza24mtRO_1Oa21efCDD_30CRroXo6ASdF4/s1366/CGPA%20Calculator%20-%20Free%20Onine%20Accurate%20Grade%20Calculator.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;0&quot; data-original-width=&quot;1366&quot; height=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibhtBTXPJ7rehI3vsto2Y3D_3e88zv9wGuTFIopORHHcSL-sjIkeoFABDkBYrQvb-sZ-KMGyN7npbAWO15Ruqau5x6cRJJfQsZgMST9q_65V2RB5MuO2ObtwZS8mKgffQY_coEqp0n1NuRE4fQpJV_NvMbnza24mtRO_1Oa21efCDD_30CRroXo6ASdF4/s320/CGPA%20Calculator%20-%20Free%20Onine%20Accurate%20Grade%20Calculator.png&quot; width=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.iubians.com/feeds/570342315505677434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.iubians.com/2026/01/CGPA Calculator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1350638439242049187/posts/default/570342315505677434'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1350638439242049187/posts/default/570342315505677434'/><link rel='alternate' type='text/html' href='https://www.iubians.com/2026/01/CGPA Calculator.html' title='CGPA Calculator - Free Onine Accurate Grade Calculator'/><author><name>Arshad Mehmood</name><uri>http://www.blogger.com/profile/17555678431430754885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTCfT40t1yZuVB8kRRT53VZLCq_QA1V5TrMWBpsbu4XFUnaoMxlOqBJ7AekF8XXmHrfqNKFpHI7zeunIkhPTqIuCe-KVHwh2imlPcR81ZbUFjIgCgTc49scplYroMIHkkaSVRnjzcGc3sQZK5SYwk4Rp40bel6ytYFcqh1HnqWJpZIKQ/s1600/Gemini_Generated_Image_sjv4jhsjv4jhsjv4.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibhtBTXPJ7rehI3vsto2Y3D_3e88zv9wGuTFIopORHHcSL-sjIkeoFABDkBYrQvb-sZ-KMGyN7npbAWO15Ruqau5x6cRJJfQsZgMST9q_65V2RB5MuO2ObtwZS8mKgffQY_coEqp0n1NuRE4fQpJV_NvMbnza24mtRO_1Oa21efCDD_30CRroXo6ASdF4/s72-c/CGPA%20Calculator%20-%20Free%20Onine%20Accurate%20Grade%20Calculator.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1350638439242049187.post-6211326480332970195</id><published>2025-11-20T12:42:00.038+05:00</published><updated>2025-12-17T11:41:07.222+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Academic Calculators"/><category scheme="http://www.blogger.com/atom/ns#" term="CGPA"/><category scheme="http://www.blogger.com/atom/ns#" term="SGPA to CGPA Calculator"/><category scheme="http://www.blogger.com/atom/ns#" term="Tools"/><title type='text'>SGPA to CGPA Calculator (Free &amp; Easy)</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB3c4NCxlN9RXLyxubBJ64JibfblNsO42JUtvqGfyPmQXqHuHe-egyvNIpxirtZtdr495QqMQtLL4Rkqg33JAXViDXVXf4EuOWfLIKRumzzMEQfJh0DjpEq8c020SO5iHkOpp_p6xcynlt6mShboPZcnxruFBpSCYcn1D4nxqVAcuRF7dt5F5sPDjAXLE/s444/SGPA%20TO%20CGPA%20Calculator.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;0&quot; data-original-width=&quot;444&quot; height=&quot;256&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB3c4NCxlN9RXLyxubBJ64JibfblNsO42JUtvqGfyPmQXqHuHe-egyvNIpxirtZtdr495QqMQtLL4Rkqg33JAXViDXVXf4EuOWfLIKRumzzMEQfJh0DjpEq8c020SO5iHkOpp_p6xcynlt6mShboPZcnxruFBpSCYcn1D4nxqVAcuRF7dt5F5sPDjAXLE/s320/SGPA%20TO%20CGPA%20Calculator.jpg&quot; width=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;&lt;/meta&gt;
    &lt;meta content=&quot;width=device-width, initial-scale=1.0&quot; name=&quot;viewport&quot;&gt;&lt;/meta&gt;
    &lt;title&gt;SGPA to CGPA Calculator | Convert Semester GPA to Cumulative GPA&lt;/title&gt;
    &lt;meta content=&quot;Free online SGPA to CGPA calculator. Convert your semester grade points to cumulative GPA. Calculate CGPA from multiple SGPA values for all grading systems.&quot; name=&quot;description&quot;&gt;&lt;/meta&gt;
    &lt;meta content=&quot;sgpa to cgpa, sgpa to cgpa calculator, convert sgpa to cgpa, calculate cgpa from sgpa, semester gpa to cumulative gpa&quot; name=&quot;keywords&quot;&gt;&lt;/meta&gt;
    
    &lt;link href=&quot;https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
    &lt;link href=&quot;https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&amp;amp;display=swap&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
    &lt;style&gt;
        :root {
            --primary: #1737B3;
            --primary-light: #2a4bd6;
            --primary-dark: #0f2680;
            --success: #00C851;
            --warning: #ffbb33;
            --danger: #ff4444;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --light-gray: #e9ecef;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: &#39;Inter&#39;, -apple-system, BlinkMacSystemFont, sans-serif;
        }
        
        body {
            background-color: #f8faff;
            color: #1a1a1a;
            line-height: 1.6;
            min-height: 100vh;
            padding: 20px;
            font-size: 14px;
            width: 100%;
            overflow-x: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .calculator-container {
            width: 100%;
            max-width: 800px;
            background: white;
            overflow: hidden;
            box-shadow: 0 0 30px rgba(0,0,0,0.05);
            border-radius: 12px;
        }
        
        .calculator-body {
            padding: 30px 25px;
            margin: 0 auto;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .calculator-section {
            background: white;
            padding: 30px;
            width: 100%;
            border: 1px solid #e1e8ff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border-radius: 12px;
        }
        
        .section-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
            text-align: left;
            justify-content: flex-start;
        }
        
        .input-group {
            margin-bottom: 25px;
        }
        
        .input-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 500;
            color: #1a1a1a;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .input-group label i {
            color: var(--primary);
            font-size: 1.1rem;
        }
        
        input, select {
            width: 100%;
            padding: 15px 18px;
            border: 1px solid #e1e8ff;
            font-size: 1rem;
            font-family: &#39;Inter&#39;, sans-serif;
            color: #1a1a1a;
            background: white;
            outline: none !important;
            border-radius: 8px;
            transition: border-color 0.2s;
        }
        
        input:focus, select:focus {
            border-color: var(--primary);
            outline: none !important;
            box-shadow: 0 0 0 3px rgba(23, 55, 179, 0.1);
        }
        
        button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 18px 25px;
            cursor: pointer;
            font-size: 1.0rem;
            font-weight: 600;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            font-family: &#39;Inter&#39;, sans-serif;
            letter-spacing: 0.5px;
            margin-top: 10px;
            outline: none !important;
            border-radius: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(23, 55, 179, 0.2);
        }
        
        button:hover {
            background: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(23, 55, 179, 0.3);
        }
        
        .semester-inputs {
            margin-bottom: 20px;
        }
        
        .semester-input {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 15px;
        }
        
        .semester-label {
            min-width: 100px;
            font-weight: 500;
        }
        
        .semester-input input {
            flex: 1;
        }
        
        /* Small cross button */
        .remove-semester {
            background: var(--danger);
            color: white;
            border: none;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 0.8rem;
            font-weight: bold;
            padding: 0;
            flex-shrink: 0;
        }
        
        .remove-semester:hover {
            background: #ff3333;
            transform: scale(1.1);
        }
        
        .add-semester {
            background: var(--success);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
            transition: background 0.3s;
            margin-top: 10px;
        }
        
        .add-semester:hover {
            background: #00b347;
        }
        
        .result-section {
            background: white;
            padding: 30px;
            margin: 20px 0;
            display: none;
            border: 1px solid #e1e8ff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border-radius: 12px;
        }
        
        .result-section.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .result-header {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .result-header i {
            font-size: 1.8rem;
            color: var(--primary);
        }
        
        .result-header h3 {
            color: var(--primary);
            font-size: 18px;
            font-weight: 700;
            margin: 0;
        }
        
        .result-value-container {
            text-align: center;
            margin: 25px 0;
        }
        
        .circle-progress {
            width: 220px;
            height: 220px;
            border-radius: 50%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            background: conic-gradient(var(--primary) 0%, #e1e8ff 0%);
            transition: background 0.5s ease;
        }
        
        .circle-inner {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 10px;
            text-align: center;
        }
        
        .result-value {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            margin: 0;
            line-height: 1;
            word-break: break-all;
            max-width: 100%;
        }
        
        .result-label {
            font-size: 1.2rem;
            font-weight: 600;
            margin-top: 8px;
        }
        
        .additional-results {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 25px;
        }
        
        .result-box {
            background: #f8faff;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            border: 1px solid #e1e8ff;
        }
        
        .result-box h4 {
            font-size: 0.9rem;
            color: var(--gray);
            margin-bottom: 8px;
        }
        
        .result-box p {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary);
        }
        
        /* Navigation Buttons */
        .navigation-buttons {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin-top: 30px;
        }
        
        .nav-button {
            background: white;
            color: var(--primary);
            border: 2px solid var(--primary);
            padding: 16px 20px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            font-family: &#39;Inter&#39;, sans-serif;
            letter-spacing: 0.5px;
            outline: none !important;
            border-radius: 8px;
            transition: all 0.3s ease;
            text-decoration: none;
            box-shadow: 0 2px 8px rgba(23, 55, 179, 0.1);
            text-align: center;
        }
        
        .nav-button:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(23, 55, 179, 0.2);
            text-decoration: none;
        }
        
        /* FAQ Section */
        .faq-section {
            margin-top: 40px;
        }
        
        .faq-title {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 25px;
            text-align: center;
        }
        
        .faq-item {
            margin-bottom: 20px;
            border: 1px solid #e1e8ff;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .faq-question {
            background: #f8faff;
            padding: 18px 20px;
            font-weight: 600;
            color: var(--primary);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.3s ease;
        }
        
        .faq-question:hover {
            background: #eef2ff;
        }
        
        .faq-answer {
            padding: 20px;
            background: white;
            display: none;
        }
        
        .faq-answer.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }
        
        /* Tool Link */
        .tool-link {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: #f8faff;
            border-radius: 8px;
            border: 1px solid #e1e8ff;
        }
        
        .tool-link a {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        .tool-link a:hover {
            text-decoration: underline;
        }
        
        /* Mobile Optimizations */
        @media (max-width: 768px) {
            body {
                font-size: 12px;
                padding: 15px;
            }
            
            .calculator-body {
                padding: 20px 15px;
                gap: 15px;
            }
            
            .calculator-section {
                padding: 25px;
            }
            
            .circle-progress {
                width: 200px;
                height: 200px;
            }
            
            .circle-inner {
                width: 160px;
                height: 160px;
            }
            
            .result-value {
                font-size: 2.2rem;
            }
            
            .section-title {
                font-size: 16px;
            }
            
            input, select {
                padding: 14px 16px;
                font-size: 0.95rem;
            }
            
            button {
                padding: 16px 20px;
                font-size: 1rem;
            }
            
            .result-header h3 {
                font-size: 16px;
            }
            
            .semester-input {
                flex-direction: column;
                align-items: flex-start;
                gap: 8px;
            }
            
            .semester-label {
                min-width: auto;
            }
            
            .navigation-buttons {
                grid-template-columns: 1fr;
            }
            
            /* Small cross button for mobile */
            .remove-semester {
                width: 26px;
                height: 26px;
                font-size: 0.7rem;
                align-self: flex-end;
                margin-top: -5px;
            }
        }
        
        @media (max-width: 480px) {
            body {
                padding: 10px;
            }
            
            .calculator-body {
                padding: 15px 10px;
            }
            
            .circle-progress {
                width: 180px;
                height: 180px;
            }
            
            .circle-inner {
                width: 140px;
                height: 140px;
            }
            
            .result-value {
                font-size: 1.8rem;
            }
            
            .calculator-section {
                padding: 20px 15px;
            }
            
            .section-title {
                font-size: 16px;
            }
            
            .result-section {
                padding: 25px 15px;
            }
            
            .additional-results {
                grid-template-columns: 1fr;
            }
            
            .remove-semester {
                width: 24px;
                height: 24px;
                font-size: 0.6rem;
            }
        }
        
        /* Touch-friendly improvements */
        button, select {
            -webkit-tap-highlight-color: transparent;
            min-height: 55px;
        }
        
        input {
            min-height: 55px;
            -webkit-appearance: none;
        }
        
        /* Remove all outlines globally */
        *:focus {
            outline: none !important;
        }
        
        /* Input validation styles */
        .error {
            border-color: var(--danger) !important;
        }
        
        .success {
            border-color: var(--success) !important;
        }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div class=&quot;calculator-container&quot;&gt;
        &lt;div class=&quot;calculator-body&quot;&gt;
            &lt;!-- SGPA to CGPA Calculator --&gt;
            &lt;div class=&quot;calculator-section&quot; id=&quot;sgpaToCgpaSection&quot;&gt;
                &lt;div class=&quot;section-title&quot;&gt;
                    &lt;i class=&quot;fas fa-calculator&quot;&gt;&lt;/i&gt;
                    SGPA to CGPA Calculator
                &lt;/div&gt;
                
                &lt;div class=&quot;input-group&quot;&gt;
                    &lt;label for=&quot;gradingSystem&quot;&gt;
                        &lt;i class=&quot;fas fa-balance-scale&quot;&gt;&lt;/i&gt;
                        Select Grading System
                    &lt;/label&gt;
                    &lt;select id=&quot;gradingSystem&quot;&gt;
                        &lt;option value=&quot;4&quot;&gt;4.0 Grading System&lt;/option&gt;
                        &lt;option selected=&quot;&quot; value=&quot;10&quot;&gt;10.0 Grading System&lt;/option&gt;
                        &lt;option value=&quot;5&quot;&gt;5.0 Scale Grading System&lt;/option&gt;
                    &lt;/select&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;input-group&quot;&gt;
                    &lt;label&gt;
                        &lt;i class=&quot;fas fa-graduation-cap&quot;&gt;&lt;/i&gt;
                        Enter Your SGPA Values
                    &lt;/label&gt;
                    &lt;div class=&quot;semester-inputs&quot; id=&quot;semesterInputs&quot;&gt;
                        &lt;div class=&quot;semester-input&quot;&gt;
                            &lt;span class=&quot;semester-label&quot;&gt;Semester 1:&lt;/span&gt;
                            &lt;input class=&quot;sgpa-input&quot; max=&quot;10&quot; min=&quot;0&quot; placeholder=&quot;Enter SGPA (e.g., 8.5)&quot; step=&quot;0.01&quot; type=&quot;number&quot; /&gt;
                            &lt;button class=&quot;remove-semester&quot; style=&quot;display: none;&quot;&gt;×&lt;/button&gt;
                        &lt;/div&gt;
                        &lt;div class=&quot;semester-input&quot;&gt;
                            &lt;span class=&quot;semester-label&quot;&gt;Semester 2:&lt;/span&gt;
                            &lt;input class=&quot;sgpa-input&quot; max=&quot;10&quot; min=&quot;0&quot; placeholder=&quot;Enter SGPA (e.g., 9.0)&quot; step=&quot;0.01&quot; type=&quot;number&quot; /&gt;
                            &lt;button class=&quot;remove-semester&quot; style=&quot;display: none;&quot;&gt;×&lt;/button&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;button class=&quot;add-semester&quot; id=&quot;addSemesterBtn&quot;&gt;
                        &lt;i class=&quot;fas fa-plus&quot;&gt;&lt;/i&gt;
                        Add Another Semester
                    &lt;/button&gt;
                &lt;/div&gt;
                
                &lt;button id=&quot;calculateBtn&quot;&gt;
                    &lt;i class=&quot;fas fa-calculator&quot;&gt;&lt;/i&gt;
                    Calculate CGPA
                &lt;/button&gt;
                
                &lt;!-- Result Section --&gt;
                &lt;div class=&quot;result-section&quot; id=&quot;resultSection&quot;&gt;
                    &lt;div class=&quot;result-header&quot;&gt;
                        &lt;i class=&quot;fas fa-trophy&quot;&gt;&lt;/i&gt;
                        &lt;h3&gt;CGPA Calculated Successfully!&lt;/h3&gt;
                    &lt;/div&gt;
                    
                    &lt;div class=&quot;result-value-container&quot;&gt;
                        &lt;div class=&quot;circle-progress&quot; id=&quot;circleProgress&quot;&gt;
                            &lt;div class=&quot;circle-inner&quot;&gt;
                                &lt;div class=&quot;result-value&quot; id=&quot;cgpaValue&quot;&gt;0.00&lt;/div&gt;
                                &lt;div class=&quot;result-label&quot; id=&quot;performanceLabel&quot;&gt;Excellent&lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                    
                    &lt;div class=&quot;additional-results&quot;&gt;
                        &lt;div class=&quot;result-box&quot;&gt;
                            &lt;h4&gt;Total Semesters&lt;/h4&gt;
                            &lt;p id=&quot;totalSemesters&quot;&gt;2&lt;/p&gt;
                        &lt;/div&gt;
                        &lt;div class=&quot;result-box&quot;&gt;
                            &lt;h4&gt;Total SGPA&lt;/h4&gt;
                            &lt;p id=&quot;totalSgpa&quot;&gt;0.00&lt;/p&gt;
                        &lt;/div&gt;
                        &lt;div class=&quot;result-box&quot;&gt;
                            &lt;h4&gt;Grading System&lt;/h4&gt;
                            &lt;p id=&quot;gradingSystemValue&quot;&gt;10.0&lt;/p&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                    
                    &lt;!-- Navigation Buttons in Results --&gt;
                    &lt;div class=&quot;navigation-buttons&quot;&gt;
                        &lt;a class=&quot;nav-button&quot; href=&quot;https://www.iubians.com/2025/11/cgpa-to-percentage-converter.html&quot; target=&quot;_blank&quot;&gt;
                            &lt;i class=&quot;fas fa-calculator&quot;&gt;&lt;/i&gt;
                            CGPA to Percentage
                        &lt;/a&gt;
                        &lt;a class=&quot;nav-button&quot; href=&quot;https://www.iubians.com/2025/11/percentage-to-cgpa-calculator.html&quot; target=&quot;_blank&quot;&gt;
                            &lt;i class=&quot;fas fa-exchange-alt&quot;&gt;&lt;/i&gt;
                            Percentage to CGPA
                        &lt;/a&gt;
                        &lt;a class=&quot;nav-button&quot; href=&quot;https://www.iubians.com/2025/11/marks-percentage-calculator.html&quot; target=&quot;_blank&quot;&gt;
                            &lt;i class=&quot;fas fa-percentage&quot;&gt;&lt;/i&gt;
                            Marks Percentage
                        &lt;/a&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
          
          &lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC-Y1995T-CXE0kRUN_pM0_EGHi1wMk6nuSelvrOUtomgTT2jKRzr8cYZz4FB_IkM-_SbgRzTVs9xhBSLIuAUQNX1oD1F7rhL0fx6ntX2so33LClXInQMoO45lFZDAzJddDmXmeymgzHhleDD6pYBB2g-_1xeXFiwusCSw__JvsZirubwfvnLwp5YcEl0/s1366/SGPA%20to%20CGPA%20Calculator%20(Free%20&amp;amp;%20Easy).webp&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;SGPA to CGPA Calculator (Free &amp;amp; Easy)&quot; border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1366&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgC-Y1995T-CXE0kRUN_pM0_EGHi1wMk6nuSelvrOUtomgTT2jKRzr8cYZz4FB_IkM-_SbgRzTVs9xhBSLIuAUQNX1oD1F7rhL0fx6ntX2so33LClXInQMoO45lFZDAzJddDmXmeymgzHhleDD6pYBB2g-_1xeXFiwusCSw__JvsZirubwfvnLwp5YcEl0/w320-h180/SGPA%20to%20CGPA%20Calculator%20(Free%20&amp;amp;%20Easy).webp&quot; title=&quot;SGPA to CGPA Calculator (Free &amp;amp; Easy)&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;
          
         
            
            &lt;!-- FAQ Section --&gt;
            &lt;div class=&quot;calculator-section faq-section&quot;&gt;
                &lt;h2 class=&quot;faq-title&quot;&gt;SGPA to CGPA Conversion FAQs&lt;/h2&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        How to calculate CGPA from SGPA?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;To calculate CGPA from SGPA, you need to average all your SGPA values across semesters:&lt;/p&gt;
                        &lt;p&gt;&lt;strong&gt;CGPA = (Sum of all SGPA values) / (Number of semesters)&lt;/strong&gt;&lt;/p&gt;
                        &lt;p&gt;For example, if you have SGPA values of 8.5, 9.0, and 8.0 for three semesters:&lt;/p&gt;
                        &lt;p&gt;CGPA = (8.5 + 9.0 + 8.0) / 3 = 25.5 / 3 = 8.5&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        What is the difference between SGPA and CGPA?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;SGPA (Semester Grade Point Average) and CGPA (Cumulative Grade Point Average) are both grading systems but with different scopes:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;&lt;strong&gt;SGPA:&lt;/strong&gt; Measures academic performance in a single semester&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;CGPA:&lt;/strong&gt; Measures cumulative academic performance across all semesters&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;Calculation:&lt;/strong&gt; SGPA is calculated per semester, while CGPA is the average of all SGPAs&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;Purpose:&lt;/strong&gt; SGPA shows semester-wise performance, CGPA shows overall academic performance&lt;/li&gt;
                        &lt;/ul&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        How many semesters should I include for CGPA calculation?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;You should include all completed semesters for accurate CGPA calculation. Most undergraduate programs have 6-8 semesters, while postgraduate programs typically have 4 semesters.&lt;/p&gt;
                        &lt;p&gt;Important considerations:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;Include all academic semesters (excluding exchange programs if not counted)&lt;/li&gt;
                            &lt;li&gt;Don&#39;t include current semester if it&#39;s incomplete&lt;/li&gt;
                            &lt;li&gt;Check your university&#39;s specific CGPA calculation policy&lt;/li&gt;
                            &lt;li&gt;Some universities may exclude certain semesters under special circumstances&lt;/li&gt;
                        &lt;/ul&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        Can I calculate CGPA if I have different credit systems?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;Yes, if your semesters have different credit weights, you should calculate weighted CGPA:&lt;/p&gt;
                        &lt;p&gt;&lt;strong&gt;Weighted CGPA = (Sum of (SGPA × Credits)) / (Total Credits)&lt;/strong&gt;&lt;/p&gt;
                        &lt;p&gt;For example:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;Semester 1: SGPA 8.5, Credits 20&lt;/li&gt;
                            &lt;li&gt;Semester 2: SGPA 9.0, Credits 22&lt;/li&gt;
                            &lt;li&gt;Weighted CGPA = (8.5×20 + 9.0×22) / (20+22) = (170 + 198) / 42 = 368 / 42 = 8.76&lt;/li&gt;
                        &lt;/ul&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        What is a good CGPA score?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;A &quot;good&quot; CGPA depends on the grading scale and your academic goals:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;&lt;strong&gt;For 10.0 scale:&lt;/strong&gt; 8.0+ is good, 9.0+ is excellent&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;For 4.0 scale:&lt;/strong&gt; 3.0+ is good, 3.5+ is excellent&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;For 5.0 scale:&lt;/strong&gt; 4.0+ is good, 4.5+ is excellent&lt;/li&gt;
                        &lt;/ul&gt;
                        &lt;p&gt;However, requirements vary by:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;University standards and grading policies&lt;/li&gt;
                            &lt;li&gt;Competitive programs (may require higher CGPA)&lt;/li&gt;
                            &lt;li&gt;Employer expectations for specific roles&lt;/li&gt;
                            &lt;li&gt;Graduate school admission requirements&lt;/li&gt;
                        &lt;/ul&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        How can I improve my CGPA?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;To improve your CGPA, focus on these strategies:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;&lt;strong&gt;Consistent performance:&lt;/strong&gt; Maintain good grades in all semesters&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;Focus on credit-heavy courses:&lt;/strong&gt; These have more impact on your CGPA&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;Improve gradually:&lt;/strong&gt; Even small improvements in each semester add up&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;Seek academic support:&lt;/strong&gt; Utilize tutoring, office hours, and study groups&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;Balance course load:&lt;/strong&gt; Don&#39;t overload yourself in any semester&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;Retake low-scoring courses:&lt;/strong&gt; If your university allows grade replacement&lt;/li&gt;
                        &lt;/ul&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;script&gt;
        // DOM Elements
        const gradingSystemSelect = document.getElementById(&#39;gradingSystem&#39;);
        const semesterInputsContainer = document.getElementById(&#39;semesterInputs&#39;);
        const addSemesterBtn = document.getElementById(&#39;addSemesterBtn&#39;);
        const calculateBtn = document.getElementById(&#39;calculateBtn&#39;);
        const resultSection = document.getElementById(&#39;resultSection&#39;);
        const cgpaValue = document.getElementById(&#39;cgpaValue&#39;);
        const performanceLabel = document.getElementById(&#39;performanceLabel&#39;);
        const circleProgress = document.getElementById(&#39;circleProgress&#39;);
        const totalSemesters = document.getElementById(&#39;totalSemesters&#39;);
        const totalSgpa = document.getElementById(&#39;totalSgpa&#39;);
        const gradingSystemValue = document.getElementById(&#39;gradingSystemValue&#39;);
        const faqQuestions = document.querySelectorAll(&#39;.faq-question&#39;);
        
        let semesterCount = 2;
        
        // Initialize remove buttons for initial semesters
        function initializeRemoveButtons() {
            const initialRemoveButtons = document.querySelectorAll(&#39;.remove-semester&#39;);
            initialRemoveButtons.forEach(btn =&gt; {
                btn.addEventListener(&#39;click&#39;, function() {
                    if (semesterCount &lt;= 2) {
                        alert(&#39;Minimum 2 semesters required&#39;);
                        return;
                    }
                    const semesterInput = this.parentElement;
                    semesterInputsContainer.removeChild(semesterInput);
                    semesterCount--;
                    updateSemesterLabels();
                    updateRemoveButtonsVisibility();
                });
            });
        }
        
        // Update semester labels after adding/removing
        function updateSemesterLabels() {
            const semesterLabels = semesterInputsContainer.querySelectorAll(&#39;.semester-label&#39;);
            semesterLabels.forEach((label, index) =&gt; {
                label.textContent = `Semester ${index + 1}:`;
            });
        }
        
        // Update remove buttons visibility
        function updateRemoveButtonsVisibility() {
            const removeButtons = document.querySelectorAll(&#39;.remove-semester&#39;);
            removeButtons.forEach((btn, index) =&gt; {
                btn.style.display = semesterCount &gt; 2 ? &#39;flex&#39; : &#39;none&#39;;
            });
        }
        
        // Add semester input
        addSemesterBtn.addEventListener(&#39;click&#39;, function() {
            if (semesterCount &gt;= 10) {
                alert(&#39;Maximum 10 semesters allowed&#39;);
                return;
            }
            
            semesterCount++;
            const newSemesterInput = document.createElement(&#39;div&#39;);
            newSemesterInput.className = &#39;semester-input&#39;;
            newSemesterInput.innerHTML = `
                &lt;span class=&quot;semester-label&quot;&gt;Semester ${semesterCount}:&lt;/span&gt;
                &lt;input type=&quot;number&quot; class=&quot;sgpa-input&quot; min=&quot;0&quot; max=&quot;10&quot; step=&quot;0.01&quot; placeholder=&quot;Enter SGPA (e.g., 8.5)&quot;&gt;
                &lt;button class=&quot;remove-semester&quot;&gt;×&lt;/button&gt;
            `;
            semesterInputsContainer.appendChild(newSemesterInput);
            
            // Add event listener to new remove button
            const removeBtn = newSemesterInput.querySelector(&#39;.remove-semester&#39;);
            removeBtn.addEventListener(&#39;click&#39;, function() {
                if (semesterCount &lt;= 2) {
                    alert(&#39;Minimum 2 semesters required&#39;);
                    return;
                }
                semesterInputsContainer.removeChild(newSemesterInput);
                semesterCount--;
                updateSemesterLabels();
                updateRemoveButtonsVisibility();
            });
            
            updateSemesterLabels();
            updateRemoveButtonsVisibility();
            
            // Focus on the new input
            newSemesterInput.querySelector(&#39;.sgpa-input&#39;).focus();
        });
        
        // Initialize remove buttons on page load
        initializeRemoveButtons();
        updateRemoveButtonsVisibility();
        
        // Calculate CGPA
        calculateBtn.addEventListener(&#39;click&#39;, function() {
            const sgpaInputs = document.querySelectorAll(&#39;.sgpa-input&#39;);
            const gradingSystem = gradingSystemSelect.value;
            const maxGrade = parseFloat(gradingSystem);
            
            let totalSgpaSum = 0;
            let validInputs = 0;
            let hasError = false;
            
            // Reset all input styles
            sgpaInputs.forEach(input =&gt; {
                input.classList.remove(&#39;error&#39;);
                input.classList.remove(&#39;success&#39;);
            });
            
            // Validate and collect SGPA values
            sgpaInputs.forEach(input =&gt; {
                const value = parseFloat(input.value);
                if (!isNaN(value) &amp;&amp; value &gt;= 0 &amp;&amp; value &lt;= maxGrade) {
                    totalSgpaSum += value;
                    validInputs++;
                    input.classList.add(&#39;success&#39;);
                } else if (input.value !== &#39;&#39;) {
                    input.classList.add(&#39;error&#39;);
                    hasError = true;
                }
            });
            
            if (hasError) {
                alert(`Please enter valid SGPA values between 0 and ${maxGrade}`);
                return;
            }
            
            if (validInputs &lt; 2) {
                alert(&#39;Please enter SGPA values for at least 2 semesters&#39;);
                return;
            }
            
            // Calculate CGPA
            const cgpa = totalSgpaSum / validInputs;
            
            // Update result values
            cgpaValue.textContent = cgpa.toFixed(2);
            totalSemesters.textContent = validInputs;
            totalSgpa.textContent = totalSgpaSum.toFixed(2);
            gradingSystemValue.textContent = gradingSystem + &#39;.0&#39;;
            
            // Show result section
            resultSection.classList.add(&#39;active&#39;);
            
            // Update circle progress and performance label
            const percentageValueForCircle = Math.min((cgpa / maxGrade) * 100, 100);
            
            // Determine performance level and color
            let performance, circleColor;
            if (cgpa &gt;= maxGrade * 0.9) {
                performance = &quot;Outstanding&quot;;
                circleColor = &#39;#00C851&#39;;
                cgpaValue.style.color = &#39;#00C851&#39;;
                performanceLabel.style.color = &#39;#00C851&#39;;
            } else if (cgpa &gt;= maxGrade * 0.8) {
                performance = &quot;Excellent&quot;;
                circleColor = &#39;#00C851&#39;;
                cgpaValue.style.color = &#39;#00C851&#39;;
                performanceLabel.style.color = &#39;#00C851&#39;;
            } else if (cgpa &gt;= maxGrade * 0.7) {
                performance = &quot;Good&quot;;
                circleColor = &#39;#ffbb33&#39;;
                cgpaValue.style.color = &#39;#ffbb33&#39;;
                performanceLabel.style.color = &#39;#ffbb33&#39;;
            } else if (cgpa &gt;= maxGrade * 0.6) {
                performance = &quot;Fair&quot;;
                circleColor = &#39;#ffbb33&#39;;
                cgpaValue.style.color = &#39;#ffbb33&#39;;
                performanceLabel.style.color = &#39;#ffbb33&#39;;
            } else if (cgpa &gt;= maxGrade * 0.5) {
                performance = &quot;Needs Improvement&quot;;
                circleColor = &#39;#ff4444&#39;;
                cgpaValue.style.color = &#39;#ff4444&#39;;
                performanceLabel.style.color = &#39;#ff4444&#39;;
            } else {
                performance = &quot;Poor&quot;;
                circleColor = &#39;#ff4444&#39;;
                cgpaValue.style.color = &#39;#ff4444&#39;;
                performanceLabel.style.color = &#39;#ff4444&#39;;
            }
            
            // Update performance label
            performanceLabel.textContent = performance;
            
            // Update circle color and progress
            circleProgress.style.background = `conic-gradient(${circleColor} ${percentageValueForCircle}%, #e1e8ff ${percentageValueForCircle}%)`;
            
            // Scroll to result
            resultSection.scrollIntoView({ behavior: &#39;smooth&#39;, block: &#39;center&#39; });
        });
        
        // Input validation on the fly
        document.addEventListener(&#39;input&#39;, function(e) {
            if (e.target.classList.contains(&#39;sgpa-input&#39;)) {
                const value = parseFloat(e.target.value);
                const maxGrade = parseFloat(gradingSystemSelect.value);
                
                e.target.classList.remove(&#39;error&#39;);
                e.target.classList.remove(&#39;success&#39;);
                
                if (!isNaN(value) &amp;&amp; value &gt;= 0 &amp;&amp; value &lt;= maxGrade) {
                    e.target.classList.add(&#39;success&#39;);
                } else if (e.target.value !== &#39;&#39;) {
                    e.target.classList.add(&#39;error&#39;);
                }
            }
        });
        
        // Update max values when grading system changes
        gradingSystemSelect.addEventListener(&#39;change&#39;, function() {
            const maxGrade = parseFloat(this.value);
            document.querySelectorAll(&#39;.sgpa-input&#39;).forEach(input =&gt; {
                input.max = maxGrade;
                const value = parseFloat(input.value);
                
                input.classList.remove(&#39;error&#39;);
                input.classList.remove(&#39;success&#39;);
                
                if (!isNaN(value) &amp;&amp; value &gt; maxGrade) {
                    input.classList.add(&#39;error&#39;);
                } else if (!isNaN(value) &amp;&amp; value &lt;= maxGrade &amp;&amp; value &gt;= 0) {
                    input.classList.add(&#39;success&#39;);
                }
            });
        });
        
        // FAQ toggle functionality
        faqQuestions.forEach(question =&gt; {
            question.addEventListener(&#39;click&#39;, function() {
                const answer = this.nextElementSibling;
                const icon = this.querySelector(&#39;i&#39;);
                
                // Toggle active class
                answer.classList.toggle(&#39;active&#39;);
                
                // Rotate icon
                if (answer.classList.contains(&#39;active&#39;)) {
                    icon.style.transform = &#39;rotate(180deg)&#39;;
                } else {
                    icon.style.transform = &#39;rotate(0deg)&#39;;
                }
            });
        });
        
        // Allow Enter key to trigger calculation
        document.addEventListener(&#39;keypress&#39;, function(e) {
            if (e.key === &#39;Enter&#39; &amp;&amp; (e.target.classList.contains(&#39;sgpa-input&#39;) || e.target.id === &#39;gradingSystem&#39;)) {
                calculateBtn.click();
            }
        });
        
        // Auto-focus on first input
        document.querySelector(&#39;.sgpa-input&#39;).focus();
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;

       </content><link rel='replies' type='application/atom+xml' href='https://www.iubians.com/feeds/6211326480332970195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.iubians.com/2025/11/sgpa-to-cgpa-calculator-free-easy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1350638439242049187/posts/default/6211326480332970195'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1350638439242049187/posts/default/6211326480332970195'/><link rel='alternate' type='text/html' href='https://www.iubians.com/2025/11/sgpa-to-cgpa-calculator-free-easy.html' title='SGPA to CGPA Calculator (Free &amp; Easy)'/><author><name>Arshad Mehmood</name><uri>http://www.blogger.com/profile/17555678431430754885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTCfT40t1yZuVB8kRRT53VZLCq_QA1V5TrMWBpsbu4XFUnaoMxlOqBJ7AekF8XXmHrfqNKFpHI7zeunIkhPTqIuCe-KVHwh2imlPcR81ZbUFjIgCgTc49scplYroMIHkkaSVRnjzcGc3sQZK5SYwk4Rp40bel6ytYFcqh1HnqWJpZIKQ/s1600/Gemini_Generated_Image_sjv4jhsjv4jhsjv4.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB3c4NCxlN9RXLyxubBJ64JibfblNsO42JUtvqGfyPmQXqHuHe-egyvNIpxirtZtdr495QqMQtLL4Rkqg33JAXViDXVXf4EuOWfLIKRumzzMEQfJh0DjpEq8c020SO5iHkOpp_p6xcynlt6mShboPZcnxruFBpSCYcn1D4nxqVAcuRF7dt5F5sPDjAXLE/s72-c/SGPA%20TO%20CGPA%20Calculator.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1350638439242049187.post-6628940608341227616</id><published>2025-11-19T15:25:00.007+05:00</published><updated>2025-12-05T11:51:45.985+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Academic Calculators"/><category scheme="http://www.blogger.com/atom/ns#" term="Marks Percentage Calculator"/><category scheme="http://www.blogger.com/atom/ns#" term="Tools"/><title type='text'>Marks Percentage Calculator</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXpej3jDBh9RP44_IkOkFwfe8QNbldCRwoEN6C8gBxULDxmTjL0XIeNZRdXNb9QaO_dij5eKxtKCionZ_DQoTUpvNy3V0tp44Q90JfZ_GsRHTKYuKwwvJ8huZMJ3zW6YLi48cSqJsWH3Df88O0_UOLGJiTba4nLfyP2qfHW3iVYUi2jPV5BAGFgI3X-5k/s1366/Marks%20Percentage%20Calculator.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Marks Percentage Calculator&quot; border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1366&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXpej3jDBh9RP44_IkOkFwfe8QNbldCRwoEN6C8gBxULDxmTjL0XIeNZRdXNb9QaO_dij5eKxtKCionZ_DQoTUpvNy3V0tp44Q90JfZ_GsRHTKYuKwwvJ8huZMJ3zW6YLi48cSqJsWH3Df88O0_UOLGJiTba4nLfyP2qfHW3iVYUi2jPV5BAGFgI3X-5k/w320-h180/Marks%20Percentage%20Calculator.png&quot; title=&quot;Marks Percentage Calculator&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;




&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;&lt;/meta&gt;
    &lt;meta content=&quot;width=device-width, initial-scale=1.0&quot; name=&quot;viewport&quot;&gt;&lt;/meta&gt;
    &lt;title&gt;Marks Percentage Calculator | Calculate Percentage from Marks Obtained&lt;/title&gt;
    &lt;meta content=&quot;Free online marks percentage calculator. Calculate percentage from marks obtained and total marks. Perfect for students, teachers, and academic purposes.&quot; name=&quot;description&quot;&gt;&lt;/meta&gt;
    &lt;meta content=&quot;marks percentage calculator, percentage calculator, calculate percentage from marks, marks to percentage, how to calculate percentage of marks&quot; name=&quot;keywords&quot;&gt;&lt;/meta&gt;
    
    &lt;link href=&quot;https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
    &lt;link href=&quot;https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&amp;amp;display=swap&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
    &lt;style&gt;
        :root {
            --primary: #1737B3;
            --primary-light: #2a4bd6;
            --primary-dark: #0f2680;
            --success: #00C851;
            --warning: #ffbb33;
            --danger: #ff4444;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --light-gray: #e9ecef;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: &#39;Inter&#39;, -apple-system, BlinkMacSystemFont, sans-serif;
        }
        
        body {
            background-color: #f8faff;
            color: #1a1a1a;
            line-height: 1.6;
            min-height: 100vh;
            padding: 0;
            font-size: 14px;
            width: 100%;
            overflow-x: hidden;
        }
        
        .calculator-container {
            width: 100%;
            margin: 0 auto;
            background: white;
            overflow: hidden;
            max-width: 1200px;
            box-shadow: 0 0 30px rgba(0,0,0,0.05);
            min-height: 100vh;
        }
        
        .calculator-body {
            padding: 30px 20px;
            margin: 0 auto;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .calculator-section {
            background: white;
            padding: 30px;
            width: 100%;
            border: 1px solid #e1e8ff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border-radius: 12px;
        }
        
        .section-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
            text-align: left;
            justify-content: flex-start;
        }
        
        .input-group {
            margin-bottom: 25px;
        }
        
        .input-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 500;
            color: #1a1a1a;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .input-group label i {
            color: var(--primary);
            font-size: 1.1rem;
        }
        
        input, select {
            width: 100%;
            padding: 15px 18px;
            border: 1px solid #e1e8ff;
            font-size: 1rem;
            font-family: &#39;Inter&#39;, sans-serif;
            color: #1a1a1a;
            background: white;
            outline: none !important;
            border-radius: 8px;
            transition: border-color 0.2s;
        }
        
        input:focus, select:focus {
            border-color: var(--primary);
            outline: none !important;
            box-shadow: 0 0 0 3px rgba(23, 55, 179, 0.1);
        }
        
        button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 18px 25px;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: 600;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            font-family: &#39;Inter&#39;, sans-serif;
            letter-spacing: 0.5px;
            margin-top: 10px;
            outline: none !important;
            border-radius: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(23, 55, 179, 0.2);
        }
        
        button:hover {
            background: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(23, 55, 179, 0.3);
        }
        
        .result-section {
            background: white;
            padding: 30px;
            margin: 20px 0;
            display: none;
            border: 1px solid #e1e8ff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border-radius: 12px;
        }
        
        .result-section.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .result-header {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .result-header i {
            font-size: 1.8rem;
            color: var(--primary);
        }
        
        .result-header h3 {
            color: var(--primary);
            font-size: 18px;
            font-weight: 700;
            margin: 0;
        }
        
        .result-value-container {
            text-align: center;
            margin: 25px 0;
        }
        
        .circle-progress {
            width: 220px;
            height: 220px;
            border-radius: 50%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            background: conic-gradient(var(--primary) 0%, #e1e8ff 0%);
            transition: background 0.5s ease;
        }
        
        .circle-inner {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 10px;
            text-align: center;
        }
        
        .result-value {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            margin: 0;
            line-height: 1;
            word-break: break-all;
            max-width: 100%;
        }
        
        .result-label {
            font-size: 1.2rem;
            font-weight: 600;
            margin-top: 8px;
        }
        
        .additional-results {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-top: 25px;
        }
        
        .result-box {
            background: #f8faff;
            padding: 20px;
            border-radius: 8px;
            text-align: center;
            border: 1px solid #e1e8ff;
        }
        
        .result-box h4 {
            font-size: 0.9rem;
            color: var(--gray);
            margin-bottom: 8px;
        }
        
        .result-box p {
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary);
        }
        
        /* Navigation Buttons */
        .navigation-buttons {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin-top: 30px;
        }
        
        .nav-button {
            background: white;
            color: var(--primary);
            border: 2px solid var(--primary);
            padding: 16px 20px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            font-family: &#39;Inter&#39;, sans-serif;
            letter-spacing: 0.5px;
            outline: none !important;
            border-radius: 8px;
            transition: all 0.3s ease;
            text-decoration: none;
            box-shadow: 0 2px 8px rgba(23, 55, 179, 0.1);
            text-align: center;
        }
        
        .nav-button:hover {
            background: var(--primary);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(23, 55, 179, 0.2);
            text-decoration: none;
        }
        
        /* FAQ Section */
        .faq-section {
            margin-top: 40px;
        }
        
        .faq-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 25px;
            text-align: center;
        }
        
        .faq-item {
            margin-bottom: 20px;
            border: 1px solid #e1e8ff;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .faq-question {
            background: #f8faff;
            padding: 18px 20px;
            font-weight: 600;
            color: var(--primary);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.3s ease;
        }
        
        .faq-question:hover {
            background: #eef2ff;
        }
        
        .faq-answer {
            padding: 20px;
            background: white;
            display: none;
        }
        
        .faq-answer.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }
        
        /* Tool Link */
        .tool-link {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: #f8faff;
            border-radius: 8px;
            border: 1px solid #e1e8ff;
        }
        
        .tool-link a {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        .tool-link a:hover {
            text-decoration: underline;
        }
        
        /* Mobile Optimizations */
        @media (max-width: 768px) {
            body {
                font-size: 15px;
            }
            
            .calculator-body {
                padding: 20px 15px;
                gap: 15px;
            }
            
            .calculator-section {
                padding: 25px;
            }
            
            .circle-progress {
                width: 200px;
                height: 200px;
            }
            
            .circle-inner {
                width: 160px;
                height: 160px;
            }
            
            .result-value {
                font-size: 2.2rem;
            }
            
            .section-title {
                font-size: 16px;
            }
            
            input, select {
                padding: 14px 16px;
                font-size: 0.95rem;
            }
            
            button {
                padding: 16px 20px;
                font-size: 1rem;
            }
            
            .result-header h3 {
                font-size: 16px;
            }
            
            .navigation-buttons {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 480px) {
            .calculator-body {
                padding: 15px 10px;
            }
            
            .circle-progress {
                width: 180px;
                height: 180px;
            }
            
            .circle-inner {
                width: 140px;
                height: 140px;
            }
            
            .result-value {
                font-size: 1.8rem;
            }
            
            .calculator-section {
                padding: 20px 15px;
            }
            
            .section-title {
                font-size: 16px;
            }
            
            .result-section {
                padding: 25px 15px;
            }
            
            .additional-results {
                grid-template-columns: 1fr;
            }
        }
        
        /* Touch-friendly improvements */
        button, select {
            -webkit-tap-highlight-color: transparent;
            min-height: 55px;
        }
        
        input {
            min-height: 55px;
            -webkit-appearance: none;
        }
        
        /* Remove all outlines globally */
        *:focus {
            outline: none !important;
        }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div class=&quot;calculator-container&quot;&gt;
        &lt;div class=&quot;calculator-body&quot;&gt;
            &lt;!-- Tool Links --&gt;
            &lt;div class=&quot;tool-link&quot;&gt;
                &lt;a href=&quot;https://www.iubians.com/2025/11/percentage-to-cgpa-calculator.html&quot; target=&quot;_blank&quot;&gt;
                    &lt;i class=&quot;fas fa-exchange-alt&quot;&gt;&lt;/i&gt;
                    Convert Percentage to CGPA
                &lt;/a&gt;
            &lt;/div&gt;
            &lt;div class=&quot;tool-link&quot;&gt;
                &lt;a href=&quot;https://www.iubians.com/2025/11/cgpa-to-percentage-converter.html&quot; target=&quot;_blank&quot;&gt;
                    &lt;i class=&quot;fas fa-calculator&quot;&gt;&lt;/i&gt;
                    Convert CGPA to Percentage
                &lt;/a&gt;
            &lt;/div&gt;
            
            &lt;!-- Marks Percentage Calculator --&gt;
            &lt;div class=&quot;calculator-section&quot; id=&quot;marksPercentageSection&quot;&gt;
                &lt;div class=&quot;section-title&quot;&gt;
                    &lt;i class=&quot;fas fa-percentage&quot;&gt;&lt;/i&gt;
                    Marks Percentage Calculator
                &lt;/div&gt;
                
                &lt;div class=&quot;input-group&quot;&gt;
                    &lt;label for=&quot;obtainedMarks&quot;&gt;
                        &lt;i class=&quot;fas fa-check-circle&quot;&gt;&lt;/i&gt;
                        Marks Obtained
                    &lt;/label&gt;
                    &lt;input id=&quot;obtainedMarks&quot; min=&quot;0&quot; placeholder=&quot;Enter marks obtained&quot; step=&quot;0.01&quot; type=&quot;number&quot; /&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;input-group&quot;&gt;
                    &lt;label for=&quot;totalMarks&quot;&gt;
                        &lt;i class=&quot;fas fa-chart-bar&quot;&gt;&lt;/i&gt;
                        Total Marks
                    &lt;/label&gt;
                    &lt;input id=&quot;totalMarks&quot; min=&quot;1&quot; placeholder=&quot;Enter total marks&quot; step=&quot;0.01&quot; type=&quot;number&quot; /&gt;
                &lt;/div&gt;
                
                &lt;button id=&quot;calculateBtn&quot;&gt;
                    &lt;i class=&quot;fas fa-calculator&quot;&gt;&lt;/i&gt;
                    Calculate Percentage
                &lt;/button&gt;
                
                &lt;!-- Result Section --&gt;
                &lt;div class=&quot;result-section&quot; id=&quot;resultSection&quot;&gt;
                    &lt;div class=&quot;result-header&quot;&gt;
                        &lt;i class=&quot;fas fa-trophy&quot;&gt;&lt;/i&gt;
                        &lt;h3&gt;Percentage Calculated!&lt;/h3&gt;
                    &lt;/div&gt;
                    
                    &lt;div class=&quot;result-value-container&quot;&gt;
                        &lt;div class=&quot;circle-progress&quot; id=&quot;circleProgress&quot;&gt;
                            &lt;div class=&quot;circle-inner&quot;&gt;
                                &lt;div class=&quot;result-value&quot; id=&quot;percentageValue&quot;&gt;0%&lt;/div&gt;
                                &lt;div class=&quot;result-label&quot; id=&quot;performanceLabel&quot;&gt;Excellent&lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                    
                    &lt;div class=&quot;additional-results&quot;&gt;
                        &lt;div class=&quot;result-box&quot;&gt;
                            &lt;h4&gt;Marks Obtained&lt;/h4&gt;
                            &lt;p id=&quot;displayObtainedMarks&quot;&gt;0&lt;/p&gt;
                        &lt;/div&gt;
                        &lt;div class=&quot;result-box&quot;&gt;
                            &lt;h4&gt;Total Marks&lt;/h4&gt;
                            &lt;p id=&quot;displayTotalMarks&quot;&gt;0&lt;/p&gt;
                        &lt;/div&gt;
                        &lt;div class=&quot;result-box&quot;&gt;
                            &lt;h4&gt;Marks Remaining&lt;/h4&gt;
                            &lt;p id=&quot;marksRemaining&quot;&gt;0&lt;/p&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                    
                    &lt;!-- Navigation Buttons in Results --&gt;
                    &lt;div class=&quot;navigation-buttons&quot;&gt;
                        &lt;a class=&quot;nav-button&quot; href=&quot;https://www.iubians.com/2025/11/percentage-to-cgpa-calculator.html&quot; target=&quot;_blank&quot;&gt;
                            &lt;i class=&quot;fas fa-exchange-alt&quot;&gt;&lt;/i&gt;
                            Convert Percentage to CGPA
                        &lt;/a&gt;
                        &lt;a class=&quot;nav-button&quot; href=&quot;https://www.iubians.com/2025/11/cgpa-to-percentage-converter.html&quot; target=&quot;_blank&quot;&gt;
                            &lt;i class=&quot;fas fa-calculator&quot;&gt;&lt;/i&gt;
                            Convert CGPA to Percentage
                        &lt;/a&gt;
                        &lt;a class=&quot;nav-button&quot; href=&quot;#&quot; id=&quot;shareResult&quot;&gt;
                            &lt;i class=&quot;fas fa-share-alt&quot;&gt;&lt;/i&gt;
                            Share This Result
                        &lt;/a&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            
            &lt;!-- FAQ Section --&gt;
            &lt;div class=&quot;calculator-section faq-section&quot;&gt;
                &lt;h2 class=&quot;faq-title&quot;&gt;Marks Percentage Calculation FAQs&lt;/h2&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        How to calculate percentage of marks?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;To calculate the percentage of marks, use this formula:&lt;/p&gt;
                        &lt;p&gt;&lt;strong&gt;Percentage = (Marks Obtained / Total Marks) × 100&lt;/strong&gt;&lt;/p&gt;
                        &lt;p&gt;For example, if you scored 85 out of 100 marks:&lt;/p&gt;
                        &lt;p&gt;Percentage = (85 / 100) × 100 = 85%&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        How to calculate percentage of marks for multiple subjects?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;To calculate the overall percentage for multiple subjects:&lt;/p&gt;
                        &lt;ol&gt;
                            &lt;li&gt;Add up all marks obtained in all subjects&lt;/li&gt;
                            &lt;li&gt;Add up the total marks for all subjects&lt;/li&gt;
                            &lt;li&gt;Use the formula: Percentage = (Total Marks Obtained / Total Maximum Marks) × 100&lt;/li&gt;
                        &lt;/ol&gt;
                        &lt;p&gt;For example, if you scored 85/100, 90/100, and 78/100 in three subjects:&lt;/p&gt;
                        &lt;p&gt;Total marks obtained = 85 + 90 + 78 = 253&lt;/p&gt;
                        &lt;p&gt;Total maximum marks = 100 + 100 + 100 = 300&lt;/p&gt;
                        &lt;p&gt;Percentage = (253 / 300) × 100 = 84.33%&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        How to convert CGPA to percentage?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;To convert CGPA to percentage, multiply your CGPA by the appropriate conversion factor:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;For 4.0 scale: Percentage = CGPA × 25&lt;/li&gt;
                            &lt;li&gt;For 10.0 scale: Percentage = CGPA × 9.5&lt;/li&gt;
                            &lt;li&gt;For 5.0 scale: Percentage = CGPA × 20&lt;/li&gt;
                        &lt;/ul&gt;
                        &lt;p&gt;For example, if your CGPA is 8.5 on a 10.0 scale:&lt;/p&gt;
                        &lt;p&gt;Percentage = 8.5 × 9.5 = 80.75%&lt;/p&gt;
                        &lt;p&gt;Use our &lt;a href=&quot;https://www.iubians.com/2025/11/cgpa-to-percentage-converter.html&quot; target=&quot;_blank&quot;&gt;CGPA to Percentage calculator&lt;/a&gt; for quick conversions.&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        What is the difference between percentage and percentile?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;Percentage and percentile are different concepts:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;&lt;strong&gt;Percentage:&lt;/strong&gt; Represents the proportion of marks obtained out of total marks. It&#39;s calculated as (Marks Obtained / Total Marks) × 100.&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;Percentile:&lt;/strong&gt; Represents the percentage of scores that fall below a particular score in a distribution. For example, if you&#39;re in the 90th percentile, you scored better than 90% of the test-takers.&lt;/li&gt;
                        &lt;/ul&gt;
                        &lt;p&gt;Percentage is an absolute measure of performance, while percentile is a relative measure comparing your performance to others.&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        How to calculate percentage increase or decrease in marks?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;To calculate percentage increase or decrease:&lt;/p&gt;
                        &lt;p&gt;&lt;strong&gt;Percentage Change = [(New Value - Old Value) / Old Value] × 100&lt;/strong&gt;&lt;/p&gt;
                        &lt;p&gt;For example, if your marks increased from 70 to 85:&lt;/p&gt;
                        &lt;p&gt;Percentage Increase = [(85 - 70) / 70] × 100 = (15 / 70) × 100 = 21.43%&lt;/p&gt;
                        &lt;p&gt;If your marks decreased from 85 to 70:&lt;/p&gt;
                        &lt;p&gt;Percentage Decrease = [(70 - 85) / 85] × 100 = (-15 / 85) × 100 = -17.65%&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        How to calculate percentage for different grading systems?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;Different educational systems use different grading methods:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;&lt;strong&gt;Percentage System:&lt;/strong&gt; Direct calculation of percentage from marks&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;CGPA System:&lt;/strong&gt; Convert CGPA to percentage using the appropriate multiplier&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;Grade Point System:&lt;/strong&gt; Convert grade points to percentage based on your institution&#39;s conversion formula&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;Letter Grade System:&lt;/strong&gt; Each letter grade corresponds to a percentage range (e.g., A = 90-100%, B = 80-89%)&lt;/li&gt;
                        &lt;/ul&gt;
                        &lt;p&gt;Always check with your specific educational institution for their official conversion formulas.&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;script&gt;
        // DOM Elements
        const obtainedMarksInput = document.getElementById(&#39;obtainedMarks&#39;);
        const totalMarksInput = document.getElementById(&#39;totalMarks&#39;);
        const calculateBtn = document.getElementById(&#39;calculateBtn&#39;);
        const resultSection = document.getElementById(&#39;resultSection&#39;);
        const percentageValue = document.getElementById(&#39;percentageValue&#39;);
        const performanceLabel = document.getElementById(&#39;performanceLabel&#39;);
        const circleProgress = document.getElementById(&#39;circleProgress&#39;);
        const displayObtainedMarks = document.getElementById(&#39;displayObtainedMarks&#39;);
        const displayTotalMarks = document.getElementById(&#39;displayTotalMarks&#39;);
        const marksRemaining = document.getElementById(&#39;marksRemaining&#39;);
        const faqQuestions = document.querySelectorAll(&#39;.faq-question&#39;);
        const shareResultBtn = document.getElementById(&#39;shareResult&#39;);
        
        // Calculate Percentage
        calculateBtn.addEventListener(&#39;click&#39;, function() {
            const obtainedMarks = parseFloat(obtainedMarksInput.value);
            const totalMarks = parseFloat(totalMarksInput.value);
            
            // Validation
            if (isNaN(obtainedMarks) || obtainedMarks &lt; 0) {
                alert(&#39;Please enter valid obtained marks&#39;);
                return;
            }
            
            if (isNaN(totalMarks) || totalMarks &lt;= 0) {
                alert(&#39;Please enter valid total marks (greater than 0)&#39;);
                return;
            }
            
            if (obtainedMarks &gt; totalMarks) {
                alert(&#39;Obtained marks cannot be greater than total marks&#39;);
                return;
            }
            
            // Calculate percentage
            const percentage = (obtainedMarks / totalMarks) * 100;
            
            // Update result
            percentageValue.textContent = percentage.toFixed(2) + &#39;%&#39;;
            displayObtainedMarks.textContent = obtainedMarks;
            displayTotalMarks.textContent = totalMarks;
            marksRemaining.textContent = (totalMarks - obtainedMarks).toFixed(2);
            
            resultSection.classList.add(&#39;active&#39;);
            
            // Update circle progress and performance label
            const percentageValueForCircle = Math.min(percentage, 100);
            
            // Determine performance level and color
            let performance, circleColor;
            if (percentage &gt;= 90) {
                performance = &quot;Outstanding&quot;;
                circleColor = &#39;#00C851&#39;;
                percentageValue.style.color = &#39;#00C851&#39;;
                performanceLabel.style.color = &#39;#00C851&#39;;
            } else if (percentage &gt;= 80) {
                performance = &quot;Excellent&quot;;
                circleColor = &#39;#00C851&#39;;
                percentageValue.style.color = &#39;#00C851&#39;;
                performanceLabel.style.color = &#39;#00C851&#39;;
            } else if (percentage &gt;= 70) {
                performance = &quot;Good&quot;;
                circleColor = &#39;#ffbb33&#39;;
                percentageValue.style.color = &#39;#ffbb33&#39;;
                performanceLabel.style.color = &#39;#ffbb33&#39;;
            } else if (percentage &gt;= 60) {
                performance = &quot;Fair&quot;;
                circleColor = &#39;#ffbb33&#39;;
                percentageValue.style.color = &#39;#ffbb33&#39;;
                performanceLabel.style.color = &#39;#ffbb33&#39;;
            } else if (percentage &gt;= 50) {
                performance = &quot;Needs Improvement&quot;;
                circleColor = &#39;#ff4444&#39;;
                percentageValue.style.color = &#39;#ff4444&#39;;
                performanceLabel.style.color = &#39;#ff4444&#39;;
            } else {
                performance = &quot;Poor&quot;;
                circleColor = &#39;#ff4444&#39;;
                percentageValue.style.color = &#39;#ff4444&#39;;
                performanceLabel.style.color = &#39;#ff4444&#39;;
            }
            
            // Update performance label
            performanceLabel.textContent = performance;
            
            // Update circle color and progress
            circleProgress.style.background = `conic-gradient(${circleColor} ${percentageValueForCircle}%, #e1e8ff ${percentageValueForCircle}%)`;
            
            // Scroll to result
            resultSection.scrollIntoView({ behavior: &#39;smooth&#39;, block: &#39;center&#39; });
        });
        
        // Input validation
        obtainedMarksInput.addEventListener(&#39;input&#39;, function() {
            const obtained = parseFloat(this.value);
            const total = parseFloat(totalMarksInput.value);
            
            if (!isNaN(obtained) &amp;&amp; !isNaN(total) &amp;&amp; obtained &gt; total) {
                this.style.borderColor = &#39;#ff4757&#39;;
            } else {
                this.style.borderColor = &#39;&#39;;
            }
        });
        
        totalMarksInput.addEventListener(&#39;input&#39;, function() {
            const obtained = parseFloat(obtainedMarksInput.value);
            const total = parseFloat(this.value);
            
            if (!isNaN(obtained) &amp;&amp; !isNaN(total) &amp;&amp; obtained &gt; total) {
                this.style.borderColor = &#39;#ff4757&#39;;
            } else {
                this.style.borderColor = &#39;&#39;;
            }
        });
        
        // Enter key support
        obtainedMarksInput.addEventListener(&#39;keypress&#39;, function(e) {
            if (e.key === &#39;Enter&#39;) {
                calculateBtn.click();
            }
        });
        
        totalMarksInput.addEventListener(&#39;keypress&#39;, function(e) {
            if (e.key === &#39;Enter&#39;) {
                calculateBtn.click();
            }
        });
        
        // FAQ toggle functionality
        faqQuestions.forEach(question =&gt; {
            question.addEventListener(&#39;click&#39;, function() {
                const answer = this.nextElementSibling;
                const icon = this.querySelector(&#39;i&#39;);
                
                // Toggle active class
                answer.classList.toggle(&#39;active&#39;);
                
                // Rotate icon
                if (answer.classList.contains(&#39;active&#39;)) {
                    icon.style.transform = &#39;rotate(180deg)&#39;;
                } else {
                    icon.style.transform = &#39;rotate(0deg)&#39;;
                }
            });
        });
        
        // Share result functionality
        shareResultBtn.addEventListener(&#39;click&#39;, function(e) {
            e.preventDefault();
            
            const obtainedMarks = parseFloat(obtainedMarksInput.value);
            const totalMarks = parseFloat(totalMarksInput.value);
            
            if (isNaN(obtainedMarks) || isNaN(totalMarks)) {
                alert(&#39;Please calculate a percentage first before sharing&#39;);
                return;
            }
            
            const percentage = (obtainedMarks / totalMarks) * 100;
            const shareText = `I calculated my marks percentage: ${obtainedMarks}/${totalMarks} = ${percentage.toFixed(2)}% using this calculator!`;
            
            if (navigator.share) {
                navigator.share({
                    title: &#39;My Marks Percentage&#39;,
                    text: shareText,
                    url: window.location.href
                })
                .catch(err =&gt; {
                    console.log(&#39;Error sharing:&#39;, err);
                    fallbackShare(shareText);
                });
            } else {
                fallbackShare(shareText);
            }
        });
        
        function fallbackShare(shareText) {
            // Copy to clipboard as fallback
            navigator.clipboard.writeText(shareText)
                .then(() =&gt; {
                    alert(&#39;Result copied to clipboard! You can now paste it anywhere.&#39;);
                })
                .catch(err =&gt; {
                    console.error(&#39;Failed to copy: &#39;, err);
                    alert(&#39;Share text: &#39; + shareText);
                });
        }
        
        // Auto-focus on input
        obtainedMarksInput.focus();
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;


</content><link rel='replies' type='application/atom+xml' href='https://www.iubians.com/feeds/6628940608341227616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.iubians.com/2025/11/marks-percentage-calculator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1350638439242049187/posts/default/6628940608341227616'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1350638439242049187/posts/default/6628940608341227616'/><link rel='alternate' type='text/html' href='https://www.iubians.com/2025/11/marks-percentage-calculator.html' title='Marks Percentage Calculator'/><author><name>Arshad Mehmood</name><uri>http://www.blogger.com/profile/17555678431430754885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTCfT40t1yZuVB8kRRT53VZLCq_QA1V5TrMWBpsbu4XFUnaoMxlOqBJ7AekF8XXmHrfqNKFpHI7zeunIkhPTqIuCe-KVHwh2imlPcR81ZbUFjIgCgTc49scplYroMIHkkaSVRnjzcGc3sQZK5SYwk4Rp40bel6ytYFcqh1HnqWJpZIKQ/s1600/Gemini_Generated_Image_sjv4jhsjv4jhsjv4.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXpej3jDBh9RP44_IkOkFwfe8QNbldCRwoEN6C8gBxULDxmTjL0XIeNZRdXNb9QaO_dij5eKxtKCionZ_DQoTUpvNy3V0tp44Q90JfZ_GsRHTKYuKwwvJ8huZMJ3zW6YLi48cSqJsWH3Df88O0_UOLGJiTba4nLfyP2qfHW3iVYUi2jPV5BAGFgI3X-5k/s72-w320-h180-c/Marks%20Percentage%20Calculator.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1350638439242049187.post-2495868148917654100</id><published>2025-11-19T15:04:00.011+05:00</published><updated>2025-12-04T15:35:37.305+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Academic Calculators"/><category scheme="http://www.blogger.com/atom/ns#" term="Percentage to CGPA Calculator"/><category scheme="http://www.blogger.com/atom/ns#" term="Tools"/><title type='text'>Percentage to CGPA Calculator</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigNUsybfpaqDdRYdtXEk3t0iOOUv_FioUUrC8BOUW38uoq89a4BhhDPxmzjmNNX1gYjEDSgOZnCp56CAfLREHwhdte18kUagdQyoFzdTe8PkPdyQlz-_6D82Uk2JMPk8JGDDQWDpzgmXc5Db0NUW4Fm4E9SuttMGW9sCWP1OyCCt-MmB5vRaHLloDiCMg/s1366/CGPA%20to%20Percentage%20Converter.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Percentage to CGPA Calculator&quot; border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1366&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigNUsybfpaqDdRYdtXEk3t0iOOUv_FioUUrC8BOUW38uoq89a4BhhDPxmzjmNNX1gYjEDSgOZnCp56CAfLREHwhdte18kUagdQyoFzdTe8PkPdyQlz-_6D82Uk2JMPk8JGDDQWDpzgmXc5Db0NUW4Fm4E9SuttMGW9sCWP1OyCCt-MmB5vRaHLloDiCMg/w320-h180/CGPA%20to%20Percentage%20Converter.jpg&quot; title=&quot;Percentage to CGPA Calculator&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;

&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;&lt;/meta&gt;
    &lt;meta content=&quot;width=device-width, initial-scale=1.0&quot; name=&quot;viewport&quot;&gt;&lt;/meta&gt;
    &lt;title&gt;Percentage to CGPA Calculator | Convert Percentage to GPA Online&lt;/title&gt;
    &lt;meta content=&quot;Free online percentage to CGPA calculator for all grading systems. Convert percentage to 4.0, 10.0, and 5.0 scale GPA/CGPA. Accurate conversion for CBSE, engineering, and university applications.&quot; name=&quot;description&quot;&gt;&lt;/meta&gt;
    &lt;meta content=&quot;percentage to cgpa, percentage to gpa, percentage to cgpa calculator, convert percentage to cgpa, cgpa calculator, gpa calculator&quot; name=&quot;keywords&quot;&gt;&lt;/meta&gt;
    
    &lt;link href=&quot;https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
    &lt;link href=&quot;https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&amp;amp;display=swap&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
    &lt;style&gt;
        :root {
            --primary: #1737B3;
            --primary-light: #2a4bd6;
            --primary-dark: #0f2680;
            --success: #00C851;
            --warning: #ffbb33;
            --danger: #ff4444;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --light-gray: #e9ecef;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: &#39;Inter&#39;, -apple-system, BlinkMacSystemFont, sans-serif;
        }
        
        body {
            background-color: #f8faff;
            color: #1a1a1a;
            line-height: 1.6;
            min-height: 100vh;
            padding: 0;
            font-size: 14px;
            width: 100%;
            overflow-x: hidden;
        }
        
        .calculator-container {
            width: 100%;
            margin: 0 auto;
            background: white;
            overflow: hidden;
            max-width: 1200px;
            box-shadow: 0 0 30px rgba(0,0,0,0.05);
            min-height: 100vh;
        }
        
        .calculator-body {
            padding: 30px 20px;
            margin: 0 auto;
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .calculator-section {
            background: white;
            padding: 30px;
            width: 100%;
            border: 1px solid #e1e8ff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border-radius: 12px;
        }
        
        .section-title {
            font-size: 18px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
            text-align: left;
            justify-content: flex-start;
        }
        
        .input-group {
            margin-bottom: 25px;
        }
        
        .input-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 500;
            color: #1a1a1a;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .input-group label i {
            color: var(--primary);
            font-size: 1.1rem;
        }
        
        input, select {
            width: 100%;
            padding: 15px 18px;
            border: 1px solid #e1e8ff;
            font-size: 1rem;
            font-family: &#39;Inter&#39;, sans-serif;
            color: #1a1a1a;
            background: white;
            outline: none !important;
            border-radius: 8px;
            transition: border-color 0.2s;
        }
        
        input:focus, select:focus {
            border-color: var(--primary);
            outline: none !important;
            box-shadow: 0 0 0 3px rgba(23, 55, 179, 0.1);
        }
        
        button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 18px 25px;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: 600;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            font-family: &#39;Inter&#39;, sans-serif;
            letter-spacing: 0.5px;
            margin-top: 10px;
            outline: none !important;
            border-radius: 8px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(23, 55, 179, 0.2);
        }
        
        button:hover {
            background: var(--primary-light);
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(23, 55, 179, 0.3);
        }
        
        .result-section {
            background: white;
            padding: 30px;
            margin: 20px 0;
            display: none;
            border: 1px solid #e1e8ff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border-radius: 12px;
        }
        
        .result-section.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .result-header {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .result-header i {
            font-size: 1.8rem;
            color: var(--primary);
        }
        
        .result-header h3 {
            color: var(--primary);
            font-size: 18px;
            font-weight: 700;
            margin: 0;
        }
        
        .result-value-container {
            text-align: center;
            margin: 25px 0;
        }
        
        .circle-progress {
            width: 220px;
            height: 220px;
            border-radius: 50%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            background: conic-gradient(var(--primary) 0%, #e1e8ff 0%);
            transition: background 0.5s ease;
        }
        
        .circle-inner {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 10px;
            text-align: center;
        }
        
        .result-value {
            font-size: 2.5rem;
            font-weight: 800;
            color: var(--primary);
            margin: 0;
            line-height: 1;
            word-break: break-all;
            max-width: 100%;
        }
        
        .result-label {
            font-size: 1.2rem;
            font-weight: 600;
            margin-top: 8px;
        }
        
        .custom-formula-group {
            background: #f8faff;
            padding: 25px;
            margin-top: 20px;
            border: 1px solid #e1e8ff;
            display: none;
            border-radius: 8px;
        }
        
        .custom-formula-group.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }
        
        /* FAQ Section */
        .faq-section {
            margin-top: 40px;
        }
        
        .faq-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 25px;
            text-align: center;
        }
        
        .faq-item {
            margin-bottom: 20px;
            border: 1px solid #e1e8ff;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .faq-question {
            background: #f8faff;
            padding: 18px 20px;
            font-weight: 600;
            color: var(--primary);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.3s ease;
        }
        
        .faq-question:hover {
            background: #eef2ff;
        }
        
        .faq-answer {
            padding: 20px;
            background: white;
            display: none;
        }
        
        .faq-answer.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }
        
        /* Navigation */
        .nav-container {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
            background: white;
            padding: 20px;
            border-bottom: 1px solid #e1e8ff;
        }
        
        .nav-tabs {
            display: flex;
            background: #f8f9fa;
            border-radius: 50px;
            padding: 5px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .nav-tab {
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .nav-tab.active {
            background: var(--primary);
            color: white;
        }
        
        .nav-tab.inactive {
            background: transparent;
            color: var(--primary);
        }
        
        .nav-tab.inactive:hover {
            background: #eef2ff;
        }
        
        /* Tool Link */
        .tool-link {
            text-align: center;
            margin: 20px 0;
            padding: 15px;
            background: #f8faff;
            border-radius: 8px;
            border: 1px solid #e1e8ff;
        }
        
        .tool-link a {
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        .tool-link a:hover {
            text-decoration: underline;
        }
        
        /* Mobile Optimizations */
        @media (max-width: 768px) {
            body {
                font-size: 15px;
            }
            
            .calculator-body {
                padding: 20px 15px;
                gap: 15px;
            }
            
            .calculator-section {
                padding: 25px;
            }
            
            .circle-progress {
                width: 200px;
                height: 200px;
            }
            
            .circle-inner {
                width: 160px;
                height: 160px;
            }
            
            .result-value {
                font-size: 2.2rem;
            }
            
            .section-title {
                font-size: 16px;
            }
            
            input, select {
                padding: 14px 16px;
                font-size: 0.95rem;
            }
            
            button {
                padding: 16px 20px;
                font-size: 1rem;
            }
            
            .result-header h3 {
                font-size: 16px;
            }
            
            .nav-tab {
                padding: 10px 20px;
                font-size: 0.9rem;
            }
        }
        
        @media (max-width: 480px) {
            .calculator-body {
                padding: 15px 10px;
            }
            
            .circle-progress {
                width: 180px;
                height: 180px;
            }
            
            .circle-inner {
                width: 140px;
                height: 140px;
            }
            
            .result-value {
                font-size: 1.8rem;
            }
            
            .calculator-section {
                padding: 20px 15px;
            }
            
            .section-title {
                font-size: 16px;
            }
            
            .result-section {
                padding: 25px 15px;
            }
            
            .nav-tabs {
                flex-direction: column;
                border-radius: 8px;
            }
            
            .nav-tab {
                border-radius: 8px;
                justify-content: center;
            }
        }
        
        /* Touch-friendly improvements */
        button, select {
            -webkit-tap-highlight-color: transparent;
            min-height: 55px;
        }
        
        input {
            min-height: 55px;
            -webkit-appearance: none;
        }
        
        /* Remove all outlines globally */
        *:focus {
            outline: none !important;
        }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div class=&quot;calculator-container&quot;&gt;
        &lt;div class=&quot;nav-container&quot;&gt;
            &lt;div class=&quot;nav-tabs&quot;&gt;
                &lt;div class=&quot;nav-tab active&quot;&gt;
                    &lt;i class=&quot;fas fa-percentage&quot;&gt;&lt;/i&gt;
                    Percentage to CGPA
                &lt;/div&gt;
                &lt;div class=&quot;nav-tab inactive&quot; id=&quot;cgpaToPercentageTab&quot;&gt;
                    &lt;i class=&quot;fas fa-calculator&quot;&gt;&lt;/i&gt;
                    CGPA to Percentage
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
        
        &lt;div class=&quot;calculator-body&quot;&gt;
            &lt;!-- Tool Link --&gt;
            &lt;div class=&quot;tool-link&quot;&gt;
                &lt;a href=&quot;https://www.iubians.com/2025/11/cgpa-to-percentage-converter.html&quot; target=&quot;_blank&quot;&gt;
                    &lt;i class=&quot;fas fa-exchange-alt&quot;&gt;&lt;/i&gt;
                    Need to convert CGPA to Percentage? Use our CGPA to Percentage Converter
                &lt;/a&gt;
            &lt;/div&gt;
            
            &lt;!-- Percentage to CGPA Calculator --&gt;
            &lt;div class=&quot;calculator-section&quot; id=&quot;percentageToCgpaSection&quot;&gt;
                &lt;div class=&quot;section-title&quot;&gt;
                    &lt;i class=&quot;fas fa-percentage&quot;&gt;&lt;/i&gt;
                    Percentage to CGPA Calculator
                &lt;/div&gt;
                
                &lt;div class=&quot;input-group&quot;&gt;
                    &lt;label for=&quot;percentage&quot;&gt;
                        &lt;i class=&quot;fas fa-sort-numeric-up&quot;&gt;&lt;/i&gt;
                        Enter Your Percentage
                    &lt;/label&gt;
                    &lt;input id=&quot;percentage&quot; max=&quot;100&quot; min=&quot;0&quot; placeholder=&quot;Enter your percentage (e.g., 85.5)&quot; step=&quot;0.01&quot; type=&quot;number&quot; /&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;input-group&quot;&gt;
                    &lt;label for=&quot;scale&quot;&gt;
                        &lt;i class=&quot;fas fa-balance-scale&quot;&gt;&lt;/i&gt;
                        Select Grading System
                    &lt;/label&gt;
                    &lt;select id=&quot;scale&quot;&gt;
                        &lt;option value=&quot;4&quot;&gt;4.0 Grading System&lt;/option&gt;
                        &lt;option value=&quot;10&quot;&gt;10.0 Grading System&lt;/option&gt;
                        &lt;option value=&quot;5&quot;&gt;5.0 Scale Grading System&lt;/option&gt;
                        &lt;option value=&quot;custom&quot;&gt;Custom Scale (Other Systems)&lt;/option&gt;
                    &lt;/select&gt;
                &lt;/div&gt;
                
                &lt;!-- Custom Formula Section --&gt;
                &lt;div class=&quot;custom-formula-group&quot; id=&quot;customFormulaGroup&quot;&gt;
                    &lt;div class=&quot;input-group&quot;&gt;
                        &lt;label for=&quot;customMultiplier&quot;&gt;
                            &lt;i class=&quot;fas fa-cog&quot;&gt;&lt;/i&gt;
                            Custom Conversion Multiplier
                        &lt;/label&gt;
                        &lt;input id=&quot;customMultiplier&quot; placeholder=&quot;Enter multiplier (e.g., 9.5 for 10.0 scale)&quot; step=&quot;0.1&quot; type=&quot;number&quot; /&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;button id=&quot;calculateBtn&quot;&gt;
                    &lt;i class=&quot;fas fa-sync-alt&quot;&gt;&lt;/i&gt;
                    Convert to CGPA
                &lt;/button&gt;
                
                &lt;!-- Result Section --&gt;
                &lt;div class=&quot;result-section&quot; id=&quot;resultSection&quot;&gt;
                    &lt;div class=&quot;result-header&quot;&gt;
                        &lt;i class=&quot;fas fa-trophy&quot;&gt;&lt;/i&gt;
                        &lt;h3&gt;Conversion Successful!&lt;/h3&gt;
                    &lt;/div&gt;
                    
                    &lt;div class=&quot;result-value-container&quot;&gt;
                        &lt;div class=&quot;circle-progress&quot; id=&quot;circleProgress&quot;&gt;
                            &lt;div class=&quot;circle-inner&quot;&gt;
                                &lt;div class=&quot;result-value&quot; id=&quot;cgpaValue&quot;&gt;0.00&lt;/div&gt;
                                &lt;div class=&quot;result-label&quot; id=&quot;performanceLabel&quot;&gt;Excellent&lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            
            &lt;!-- FAQ Section --&gt;
            &lt;div class=&quot;calculator-section faq-section&quot;&gt;
                &lt;h2 class=&quot;faq-title&quot;&gt;Percentage to CGPA Conversion FAQs&lt;/h2&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        How to convert percentage to CGPA?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;To convert percentage to CGPA, divide your percentage by the appropriate conversion factor. For example:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;For 4.0 scale: CGPA = Percentage ÷ 25&lt;/li&gt;
                            &lt;li&gt;For 10.0 scale: CGPA = Percentage ÷ 9.5&lt;/li&gt;
                            &lt;li&gt;For 5.0 scale: CGPA = Percentage ÷ 20&lt;/li&gt;
                        &lt;/ul&gt;
                        &lt;p&gt;For instance, if you have 85% and are using a 10.0 scale: 85 ÷ 9.5 = 8.95 CGPA.&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        What is the difference between percentage and CGPA?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;Percentage is a traditional grading system that represents your score out of 100. CGPA (Cumulative Grade Point Average) is a standardized grading system used in many educational institutions worldwide.&lt;/p&gt;
                        &lt;p&gt;Key differences:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;Percentage is calculated based on total marks obtained&lt;/li&gt;
                            &lt;li&gt;CGPA is calculated based on grade points for each subject&lt;/li&gt;
                            &lt;li&gt;CGPA provides a more standardized way to compare academic performance across different institutions&lt;/li&gt;
                        &lt;/ul&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        How accurate is percentage to CGPA conversion?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;The accuracy of percentage to CGPA conversion depends on the conversion formula used by your institution. Different universities and education boards may use slightly different conversion factors.&lt;/p&gt;
                        &lt;p&gt;Our calculator uses the most commonly accepted conversion formulas:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;4.0 scale: Percentage ÷ 25&lt;/li&gt;
                            &lt;li&gt;10.0 scale: Percentage ÷ 9.5&lt;/li&gt;
                            &lt;li&gt;5.0 scale: Percentage ÷ 20&lt;/li&gt;
                        &lt;/ul&gt;
                        &lt;p&gt;For precise conversion, always check with your specific educational institution.&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        Can I convert CGPA back to percentage?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;Yes, you can convert CGPA back to percentage using the reverse calculation:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;For 4.0 scale: Percentage = CGPA × 25&lt;/li&gt;
                            &lt;li&gt;For 10.0 scale: Percentage = CGPA × 9.5&lt;/li&gt;
                            &lt;li&gt;For 5.0 scale: Percentage = CGPA × 20&lt;/li&gt;
                        &lt;/ul&gt;
                        &lt;p&gt;For example, if you have a CGPA of 8.5 on a 10.0 scale: 8.5 × 9.5 = 80.75%.&lt;/p&gt;
                        &lt;p&gt;Use our &lt;a href=&quot;https://www.iubians.com/2025/11/cgpa-to-percentage-converter.html&quot; target=&quot;_blank&quot;&gt;CGPA to Percentage calculator&lt;/a&gt; for quick conversions in the opposite direction.&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        Why do universities use CGPA instead of percentage?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;Universities use CGPA for several reasons:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;&lt;strong&gt;Standardization:&lt;/strong&gt; CGPA provides a uniform grading system across different courses and departments&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;International Recognition:&lt;/strong&gt; CGPA is more widely recognized in international academic contexts&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;Grade Inflation Control:&lt;/strong&gt; CGPA systems can better handle variations in grading standards&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;Holistic Assessment:&lt;/strong&gt; CGPA considers performance across multiple semesters/years&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;Easier Comparison:&lt;/strong&gt; It&#39;s easier to compare students from different educational backgrounds using CGPA&lt;/li&gt;
                        &lt;/ul&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        What is a good CGPA score?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;A &quot;good&quot; CGPA depends on the grading scale and the specific requirements of universities or employers:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;&lt;strong&gt;For 4.0 scale:&lt;/strong&gt; 3.0+ is generally considered good, 3.5+ is very good, 3.7+ is excellent&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;For 10.0 scale:&lt;/strong&gt; 7.0+ is generally considered good, 8.0+ is very good, 9.0+ is excellent&lt;/li&gt;
                            &lt;li&gt;&lt;strong&gt;For 5.0 scale:&lt;/strong&gt; 3.5+ is generally considered good, 4.0+ is very good, 4.5+ is excellent&lt;/li&gt;
                        &lt;/ul&gt;
                        &lt;p&gt;However, requirements vary by institution and program. Competitive programs may require higher CGPA scores.&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;script&gt;
        // DOM Elements
        const percentageInput = document.getElementById(&#39;percentage&#39;);
        const scaleSelect = document.getElementById(&#39;scale&#39;);
        const customFormulaGroup = document.getElementById(&#39;customFormulaGroup&#39;);
        const customMultiplierInput = document.getElementById(&#39;customMultiplier&#39;);
        const calculateBtn = document.getElementById(&#39;calculateBtn&#39;);
        const resultSection = document.getElementById(&#39;resultSection&#39;);
        const cgpaValue = document.getElementById(&#39;cgpaValue&#39;);
        const performanceLabel = document.getElementById(&#39;performanceLabel&#39;);
        const circleProgress = document.getElementById(&#39;circleProgress&#39;);
        const faqQuestions = document.querySelectorAll(&#39;.faq-question&#39;);
        const cgpaToPercentageTab = document.getElementById(&#39;cgpaToPercentageTab&#39;);
        
        // Show/hide custom formula section
        scaleSelect.addEventListener(&#39;change&#39;, function() {
            if (this.value === &#39;custom&#39;) {
                customFormulaGroup.classList.add(&#39;active&#39;);
            } else {
                customFormulaGroup.classList.remove(&#39;active&#39;);
            }
        });
        
        // Calculate CGPA
        calculateBtn.addEventListener(&#39;click&#39;, function() {
            const percentage = parseFloat(percentageInput.value);
            const scale = scaleSelect.value;
            
            // Validation
            if (isNaN(percentage) || percentage &lt; 0 || percentage &gt; 100) {
                alert(&#39;Please enter a valid percentage value between 0 and 100&#39;);
                return;
            }
            
            let cgpa, divisor;
            
            // Calculate based on selected scale
            switch(scale) {
                case &#39;4&#39;:
                    divisor = 25;
                    cgpa = percentage / divisor;
                    break;
                    
                case &#39;10&#39;:
                    divisor = 9.5;
                    cgpa = percentage / divisor;
                    break;
                    
                case &#39;5&#39;:
                    divisor = 20;
                    cgpa = percentage / divisor;
                    break;
                    
                case &#39;custom&#39;:
                    divisor = parseFloat(customMultiplierInput.value);
                    if (isNaN(divisor) || divisor &lt;= 0) {
                        alert(&#39;Please enter a valid custom divisor&#39;);
                        return;
                    }
                    cgpa = percentage / divisor;
                    break;
            }
            
            // Update result
            cgpaValue.textContent = cgpa.toFixed(2);
            resultSection.classList.add(&#39;active&#39;);
            
            // Update circle progress and performance label
            const maxCgpa = scale === &#39;4&#39; ? 4 : scale === &#39;5&#39; ? 5 : 10;
            const percentageValueForCircle = Math.min((cgpa / maxCgpa) * 100, 100);
            
            // Determine performance level and color
            let performance, circleColor;
            if (cgpa &gt;= maxCgpa * 0.9) {
                performance = &quot;Outstanding&quot;;
                circleColor = &#39;#00C851&#39;;
                cgpaValue.style.color = &#39;#00C851&#39;;
                performanceLabel.style.color = &#39;#00C851&#39;;
            } else if (cgpa &gt;= maxCgpa * 0.8) {
                performance = &quot;Excellent&quot;;
                circleColor = &#39;#00C851&#39;;
                cgpaValue.style.color = &#39;#00C851&#39;;
                performanceLabel.style.color = &#39;#00C851&#39;;
            } else if (cgpa &gt;= maxCgpa * 0.7) {
                performance = &quot;Good&quot;;
                circleColor = &#39;#ffbb33&#39;;
                cgpaValue.style.color = &#39;#ffbb33&#39;;
                performanceLabel.style.color = &#39;#ffbb33&#39;;
            } else if (cgpa &gt;= maxCgpa * 0.6) {
                performance = &quot;Fair&quot;;
                circleColor = &#39;#ffbb33&#39;;
                cgpaValue.style.color = &#39;#ffbb33&#39;;
                performanceLabel.style.color = &#39;#ffbb33&#39;;
            } else if (cgpa &gt;= maxCgpa * 0.5) {
                performance = &quot;Needs Improvement&quot;;
                circleColor = &#39;#ff4444&#39;;
                cgpaValue.style.color = &#39;#ff4444&#39;;
                performanceLabel.style.color = &#39;#ff4444&#39;;
            } else {
                performance = &quot;Poor&quot;;
                circleColor = &#39;#ff4444&#39;;
                cgpaValue.style.color = &#39;#ff4444&#39;;
                performanceLabel.style.color = &#39;#ff4444&#39;;
            }
            
            // Update performance label
            performanceLabel.textContent = performance;
            
            // Update circle color and progress
            circleProgress.style.background = `conic-gradient(${circleColor} ${percentageValueForCircle}%, #e1e8ff ${percentageValueForCircle}%)`;
            
            // Scroll to result
            resultSection.scrollIntoView({ behavior: &#39;smooth&#39;, block: &#39;center&#39; });
        });
        
        // Input validation
        percentageInput.addEventListener(&#39;input&#39;, function() {
            const value = parseFloat(this.value);
            if (!isNaN(value) &amp;&amp; (value &lt; 0 || value &gt; 100)) {
                this.style.borderColor = &#39;#ff4757&#39;;
            } else {
                this.style.borderColor = &#39;&#39;;
            }
        });
        
        // Enter key support
        percentageInput.addEventListener(&#39;keypress&#39;, function(e) {
            if (e.key === &#39;Enter&#39;) {
                calculateBtn.click();
            }
        });
        
        // FAQ toggle functionality
        faqQuestions.forEach(question =&gt; {
            question.addEventListener(&#39;click&#39;, function() {
                const answer = this.nextElementSibling;
                const icon = this.querySelector(&#39;i&#39;);
                
                // Toggle active class
                answer.classList.toggle(&#39;active&#39;);
                
                // Rotate icon
                if (answer.classList.contains(&#39;active&#39;)) {
                    icon.style.transform = &#39;rotate(180deg)&#39;;
                } else {
                    icon.style.transform = &#39;rotate(0deg)&#39;;
                }
            });
        });
        
        // Navigation tabs
        cgpaToPercentageTab.addEventListener(&#39;click&#39;, function() {
            window.location.href = &#39;https://www.iubians.com/2025/11/cgpa-to-percentage-converter.html&#39;;
        });
        
        // Auto-focus on input
        percentageInput.focus();
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;



</content><link rel='replies' type='application/atom+xml' href='https://www.iubians.com/feeds/2495868148917654100/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.iubians.com/2025/11/percentage-to-cgpa-calculator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1350638439242049187/posts/default/2495868148917654100'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1350638439242049187/posts/default/2495868148917654100'/><link rel='alternate' type='text/html' href='https://www.iubians.com/2025/11/percentage-to-cgpa-calculator.html' title='Percentage to CGPA Calculator'/><author><name>Arshad Mehmood</name><uri>http://www.blogger.com/profile/17555678431430754885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTCfT40t1yZuVB8kRRT53VZLCq_QA1V5TrMWBpsbu4XFUnaoMxlOqBJ7AekF8XXmHrfqNKFpHI7zeunIkhPTqIuCe-KVHwh2imlPcR81ZbUFjIgCgTc49scplYroMIHkkaSVRnjzcGc3sQZK5SYwk4Rp40bel6ytYFcqh1HnqWJpZIKQ/s1600/Gemini_Generated_Image_sjv4jhsjv4jhsjv4.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigNUsybfpaqDdRYdtXEk3t0iOOUv_FioUUrC8BOUW38uoq89a4BhhDPxmzjmNNX1gYjEDSgOZnCp56CAfLREHwhdte18kUagdQyoFzdTe8PkPdyQlz-_6D82Uk2JMPk8JGDDQWDpzgmXc5Db0NUW4Fm4E9SuttMGW9sCWP1OyCCt-MmB5vRaHLloDiCMg/s72-w320-h180-c/CGPA%20to%20Percentage%20Converter.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1350638439242049187.post-2854224676195063976</id><published>2025-11-18T11:13:00.093+05:00</published><updated>2025-12-17T11:37:40.278+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Academic Calculators"/><category scheme="http://www.blogger.com/atom/ns#" term="CGPA"/><category scheme="http://www.blogger.com/atom/ns#" term="Converter"/><category scheme="http://www.blogger.com/atom/ns#" term="Tools"/><title type='text'>CGPA to Percentage Converter </title><content type='html'>&lt;br /&gt;

&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;&lt;/meta&gt;
    &lt;meta content=&quot;width=device-width, initial-scale=1.0&quot; name=&quot;viewport&quot;&gt;&lt;/meta&gt;
    &lt;title&gt;CGPA to Percentage Calculator | Convert GPA to Percentage (4.0, 10.0 &amp; 5.0 Scale)&lt;/title&gt;
    &lt;meta content=&quot;Free online CGPA to percentage calculator for all grading systems. Convert 4.0, 10.0, and 5.0 scale GPA to percentage. Calculate percentage from CGPA for CBSE, engineering, and university grades.&quot; name=&quot;description&quot;&gt;&lt;/meta&gt;
    &lt;meta content=&quot;cgpa to percentage, gpa to percentage, cgpa to percentage calculator, how to convert cgpa into percentage, cbse cgpa to percentage, cgpa to percentage out of 4, cgpa to percentage for engineering, sgpa to percentage, percentage to cgpa&quot; name=&quot;keywords&quot;&gt;&lt;/meta&gt;
    
    &lt;link href=&quot;https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
    &lt;link href=&quot;https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&amp;amp;display=swap&quot; rel=&quot;stylesheet&quot;&gt;&lt;/link&gt;
    &lt;style&gt;
        :root {
            --primary: #1737B3;
            --primary-light: #2a4bd6;
            --primary-dark: #0f2680;
            --success: #00C851;
            --warning: #ffbb33;
            --danger: #ff4444;
            --light: #f8f9fa;
            --dark: #212529;
            --gray: #6c757d;
            --light-gray: #e9ecef;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: &#39;Inter&#39;, -apple-system, BlinkMacSystemFont, sans-serif;
        }
        
        body {
            background-color: #ffffff;
            color: #1a1a1a;
            line-height: 1.6;
            min-height: 100vh;
            padding: 0;
            font-size: 14px;
            width: 100%;
            overflow-x: hidden;
        }
        
        .calculator-container {
            width: 100%;
            margin: 0;
            background: white;
            overflow: hidden;
        }
        
        .calculator-body {
            padding: 20px;
            margin: 0 auto;
            width: 100%;
            max-width: 1200px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        .calculator-section {
            background: white;
            padding: 30px;
            width: 100%;
            border: 1px solid #e1e8ff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border-radius: 8px;
        }
        
        .section-title {
            font-size: 14px;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 30px;
            display: flex;
            align-items: center;
            gap: 15px;
            text-align: left;
            justify-content: flex-start;
        }
        
        .input-group {
            margin-bottom: 25px;
        }
        
        .input-group label {
            display: block;
            margin-bottom: 10px;
            font-weight: 500;
            color: #1a1a1a;
            font-size: 1rem;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .input-group label i {
            color: var(--primary);
            font-size: 1.1rem;
        }
        
        input, select {
            width: 100%;
            padding: 15px 18px;
            border: 1px solid #e1e8ff;
            font-size: 1rem;
            font-family: &#39;Inter&#39;, sans-serif;
            color: #1a1a1a;
            background: white;
            outline: none !important;
            border-radius: 4px;
            transition: border-color 0.2s;
        }
        
        input:focus, select:focus {
            border-color: var(--primary);
            outline: none !important;
            box-shadow: none;
        }
        
        button {
            background: var(--primary);
            color: white;
            border: none;
            padding: 18px 25px;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: 600;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            font-family: &#39;Inter&#39;, sans-serif;
            letter-spacing: 0.5px;
            margin-top: 10px;
            outline: none !important;
            border-radius: 4px;
            transition: background 0.2s;
        }
        
        button:hover {
            background: var(--primary-light);
        }
        
        .result-section {
            background: white;
            padding: 30px;
            margin: 20px 0;
            display: none;
            border: 1px solid #e1e8ff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            border-radius: 8px;
        }
        
        .result-section.active {
            display: block;
        }
        
        .result-header {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .result-header i {
            font-size: 1.8rem;
            color: var(--primary);
        }
        
        .result-header h3 {
            color: var(--primary);
            font-size: 16px;
            font-weight: 700;
            margin: 0;
        }
        
        .result-value-container {
            text-align: center;
            margin: 25px 0;
        }
        
        .circle-progress {
            width: 220px;
            height: 220px;
            border-radius: 50%;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            background: conic-gradient(var(--primary) 0%, #e1e8ff 0%);
            transition: background 0.5s ease;
        }
        
        .circle-inner {
            width: 180px;
            height: 180px;
            border-radius: 50%;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            padding: 10px;
            text-align: center;
        }
        
        .result-value {
            font-size: 2.0rem;
            font-weight: 800;
            color: var(--primary);
            margin: 0;
            line-height: 1;
            word-break: break-all;
            max-width: 100%;
        }
        
        .result-label {
            font-size: 1.0rem;
            font-weight: 600;
            margin-top: 8px;
        }
        
        .custom-formula-group {
            background: #f8faff;
            padding: 25px;
            margin-top: 20px;
            border: 1px solid #e1e8ff;
            display: none;
            border-radius: 4px;
        }
        
        .custom-formula-group.active {
            display: block;
        }
        
        /* FAQ Section */
        .faq-section {
            margin-top: 40px;
        }
        
        .faq-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 25px;
            text-align: center;
        }
        
        .faq-item {
            margin-bottom: 20px;
            border: 1px solid #e1e8ff;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .faq-question {
            background: #f8faff;
            padding: 18px 20px;
            font-weight: 600;
            color: var(--primary);
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .faq-answer {
            padding: 20px;
            background: white;
            display: none;
        }
        
        .faq-answer.active {
            display: block;
        }
        
        /* Mobile Optimizations */
        @media (max-width: 768px) {
            body {
                font-size: 15px;
            }
            
            .calculator-body {
                padding: 15px;
                gap: 15px;
            }
            
            .calculator-section {
                padding: 25px;
            }
            
            .circle-progress {
                width: 200px;
                height: 200px;
            }
            
            .circle-inner {
                width: 160px;
                height: 160px;
            }
            
            .result-value {
                font-size: 2.2rem;
            }
            
            .section-title {
                font-size: 14px;
            }
            
            input, select {
                padding: 14px 16px;
                font-size: 0.95rem;
            }
            
            button {
                padding: 16px 20px;
                font-size: 1rem;
            }
            
            .result-header h3 {
                font-size: 16px;
            }
        }
        
        @media (max-width: 480px) {
            .calculator-body {
                padding: 10px;
            }
            
            .circle-progress {
                width: 180px;
                height: 180px;
            }
            
            .circle-inner {
                width: 140px;
                height: 140px;
            }
            
            .result-value {
                font-size: 1.8rem;
            }
            
            .calculator-section {
                padding: 20px 15px;
            }
            
            .section-title {
                font-size: 14px;
            }
            
            .result-section {
                padding: 25px 15px;
            }
        }
        
        /* Touch-friendly improvements */
        button, select {
            -webkit-tap-highlight-color: transparent;
            min-height: 55px;
        }
        
        input {
            min-height: 55px;
            -webkit-appearance: none;
        }
        
        /* Remove all outlines globally */
        *:focus {
            outline: none !important;
        }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div class=&quot;calculator-container&quot;&gt;
        &lt;div class=&quot;calculator-body&quot;&gt;
            &lt;!-- GPA Conversion Calculator --&gt;
            &lt;div class=&quot;calculator-section&quot;&gt;
                &lt;div class=&quot;section-title&quot;&gt;
                    &lt;i class=&quot;fas fa-calculator&quot;&gt;&lt;/i&gt;
                    CGPA to Percentage Calculator
                &lt;/div&gt;
                
                &lt;div class=&quot;input-group&quot;&gt;
                    &lt;label for=&quot;cgpa&quot;&gt;
                        &lt;i class=&quot;fas fa-sort-numeric-up&quot;&gt;&lt;/i&gt;
                        Enter Your GPA/CGPA
                    &lt;/label&gt;
                    &lt;input id=&quot;cgpa&quot; max=&quot;10&quot; min=&quot;0&quot; placeholder=&quot;Enter your GPA (e.g., 3.5 or 8.5)&quot; step=&quot;0.01&quot; type=&quot;number&quot; /&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;input-group&quot;&gt;
                    &lt;label for=&quot;scale&quot;&gt;
                        &lt;i class=&quot;fas fa-balance-scale&quot;&gt;&lt;/i&gt;
                        Select Grading System
                    &lt;/label&gt;
                    &lt;select id=&quot;scale&quot;&gt;
                      &lt;option value=&quot;4&quot;&gt;4.0 Grading System&lt;/option&gt;
                      &lt;option value=&quot;5&quot;&gt;5.0 Grading System&lt;/option&gt;
                      &lt;option value=&quot;10&quot;&gt;10.0 Grading System&lt;/option&gt;
                      &lt;option value=&quot;custom&quot;&gt;(Custom Grading System)&lt;/option&gt;
                    &lt;/select&gt;
                &lt;/div&gt;
                
                &lt;!-- Custom Formula Section --&gt;
                &lt;div class=&quot;custom-formula-group&quot; id=&quot;customFormulaGroup&quot;&gt;
                    &lt;div class=&quot;input-group&quot;&gt;
                        &lt;label for=&quot;customMultiplier&quot;&gt;
                            &lt;i class=&quot;fas fa-cog&quot;&gt;&lt;/i&gt;
                            Custom Conversion Multiplier
                        &lt;/label&gt;
                        &lt;input id=&quot;customMultiplier&quot; placeholder=&quot;Enter multiplier (e.g., 25 for 4.0 scale)&quot; step=&quot;0.1&quot; type=&quot;number&quot; /&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;button id=&quot;calculateBtn&quot;&gt;
                    &lt;i class=&quot;fas fa-sync-alt&quot;&gt;&lt;/i&gt;
                    Convert to Percentage
                &lt;/button&gt;
                
                &lt;!-- Result Section --&gt;
                &lt;div class=&quot;result-section&quot; id=&quot;resultSection&quot;&gt;
                    &lt;div class=&quot;result-header&quot;&gt;
                        &lt;i class=&quot;fas fa-trophy&quot;&gt;&lt;/i&gt;
                        &lt;h3&gt;Conversion Successful!&lt;/h3&gt;
                    &lt;/div&gt;
                    
                    &lt;div class=&quot;result-value-container&quot;&gt;
                        &lt;div class=&quot;circle-progress&quot; id=&quot;circleProgress&quot;&gt;
                            &lt;div class=&quot;circle-inner&quot;&gt;
                                &lt;div class=&quot;result-value&quot; id=&quot;percentageValue&quot;&gt;0%&lt;/div&gt;
                                &lt;div class=&quot;result-label&quot; id=&quot;performanceLabel&quot;&gt;Excellent&lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
          
          
          &lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipwvnASw73k0eUQXx5ZLd3QSeNGvZH3z7UwY5_AbQOUzfvK1ycMxveEBXXeiMAhDkrZMjIlOC1aXvtIB00iWOl4fshW0W8g_q5HyBE0V9eGrZIe7tDnaktz2zgVq9tWUCgN3i6dLyisvbjpMcuEM5t3gpQJIudWKpJ4zFGdjHRLUkS9ToI70deoP9Voz8/s1366/CGPA%20to%20Percentage%20Converter.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;CGPA to Percentage Converter&quot; border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1366&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipwvnASw73k0eUQXx5ZLd3QSeNGvZH3z7UwY5_AbQOUzfvK1ycMxveEBXXeiMAhDkrZMjIlOC1aXvtIB00iWOl4fshW0W8g_q5HyBE0V9eGrZIe7tDnaktz2zgVq9tWUCgN3i6dLyisvbjpMcuEM5t3gpQJIudWKpJ4zFGdjHRLUkS9ToI70deoP9Voz8/w320-h180/CGPA%20to%20Percentage%20Converter.png&quot; title=&quot;CGPA to Percentage Converter&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt; 
            
            &lt;!-- FAQ Section --&gt;
            &lt;div class=&quot;calculator-section faq-section&quot;&gt;
                &lt;h4 class=&quot;faq-title&quot;&gt;CGPA to Percentage Conversion FAQs&lt;/h4&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        How to convert CGPA to percentage?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;To convert CGPA to percentage, multiply your CGPA by the appropriate conversion factor. For example:&lt;/p&gt;
                        &lt;ul&gt;
                            &lt;li&gt;For 4.0 scale: Percentage = CGPA × 25&lt;/li&gt;
                            &lt;li&gt;For 10.0 scale: Percentage = CGPA × 9.5&lt;/li&gt;
                            &lt;li&gt;For 5.0 scale: Percentage = CGPA × 20&lt;/li&gt;
                        &lt;/ul&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        How to convert CGPA to percentage for CBSE?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;For CBSE students, the formula to convert CGPA to percentage is: Percentage = CGPA × 9.5&lt;/p&gt;
                        &lt;p&gt;For example, if your CGPA is 9.2, your percentage would be 9.2 × 9.5 = 87.4%&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        How to calculate percentage from CGPA in engineering?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;Most engineering colleges in India use a 10.0 grading system. To calculate percentage from CGPA:&lt;/p&gt;
                        &lt;p&gt;Percentage = CGPA × 10&lt;/p&gt;
                        &lt;p&gt;For example, a CGPA of 8.5 would convert to 85%.&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        What is the CGPA to percentage formula for 4.0 scale?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;For a 4.0 grading scale, the most common conversion formula is:&lt;/p&gt;
                        &lt;p&gt;Percentage = CGPA × 25&lt;/p&gt;
                        &lt;p&gt;For example, a CGPA of 3.2 on a 4.0 scale would be 3.2 × 25 = 80%.&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
                
                &lt;div class=&quot;faq-item&quot;&gt;
                    &lt;div class=&quot;faq-question&quot;&gt;
                        How to convert SGPA to percentage?
                        &lt;i class=&quot;fas fa-chevron-down&quot;&gt;&lt;/i&gt;
                    &lt;/div&gt;
                    &lt;div class=&quot;faq-answer&quot;&gt;
                        &lt;p&gt;SGPA (Semester Grade Point Average) can be converted to percentage using the same formula as CGPA:&lt;/p&gt;
                        &lt;p&gt;Percentage = SGPA × Conversion Factor&lt;/p&gt;
                        &lt;p&gt;The conversion factor depends on your university&#39;s grading system (typically 10 for most universities).&lt;/p&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    &lt;script&gt;
        // DOM Elements
        const cgpaInput = document.getElementById(&#39;cgpa&#39;);
        const scaleSelect = document.getElementById(&#39;scale&#39;);
        const customFormulaGroup = document.getElementById(&#39;customFormulaGroup&#39;);
        const customMultiplierInput = document.getElementById(&#39;customMultiplier&#39;);
        const calculateBtn = document.getElementById(&#39;calculateBtn&#39;);
        const resultSection = document.getElementById(&#39;resultSection&#39;);
        const percentageValue = document.getElementById(&#39;percentageValue&#39;);
        const performanceLabel = document.getElementById(&#39;performanceLabel&#39;);
        const circleProgress = document.getElementById(&#39;circleProgress&#39;);
        const faqQuestions = document.querySelectorAll(&#39;.faq-question&#39;);
        
        // Show/hide custom formula section
        scaleSelect.addEventListener(&#39;change&#39;, function() {
            if (this.value === &#39;custom&#39;) {
                customFormulaGroup.classList.add(&#39;active&#39;);
            } else {
                customFormulaGroup.classList.remove(&#39;active&#39;);
            }
        });
        
        // Calculate percentage
        calculateBtn.addEventListener(&#39;click&#39;, function() {
            const cgpa = parseFloat(cgpaInput.value);
            const scale = scaleSelect.value;
            
            // Validation
            if (isNaN(cgpa) || cgpa &lt; 0) {
                alert(&#39;Please enter a valid GPA/CGPA value&#39;);
                return;
            }
            
            let percentage, multiplier;
            
            // Calculate based on selected scale
            switch(scale) {
                case &#39;4&#39;:
                    multiplier = 25;
                    percentage = cgpa * multiplier;
                    break;
                    
                case &#39;10&#39;:
                    multiplier = 9.5;
                    percentage = cgpa * multiplier;
                    break;
                    
                case &#39;5&#39;:
                    multiplier = 20;
                    percentage = cgpa * multiplier;
                    break;
                    
                case &#39;custom&#39;:
                    multiplier = parseFloat(customMultiplierInput.value);
                    if (isNaN(multiplier) || multiplier &lt;= 0) {
                        alert(&#39;Please enter a valid custom multiplier&#39;);
                        return;
                    }
                    percentage = cgpa * multiplier;
                    break;
            }
            
            // Ensure percentage doesn&#39;t exceed 100%
            if (percentage &gt; 100) percentage = 100;
            
            // Update result
            percentageValue.textContent = percentage.toFixed(2) + &#39;%&#39;;
            resultSection.classList.add(&#39;active&#39;);
            
            // Update circle progress and performance label
            const percentageValueForCircle = Math.min(percentage, 100);
            
            // Determine performance level and color
            let performance, circleColor;
            if (percentage &gt;= 90) {
                performance = &quot;Outstanding&quot;;
                circleColor = &#39;#00C851&#39;;
                percentageValue.style.color = &#39;#00C851&#39;;
                performanceLabel.style.color = &#39;#00C851&#39;;
            } else if (percentage &gt;= 80) {
                performance = &quot;Excellent&quot;;
                circleColor = &#39;#00C851&#39;;
                percentageValue.style.color = &#39;#00C851&#39;;
                performanceLabel.style.color = &#39;#00C851&#39;;
            } else if (percentage &gt;= 70) {
                performance = &quot;Good&quot;;
                circleColor = &#39;#ffbb33&#39;;
                percentageValue.style.color = &#39;#ffbb33&#39;;
                performanceLabel.style.color = &#39;#ffbb33&#39;;
            } else if (percentage &gt;= 60) {
                performance = &quot;Fair&quot;;
                circleColor = &#39;#ffbb33&#39;;
                percentageValue.style.color = &#39;#ffbb33&#39;;
                performanceLabel.style.color = &#39;#ffbb33&#39;;
            } else if (percentage &gt;= 50) {
                performance = &quot;Needs Improvement&quot;;
                circleColor = &#39;#ff4444&#39;;
                percentageValue.style.color = &#39;#ff4444&#39;;
                performanceLabel.style.color = &#39;#ff4444&#39;;
            } else {
                performance = &quot;Poor&quot;;
                circleColor = &#39;#ff4444&#39;;
                percentageValue.style.color = &#39;#ff4444&#39;;
                performanceLabel.style.color = &#39;#ff4444&#39;;
            }
            
            // Update performance label
            performanceLabel.textContent = performance;
            
            // Update circle color and progress
            circleProgress.style.background = `conic-gradient(${circleColor} ${percentageValueForCircle}%, #e1e8ff ${percentageValueForCircle}%)`;
            
            // Scroll to result
            resultSection.scrollIntoView({ behavior: &#39;smooth&#39;, block: &#39;center&#39; });
        });
        
        // Input validation
        cgpaInput.addEventListener(&#39;input&#39;, function() {
            const value = parseFloat(this.value);
            if (!isNaN(value) &amp;&amp; value &gt; 10) {
                this.style.borderColor = &#39;#ff4757&#39;;
            } else {
                this.style.borderColor = &#39;&#39;;
            }
        });
        
        // Enter key support
        cgpaInput.addEventListener(&#39;keypress&#39;, function(e) {
            if (e.key === &#39;Enter&#39;) {
                calculateBtn.click();
            }
        });
        
        // FAQ toggle functionality
        faqQuestions.forEach(question =&gt; {
            question.addEventListener(&#39;click&#39;, function() {
                const answer = this.nextElementSibling;
                const icon = this.querySelector(&#39;i&#39;);
                
                // Toggle active class
                answer.classList.toggle(&#39;active&#39;);
                
                // Rotate icon
                if (answer.classList.contains(&#39;active&#39;)) {
                    icon.style.transform = &#39;rotate(180deg)&#39;;
                } else {
                    icon.style.transform = &#39;rotate(0deg)&#39;;
                }
            });
        });
        
        // Auto-focus on input
        cgpaInput.focus();
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
</content><link rel='replies' type='application/atom+xml' href='https://www.iubians.com/feeds/2854224676195063976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.iubians.com/2025/11/cgpa-to-percentage-converter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1350638439242049187/posts/default/2854224676195063976'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1350638439242049187/posts/default/2854224676195063976'/><link rel='alternate' type='text/html' href='https://www.iubians.com/2025/11/cgpa-to-percentage-converter.html' title='CGPA to Percentage Converter '/><author><name>Arshad Mehmood</name><uri>http://www.blogger.com/profile/17555678431430754885</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTCfT40t1yZuVB8kRRT53VZLCq_QA1V5TrMWBpsbu4XFUnaoMxlOqBJ7AekF8XXmHrfqNKFpHI7zeunIkhPTqIuCe-KVHwh2imlPcR81ZbUFjIgCgTc49scplYroMIHkkaSVRnjzcGc3sQZK5SYwk4Rp40bel6ytYFcqh1HnqWJpZIKQ/s1600/Gemini_Generated_Image_sjv4jhsjv4jhsjv4.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipwvnASw73k0eUQXx5ZLd3QSeNGvZH3z7UwY5_AbQOUzfvK1ycMxveEBXXeiMAhDkrZMjIlOC1aXvtIB00iWOl4fshW0W8g_q5HyBE0V9eGrZIe7tDnaktz2zgVq9tWUCgN3i6dLyisvbjpMcuEM5t3gpQJIudWKpJ4zFGdjHRLUkS9ToI70deoP9Voz8/s72-w320-h180-c/CGPA%20to%20Percentage%20Converter.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1350638439242049187.post-4765126928689852840</id><published>2025-04-30T10:47:00.295+05:00</published><updated>2026-04-01T10:52:32.701+05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Entry Test"/><category scheme="http://www.blogger.com/atom/ns#" term="IUB Test"/><category scheme="http://www.blogger.com/atom/ns#" term="Tests"/><title type='text'>IUB  Test Preparation Complete Guide || Syllabus, Pattern, Past Papers</title><content type='html'>Are you planning to apply to The Islamia University of Bahawalpur (IUB) for undergraduate, graduate, or PhD programs? Navigating the admission test process can be challenging—but with this comprehensive guide to IUB Testing Services, you’ll have everything you need to register, prepare, and succeed.

&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://iubians.com/2025/04/iub-admission-nat-gat-test-syllabus.html&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;768&quot; data-original-width=&quot;1366&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTB77t2UxOge0usMyYWmWvmwhESHrdKzK-LRgmrR5ApIQaY1QUIQ1941Wo8lMWjBc2mzk2_DC7GTQK9IMY2VIT4q14XtO8P3OVfBhcGGwlVnY_MuYPFd9ChvtjyNPF80ilHw0hdSY3b4tiC9CmE5XJjOzWk9QCBer0kSsAGhBkP_He4ZVH2HwhhRsTuow/s16000/IUB%20Test%20Preparation%20Prepare%20for%20your%20IUB%20admission%20test%20with%20comprehensive%20practice%20questions.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;








&lt;!DOCTYPE html&gt;
&lt;html lang=&quot;en&quot;&gt;
&lt;head&gt;
    &lt;meta charset=&quot;UTF-8&quot;&gt;
    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;
    &lt;title&gt;IUB Test Preparation&lt;/title&gt;
    &lt;link href=&quot;https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&amp;display=swap&quot; rel=&quot;stylesheet&quot;&gt;
    &lt;style&gt;
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: &#39;Poppins&#39;, sans-serif;
        }
        
        body {
            background-color: #f8fafc;
            color: #2d3748;
            line-height: 1.6;
            padding: 20px;
        }
        
        .main-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        
        /* Header Section */
        .header-section {
            background: white;
            border-radius: 0px;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }
        
        .header h1 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 10px;
            color: #1a202c;
            text-align: center;
        }
        
        .header p {
            text-align: center;
            margin-bottom: 15px;
            color: #4a5568;
        }
        
        .test-structure {
            background: #ffff;
            border-radius: 0px;
            padding: 0px;
        }
        
        .subject-list {
            list-style: none;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 10px;
        }
        
        .subject-item {
            background: white;
            border-radius: 0px;
            padding: 0px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        
        .subject-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #e2e8f0;
        }
        
        .subject-name {
            font-size: 18px;
            font-weight: 700;
            color: #1a202c;
        }
        
        .subject-percentage {
            font-size: 16px;
            font-weight: 600;
            color: #4361ee;
        }
        
        .topic-list {
            list-style: none;
        }
        
        .topic-item {
            display: flex;
            align-items: flex-start;
            gap: 8px;
            margin-bottom: 8px;
        }
        
        .topic-star {
            color: #4361ee;
            font-weight: bold;
            margin-top: 2px;
            flex-shrink: 0;
        }
        
        .topic-name {
            font-size: 14px;
            color: #4a5568;
        }
        
        /* Content Section */
        .content-section {
            background: white;
            border-radius: 0px;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }
        
        .start-title {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 10px;
            color: #1a202c;
            text-align: center;
        }
        
        .start-subtitle {
            text-align: center;
            margin-bottom: 25px;
            color: #718096;
        }
        
        .test-set-selector {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-bottom: 30px;
        }
        
        .test-set-btn {
            background: white;
            color: #1e40af;
            padding: 14px;
            border: 2px solid #1e40af;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .test-set-btn:hover {
            background: #1e40af;
            color: white;
        }
        
        /* Download Section */
        .download-guide {
            background: #f7fafc;
            border-radius: 10px;
            padding: 25px;
            text-align: center;
            margin-top: 20px;
        }
        
        .download-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 10px;
            color: #1a202c;
        }
        
        .download-description {
            margin-bottom: 20px;
            color: #4a5568;
        }
        
        .download-btn {
            background: white;
            color: #1e40af;
            padding: 14px;
            border: 2px solid #1e40af;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            text-align: center;
        }
        
        .download-btn:hover {
            background: #1e40af;
            color: white;
        }
        
        /* Footer Section */
        .footer-section {
            background: white;
            border-radius: 12px;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
            text-align: center;
        }
        
        .footer-profile {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }
        
        .profile-image-container {
            width: 140px;
            height: 140px;
            border-radius: 50%;
            overflow: hidden;
            border: 5px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: transform 0.8s ease, border-color 0.3s ease;
        }
        
        .profile-image-container:hover {
            transform: scale(1.05);
            border-color: #213691;
        }
        
        .profile-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .profile-info {
            flex: 1;
            max-width: 400px;
        }
        
        .profile-name {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 10px;
            color: #1a202c;
        }
        
        .profile-contact {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        .logo-qr-section {
            display: flex;
            justify-content: center;
            gap: 30px;
            margin: 25px 0;
            flex-wrap: wrap;
        }
        
        .logo-container, .qr-container {
            text-align: center;
        }
        
        .logo-image, .qr-image {
            width: 120px;
            height: 120px;
            object-fit: contain;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
            padding: 5px;
            background: white;
        }
        
        .logo-label, .qr-label {
            margin-top: 10px;
            font-weight: 600;
            color: #4a5568;
        }
        
        .footer-copyright {
            text-align: center;
            margin-top: 20px;
            color: #718096;
        }
        
        /* Quiz Popup Styles */
        .quiz-popup {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: white;
            z-index: 1000;
            overflow-y: auto;
        }
        
        .quiz-popup.active {
            display: block;
        }
        
        .quiz-header {
            padding: 20px;
            background: white;
            color: #2d3748;
            border-bottom: 1px solid #e2e8f0;
            position: sticky;
            top: 0;
            z-index: 10;
        }
        
        .quiz-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 5px;
            color: #1a202c;
        }
        
        .quiz-subtitle {
            font-size: 14px;
            color: #718096;
            margin-bottom: 15px;
        }
        
        .quiz-info {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            font-size: 14px;
            font-weight: 600;
        }
        
        .score, .question-count, .timer {
            background-color: #f7fafc;
            padding: 6px 12px;
            border-radius: 20px;
            color: #4a5568;
            border: 1px solid #e2e8f0;
        }
        
        .progress-container {
            background-color: #edf2f7;
            border-radius: 10px;
            height: 8px;
            margin-top: 15px;
            overflow: hidden;
        }
        
        .progress-bar {
            height: 100%;
            background: linear-gradient(to right, #4361ee, #3a0ca3);
            width: 0%;
            transition: width 0.5s ease;
        }
        
        .question-container {
            padding: 20px;
        }
        
        .question {
            margin-bottom: 20px;
        }
        
        .question-number {
            font-size: 14px;
            color: #4361ee;
            font-weight: 600;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .question-text {
            font-size: 16px;
            font-weight: 600;
            color: #1a202c;
            margin-bottom: 20px;
            line-height: 1.4;
        }
        
        .options {
            list-style-type: none;
            margin-bottom: 20px;
        }
        
        .option {
            padding: 14px 18px;
            margin-bottom: 12px;
            background-color: #f7fafc;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }
        
        .option:hover {
            background-color: #edf2f7;
            border-color: #cbd5e0;
        }
        
        .option.selected {
            background-color: #e0f0ff;
            border-color: #4361ee;
        }
        
        .option.correct {
            background-color: #f0fff4;
            border-color: #38a169;
        }
        
        .option.incorrect {
            background-color: #fff5f5;
            border-color: #e53e3e;
        }
        
        .option-label {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            width: 30px;
            height: 30px;
            background-color: #e2e8f0;
            color: #4a5568;
            border-radius: 8px;
            margin-right: 15px;
            font-weight: 600;
            font-size: 14px;
            transition: all 0.3s ease;
        }
        
        .option.selected .option-label {
            background-color: #4361ee;
            color: white;
        }
        
        .option.correct .option-label {
            background-color: #38a169;
            color: white;
        }
        
        .option.incorrect .option-label {
            background-color: #e53e3e;
            color: white;
        }
        
        .quiz-controls {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }
        
        .btn {
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-primary {
            background-color: #4361ee;
            color: white;
        }
        
        .btn-primary:hover {
            background-color: #3a56d4;
        }
        
        .btn-success {
            background-color: #38a169;
            color: white;
        }
        
        .btn-success:hover {
            background-color: #2f855a;
        }
        
        .btn:disabled {
            background-color: #a0aec0;
            color: #718096;
            cursor: not-allowed;
        }
        
        .answer-container {
            margin-top: 20px;
            padding: 15px;
            background-color: #f0fff4;
            border-radius: 10px;
            border-left: 6px solid #38a169;
            display: none;
        }
        
        .answer-container.show {
            display: block;
        }
        
        .correct-answer {
            font-weight: 700;
            color: #22543d;
            margin-bottom: 8px;
            font-size: 14px;
        }
        
        .explanation {
            color: #2d3748;
            font-size: 14px;
            line-height: 1.5;
        }
        
        .results-container {
            padding: 30px;
            text-align: center;
            display: none;
        }
        
        .results-container.show {
            display: block;
        }
        
        .results-title {
            font-size: 24px;
            font-weight: 700;
            color: #1a202c;
            margin-bottom: 25px;
        }
        
        .score-circle {
            width: 150px;
            height: 150px;
            border-radius: 50%;
            background: conic-gradient(#38a169 0% 70%, #e2e8f0 70% 100%);
            margin: 0 auto 25px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        }
        
        .score-inner {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background-color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
        }
        
        .score-value {
            font-size: 32px;
            font-weight: 700;
            color: #1a202c;
        }
        
        .score-text {
            font-size: 14px;
            color: #718096;
            font-weight: 500;
        }
        
        .performance-message {
            font-size: 16px;
            margin: 20px 0;
            color: #1a202c;
            font-weight: 600;
        }
        
        .results-details {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
            gap: 15px;
            margin: 25px 0;
        }
        
        .result-card {
            background: #f7fafc;
            border-radius: 10px;
            padding: 15px;
            text-align: center;
            border: 1px solid #e2e8f0;
        }
        
        .result-card-title {
            font-size: 14px;
            color: #718096;
            margin-bottom: 8px;
        }
        
        .result-card-value {
            font-size: 20px;
            font-weight: 700;
            color: #4361ee;
        }
        
        .btn-restart {
            background: #4361ee;
            color: white;
            padding: 14px 30px;
            font-size: 14px;
            margin-top: 15px;
            border-radius: 10px;
        }
        
        .btn-restart:hover {
            background: #3a56d4;
        }
        
        .close-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: #e53e3e;
            color: white;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
            font-weight: bold;
            z-index: 1001;
        }
        
        /* Social Media Section */
        .social-media-section {
            margin: 30px 0;
            padding: 20px;
            background: #f7fafc;
            border-radius: 10px;
        }
        
        .social-title {
            font-size: 18px;
            font-weight: 700;
            margin-bottom: 15px;
            color: #1a202c;
        }
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        
        .social-link {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            background: white;
            border-radius: 8px;
            text-decoration: none;
            color: #4a5568;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }
        
        .social-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .facebook-link {
            color: #1877F2;
            border: 1px solid #1877F2;
        }
        
        .youtube-link {
            color: #FF0000;
            border: 1px solid #FF0000;
        }
        
        .btn-share {
            background: #38a169;
            color: white;
            padding: 12px 24px;
            font-size: 14px;
            border-radius: 8px;
            margin-top: 10px;
        }
        
        .btn-share:hover {
            background: #2f855a;
        }
        
        /* Mobile Styles */
        @media (max-width: 768px) {
            .test-set-selector {
                grid-template-columns: 1fr;
            }
            
            .subject-list {
                grid-template-columns: 1fr;
            }
            
            .footer-profile {
                flex-direction: column;
                text-align: center;
            }
            
            .profile-contact {
                align-items: center;
            }
            
            .logo-qr-section {
                flex-direction: column;
                gap: 20px;
            }
            
            .quiz-controls {
                flex-direction: column;
                gap: 12px;
            }
            
            .btn {
                width: 100%;
            }
            
            .social-links {
                flex-direction: column;
                align-items: center;
            }
            
            .social-link {
                width: 200px;
                justify-content: center;
            }
        }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;div class=&quot;main-container&quot;&gt;
        &lt;!-- Header Section --&gt;
        &lt;div class=&quot;header-section&quot;&gt;
            &lt;div class=&quot;header&quot;&gt;
                &lt;h1&gt;IUB Test Preparation&lt;/h1&gt;
                &lt;p&gt;Prepare for your IUB admission test with comprehensive practice questions&lt;/p&gt;
                
                &lt;div class=&quot;test-structure&quot;&gt;
                    &lt;ul class=&quot;subject-list&quot;&gt;
                        
                            &lt;div class=&quot;subject-header&quot;&gt;
                                &lt;div class=&quot;subject-name&quot;&gt;Mathematics&lt;/div&gt;
                                &lt;div class=&quot;subject-percentage&quot;&gt;35%&lt;/div&gt;
                            &lt;/div&gt;
                            &lt;ul class=&quot;topic-list&quot;&gt;
                                &lt;li class=&quot;topic-item&quot;&gt;
                                    &lt;span class=&quot;topic-star&quot;&gt;★&lt;/span&gt;
                                    &lt;span class=&quot;topic-name&quot;&gt;Percentages&lt;/span&gt;
                                &lt;/li&gt;
                                &lt;li class=&quot;topic-item&quot;&gt;
                                    &lt;span class=&quot;topic-star&quot;&gt;★&lt;/span&gt;
                                    &lt;span class=&quot;topic-name&quot;&gt;Averages&lt;/span&gt;
                                &lt;/li&gt;
                                &lt;li class=&quot;topic-item&quot;&gt;
                                    &lt;span class=&quot;topic-star&quot;&gt;★&lt;/span&gt;
                                    &lt;span class=&quot;topic-name&quot;&gt;Ratio &amp; Proportion&lt;/span&gt;
                                &lt;/li&gt;
                                &lt;li class=&quot;topic-item&quot;&gt;
                                    &lt;span class=&quot;topic-star&quot;&gt;★&lt;/span&gt;
                                    &lt;span class=&quot;topic-name&quot;&gt;Geometry&lt;/span&gt;
                                &lt;/li&gt;
                                &lt;li class=&quot;topic-item&quot;&gt;
                                    &lt;span class=&quot;topic-star&quot;&gt;★&lt;/span&gt;
                                    &lt;span class=&quot;topic-name&quot;&gt;Algebra&lt;/span&gt;
                                &lt;/li&gt;
                            &lt;/ul&gt;
                        &lt;/li&gt;
                        
                            &lt;div class=&quot;subject-header&quot;&gt;
                                &lt;div class=&quot;subject-name&quot;&gt;English&lt;/div&gt;
                                &lt;div class=&quot;subject-percentage&quot;&gt;35%&lt;/div&gt;
                            &lt;/div&gt;
                            &lt;ul class=&quot;topic-list&quot;&gt;
                                &lt;li class=&quot;topic-item&quot;&gt;
                                    &lt;span class=&quot;topic-star&quot;&gt;★&lt;/span&gt;
                                    &lt;span class=&quot;topic-name&quot;&gt;Synonyms&lt;/span&gt;
                                &lt;/li&gt;
                                &lt;li class=&quot;topic-item&quot;&gt;
                                    &lt;span class=&quot;topic-star&quot;&gt;★&lt;/span&gt;
                                    &lt;span class=&quot;topic-name&quot;&gt;Antonyms&lt;/span&gt;
                                &lt;/li&gt;
                                &lt;li class=&quot;topic-item&quot;&gt;
                                    &lt;span class=&quot;topic-star&quot;&gt;★&lt;/span&gt;
                                    &lt;span class=&quot;topic-name&quot;&gt;Prepositions&lt;/span&gt;
                                &lt;/li&gt;
                                &lt;li class=&quot;topic-item&quot;&gt;
                                    &lt;span class=&quot;topic-star&quot;&gt;★&lt;/span&gt;
                                    &lt;span class=&quot;topic-name&quot;&gt;Tenses&lt;/span&gt;
                                &lt;/li&gt;
                                &lt;li class=&quot;topic-item&quot;&gt;
                                    &lt;span class=&quot;topic-star&quot;&gt;★&lt;/span&gt;
                                    &lt;span class=&quot;topic-name&quot;&gt;Comprehension&lt;/span&gt;
                                &lt;/li&gt;
                            &lt;/ul&gt;
                        &lt;/li&gt;
                        
                            &lt;div class=&quot;subject-header&quot;&gt;
                                &lt;div class=&quot;subject-name&quot;&gt;Reasoning&lt;/div&gt;
                                &lt;div class=&quot;subject-percentage&quot;&gt;30%&lt;/div&gt;
                            &lt;/div&gt;
                            &lt;ul class=&quot;topic-list&quot;&gt;
                                &lt;li class=&quot;topic-item&quot;&gt;
                                    &lt;span class=&quot;topic-star&quot;&gt;★&lt;/span&gt;
                                    &lt;span class=&quot;topic-name&quot;&gt;Verbal&lt;/span&gt;
                                &lt;/li&gt;
                                &lt;li class=&quot;topic-item&quot;&gt;
                                    &lt;span class=&quot;topic-star&quot;&gt;★&lt;/span&gt;
                                    &lt;span class=&quot;topic-name&quot;&gt;Numerical&lt;/span&gt;
                                &lt;/li&gt;
                                &lt;li class=&quot;topic-item&quot;&gt;
                                    &lt;span class=&quot;topic-star&quot;&gt;★&lt;/span&gt;
                                    &lt;span class=&quot;topic-name&quot;&gt;Logical&lt;/span&gt;
                                &lt;/li&gt;
                                &lt;li class=&quot;topic-item&quot;&gt;
                                    &lt;span class=&quot;topic-star&quot;&gt;★&lt;/span&gt;
                                    &lt;span class=&quot;topic-name&quot;&gt;Spatial Reasoning&lt;/span&gt;
                                &lt;/li&gt;
                            &lt;/ul&gt;
                        &lt;/li&gt;
                    &lt;/ul&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
        
        &lt;!-- Content Section --&gt;
        &lt;div class=&quot;content-section&quot;&gt;
            &lt;div class=&quot;content&quot;&gt;
                &lt;div class=&quot;start-screen&quot; id=&quot;start-screen&quot;&gt;
                  &lt;h3 class=&quot;start-title&quot;&gt;&lt;b&gt;Select a Test&lt;/b&gt;&lt;/h3&gt;
                    &lt;p class=&quot;start-subtitle&quot;&gt;Click on any test below to start immediately&lt;/p&gt;
                    
                    &lt;div class=&quot;test-set-selector&quot;&gt;
                        &lt;button class=&quot;test-set-btn&quot; data-set=&quot;1&quot;&gt;
                            Practice Test 1
                        &lt;/button&gt;
                        &lt;button class=&quot;test-set-btn&quot; data-set=&quot;2&quot;&gt;
                            Practice Test 2
                        &lt;/button&gt;
                        &lt;button class=&quot;test-set-btn&quot; data-set=&quot;3&quot;&gt;
                            Practice Test 3
                        &lt;/button&gt;
                        &lt;button class=&quot;test-set-btn&quot; data-set=&quot;4&quot;&gt;
                            Practice Test 4
                        &lt;/button&gt;
                        &lt;button class=&quot;test-set-btn&quot; data-set=&quot;5&quot;&gt;
                            Practice Test 5
                        &lt;/button&gt;
                    &lt;/div&gt;
                    
                    &lt;!-- Download Guide Section --&gt;
                    &lt;div class=&quot;download-guide&quot;&gt;
                        &lt;h4 class=&quot;download-title&quot;&gt;Download IUB Test Preparation Guide&lt;/h4&gt;
                        &lt;p class=&quot;download-description&quot;&gt;Get our comprehensive study guide with Past Papers, practice tests, tips, and strategies to help you succeed in your IUB admission test.&lt;/p&gt;
                        &lt;a href=&quot;https://drive.google.com/uc?export=download&amp;id=1oEIiSbMOTpG0BUH1HkjU080gjK9Xx3Nc&quot; class=&quot;download-btn&quot; download&gt;
                            &lt;svg width=&quot;20&quot; height=&quot;20&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 20 20&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;
                                &lt;path fill-rule=&quot;evenodd&quot; d=&quot;M3 17a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zm3.293-7.707a1 1 0 011.414 0L9 10.586V3a1 1 0 112 0v7.586l1.293-1.293a1 1 0 111.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z&quot; clip-rule=&quot;evenodd&quot;&gt;&lt;/path&gt;
                            &lt;/svg&gt;
                            Download
                        &lt;/a&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;

        
     
        
       
        

    &lt;!-- Full Screen Quiz Popup --&gt;
    &lt;div class=&quot;quiz-popup&quot; id=&quot;quiz-popup&quot;&gt;
        &lt;button class=&quot;close-btn&quot; id=&quot;close-btn&quot;&gt;×&lt;/button&gt;
        
        &lt;div class=&quot;quiz-header&quot; id=&quot;quiz-header&quot;&gt;
            &lt;div class=&quot;quiz-title&quot; id=&quot;test-set-title&quot;&gt;IUB TEST PREPARATION&lt;/div&gt;
            &lt;div class=&quot;quiz-subtitle&quot; id=&quot;test-set-subtitle&quot;&gt;Test your knowledge with these challenging questions&lt;/div&gt;
            &lt;div class=&quot;quiz-info&quot;&gt;
                &lt;div class=&quot;score&quot;&gt;SCORE: &lt;span id=&quot;score-value&quot;&gt;0&lt;/span&gt;&lt;/div&gt;
                &lt;div class=&quot;question-count&quot;&gt;QUESTION: &lt;span id=&quot;current-question&quot;&gt;1&lt;/span&gt;/&lt;span id=&quot;total-questions&quot;&gt;40&lt;/span&gt;&lt;/div&gt;
                &lt;div class=&quot;timer&quot;&gt;TIME: &lt;span id=&quot;timer-value&quot;&gt;60:00&lt;/span&gt;&lt;/div&gt;
            &lt;/div&gt;
            &lt;div class=&quot;progress-container&quot;&gt;
                &lt;div class=&quot;progress-bar&quot; id=&quot;progress-bar&quot;&gt;&lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
        
        &lt;div class=&quot;question-container&quot; id=&quot;question-container&quot;&gt;
            &lt;div class=&quot;question&quot;&gt;
                &lt;p class=&quot;question-text&quot; id=&quot;question-text&quot;&gt;Loading question...&lt;/p&gt;
                &lt;ul class=&quot;options&quot; id=&quot;options-list&quot;&gt;
                    &lt;!-- Options will be dynamically inserted here --&gt;
                &lt;/ul&gt;
            &lt;/div&gt;
            
            &lt;div class=&quot;quiz-controls&quot;&gt;
                &lt;button class=&quot;btn btn-primary&quot; disabled id=&quot;show-answer-btn&quot;&gt;SHOW ANSWER&lt;/button&gt;
                &lt;button class=&quot;btn btn-success&quot; disabled id=&quot;next-btn&quot;&gt;NEXT QUESTION&lt;/button&gt;
            &lt;/div&gt;
            
            &lt;div class=&quot;answer-container&quot; id=&quot;answer-container&quot;&gt;
                &lt;div class=&quot;correct-answer&quot; id=&quot;correct-answer&quot;&gt;Correct Answer: &lt;/div&gt;
                &lt;div class=&quot;explanation&quot; id=&quot;explanation&quot;&gt;&lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
        
        &lt;!-- Results Container --&gt;
        &lt;div class=&quot;results-container&quot; id=&quot;results-container&quot;&gt;
            &lt;h2 class=&quot;results-title&quot;&gt;Quiz Completed!&lt;/h2&gt;
            &lt;div class=&quot;score-circle&quot;&gt;
                &lt;div class=&quot;score-inner&quot;&gt;
                    &lt;div class=&quot;score-value&quot; id=&quot;final-score&quot;&gt;0&lt;/div&gt;
                    &lt;div class=&quot;score-text&quot;&gt;/ &lt;span id=&quot;final-total&quot;&gt;40&lt;/span&gt;&lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            &lt;div class=&quot;performance-message&quot; id=&quot;performance-message&quot;&gt;Well done!&lt;/div&gt;
            
            &lt;div class=&quot;results-details&quot;&gt;
                &lt;div class=&quot;result-card&quot;&gt;
                    &lt;div class=&quot;result-card-title&quot;&gt;Correct Answers&lt;/div&gt;
                    &lt;div class=&quot;result-card-value&quot; id=&quot;correct-answers&quot;&gt;0&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class=&quot;result-card&quot;&gt;
                    &lt;div class=&quot;result-card-title&quot;&gt;Incorrect Answers&lt;/div&gt;
                    &lt;div class=&quot;result-card-value&quot; id=&quot;incorrect-answers&quot;&gt;0&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class=&quot;result-card&quot;&gt;
                    &lt;div class=&quot;result-card-title&quot;&gt;Time Taken&lt;/div&gt;
                    &lt;div class=&quot;result-card-value&quot; id=&quot;time-taken&quot;&gt;0:00&lt;/div&gt;
                &lt;/div&gt;
                &lt;div class=&quot;result-card&quot;&gt;
                    &lt;div class=&quot;result-card-title&quot;&gt;Accuracy&lt;/div&gt;
                    &lt;div class=&quot;result-card-value&quot; id=&quot;accuracy&quot;&gt;0%&lt;/div&gt;
                &lt;/div&gt;
            &lt;/div&gt;
            
            &lt;!-- Social Media Section --&gt;
            &lt;div class=&quot;social-media-section&quot;&gt;
                &lt;h3 class=&quot;social-title&quot;&gt;Follow Us for More Updates&lt;/h3&gt;
                &lt;div class=&quot;social-links&quot;&gt;
                    &lt;a href=&quot;https://web.facebook.com/iubianscom&quot; target=&quot;_blank&quot; class=&quot;social-link facebook-link&quot;&gt;
                        &lt;svg width=&quot;20&quot; height=&quot;20&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 20 20&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;
                            &lt;path d=&quot;M11 0h2.5v3.125H11a.625.625 0 00-.625.625V5h2.5l-.625 2.5H10.375V15H7.5V7.5H5.625V5H7.5V3.125A3.125 3.125 0 0110.625 0H11z&quot;/&gt;
                        &lt;/svg&gt;
                        Facebook
                    &lt;/a&gt;
                    &lt;a href=&quot;https://www.youtube.com/@iubianscom&quot; target=&quot;_blank&quot; class=&quot;social-link youtube-link&quot;&gt;
                        &lt;svg width=&quot;20&quot; height=&quot;20&quot; fill=&quot;currentColor&quot; viewBox=&quot;0 0 20 20&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;
                            &lt;path d=&quot;M10 2.5a7.5 7.5 0 100 15 7.5 7.5 0 000-15zm4.375 7.5l-5 2.5V7.5l5 2.5z&quot;/&gt;
                        &lt;/svg&gt;
                        YouTube
                    &lt;/a&gt;
                &lt;/div&gt;
                &lt;button class=&quot;btn btn-share&quot; id=&quot;share-result-btn&quot;&gt;Share Your Result&lt;/button&gt;
            &lt;/div&gt;
            
            &lt;button class=&quot;btn btn-restart&quot; id=&quot;restart-btn&quot;&gt;TAKE ANOTHER TEST&lt;/button&gt;
        &lt;/div&gt;
    &lt;/div&gt;

   &lt;script&gt;
    document.addEventListener(&#39;DOMContentLoaded&#39;, function() {
        // Quiz configuration with all test sets
        const testSets = {
            1: {
                title: &quot;Practice Test 1&quot;,
                subtitle: &quot;50 questions covering all subjects&quot;,
                questions: [
                    // Mathematics (18 questions)
                    {
                        question: &quot;A number increased by 20% gives 180. What is the original number?&quot;,
                        options: [&quot;140&quot;, &quot;150&quot;, &quot;160&quot;, &quot;170&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;The original number is 150 (180 /1.20 = 150).&quot;
                    },
                    {
                        question: &quot;The average of 7, 9, 11, 13, and x is 12. What is x?&quot;,
                        options: [&quot;10&quot;, &quot;12&quot;, &quot;14&quot;, &quot;20&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;(7+9+11+13+x)/5 = 12 ----&gt; 40+x = 60 &gt; x = 20.&quot;
                    },
                    {
                        question: &quot;If a:b = 3:4 and b:c = 5:6, find a:c.&quot;,
                        options: [&quot;5:8&quot;, &quot;3:6&quot;, &quot;15:24&quot;, &quot;9:12&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;a:b = 3:4 = 15:20, b:c = 5:6 = 20:24 &gt; a:c = 15:24 = 5:8.&quot;
                    },
                    {
                        question: &quot;The area of a circle with radius 14 cm is: (π = 22/7)&quot;,
                        options: [&quot;616 cm²&quot;, &quot;308 cm²&quot;, &quot;154 cm²&quot;, &quot;88 cm²&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Area = πr² = (22/7)x14x14 = 616 cm².&quot;
                    },
                    {
                        question: &quot;Solve for x: 3x - 7 = 2x + 5&quot;,
                        options: [&quot;10&quot;, &quot;12&quot;, &quot;14&quot;, &quot;16&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;3x - 7 = 2x + 5 &gt; 3x - 2x = 5 + 7 &gt; x = 12.&quot;
                    },
                    {
                        question: &quot;25% of 80 is what percentage of 200?&quot;,
                        options: [&quot;10%&quot;, &quot;12.5%&quot;, &quot;15%&quot;, &quot;20%&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;25% of 80 = 20, 20 is 10% of 200 (20/200x100 = 10%).&quot;
                    },
                    {
                        question: &quot;The average of first 10 natural numbers is:&quot;,
                        options: [&quot;5&quot;, &quot;5.5&quot;, &quot;6&quot;, &quot;6.5&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Sum of first 10 natural numbers = 55, average = 55/10 = 5.5.&quot;
                    },
                    {
                        question: &quot;Divide 360 PKR in the ratio 2:3:4. The smallest part is:&quot;,
                        options: [&quot;80&quot;, &quot;90&quot;, &quot;100&quot;, &quot;120&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Total parts = 2+3+4=9, smallest part = (2/9)x360 = $80.&quot;
                    },
                    {
                        question: &quot;A triangle with sides 7 cm, 24 cm, 25 cm is:&quot;,
                        options: [&quot;Equilateral&quot;, &quot;Isosceles&quot;, &quot;Right-angled&quot;, &quot;Acute-angled&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;7x2 + 24x2 = 49 + 576 = 625 = 25x2, so it&#39;s a right triangle.&quot;
                    },
                    {
                        question: &quot;Factorize: x² - 9&quot;,
                        options: [&quot;(x-3)(x+3)&quot;, &quot;(x-3)²&quot;, &quot;(x+3)²&quot;, &quot;(x-9)(x+1)&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Difference of squares: x² - 9 = (x-3)(x+3).&quot;
                    },
                    {
                        question: &quot;After a 15% discount, an item costs  85 Rupess. What was original price?&quot;,
                        options: [&quot;95&quot;, &quot;100&quot;, &quot;105&quot;, &quot;110&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Original price = 85 / 0.85 = RS 100.&quot;
                    },
                    {
                        question: &quot;The average age of 5 students is 16. If teacher&#39;s age 35 is included, new average is:&quot;,
                        options: [&quot;17&quot;, &quot;18&quot;, &quot;19&quot;, &quot;20&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Total age of 5 students = 80, new total = 115, new average = 115/6 = 19.17 &gt; 18.&quot;
                    },
                    {
                        question: &quot;If 8 workers complete work in 12 days, 6 workers will take:&quot;,
                        options: [&quot;14 days&quot;, &quot;16 days&quot;, &quot;18 days&quot;, &quot;20 days&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Total work = 8x12 = 96 worker-days, time for 6 workers = 96/6 = 16 days.&quot;
                    },
                    {
                        question: &quot;Perimeter of rectangle with length 15 cm, width 10 cm is:&quot;,
                        options: [&quot;25 cm&quot;, &quot;50 cm&quot;, &quot;75 cm&quot;, &quot;150 cm&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Perimeter = 2(15+10) = 50 cm.&quot;
                    },
                    {
                        question: &quot;Solve: 2(x+3) = 4x - 6&quot;,
                        options: [&quot;6&quot;, &quot;5&quot;, &quot;4&quot;, &quot;3&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;2x+6 = 4x-6 &gt; 6+6 = 4x-2x &gt; 12=2x &gt; x=6.&quot;
                    },
                    {
                        question: &quot;Population increased from 5000 to 6000. Percentage increase is:&quot;,
                        options: [&quot;15%&quot;, &quot;18%&quot;, &quot;20%&quot;, &quot;25%&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Increase = 1000, percentage = (1000/5000)x100 = 20%.&quot;
                    },
                    {
                        question: &quot;Sum of three consecutive even numbers is 90. Largest number is:&quot;,
                        options: [&quot;28&quot;, &quot;30&quot;, &quot;32&quot;, &quot;34&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Let numbers be x-2, x, x+2 &gt; sum = 3x = 90 &gt; x=30, largest = 32.&quot;
                    },
                    {
                        question: &quot;Volume of cube with side 5 cm is:&quot;,
                        options: [&quot;25 cm³&quot;, &quot;100 cm³&quot;, &quot;125 cm³&quot;, &quot;150 cm³&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Volume = sidex3 = 5x3 = 125 cm³.&quot;
                    },
                    // English (17 questions)
                    {
                        question: &quot;Synonym of &#39;ABUNDANT&#39;:&quot;,
                        options: [&quot;Scarce&quot;, &quot;Plentiful&quot;, &quot;Limited&quot;, &quot;Rare&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Abundant means existing in large quantities; plentiful.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;ANCIENT&#39;:&quot;,
                        options: [&quot;Old&quot;, &quot;Modern&quot;, &quot;Historic&quot;, &quot;Aged&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Ancient means belonging to the very distant past; modern is its opposite.&quot;
                    },
                    {
                        question: &quot;Correct preposition: He is allergic _____ cats.&quot;,
                        options: [&quot;for&quot;, &quot;to&quot;, &quot;with&quot;, &quot;by&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;&#39;Allergic to&#39; is the correct preposition.&quot;
                    },
                    {
                        question: &quot;Correct tense: She _____ cooking when I called.&quot;,
                        options: [&quot;is&quot;, &quot;was&quot;, &quot;has been&quot;, &quot;will be&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Past continuous tense is used for an ongoing action in the past.&quot;
                    },
                    {
                        question: &quot;Reading comprehension: &#39;The Great Wall of China is the longest wall in the world, stretching over 21,000 km. Built over centuries, it served as defense against invasions.&#39; What was the primary purpose of the Great Wall?&quot;,
                        options: [&quot;Tourism&quot;, &quot;Defense&quot;, &quot;Trade route&quot;, &quot;Religious site&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;The passage states it &#39;served as defense against invasions.&#39;&quot;
                    },
                    {
                        question: &quot;Synonym of &#39;DILIGENT&#39;:&quot;,
                        options: [&quot;Lazy&quot;, &quot;Hardworking&quot;, &quot;Careless&quot;, &quot;Slow&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Diligent means having or showing care in one&#39;s work or duties.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;EXPAND&#39;:&quot;,
                        options: [&quot;Increase&quot;, &quot;Contract&quot;, &quot;Extend&quot;, &quot;Enlarge&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Expand means to become larger; contract means to become smaller.&quot;
                    },
                    {
                        question: &quot;Correct preposition: She is interested _____ learning French.&quot;,
                        options: [&quot;at&quot;, &quot;in&quot;, &quot;on&quot;, &quot;for&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;&#39;Interested in&#39; is the correct preposition.&quot;
                    },
                    {
                        question: &quot;Correct tense: By next year, I _____ here for five years.&quot;,
                        options: [&quot;will work&quot;, &quot;will have worked&quot;, &quot;have worked&quot;, &quot;worked&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Future perfect tense is used for actions completed before a future time.&quot;
                    },
                    {
                        question: &quot;Synonym of &#39;PRUDENT&#39;:&quot;,
                        options: [&quot;Reckless&quot;, &quot;Careful&quot;, &quot;Wasteful&quot;, &quot;Foolish&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Prudent means acting with or showing care for the future.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;VOLUNTARY&#39;:&quot;,
                        options: [&quot;Optional&quot;, &quot;Compulsory&quot;, &quot;Willing&quot;, &quot;Free&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Voluntary means done by choice; compulsory means required by law or rule.&quot;
                    },
                    {
                        question: &quot;Correct preposition: He was accused _____ theft.&quot;,
                        options: [&quot;for&quot;, &quot;of&quot;, &quot;with&quot;, &quot;by&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;&#39;Accused of&#39; is the correct preposition.&quot;
                    },
                    {
                        question: &quot;Correct tense: When I arrived, they _____ already left.&quot;,
                        options: [&quot;have&quot;, &quot;had&quot;, &quot;were&quot;, &quot;are&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Past perfect tense is used for an action completed before another past action.&quot;
                    },
                    {
                        question: &quot;Reading comprehension: &#39;Global warming refers to rising Earth temperatures due to greenhouse gases. It causes climate change, melting ice, and rising sea levels.&#39; What causes global warming?&quot;,
                        options: [&quot;Melting ice&quot;, &quot;Greenhouse gases&quot;, &quot;Solar flares&quot;, &quot;Volcanic activity&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;The passage states it&#39;s &#39;due to greenhouse gases.&#39;&quot;
                    },
                    {
                        question: &quot;Synonym of &#39;BRIEF&#39;:&quot;,
                        options: [&quot;Long&quot;, &quot;Short&quot;, &quot;Detailed&quot;, &quot;Extended&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Brief means of short duration.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;GENEROUS&#39;:&quot;,
                        options: [&quot;Kind&quot;, &quot;Stingy&quot;, &quot;Charitable&quot;, &quot;Giving&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Generous means giving freely; stingy means unwilling to give.&quot;
                    },
                    {
                        question: &quot;Identify correct sentence:&quot;,
                        options: [&quot;Neither of the boys are coming.&quot;, &quot;Neither of the boys is coming.&quot;, &quot;Neither of the boys were coming.&quot;, &quot;Neither of the boys have come.&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;&#39;Neither&#39; is singular, so &#39;is&#39; is correct.&quot;
                    },
                    // Reasoning (15 questions)
                    {
                        question: &quot;What comes next: 2, 6, 12, 20, 30, ?&quot;,
                        options: [&quot;40&quot;, &quot;42&quot;, &quot;44&quot;, &quot;46&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Pattern: +4, +6, +8, +10, +12 ---&gt; 30+12=42.&quot;
                    },
                    {
                        question: &quot;If &#39;CAT&#39; is coded as &#39;DBU&#39;, how is &#39;DOG&#39; coded?&quot;,
                        options: [&quot;EPH&quot;, &quot;EQI&quot;, &quot;FPH&quot;, &quot;FQI&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Each letter moves one forward: D-/E, O→P, G→H = EPH.&quot;
                    },
                    {
                        question: &quot;All roses are flowers. Some flowers fade quickly. Conclusion: Some roses fade quickly.&quot;,
                        options: [&quot;Definitely true&quot;, &quot;Definitely false&quot;, &quot;Probably true&quot;, &quot;Cannot be determined&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;We don&#39;t know if the flowers that fade quickly include roses.&quot;
                    },
                    {
                        question: &quot;Choose odd one out:&quot;,
                        options: [&quot;Square&quot;, &quot;Circle&quot;, &quot;Triangle&quot;, &quot;Rectangle&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Circle is the only one without straight sides.&quot;
                    },
                    {
                        question: &quot;&#39;Ocean is to Water as Desert is to _____&#39;&quot;,
                        options: [&quot;Sand&quot;, &quot;Heat&quot;, &quot;Cactus&quot;, &quot;Oasis&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Ocean contains water; desert contains sand.&quot;
                    },
                    {
                        question: &quot;A clock shows 3:15. Angle between hands is:&quot;,
                        options: [&quot;0°&quot;, &quot;7.5°&quot;, &quot;15°&quot;, &quot;30°&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;At 3:15, hour hand moves 0.5° per minute → 7.5°, minute hand at 90°, difference = 7.5°.&quot;
                    },
                    {
                        question: &quot;Find missing: 3, 9, 27, 81, ?&quot;,
                        options: [&quot;162&quot;, &quot;243&quot;, &quot;324&quot;, &quot;405&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Pattern: multiply by 3 → 81x3=243.&quot;
                    },
                    {
                        question: &quot;If all Zips are Zaps and some Zaps are Zops, then:&quot;,
                        options: [&quot;All Zips are Zops&quot;, &quot;Some Zips are Zops&quot;, &quot;No Zips are Zops&quot;, &quot;Some Zops are Zips&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;All Zips are Zaps and some Zaps are Zops → some Zops could be Zips.&quot;
                    },
                    {
                        question: &quot;Mirror image of ◁ is:&quot;,
                        options: [&quot;◁&quot;, &quot;▷&quot;, &quot;△&quot;, &quot;▽&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Mirror reverses left and right, so ◁ becomes ▷.&quot;
                    },
                    {
                        question: &quot;&#39;Book is to Chapter as Building is to _____&#39;&quot;,
                        options: [&quot;Room&quot;, &quot;Floor&quot;, &quot;Wall&quot;, &quot;Roof&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Book contains chapters; building contains floors.&quot;
                    },
                    {
                        question: &quot;If 5 workers take 12 days, 6 workers take:&quot;,
                        options: [&quot;10 days&quot;, &quot;11 days&quot;, &quot;9 days&quot;, &quot;8 days&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Work = 5x12=60 worker-days, time for 6 workers = 60/6=10 days.&quot;
                    },
                    {
                        question: &quot;Find missing: 5, 11, 23, 47, ?&quot;,
                        options: [&quot;95&quot;, &quot;92&quot;, &quot;96&quot;, &quot;94&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Pattern: x2+1 → 47x2+1=95.&quot;
                    },
                    {
                        question: &quot;Today is Monday. Day after tomorrow is Wednesday. This statement is:&quot;,
                        options: [&quot;True&quot;, &quot;False&quot;, &quot;Uncertain&quot;, &quot;Invalid&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;If today is Monday, day after tomorrow is Wednesday.&quot;
                    },
                    {
                        question: &quot;How many triangles in this shape? (Simple triangle with one diagonal)&quot;,
                        options: [&quot;2&quot;, &quot;3&quot;, &quot;4&quot;, &quot;5&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;3 triangles: the whole triangle and 2 smaller ones.&quot;
                    },
                    {
                        question: &quot;If &#39;PENCIL&#39; is &#39;NCPEJL&#39;, what is &#39;PAPER&#39;?&quot;,
                        options: [&quot;APERP&quot;, &quot;APREP&quot;, &quot;RPEAP&quot;, &quot;PAREP&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;PENCIL → N(2nd)C(3rd)P(1st)E(4th)J(6th)L(5th) = NCPEJL, same pattern for PAPER → APREP.&quot;
                    }
                ]
            },
            2: {
                title: &quot;Practice Test 2&quot;,
                subtitle: &quot;50 questions covering all subjects&quot;,
                questions: [
                    // Mathematics (18 questions)
                    {
                        question: &quot;40% of a number is 80. What is 60% of that number?&quot;,
                        options: [&quot;100&quot;, &quot;120&quot;, &quot;140&quot;, &quot;160&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Number = 80/0.4 = 200, 60% of 200 = 120.&quot;
                    },
                    {
                        question: &quot;Average of 4, 8, 12, 16, and x is 11. What is x?&quot;,
                        options: [&quot;10&quot;, &quot;12&quot;, &quot;14&quot;, &quot;15&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;(4+8+12+16+x)/5=11 &gt; 40+x=55 &gt; x=15.&quot;
                    },
                    {
                        question: &quot;Ratio of ages is 5:7. Sum is 48 years. Older person&#39;s age is:&quot;,
                        options: [&quot;20&quot;, &quot;24&quot;, &quot;28&quot;, &quot;30&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;5x+7x=48 &gt;12x=48 &gt; x=4, older=7x4=28.&quot;
                    },
                    {
                        question: &quot;Area of triangle with base 12 cm, height 8 cm is:&quot;,
                        options: [&quot;48 cm²&quot;, &quot;64 cm²&quot;, &quot;96 cm²&quot;, &quot;192 cm²&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Area = 1/2x12x8 = 48 cm².&quot;
                    },
                    {
                        question: &quot;Solve: 5x + 12 = 3x + 24&quot;,
                        options: [&quot;4&quot;, &quot;5&quot;, &quot;6&quot;, &quot;7&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;5x-3x=24-12 &gt; 2x=12 &gt; x=6.&quot;
                    },
                    {
                        question: &quot;After 25% discount, price is $75. Original price was:&quot;,
                        options: [&quot;$85&quot;, &quot;$90&quot;, &quot;$95&quot;, &quot;$100&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;Original price = 75/0.75 = $100.&quot;
                    },
                    {
                        question: &quot;Average of first 5 multiples of 6 is:&quot;,
                        options: [&quot;15&quot;, &quot;16&quot;, &quot;17&quot;, &quot;18&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;Multiples: 6,12,18,24,30 &gt; average = 90/5=18.&quot;
                    },
                    {
                        question: &quot;If 2:5 = x:20, x equals:&quot;,
                        options: [&quot;4&quot;, &quot;6&quot;, &quot;8&quot;, &quot;10&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;2/5 = x/20 &gt; 5x=40 &gt; x=8.&quot;
                    },
                    {
                        question: &quot;Square has perimeter 40 cm. Area is:&quot;,
                        options: [&quot;100 cm²&quot;, &quot;120 cm²&quot;, &quot;140 cm²&quot;, &quot;160 cm²&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Side = 40/4=10cm, area=10x10=100cm2.&quot;
                    },
                    {
                        question: &quot;Expand: (x+4)(x-3)&quot;,
                        options: [&quot;x² + x - 12&quot;, &quot;x² - x - 12&quot;, &quot;x² + 7x - 12&quot;, &quot;x² - 7x + 12&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;(x+4)(x-3)=x2-3x+4x-12=x2+x-12.&quot;
                    },
                    {
                        question: &quot;Student scored 72 out of 90. Percentage is:&quot;,
                        options: [&quot;75%&quot;, &quot;78%&quot;, &quot;80%&quot;, &quot;82%&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Percentage = (72/90)x100 = 80%.&quot;
                    },
                    {
                        question: &quot;Average of 6 numbers is 14. If 2 is added to each, new average is:&quot;,
                        options: [&quot;14&quot;, &quot;15&quot;, &quot;16&quot;, &quot;18&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Adding 2 to each number increases average by 2 &gt; 14+2=16.&quot;
                    },
                    {
                        question: &quot;15 men complete work in 10 days. 25 men take:&quot;,
                        options: [&quot;4 days&quot;, &quot;5 days&quot;, &quot;6 days&quot;, &quot;8 days&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Work=15x10=150 man-days, time=150/25=6 days.&quot;
                    },
                    {
                        question: &quot;Circle diameter 28 cm. Circumference (π=22/7) is:&quot;,
                        options: [&quot;88 cm&quot;, &quot;176 cm&quot;, &quot;154 cm&quot;, &quot;132 cm&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Circumference = πd = (22/7)x28 = 88 cm.&quot;
                    },
                    {
                        question: &quot;Solve: 3(x-4) = 2(x+1)&quot;,
                        options: [&quot;10&quot;, &quot;12&quot;, &quot;14&quot;, &quot;16&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;3x-12=2x+2 &gt; 3x-2x=2+12 &gt; x=14.&quot;
                    },
                    {
                        question: &quot;Price increased from $50 to $65. Percentage increase:&quot;,
                        options: [&quot;25%&quot;, &quot;30%&quot;, &quot;35%&quot;, &quot;40%&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Increase=15, percentage=(15/50)x100=30%.&quot;
                    },
                    {
                        question: &quot;Three consecutive integers sum to 87. Largest is:&quot;,
                        options: [&quot;28&quot;, &quot;29&quot;, &quot;30&quot;, &quot;31&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;x+(x+1)+(x+2)=87 → 3x+3=87 &gt; x=28, largest=30.&quot;
                    },
                    {
                        question: &quot;Volume of cylinder (r=7cm, h=10cm, π=22/7) is:&quot;,
                        options: [&quot;1540 cm³&quot;, &quot;2200 cm³&quot;, &quot;3080 cm³&quot;, &quot;4400 cm³&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Volume = πr2h = (22/7)x49x10 = 1540 cm³.&quot;
                    },
                    // English (17 questions)
                    {
                        question: &quot;Synonym of &#39;MAGNIFICENT&#39;:&quot;,
                        options: [&quot;Ordinary&quot;, &quot;Splendid&quot;, &quot;Tiny&quot;, &quot;Ugly&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Magnificent means impressively beautiful or elaborate.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;ASCEND&#39;:&quot;,
                        options: [&quot;Rise&quot;, &quot;Climb&quot;, &quot;Descend&quot;, &quot;Float&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Ascend means to go up; descend means to go down.&quot;
                    },
                    {
                        question: &quot;Correct preposition: She is good _____ mathematics.&quot;,
                        options: [&quot;at&quot;, &quot;in&quot;, &quot;with&quot;, &quot;for&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;&#39;Good at&#39; is used for skills or abilities.&quot;
                    },
                    {
                        question: &quot;Correct tense: I _____ never _____ to Japan.&quot;,
                        options: [&quot;have, been&quot;, &quot;had, been&quot;, &quot;will, go&quot;, &quot;am, going&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Present perfect tense for experiences in life.&quot;
                    },
                    {
                        question: &quot;Reading comprehension: &#39;Photosynthesis converts sunlight to energy in plants. It requires chlorophyll, CO₂, water, and releases oxygen.&#39; What is released in photosynthesis?&quot;,
                        options: [&quot;Carbon dioxide&quot;, &quot;Chlorophyll&quot;, &quot;Oxygen&quot;, &quot;Sunlight&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;The passage states it &#39;releases oxygen.&#39;&quot;
                    },
                    {
                        question: &quot;Synonym of &#39;CONCEAL&#39;:&quot;,
                        options: [&quot;Reveal&quot;, &quot;Hide&quot;, &quot;Show&quot;, &quot;Display&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Conceal means to keep from sight; hide.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;RARE&#39;:&quot;,
                        options: [&quot;Common&quot;, &quot;Unusual&quot;, &quot;Scarce&quot;, &quot;Precious&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Rare means not common; common is the opposite.&quot;
                    },
                    {
                        question: &quot;Correct preposition: He depends _____ his parents.&quot;,
                        options: [&quot;on&quot;, &quot;at&quot;, &quot;with&quot;, &quot;from&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;&#39;Depends on&#39; means to rely on.&quot;
                    },
                    {
                        question: &quot;Correct tense: By the time we arrive, the movie _____.&quot;,
                        options: [&quot;starts&quot;, &quot;started&quot;, &quot;will have started&quot;, &quot;has started&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Future perfect tense for action completed before another future action.&quot;
                    },
                    {
                        question: &quot;Synonym of &#39;VIGOROUS&#39;:&quot;,
                        options: [&quot;Weak&quot;, &quot;Energetic&quot;, &quot;Slow&quot;, &quot;Tired&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Vigorous means strong, healthy, and full of energy.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;SIMPLE&#39;:&quot;,
                        options: [&quot;Easy&quot;, &quot;Complex&quot;, &quot;Basic&quot;, &quot;Plain&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Simple means easy; complex means complicated.&quot;
                    },
                    {
                        question: &quot;Correct preposition: She is proud _____ her son.&quot;,
                        options: [&quot;for&quot;, &quot;with&quot;, &quot;of&quot;, &quot;at&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;&#39;Proud of&#39; is the correct preposition.&quot;
                    },
                    {
                        question: &quot;Correct tense: They _____ to the cinema last night.&quot;,
                        options: [&quot;go&quot;, &quot;went&quot;, &quot;have gone&quot;, &quot;will go&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Simple past tense for completed action in the past.&quot;
                    },
                    {
                        question: &quot;Reading comprehension: &#39;The Industrial Revolution began in 18th century Britain, shifting from manual to machine production, causing urbanization.&#39; Where did it begin?&quot;,
                        options: [&quot;France&quot;, &quot;Germany&quot;, &quot;Britain&quot;, &quot;USA&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;The passage states it &#39;began in 18th century Britain.&#39;&quot;
                    },
                    {
                        question: &quot;Synonym of &#39;ACCURATE&#39;:&quot;,
                        options: [&quot;Wrong&quot;, &quot;Precise&quot;, &quot;Inexact&quot;, &quot;Faulty&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Accurate means correct in all details; precise.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;INCREASE&#39;:&quot;,
                        options: [&quot;Grow&quot;, &quot;Decrease&quot;, &quot;Expand&quot;, &quot;Enhance&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Increase means to become larger; decrease means to become smaller.&quot;
                    },
                    {
                        question: &quot;Identify correct sentence:&quot;,
                        options: [&quot;Each of the students are present.&quot;, &quot;Each of the students is present.&quot;, &quot;Each of the students were present.&quot;, &quot;Each of the students have been present.&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;&#39;Each&#39; is singular, so &#39;is&#39; is correct.&quot;
                    },
                    // Reasoning (15 questions)
                    {
                        question: &quot;What comes next: 1, 4, 9, 16, 25, ?&quot;,
                        options: [&quot;36&quot;, &quot;49&quot;, &quot;64&quot;, &quot;81&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Pattern: squares of natural numbers: 1x2,2x2,3x2,4x2,5x2,6x2=36.&quot;
                    },
                    {
                        question: &quot;If &#39;MOUSE&#39; is &#39;NPVTF&#39;, how is &#39;KEY&#39; coded?&quot;,
                        options: [&quot;LFZ&quot;, &quot;LFX&quot;, &quot;KFX&quot;, &quot;KFZ&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Each letter moves one forward: K→L, E→F, Y→Z = LFZ.&quot;
                    },
                    {
                        question: &quot;All dogs are mammals. Some mammals are pets. Conclusion: Some dogs are pets.&quot;,
                        options: [&quot;Definitely true&quot;, &quot;Definitely false&quot;, &quot;Probably true&quot;, &quot;Cannot be determined&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;We don&#39;t know if the mammals that are pets include dogs.&quot;
                    },
                    {
                        question: &quot;Choose odd one out:&quot;,
                        options: [&quot;Mercury&quot;, &quot;Venus&quot;, &quot;Moon&quot;, &quot;Mars&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Moon is a satellite, others are planets.&quot;
                    },
                    {
                        question: &quot;&#39;Doctor is to Hospital as Teacher is to _____&#39;&quot;,
                        options: [&quot;School&quot;, &quot;College&quot;, &quot;Classroom&quot;, &quot;Office&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Doctor works in hospital; teacher works in school.&quot;
                    },
                    {
                        question: &quot;Clock shows 4:30. Angle between hands is:&quot;,
                        options: [&quot;30°&quot;, &quot;45°&quot;, &quot;60°&quot;, &quot;75°&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;At 4:30, hour hand at 135°, minute hand at 180°, difference=45°.&quot;
                    },
                    {
                        question: &quot;Find missing: 1, 1, 2, 3, 5, 8, ?&quot;,
                        options: [&quot;11&quot;, &quot;12&quot;, &quot;13&quot;, &quot;14&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Fibonacci sequence: 1+1=2, 1+2=3, 2+3=5, 3+5=8, 5+8=13.&quot;
                    },
                    {
                        question: &quot;If some A are B and all B are C, then:&quot;,
                        options: [&quot;Some A are C&quot;, &quot;All A are C&quot;, &quot;No A are C&quot;, &quot;Cannot be determined&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;If all B are C and some A are B, then some A must be C.&quot;
                    },
                    {
                        question: &quot;Which cube can be made from net?&quot;,
                        options: [&quot;Option A&quot;, &quot;Option B&quot;, &quot;Option C&quot;, &quot;Option D&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Option A shows a valid cube net with opposite faces not adjacent.&quot;
                    },
                    {
                        question: &quot;&#39;Fish is to Water as Bird is to _____&#39;&quot;,
                        options: [&quot;Sky&quot;, &quot;Air&quot;, &quot;Nest&quot;, &quot;Tree&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Fish lives in water; bird flies in sky.&quot;
                    },
                    {
                        question: &quot;Car travels 240 km in 4 hours. Speed in km/h is:&quot;,
                        options: [&quot;50&quot;, &quot;55&quot;, &quot;60&quot;, &quot;65&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Speed = distance/time = 240/4 = 60 km/h.&quot;
                    },
                    {
                        question: &quot;Find missing: 8, 27, 64, 125, ?&quot;,
                        options: [&quot;216&quot;, &quot;343&quot;, &quot;512&quot;, &quot;729&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Pattern: cubes: 2³=8,3³=27,4³=64,5³=125,6³=216.&quot;
                    },
                    {
                        question: &quot;If today is Friday, what day is 100 days later?&quot;,
                        options: [&quot;Saturday&quot;, &quot;Sunday&quot;, &quot;Monday&quot;, &quot;Tuesday&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;100 days = 14 weeks + 2 days, Friday + 2 days = Sunday.&quot;
                    },
                    {
                        question: &quot;How many squares in 2x2 grid?&quot;,
                        options: [&quot;4&quot;, &quot;5&quot;, &quot;6&quot;, &quot;7&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;4 small squares + 1 large square = 5 squares.&quot;
                    },
                    {
                        question: &quot;If &#39;RED&#39; is &#39;6723&#39;, &#39;GREEN&#39; might be:&quot;,
                        options: [&quot;796655&quot;, &quot;796566&quot;, &quot;796556&quot;, &quot;796665&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;R=6, E=7, D=2,3 → G=7, R=9, E=6, E=5, N=6,6 = 796566.&quot;
                    }
                ]
            },
            3: {
                title: &quot;Practice Test 3&quot;,
                subtitle: &quot;50 questions covering all subjects&quot;,
                questions: [
                    // Mathematics (18 questions)
                    {
                        question: &quot;15% of 200 is what percentage of 300?&quot;,
                        options: [&quot;10%&quot;, &quot;12%&quot;, &quot;15%&quot;, &quot;20%&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;15% of 200 = 30, 30/300x100 = 10%.&quot;
                    },
                    {
                        question: &quot;Average of 3 numbers is 15. If two are 12 and 18, third is:&quot;,
                        options: [&quot;15&quot;, &quot;16&quot;, &quot;17&quot;, &quot;18&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Total=45, sum of two=30, third=45-30=15.&quot;
                    },
                    {
                        question: &quot;Ratio 2:3:5. Total 150. Largest part is:&quot;,
                        options: [&quot;45&quot;, &quot;60&quot;, &quot;75&quot;, &quot;90&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Total parts=10, largest part=(5/10)x150=75.&quot;
                    },
                    {
                        question: &quot;Right triangle legs 9 cm, 12 cm. Hypotenuse is:&quot;,
                        options: [&quot;13 cm&quot;, &quot;14 cm&quot;, &quot;15 cm&quot;, &quot;16 cm&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;√(9²+12²)=√(81+144)=√225=15 cm.&quot;
                    },
                    {
                        question: &quot;Solve: 4x - 9 = 2x + 11&quot;,
                        options: [&quot;8&quot;, &quot;9&quot;, &quot;10&quot;, &quot;11&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;4x-2x=11+9 → 2x=20 → x=10.&quot;
                    },
                    {
                        question: &quot;After 20% increase, price is $120. Original price:&quot;,
                        options: [&quot;$90&quot;, &quot;$95&quot;, &quot;$100&quot;, &quot;$105&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Original price = 120/1.20 = $100.&quot;
                    },
                    {
                        question: &quot;Average of first 10 odd numbers is:&quot;,
                        options: [&quot;9&quot;, &quot;10&quot;, &quot;11&quot;, &quot;12&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;First 10 odd numbers: 1,3,5,...,19, sum=100, average=10.&quot;
                    },
                    {
                        question: &quot;If x:y = 3:4 and y:z = 2:5, find x:z.&quot;,
                        options: [&quot;3:10&quot;, &quot;3:5&quot;, &quot;6:20&quot;, &quot;9:20&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;x:y=3:4=3:4, y:z=2:5=4:10 → x:z=3:10.&quot;
                    },
                    {
                        question: &quot;Rectangle area 72 cm², length 12 cm. Width is:&quot;,
                        options: [&quot;4 cm&quot;, &quot;5 cm&quot;, &quot;6 cm&quot;, &quot;8 cm&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Width = area/length = 72/12 = 6 cm.&quot;
                    },
                    {
                        question: &quot;Factorize: x² + 5x + 6&quot;,
                        options: [&quot;(x+2)(x+3)&quot;, &quot;(x+1)(x+6)&quot;, &quot;(x-2)(x-3)&quot;, &quot;(x-1)(x-6)&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;x2+5x+6 = (x+2)(x+3).&quot;
                    },
                    {
                        question: &quot;Marks increased from 50 to 65. Percentage increase:&quot;,
                        options: [&quot;25%&quot;, &quot;28%&quot;, &quot;30%&quot;, &quot;35%&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Increase=15, percentage=(15/50)x100=30%.&quot;
                    },
                    {
                        question: &quot;Average age of 4 children is 10. Father&#39;s age 40 included. New average:&quot;,
                        options: [&quot;12&quot;, &quot;14&quot;, &quot;16&quot;, &quot;18&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Total age=40+40=80, average=80/5=16.&quot;
                    },
                    {
                        question: &quot;12 workers take 15 days. 9 workers take:&quot;,
                        options: [&quot;18 days&quot;, &quot;20 days&quot;, &quot;22 days&quot;, &quot;24 days&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Work=12x15=180 man-days, time=180/9=20 days.&quot;
                    },
                    {
                        question: &quot;Circle radius 21 cm. Area (π=22/7) is:&quot;,
                        options: [&quot;1386 cm²&quot;, &quot;1540 cm²&quot;, &quot;1848 cm²&quot;, &quot;2212 cm²&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Area=πr²=(22/7)x441=1386 cm².&quot;
                    },
                    {
                        question: &quot;Solve: 5(x+2) = 3(x+8)&quot;,
                        options: [&quot;5&quot;, &quot;6&quot;, &quot;7&quot;, &quot;8&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;5x+10=3x+24 → 5x-3x=24-10 &gt; 2x=14 &gt; x=7.&quot;
                    },
                    {
                        question: &quot;Population decreased from 8000 to 7200. Percentage decrease:&quot;,
                        options: [&quot;8%&quot;, &quot;9%&quot;, &quot;10%&quot;, &quot;12%&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Decrease=800, percentage=(800/8000)x100=10%.&quot;
                    },
                    {
                        question: &quot;Sum of two consecutive odd numbers is 56. Numbers are:&quot;,
                        options: [&quot;27,29&quot;, &quot;25,27&quot;, &quot;23,25&quot;, &quot;21,23&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;x+(x+2)=56 → 2x=54 → x=27, numbers=27,29.&quot;
                    },
                    {
                        question: &quot;Cube side 8 cm. Surface area is:&quot;,
                        options: [&quot;384 cm2&quot;, &quot;512 cm²&quot;, &quot;256 cm²&quot;, &quot;192 cm2&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Surface area=6xside²=6x64=384 cm2.&quot;
                    },
                    // English (17 questions)
                    {
                        question: &quot;Synonym of &#39;PROLIFIC&#39;:&quot;,
                        options: [&quot;Unproductive&quot;, &quot;Productive&quot;, &quot;Rare&quot;, &quot;Scarce&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Prolific means producing much fruit or many offspring.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;SUCCINCT&#39;:&quot;,
                        options: [&quot;Concise&quot;, &quot;Brief&quot;, &quot;Verbose&quot;, &quot;Short&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Succinct means briefly and clearly expressed; verbose means using more words than needed.&quot;
                    },
                    {
                        question: &quot;Correct preposition: He is eligible _____ the job.&quot;,
                        options: [&quot;for&quot;, &quot;to&quot;, &quot;with&quot;, &quot;at&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;&#39;Eligible for&#39; means qualified or entitled to.&quot;
                    },
                    {
                        question: &quot;Correct tense: She _____ here since 2010.&quot;,
                        options: [&quot;lives&quot;, &quot;lived&quot;, &quot;has been living&quot;, &quot;will live&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Present perfect continuous for action starting in past and continuing.&quot;
                    },
                    {
                        question: &quot;Reading comprehension: &#39;The human brain has about 86 billion neurons. It controls thoughts, emotions, and bodily functions.&#39; What does the brain control?&quot;,
                        options: [&quot;Only thoughts&quot;, &quot;Only emotions&quot;, &quot;Thoughts, emotions, and bodily functions&quot;, &quot;Only bodily functions&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;The passage states it &#39;controls thoughts, emotions, and bodily functions.&#39;&quot;
                    },
                    {
                        question: &quot;Synonym of &#39;AMBIGUOUS&#39;:&quot;,
                        options: [&quot;Clear&quot;, &quot;Vague&quot;, &quot;Certain&quot;, &quot;Definite&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Ambiguous means open to more than one interpretation.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;OMINOUS&#39;:&quot;,
                        options: [&quot;Threatening&quot;, &quot;Promising&quot;, &quot;Sinister&quot;, &quot;Foreboding&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Ominous means giving impression something bad will happen; promising is opposite.&quot;
                    },
                    {
                        question: &quot;Correct preposition: She was deprived _____ education.&quot;,
                        options: [&quot;from&quot;, &quot;of&quot;, &quot;with&quot;, &quot;by&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;&#39;Deprived of&#39; means prevented from having.&quot;
                    },
                    {
                        question: &quot;Correct tense: If I _____ earlier, I would have come.&quot;,
                        options: [&quot;know&quot;, &quot;knew&quot;, &quot;had known&quot;, &quot;would know&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Third conditional: past perfect in if-clause, would have in main clause.&quot;
                    },
                    {
                        question: &quot;Synonym of &#39;EPHEMERAL&#39;:&quot;,
                        options: [&quot;Permanent&quot;, &quot;Temporary&quot;, &quot;Eternal&quot;, &quot;Lasting&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Ephemeral means lasting for a very short time.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;HOMOGENEOUS&#39;:&quot;,
                        options: [&quot;Uniform&quot;, &quot;Similar&quot;, &quot;Heterogeneous&quot;, &quot;Same&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Homogeneous means of same kind; heterogeneous means diverse.&quot;
                    },
                    {
                        question: &quot;Correct preposition: He is anxious _____ his exam.&quot;,
                        options: [&quot;for&quot;, &quot;about&quot;, &quot;with&quot;, &quot;at&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;&#39;Anxious about&#39; means worried about.&quot;
                    },
                    {
                        question: &quot;Correct tense: By 2030, I _____ for 20 years.&quot;,
                        options: [&quot;work&quot;, &quot;worked&quot;, &quot;will work&quot;, &quot;will have worked&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;Future perfect tense for action completed before a future time.&quot;
                    },
                    {
                        question: &quot;Reading comprehension: &#39;Solar energy is renewable, clean, and sustainable. It reduces fossil fuel dependence and greenhouse gases.&#39; Main advantage of solar energy?&quot;,
                        options: [&quot;Expensive&quot;, &quot;Renewable and clean&quot;, &quot;Only for daytime&quot;, &quot;Requires large space&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;The passage states it&#39;s &#39;renewable, clean, and sustainable.&#39;&quot;
                    },
                    {
                        question: &quot;Synonym of &#39;VERBOSE&#39;:&quot;,
                        options: [&quot;Concise&quot;, &quot;Wordy&quot;, &quot;Brief&quot;, &quot;Short&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Verbose means using more words than needed.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;EXPLICIT&#39;:&quot;,
                        options: [&quot;Clear&quot;, &quot;Implicit&quot;, &quot;Direct&quot;, &quot;Straightforward&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Explicit means stated clearly; implicit means implied.&quot;
                    },
                    {
                        question: &quot;Identify correct sentence:&quot;,
                        options: [&quot;The team are playing well.&quot;, &quot;The team is playing well.&quot;, &quot;The team were playing well.&quot;, &quot;The team have been playing well.&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;&#39;Team&#39; is collective noun, can be singular or plural depending on context, but here &#39;is&#39; is correct.&quot;
                    },
                    // Reasoning (15 questions)
                    {
                        question: &quot;What comes next: 2, 4, 8, 16, 32, ?&quot;,
                        options: [&quot;48&quot;, &quot;56&quot;, &quot;64&quot;, &quot;72&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Pattern: multiply by 2 → 32x2=64.&quot;
                    },
                    {
                        question: &quot;If &#39;HOUSE&#39; is &#39;IPVTF&#39;, how is &#39;TABLE&#39; coded?&quot;,
                        options: [&quot;UBQMF&quot;, &quot;UCBME&quot;, &quot;UBMF&quot;, &quot;UBCMF&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;Each letter moves one forward: T&gt;U, A&gt;B, B&gt;C, L&gt;M, E&gt;F = UBCMF.&quot;
                    },
                    {
                        question: &quot;All squares are rectangles. All rectangles are parallelograms. Conclusion: All squares are parallelograms.&quot;,
                        options: [&quot;True&quot;, &quot;False&quot;, &quot;Uncertain&quot;, &quot;Invalid&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;If A⊆B and B⊆C, then A⊆C.&quot;
                    },
                    {
                        question: &quot;Choose odd one out:&quot;,
                        options: [&quot;Rose&quot;, &quot;Lily&quot;, &quot;Jasmine&quot;, &quot;Oak&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;Oak is a tree, others are flowers.&quot;
                    },
                    {
                        question: &quot;&#39;Pen is to Write as Knife is to _____&#39;&quot;,
                        options: [&quot;Cut&quot;, &quot;Sharp&quot;, &quot;Metal&quot;, &quot;Handle&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Pen is used to write; knife is used to cut.&quot;
                    },
                    {
                        question: &quot;Clock shows 9:20. Angle between hands is:&quot;,
                        options: [&quot;150°&quot;, &quot;160°&quot;, &quot;170°&quot;, &quot;180°&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;At 9:20, hour hand moves 0.5° per minute → 9x30+10=280°, minute hand=120°, difference=160°.&quot;
                    },
                    {
                        question: &quot;Find missing: 1, 8, 27, 64, 125, ?&quot;,
                        options: [&quot;216&quot;, &quot;343&quot;, &quot;512&quot;, &quot;729&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Pattern: cubes: 1x3,2x3,3x3,4x3,5x3,6x3=216.&quot;
                    },
                    {
                        question: &quot;No A are B. All B are C. Then:&quot;,
                        options: [&quot;Some A are C&quot;, &quot;No A are C&quot;, &quot;All A are C&quot;, &quot;Cannot be determined&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;We don&#39;t know relationship between A and C.&quot;
                    },
                    {
                        question: &quot;Mirror image of &#39;P&#39; is:&quot;,
                        options: [&quot;P&quot;, &quot;q&quot;, &quot;d&quot;, &quot;b&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;Mirror image of P is a backward P, which looks like b.&quot;
                    },
                    {
                        question: &quot;&#39;Winter is to Cold as Summer is to _____&#39;&quot;,
                        options: [&quot;Hot&quot;, &quot;Warm&quot;, &quot;Snow&quot;, &quot;Rain&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Winter is associated with cold; summer with hot.&quot;
                    },
                    {
                        question: &quot;Train 200 m long passes pole in 10 seconds. Speed in m/s:&quot;,
                        options: [&quot;15&quot;, &quot;18&quot;, &quot;20&quot;, &quot;25&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Speed = distance/time = 200/10 = 20 m/s.&quot;
                    },
                    {
                        question: &quot;Find missing: 3, 6, 11, 18, 27, ?&quot;,
                        options: [&quot;36&quot;, &quot;38&quot;, &quot;40&quot;, &quot;42&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Pattern: +3, +5, +7, +9, +11 → 27+11=38.&quot;
                    },
                    {
                        question: &quot;If 5th day is Wednesday, 15th day is:&quot;,
                        options: [&quot;Saturday&quot;, &quot;Sunday&quot;, &quot;Monday&quot;, &quot;Tuesday&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;From 5th to 15th = 10 days, 10 days = 1 week + 3 days, Wednesday + 3 days = Saturday.&quot;
                    },
                    {
                        question: &quot;How many cubes in 3x3x3 cube?&quot;,
                        options: [&quot;9&quot;, &quot;18&quot;, &quot;27&quot;, &quot;36&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;3x3x3 = 27 cubes.&quot;
                    },
                    {
                        question: &quot;If &#39;123&#39; means &#39;456&#39;, &#39;234&#39; means &#39;567&#39;, then &#39;345&#39; means:&quot;,
                        options: [&quot;678&quot;, &quot;789&quot;, &quot;456&quot;, &quot;567&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Pattern: each digit increased by 3: 3x36,4x37,5x38 = 678.&quot;
                    }
                ]
            },
            4: {
                title: &quot;Practice Test 4&quot;,
                subtitle: &quot;50 questions covering all subjects&quot;,
                questions: [
                    // Mathematics (18 questions)
                    {
                        question: &quot;60% of 150 is same as:&quot;,
                        options: [&quot;75% of 100&quot;, &quot;50% of 180&quot;, &quot;40% of 225&quot;, &quot;30% of 300&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;60% of 150=90, 40% of 225=90.&quot;
                    },
                    {
                        question: &quot;Average of 12 numbers is 18. If 24 is added, new average is:&quot;,
                        options: [&quot;18.5&quot;, &quot;19&quot;, &quot;19.5&quot;, &quot;20&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Total=216, new total=240, new average=240/13≈18.46 → 19.&quot;
                    },
                    {
                        question: &quot;Ratio of boys to girls is 4:5. If 45 girls, total students:&quot;,
                        options: [&quot;72&quot;, &quot;75&quot;, &quot;80&quot;, &quot;81&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;Boys:girls=4:5, if girls=45, boys=36, total=81.&quot;
                    },
                    {
                        question: &quot;Triangle area 54 cm², base 12 cm. Height is:&quot;,
                        options: [&quot;8 cm&quot;, &quot;9 cm&quot;, &quot;10 cm&quot;, &quot;12 cm&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Height = 2xarea/base = 108/12 = 9 cm.&quot;
                    },
                    {
                        question: &quot;Solve: 2x/3 = 16&quot;,
                        options: [&quot;20&quot;, &quot;22&quot;, &quot;24&quot;, &quot;26&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;2x=48 → x=24.&quot;
                    },
                    {
                        question: &quot;After two discounts of 10% each, net discount is:&quot;,
                        options: [&quot;18%&quot;, &quot;19%&quot;, &quot;20%&quot;, &quot;21%&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Net discount = 100-(100x0.9x0.9)=100-81=19%.&quot;
                    },
                    {
                        question: &quot;Average of prime numbers between 10 and 20:&quot;,
                        options: [&quot;13&quot;, &quot;14&quot;, &quot;15&quot;, &quot;16&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Primes: 11,13,17,19 → average=60/4=15.&quot;
                    },
                    {
                        question: &quot;If 3a=4b=5c, find a:b:c.&quot;,
                        options: [&quot;20:15:12&quot;, &quot;15:12:10&quot;, &quot;12:9:8&quot;, &quot;10:8:6&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Let 3a=4b=5c=k → a=k/3, b=k/4, c=k/5 → a:b:c=1/3:1/4:1/5=20:15:12.&quot;
                    },
                    {
                        question: &quot;Square diagonal 10√2 cm. Area is:&quot;,
                        options: [&quot;50 cm²&quot;, &quot;100 cm²&quot;, &quot;150 cm²&quot;, &quot;200 cm²&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Diagonal=side√2 → side=10cm, area=100cm².&quot;
                    },
                    {
                        question: &quot;Solve: x² - 5x + 6 = 0&quot;,
                        options: [&quot;x=2,3&quot;, &quot;x=1,6&quot;, &quot;x=-2,-3&quot;, &quot;x=-1,-6&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;x²-5x+6=(x-2)(x-3)=0 → x=2,3.&quot;
                    },
                    {
                        question: &quot;Salary increased from $2000 to $2400. Percentage increase:&quot;,
                        options: [&quot;18%&quot;, &quot;20%&quot;, &quot;22%&quot;, &quot;25%&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Increase=400, percentage=(400/2000)x100=20%.&quot;
                    },
                    {
                        question: &quot;Average of 5 consecutive even numbers is 16. Smallest is:&quot;,
                        options: [&quot;10&quot;, &quot;12&quot;, &quot;14&quot;, &quot;16&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Numbers: x, x+2, x+4, x+6, x+8 → average=x+4=16 → x=12.&quot;
                    },
                    {
                        question: &quot;20 men complete work in 15 days. 25 men take:&quot;,
                        options: [&quot;10 days&quot;, &quot;11 days&quot;, &quot;12 days&quot;, &quot;13 days&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Work=20x15=300 man-days, time=300/25=12 days.&quot;
                    },
                    {
                        question: &quot;Circle circumference 44 cm. Radius (π=22/7) is:&quot;,
                        options: [&quot;6 cm&quot;, &quot;7 cm&quot;, &quot;8 cm&quot;, &quot;9 cm&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;2πr=44 → r=44/(2x22/7)=7 cm.&quot;
                    },
                    {
                        question: &quot;Solve: 3(x-4) + 2 = 5(x+1) - 8&quot;,
                        options: [&quot;2.5&quot;, &quot;3&quot;, &quot;3.5&quot;, &quot;4&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;3x-12+2=5x+5-8 → 3x-10=5x-3 → -10+3=5x-3x → -7=2x → x=-3.5.&quot;
                    },
                    {
                        question: &quot;Price decreased by 15% to $85. Original price:&quot;,
                        options: [&quot;$95&quot;, &quot;$98&quot;, &quot;$100&quot;, &quot;$105&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Original price = 85/0.85 = $100.&quot;
                    },
                    {
                        question: &quot;Sum of three numbers is 45. Ratio 2:3:4. Largest number:&quot;,
                        options: [&quot;15&quot;, &quot;18&quot;, &quot;20&quot;, &quot;24&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Total parts=9, largest=(4/9)x45=20.&quot;
                    },
                    {
                        question: &quot;Cylinder radius 14 cm, height 20 cm. Volume (π=22/7) is:&quot;,
                        options: [&quot;12320 cm³&quot;, &quot;13200 cm³&quot;, &quot;15400 cm³&quot;, &quot;17600 cm³&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Volume=πr²h=(22/7)x196x20=12320 cm³.&quot;
                    },
                    // English (17 questions)
                    {
                        question: &quot;Synonym of &#39;BENEVOLENT&#39;:&quot;,
                        options: [&quot;Malevolent&quot;, &quot;Kind&quot;, &quot;Mean&quot;, &quot;Cruel&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Benevolent means well meaning and kindly.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;TRANSPARENT&#39;:&quot;,
                        options: [&quot;Clear&quot;, &quot;Opaque&quot;, &quot;Lucid&quot;, &quot;See-through&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Transparent means see-through; opaque means not transparent.&quot;
                    },
                    {
                        question: &quot;Correct preposition: She is capable _____ great things.&quot;,
                        options: [&quot;of&quot;, &quot;with&quot;, &quot;at&quot;, &quot;for&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;&#39;Capable of&#39; means having ability.&quot;
                    },
                    {
                        question: &quot;Correct tense: They _____ for 3 hours when we arrived.&quot;,
                        options: [&quot;wait&quot;, &quot;waited&quot;, &quot;had been waiting&quot;, &quot;will wait&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Past perfect continuous for action started before another past action.&quot;
                    },
                    {
                        question: &quot;Reading comprehension: &#39;The Internet revolutionized communication, enabling instant global connectivity and information access.&#39; What did Internet revolutionize?&quot;,
                        options: [&quot;Transportation&quot;, &quot;Communication&quot;, &quot;Agriculture&quot;, &quot;Manufacturing&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;The passage states it &#39;revolutionized communication.&#39;&quot;
                    },
                    {
                        question: &quot;Synonym of &#39;CONCLUDE&#39;:&quot;,
                        options: [&quot;Begin&quot;, &quot;Start&quot;, &quot;Finish&quot;, &quot;Continue&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Conclude means bring to an end.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;AMPLIFY&#39;:&quot;,
                        options: [&quot;Increase&quot;, &quot;Reduce&quot;, &quot;Magnify&quot;, &quot;Enhance&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Amplify means increase; reduce means make smaller.&quot;
                    },
                    {
                        question: &quot;Correct preposition: He is jealous _____ his brother.&quot;,
                        options: [&quot;for&quot;, &quot;with&quot;, &quot;of&quot;, &quot;at&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;&#39;Jealous of&#39; means envious of.&quot;
                    },
                    {
                        question: &quot;Correct tense: If I _____ rich, I would travel.&quot;,
                        options: [&quot;am&quot;, &quot;was&quot;, &quot;were&quot;, &quot;will be&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Second conditional: past simple in if-clause, would in main clause.&quot;
                    },
                    {
                        question: &quot;Synonym of &#39;MUNDANE&#39;:&quot;,
                        options: [&quot;Extraordinary&quot;, &quot;Ordinary&quot;, &quot;Exciting&quot;, &quot;Unusual&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Mundane means lacking interest; ordinary.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;VOLATILE&#39;:&quot;,
                        options: [&quot;Stable&quot;, &quot;Unstable&quot;, &quot;Changeable&quot;, &quot;Explosive&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Volatile means liable to change rapidly; stable is opposite.&quot;
                    },
                    {
                        question: &quot;Correct preposition: She insisted _____ paying.&quot;,
                        options: [&quot;on&quot;, &quot;in&quot;, &quot;at&quot;, &quot;for&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;&#39;Insist on&#39; means demand something forcefully.&quot;
                    },
                    {
                        question: &quot;Correct tense: The sun _____ in the east.&quot;,
                        options: [&quot;rise&quot;, &quot;rises&quot;, &quot;rose&quot;, &quot;will rise&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Present simple for general truths.&quot;
                    },
                    {
                        question: &quot;Reading comprehension: &#39;Water covers 71% of Earth&#39;s surface. Only 2.5% is freshwater, mostly in glaciers and groundwater.&#39; What percentage is freshwater?&quot;,
                        options: [&quot;1.5%&quot;, &quot;2.5%&quot;, &quot;3.5%&quot;, &quot;5%&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;The passage states &#39;Only 2.5% is freshwater.&#39;&quot;
                    },
                    {
                        question: &quot;Synonym of &#39;HYPOTHETICAL&#39;:&quot;,
                        options: [&quot;Real&quot;, &quot;Theoretical&quot;, &quot;Actual&quot;, &quot;Certain&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Hypothetical means based on assumption; theoretical.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;FLEXIBLE&#39;:&quot;,
                        options: [&quot;Bendable&quot;, &quot;Rigid&quot;, &quot;Adaptable&quot;, &quot;Pliable&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Flexible means able to bend; rigid means stiff.&quot;
                    },
                    {
                        question: &quot;Identify correct sentence:&quot;,
                        options: [&quot;Neither John nor Mary are coming.&quot;, &quot;Neither John nor Mary is coming.&quot;, &quot;Neither John nor Mary were coming.&quot;, &quot;Neither John nor Mary have come.&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;&#39;Neither...nor&#39; takes singular verb when both subjects are singular.&quot;
                    },
                    // Reasoning (15 questions)
                    {
                        question: &quot;What comes next: 0, 1, 1, 2, 3, 5, 8, 13, ?&quot;,
                        options: [&quot;18&quot;, &quot;19&quot;, &quot;20&quot;, &quot;21&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;Fibonacci: 0+1=1,1+1=2,1+2=3,2+3=5,3+5=8,5+8=13,8+13=21.&quot;
                    },
                    {
                        question: &quot;If &#39;APPLE&#39; is &#39;BQQMF&#39;, how is &#39;ORANGE&#39; coded?&quot;,
                        options: [&quot;PSBOHF&quot;, &quot;PSBMHF&quot;, &quot;PSBMGF&quot;, &quot;PSBMGE&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Each letter moves one forward: O→P,R→S,A→B,N→O,G→H,E→F = PSBOHF.&quot;
                    },
                    {
                        question: &quot;All teachers are educated. Some educated are writers. Conclusion: Some teachers are writers.&quot;,
                        options: [&quot;True&quot;, &quot;False&quot;, &quot;Uncertain&quot;, &quot;Invalid&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;We don&#39;t know if educated writers include teachers.&quot;
                    },
                    {
                        question: &quot;Choose odd one out:&quot;,
                        options: [&quot;Apple&quot;, &quot;Banana&quot;, &quot;Carrot&quot;, &quot;Orange&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Carrot is a vegetable, others are fruits.&quot;
                    },
                    {
                        question: &quot;&#39;Doctor is to Patient as Lawyer is to _____&#39;&quot;,
                        options: [&quot;Court&quot;, &quot;Client&quot;, &quot;Judge&quot;, &quot;Law&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Doctor treats patient; lawyer represents client.&quot;
                    },
                    {
                        question: &quot;Clock shows 7:55. Angle between hands is:&quot;,
                        options: [&quot;92.5°&quot;, &quot;95°&quot;, &quot;97.5°&quot;, &quot;100°&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;At 7:55, hour hand moves 0.5° per minute → 7x30+27.5=237.5°, minute hand=330°, difference=92.5°.&quot;
                    },
                    {
                        question: &quot;Find missing: 2, 5, 10, 17, 26, ?&quot;,
                        options: [&quot;35&quot;, &quot;36&quot;, &quot;37&quot;, &quot;38&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Pattern: +3, +5, +7, +9, +11 → 26+11=37.&quot;
                    },
                    {
                        question: &quot;Some X are Y. Some Y are Z. Then:&quot;,
                        options: [&quot;Some X are Z&quot;, &quot;All X are Z&quot;, &quot;No X are Z&quot;, &quot;Cannot be determined&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;No direct relationship between X and Z.&quot;
                    },
                    {
                        question: &quot;Which shape completes pattern? □, ○, △, □, ○, ?&quot;,
                        options: [&quot;△&quot;, &quot;□&quot;, &quot;○&quot;, &quot;◇&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Pattern: □, ○, △ repeats → next is △.&quot;
                    },
                    {
                        question: &quot;&#39;Milk is to Cow as Honey is to _____&#39;&quot;,
                        options: [&quot;Bee&quot;, &quot;Flower&quot;, &quot;Sugar&quot;, &quot;Sweet&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Cow produces milk; bee produces honey.&quot;
                    },
                    {
                        question: &quot;Speed 72 km/h = _____ m/s.&quot;,
                        options: [&quot;18&quot;, &quot;20&quot;, &quot;22&quot;, &quot;25&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;72 km/h = 72x1000/3600 = 20 m/s.&quot;
                    },
                    {
                        question: &quot;Find missing: 1, 3, 6, 10, 15, ?&quot;,
                        options: [&quot;20&quot;, &quot;21&quot;, &quot;22&quot;, &quot;24&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Pattern: +2, +3, +4, +5, +6 → 15+6=21.&quot;
                    },
                    {
                        question: &quot;If 1st is Monday, 29th is:&quot;,
                        options: [&quot;Sunday&quot;, &quot;Monday&quot;, &quot;Tuesday&quot;, &quot;Wednesday&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;28 days = 4 weeks, so 29th is Monday again.&quot;
                    },
                    {
                        question: &quot;How many rectangles in 2x3 grid?&quot;,
                        options: [&quot;6&quot;, &quot;9&quot;, &quot;12&quot;, &quot;15&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Total rectangles = (3x2)x(4x3)/4 = 12.&quot;
                    },
                    {
                        question: &quot;If &#39;DAY&#39; is &#39;415&#39;, &#39;NIGHT&#39; is &#39;497820&#39;, then &#39;MORNING&#39; might be:&quot;,
                        options: [&quot;4131497&quot;, &quot;4131496&quot;, &quot;4131498&quot;, &quot;4131495&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;D=4,A=1,Y=5, N=4,I=9,G=7,H=8,T=20 → M=13,O=15,R=18,N=14,I=9,N=14,G=7 = 4131497.&quot;
                    }
                ]
            },
            5: {
                title: &quot;Practice Test 5&quot;,
                subtitle: &quot;50 questions covering all subjects&quot;,
                questions: [
                    // Mathematics (18 questions)
                    {
                        question: &quot;If 20% of (x+5)=6, find x.&quot;,
                        options: [&quot;20&quot;, &quot;25&quot;, &quot;30&quot;, &quot;35&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;0.2(x+5)=6 → x+5=30 → x=25.&quot;
                    },
                    {
                        question: &quot;Average of 5 numbers is 24. If one is 18, average of remaining is 26. Removed number is:&quot;,
                        options: [&quot;18&quot;, &quot;20&quot;, &quot;22&quot;, &quot;24&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Total=120, sum of 4=4x26=104, removed=120-104=16.&quot;
                    },
                    {
                        question: &quot;Ratio 4:5 inverted gives ratio:&quot;,
                        options: [&quot;5:4&quot;, &quot;4:5&quot;, &quot;1:1&quot;, &quot;0.8:1&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Inverse of 4:5 is 5:4.&quot;
                    },
                    {
                        question: &quot;Equilateral triangle side 12 cm. Height is:&quot;,
                        options: [&quot;6√3 cm&quot;, &quot;8√3 cm&quot;, &quot;10√3 cm&quot;, &quot;12√3 cm&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Height = (√3/2)xside = 6√3 cm.&quot;
                    },
                    {
                        question: &quot;Solve: 5 - 3x = 2x + 20&quot;,
                        options: [&quot;-3&quot;, &quot;-2&quot;, &quot;2&quot;, &quot;3&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;5-20=2x+3x → -15=5x → x=-3.&quot;
                    },
                    {
                        question: &quot;Price first increased 20%, then decreased 20%. Net change:&quot;,
                        options: [&quot;4% decrease&quot;, &quot;4% increase&quot;, &quot;No change&quot;, &quot;2% decrease&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Net change = 100x1.2x0.8=96 → 4% decrease.&quot;
                    },
                    {
                        question: &quot;Average of first 15 natural numbers:&quot;,
                        options: [&quot;7&quot;, &quot;7.5&quot;, &quot;8&quot;, &quot;8.5&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Sum=120, average=120/15=8.&quot;
                    },
                    {
                        question: &quot;If x/2 = y/3 = z/4, then (x+y+z)/z = ?&quot;,
                        options: [&quot;2&quot;, &quot;2.25&quot;, &quot;2.5&quot;, &quot;3&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Let x=2k,y=3k,z=4k → (2k+3k+4k)/4k=9/4=2.25.&quot;
                    },
                    {
                        question: &quot;Rhombus diagonals 10 cm and 24 cm. Side length:&quot;,
                        options: [&quot;11 cm&quot;, &quot;12 cm&quot;, &quot;13 cm&quot;, &quot;14 cm&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Side = ½√(10²+24²)=½√(100+576)=½√676=13 cm.&quot;
                    },
                    {
                        question: &quot;Factorize: 2x² + 7x + 3&quot;,
                        options: [&quot;(2x+1)(x+3)&quot;, &quot;(2x+3)(x+1)&quot;, &quot;(2x-1)(x-3)&quot;, &quot;(2x-3)(x-1)&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;2x²+7x+3 = (2x+1)(x+3).&quot;
                    },
                    {
                        question: &quot;If 80% passed and 40 failed, total students:&quot;,
                        options: [&quot;160&quot;, &quot;180&quot;, &quot;200&quot;, &quot;220&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;20% failed = 40 → total=40/0.2=200.&quot;
                    },
                    {
                        question: &quot;Average temperature for 5 days: 20°C. If first four: 18,22,19,21, fifth day:&quot;,
                        options: [&quot;18&quot;, &quot;19&quot;, &quot;20&quot;, &quot;21&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Total=100, sum of four=80, fifth=20.&quot;
                    },
                    {
                        question: &quot;16 women complete work in 12 days. 12 women take:&quot;,
                        options: [&quot;14 days&quot;, &quot;15 days&quot;, &quot;16 days&quot;, &quot;18 days&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Work=16x12=192 woman-days, time=192/12=16 days.&quot;
                    },
                    {
                        question: &quot;Sector angle 60°, radius 21 cm. Arc length (π=22/7):&quot;,
                        options: [&quot;22 cm&quot;, &quot;24 cm&quot;, &quot;26 cm&quot;, &quot;28 cm&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Arc = (60/360)x2πr = (1/6)x2x(22/7)x21=22 cm.&quot;
                    },
                    {
                        question: &quot;Solve: (x+3)/4 = (2x-1)/3&quot;,
                        options: [&quot;2&quot;, &quot;2.5&quot;, &quot;3&quot;, &quot;3.5&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;3(x+3)=4(2x-1) → 3x+9=8x-4 → 9+4=8x-3x → 13=5x → x=2.6.&quot;
                    },
                    {
                        question: &quot;Stock bought $500, sold $575. Profit percentage:&quot;,
                        options: [&quot;12.5%&quot;, &quot;14%&quot;, &quot;15%&quot;, &quot;16%&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Profit=75, percentage=(75/500)x100=15%.&quot;
                    },
                    {
                        question: &quot;Numbers ratio 3:5, difference 24. Larger number:&quot;,
                        options: [&quot;36&quot;, &quot;48&quot;, &quot;60&quot;, &quot;72&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;5x-3x=24 → 2x=24 → x=12, larger=5x12=60.&quot;
                    },
                    {
                        question: &quot;Cone radius 7 cm, height 24 cm. Slant height:&quot;,
                        options: [&quot;25 cm&quot;, &quot;26 cm&quot;, &quot;27 cm&quot;, &quot;28 cm&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Slant height = √(7²+24²)=√(49+576)=√625=25 cm.&quot;
                    },
                    // English (17 questions)
                    {
                        question: &quot;Synonym of &#39;ZEALOUS&#39;:&quot;,
                        options: [&quot;Apathetic&quot;, &quot;Enthusiastic&quot;, &quot;Indifferent&quot;, &quot;Uninterested&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Zealous means having or showing zeal; enthusiastic.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;VAGUE&#39;:&quot;,
                        options: [&quot;Clear&quot;, &quot;Unclear&quot;, &quot;Hazy&quot;, &quot;Fuzzy&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Vague means unclear; clear is the opposite.&quot;
                    },
                    {
                        question: &quot;Correct preposition: She is accustomed _____ hard work.&quot;,
                        options: [&quot;for&quot;, &quot;with&quot;, &quot;to&quot;, &quot;at&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;&#39;Accustomed to&#39; means used to.&quot;
                    },
                    {
                        question: &quot;Correct tense: By tomorrow, he _____ the report.&quot;,
                        options: [&quot;finishes&quot;, &quot;finished&quot;, &quot;will finish&quot;, &quot;will have finished&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;Future perfect for action completed before a future time.&quot;
                    },
                    {
                        question: &quot;Reading comprehension: &#39;Mars is called the Red Planet due to iron oxide on its surface. It has two moons and thin atmosphere.&#39; Why is Mars red?&quot;,
                        options: [&quot;Iron oxide&quot;, &quot;Volcanoes&quot;, &quot;Dust storms&quot;, &quot;Sunset color&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;The passage states &#39;due to iron oxide on its surface.&#39;&quot;
                    },
                    {
                        question: &quot;Synonym of &#39;LETHARGIC&#39;:&quot;,
                        options: [&quot;Energetic&quot;, &quot;Active&quot;, &quot;Sluggish&quot;, &quot;Dynamic&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Lethargic means affected by lethargy; sluggish.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;HOSTILE&#39;:&quot;,
                        options: [&quot;Friendly&quot;, &quot;Aggressive&quot;, &quot;Unfriendly&quot;, &quot;Opposing&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Hostile means unfriendly; friendly is opposite.&quot;
                    },
                    {
                        question: &quot;Correct preposition: He was found guilty _____ murder.&quot;,
                        options: [&quot;for&quot;, &quot;of&quot;, &quot;with&quot;, &quot;by&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;&#39;Guilty of&#39; means responsible for a crime.&quot;
                    },
                    {
                        question: &quot;Correct tense: If she _____ here, she would help.&quot;,
                        options: [&quot;is&quot;, &quot;was&quot;, &quot;were&quot;, &quot;will be&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Second conditional: past simple in if-clause, would in main clause.&quot;
                    },
                    {
                        question: &quot;Synonym of &#39;QUINTESSENTIAL&#39;:&quot;,
                        options: [&quot;Typical&quot;, &quot;Atypical&quot;, &quot;Unusual&quot;, &quot;Rare&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Quintessential means representing the most perfect example.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;AUTHENTIC&#39;:&quot;,
                        options: [&quot;Genuine&quot;, &quot;Fake&quot;, &quot;Real&quot;, &quot;Original&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Authentic means genuine; fake is opposite.&quot;
                    },
                    {
                        question: &quot;Correct preposition: She excels _____ mathematics.&quot;,
                        options: [&quot;at&quot;, &quot;in&quot;, &quot;with&quot;, &quot;for&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;&#39;Excel in&#39; means be exceptionally good at.&quot;
                    },
                    {
                        question: &quot;Correct tense: They _____ for London next week.&quot;,
                        options: [&quot;leave&quot;, &quot;left&quot;, &quot;have left&quot;, &quot;will leave&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;Future simple for planned future action.&quot;
                    },
                    {
                        question: &quot;Reading comprehension: &#39;DNA contains genetic instructions. It has double helix structure discovered by Watson and Crick.&#39; Who discovered DNA structure?&quot;,
                        options: [&quot;Newton and Einstein&quot;, &quot;Watson and Crick&quot;, &quot;Darwin and Mendel&quot;, &quot;Curie and Pasteur&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;The passage states &#39;discovered by Watson and Crick.&#39;&quot;
                    },
                    {
                        question: &quot;Synonym of &#39;NOVEL&#39;:&quot;,
                        options: [&quot;Old&quot;, &quot;New&quot;, &quot;Common&quot;, &quot;Usual&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Novel means new or unusual.&quot;
                    },
                    {
                        question: &quot;Antonym of &#39;RAPID&#39;:&quot;,
                        options: [&quot;Fast&quot;, &quot;Quick&quot;, &quot;Slow&quot;, &quot;Swift&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Rapid means fast; slow is opposite.&quot;
                    },
                    {
                        question: &quot;Identify correct sentence:&quot;,
                        options: [&quot;The committee are divided.&quot;, &quot;The committee is divided.&quot;, &quot;The committee were divided.&quot;, &quot;The committee have been divided.&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;&#39;Committee&#39; as singular unit takes singular verb.&quot;
                    },
                    // Reasoning (15 questions)
                    {
                        question: &quot;What comes next: 1, 3, 7, 15, 31, ?&quot;,
                        options: [&quot;47&quot;, &quot;53&quot;, &quot;63&quot;, &quot;65&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Pattern: x2+1 → 31x2+1=63.&quot;
                    },
                    {
                        question: &quot;If &#39;CODE&#39; is &#39;DPEF&#39;, how is &#39;WORD&#39; coded?&quot;,
                        options: [&quot;XPSE&quot;, &quot;XPSF&quot;, &quot;XQSE&quot;, &quot;XQSF&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Each letter moves one forward: W→X, O→P, R→S, D→E = XPSE.&quot;
                    },
                    {
                        question: &quot;All birds have feathers. Penguins are birds. Conclusion: Penguins have feathers.&quot;,
                        options: [&quot;True&quot;, &quot;False&quot;, &quot;Uncertain&quot;, &quot;Invalid&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;If all birds have feathers and penguins are birds, then penguins have feathers.&quot;
                    },
                    {
                        question: &quot;Choose odd one out:&quot;,
                        options: [&quot;Guitar&quot;, &quot;Violin&quot;, &quot;Flute&quot;, &quot;Piano&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Flute is wind instrument, others are string instruments.&quot;
                    },
                    {
                        question: &quot;&#39;Doctor is to Stethoscope as Chef is to _____&#39;&quot;,
                        options: [&quot;Knife&quot;, &quot;Apron&quot;, &quot;Hat&quot;, &quot;Recipe&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Doctor uses stethoscope; chef uses knife.&quot;
                    },
                    {
                        question: &quot;Clock shows 2:50. Angle between hands is:&quot;,
                        options: [&quot;135°&quot;, &quot;140°&quot;, &quot;145°&quot;, &quot;150°&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;At 2:50, hour hand moves 0.5° per minute → 2x30+25=85°, minute hand=300°, difference=215° or 145° (smaller angle).&quot;
                    },
                    {
                        question: &quot;Find missing: 4, 12, 36, 108, ?&quot;,
                        options: [&quot;216&quot;, &quot;324&quot;, &quot;432&quot;, &quot;540&quot;],
                        correctAnswer: &quot;B&quot;,
                        explanation: &quot;Pattern: multiply by 3 → 108x3=324.&quot;
                    },
                    {
                        question: &quot;No teachers are lazy. Some lazy are students. Then:&quot;,
                        options: [&quot;Some teachers are students&quot;, &quot;No teachers are students&quot;, &quot;Some students are not teachers&quot;, &quot;Cannot be determined&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Since no teachers are lazy and some students are lazy, some students are not teachers.&quot;
                    },
                    {
                        question: &quot;Which is not a net of cube?&quot;,
                        options: [&quot;Option A&quot;, &quot;Option B&quot;, &quot;Option C&quot;, &quot;Option D&quot;],
                        correctAnswer: &quot;D&quot;,
                        explanation: &quot;Option D cannot be folded into a cube.&quot;
                    },
                    {
                        question: &quot;&#39;Second is to Minute as Minute is to _____&#39;&quot;,
                        options: [&quot;Hour&quot;, &quot;Day&quot;, &quot;Second&quot;, &quot;Time&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;60 seconds make a minute; 60 minutes make an hour.&quot;
                    },
                    {
                        question: &quot;Convert 15 m/s to km/h.&quot;,
                        options: [&quot;50&quot;, &quot;52&quot;, &quot;54&quot;, &quot;56&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;15 m/s = 15x3.6 = 54 km/h.&quot;
                    },
                    {
                        question: &quot;Find missing: 1, 2, 4, 7, 11, 16, ?&quot;,
                        options: [&quot;20&quot;, &quot;21&quot;, &quot;22&quot;, &quot;23&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;Pattern: +1, +2, +3, +4, +5, +6 → 16+6=22.&quot;
                    },
                    {
                        question: &quot;If 15th is Thursday, 30th is:&quot;,
                        options: [&quot;Friday&quot;, &quot;Saturday&quot;, &quot;Sunday&quot;, &quot;Monday&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;From 15th to 30th = 15 days = 2 weeks + 1 day, Thursday + 1 day = Friday.&quot;
                    },
                    {
                        question: &quot;How many edges in cube?&quot;,
                        options: [&quot;8&quot;, &quot;10&quot;, &quot;12&quot;, &quot;16&quot;],
                        correctAnswer: &quot;C&quot;,
                        explanation: &quot;A cube has 12 edges.&quot;
                    },
                    {
                        question: &quot;If &#39;5+3=28&#39;, &#39;9+1=810&#39;, &#39;8+6=214&#39;, then &#39;7+3=?&#39;&quot;,
                        options: [&quot;410&quot;, &quot;47&quot;, &quot;37&quot;, &quot;104&quot;],
                        correctAnswer: &quot;A&quot;,
                        explanation: &quot;Pattern: a+b = (a-b)(a+b) → 7-3=4, 7+3=10 → 410.&quot;
                    }
                ]
            }
        };
            
            // DOM elements
            const startScreen = document.getElementById(&#39;start-screen&#39;);
            const quizPopup = document.getElementById(&#39;quiz-popup&#39;);
            const closeBtn = document.getElementById(&#39;close-btn&#39;);
            const resultsContainer = document.getElementById(&#39;results-container&#39;);
            const questionText = document.getElementById(&#39;question-text&#39;);
            const optionsList = document.getElementById(&#39;options-list&#39;);
            const showAnswerBtn = document.getElementById(&#39;show-answer-btn&#39;);
            const nextBtn = document.getElementById(&#39;next-btn&#39;);
            const answerContainer = document.getElementById(&#39;answer-container&#39;);
            const correctAnswerElement = document.getElementById(&#39;correct-answer&#39;);
            const explanationElement = document.getElementById(&#39;explanation&#39;);
            const scoreValue = document.getElementById(&#39;score-value&#39;);
            const currentQuestionElement = document.getElementById(&#39;current-question&#39;);
            const totalQuestionsElement = document.getElementById(&#39;total-questions&#39;);
            const progressBar = document.getElementById(&#39;progress-bar&#39;);
            const finalScore = document.getElementById(&#39;final-score&#39;);
            const finalTotal = document.getElementById(&#39;final-total&#39;);
            const performanceMessage = document.getElementById(&#39;performance-message&#39;);
            const restartBtn = document.getElementById(&#39;restart-btn&#39;);
            const testSetTitle = document.getElementById(&#39;test-set-title&#39;);
            const testSetSubtitle = document.getElementById(&#39;test-set-subtitle&#39;);
            const testSetButtons = document.querySelectorAll(&#39;.test-set-btn&#39;);
            const timerValue = document.getElementById(&#39;timer-value&#39;);
            const correctAnswersElement = document.getElementById(&#39;correct-answers&#39;);
            const incorrectAnswersElement = document.getElementById(&#39;incorrect-answers&#39;);
            const timeTakenElement = document.getElementById(&#39;time-taken&#39;);
            const accuracyElement = document.getElementById(&#39;accuracy&#39;);
            const shareResultBtn = document.getElementById(&#39;share-result-btn&#39;);
            
            // Quiz state
            let currentTestSet = 1;
            let currentQuestionIndex = 0;
            let score = 0;
            let userAnswers = [];
            let currentQuestions = [];
            let timerInterval;
            let startTime;
            let timeElapsed = 0;
            
            // Initialize test set selection
            testSetButtons.forEach(button =&gt; {
                button.addEventListener(&#39;click&#39;, function() {
                    currentTestSet = parseInt(this.dataset.set);
                    startQuiz();
                });
            });
            
            // Start the quiz
            function startQuiz() {
                currentQuestions = testSets[currentTestSet].questions;
                
                // Update test set info
                testSetTitle.textContent = testSets[currentTestSet].title;
                testSetSubtitle.textContent = testSets[currentTestSet].subtitle;
                totalQuestionsElement.textContent = currentQuestions.length;
                finalTotal.textContent = currentQuestions.length;
                
                // Reset quiz state
                currentQuestionIndex = 0;
                score = 0;
                userAnswers = [];
                timeElapsed = 0;
                scoreValue.textContent = score;
                
                // Show the full screen popup
                quizPopup.classList.add(&#39;active&#39;);
                document.body.style.overflow = &#39;hidden&#39;;
                
                // Reset results display
                resultsContainer.classList.remove(&#39;show&#39;);
                document.getElementById(&#39;question-container&#39;).style.display = &#39;block&#39;;
                
                // Start timer
                startTime = new Date();
                clearInterval(timerInterval);
                timerInterval = setInterval(updateTimer, 1000);
                
                loadQuestion();
                updateProgress();
            }
            
            // Close the quiz popup
            function closeQuiz() {
                quizPopup.classList.remove(&#39;active&#39;);
                document.body.style.overflow = &#39;auto&#39;;
                clearInterval(timerInterval);
            }
            
            // Update timer
            function updateTimer() {
                timeElapsed = Math.floor((new Date() - startTime) / 1000);
                const minutes = Math.floor(timeElapsed / 60);
                const seconds = timeElapsed % 60;
                timerValue.textContent = `${minutes}:${seconds &lt; 10 ? &#39;0&#39; : &#39;&#39;}${seconds}`;
            }
            
            // Load the current question
            function loadQuestion() {
                const currentQuizData = currentQuestions[currentQuestionIndex];
                
                // Update question text
                questionText.textContent = currentQuizData.question;
                
                // Update question number
                currentQuestionElement.textContent = currentQuestionIndex + 1;
                
                // Clear previous options
                optionsList.innerHTML = &#39;&#39;;
                
                // Create new options
                currentQuizData.options.forEach((option, index) =&gt; {
                    const optionElement = document.createElement(&#39;li&#39;);
                    optionElement.className = &#39;option&#39;;
                    optionElement.dataset.value = String.fromCharCode(65 + index); // A, B, C, D
                    
                    optionElement.innerHTML = `
                        &lt;span class=&quot;option-label&quot;&gt;${String.fromCharCode(65 + index)}&lt;/span&gt;
                        &lt;span class=&quot;option-text&quot;&gt;${option}&lt;/span&gt;
                    `;
                    
                    optionElement.addEventListener(&#39;click&#39;, selectOption);
                    optionsList.appendChild(optionElement);
                });
                
                // Update answer container
                const correctAnswerLabel = currentQuizData.correctAnswer;
                const correctAnswerText = currentQuizData.options[correctAnswerLabel.charCodeAt(0) - 65];
                correctAnswerElement.textContent = `Correct Answer: ${correctAnswerLabel}. ${correctAnswerText}`;
                explanationElement.textContent = currentQuizData.explanation;
                
                // Reset buttons and answer container
                showAnswerBtn.disabled = true;
                nextBtn.disabled = true;
                answerContainer.classList.remove(&#39;show&#39;);
                
                // If user has already answered this question, show their selection
                if (userAnswers[currentQuestionIndex]) {
                    const selectedOption = document.querySelector(`.option[data-value=&quot;${userAnswers[currentQuestionIndex].selected}&quot;]`);
                    if (selectedOption) {
                        selectedOption.classList.add(&#39;selected&#39;);
                        showAnswerBtn.disabled = false;
                        
                        // If answer was already revealed, show it
                        if (userAnswers[currentQuestionIndex].revealed) {
                            revealAnswer();
                        }
                    }
                }
            }
            
            // Handle option selection
            function selectOption() {
                // Remove selected class from all options
                document.querySelectorAll(&#39;.option&#39;).forEach(option =&gt; {
                    option.classList.remove(&#39;selected&#39;);
                });
                
                // Add selected class to clicked option
                this.classList.add(&#39;selected&#39;);
                
                // Enable show answer button
                showAnswerBtn.disabled = false;
                
                // Store user&#39;s answer
                if (!userAnswers[currentQuestionIndex]) {
                    userAnswers[currentQuestionIndex] = {
                        selected: this.dataset.value,
                        revealed: false
                    };
                } else {
                    userAnswers[currentQuestionIndex].selected = this.dataset.value;
                }
            }
            
            // Show the correct answer and explanation
            function revealAnswer() {
                const currentQuizData = currentQuestions[currentQuestionIndex];
                const userAnswer = userAnswers[currentQuestionIndex];
                
                // Mark the correct and incorrect answers
                document.querySelectorAll(&#39;.option&#39;).forEach(option =&gt; {
                    if (option.dataset.value === currentQuizData.correctAnswer) {
                        option.classList.add(&#39;correct&#39;);
                    } else if (option.dataset.value === userAnswer.selected &amp;&amp; userAnswer.selected !== currentQuizData.correctAnswer) {
                        option.classList.add(&#39;incorrect&#39;);
                    }
                });
                
                // Show answer container
                answerContainer.classList.add(&#39;show&#39;);
                
                // Update score if correct
                if (userAnswer.selected === currentQuizData.correctAnswer &amp;&amp; !userAnswer.scored) {
                    score++;
                    scoreValue.textContent = score;
                    userAnswer.scored = true;
                }
                
                // Enable next button
                nextBtn.disabled = false;
                
                // Mark answer as revealed
                userAnswer.revealed = true;
            }
            
            // Move to the next question
            function nextQuestion() {
                currentQuestionIndex++;
                
                if (currentQuestionIndex &lt; currentQuestions.length) {
                    loadQuestion();
                    updateProgress();
                } else {
                    showResults();
                }
            }
            
            // Update progress bar
            function updateProgress() {
                const progress = ((currentQuestionIndex) / currentQuestions.length) * 100;
                progressBar.style.width = `${progress}%`;
            }
            
            // Show final results
            function showResults() {
                // Hide question container and show results
                document.getElementById(&#39;question-container&#39;).style.display = &#39;none&#39;;
                resultsContainer.classList.add(&#39;show&#39;);
                
                // Stop timer
                clearInterval(timerInterval);
                
                // Calculate results
                const totalQuestions = currentQuestions.length;
                const correctAnswers = score;
                const incorrectAnswers = totalQuestions - correctAnswers;
                const accuracy = totalQuestions &gt; 0 ? Math.round((correctAnswers / totalQuestions) * 100) : 0;
                
                // Update final score
                finalScore.textContent = correctAnswers;
                
                // Update result details
                correctAnswersElement.textContent = correctAnswers;
                incorrectAnswersElement.textContent = incorrectAnswers;
                timeTakenElement.textContent = timerValue.textContent;
                accuracyElement.textContent = `${accuracy}%`;
                
                // Set performance message
                if (accuracy === 100) {
                    performanceMessage.textContent = &quot;PERFECT SCORE! YOU&#39;RE A GENIUS! 🎉&quot;;
                } else if (accuracy &gt;= 80) {
                    performanceMessage.textContent = &quot;EXCELLENT WORK! YOU KNOW YOUR STUFF! 👏&quot;;
                } else if (accuracy &gt;= 60) {
                    performanceMessage.textContent = &quot;GOOD JOB! KEEP LEARNING AND IMPROVING! 💪&quot;;
                } else {
                    performanceMessage.textContent = &quot;KEEP STUDYING! YOU&#39;LL DO BETTER NEXT TIME! 📚&quot;;
                }
                
                // Update score circle
                const scoreCircle = document.querySelector(&#39;.score-circle&#39;);
                scoreCircle.style.background = `conic-gradient(#38a169 0% ${accuracy}%, #e2e8f0 ${accuracy}% 100%)`;
            }
            
            // Share result function
            function shareResult() {
                const score = document.getElementById(&#39;final-score&#39;).textContent;
                const total = document.getElementById(&#39;final-total&#39;).textContent;
                const accuracy = document.getElementById(&#39;accuracy&#39;).textContent;
                
                const shareText = `I just scored ${score}/${total} (${accuracy}) on the IUB Test Preparation! Try it yourself at iubians.com`;
                
                if (navigator.share) {
                    navigator.share({
                        title: &#39;IUB Test Preparation Results&#39;,
                        text: shareText,
                        url: window.location.href
                    })
                    .catch(err =&gt; {
                        console.log(&#39;Error sharing:&#39;, err);
                        fallbackShare(shareText);
                    });
                } else {
                    fallbackShare(shareText);
                }
            }
            
            // Fallback share method
            function fallbackShare(shareText) {
                // Copy to clipboard
                navigator.clipboard.writeText(shareText).then(() =&gt; {
                    alert(&#39;Results copied to clipboard! You can now share them on social media.&#39;);
                }).catch(err =&gt; {
                    console.error(&#39;Failed to copy: &#39;, err);
                    alert(`Share this text: ${shareText}`);
                });
            }
       





// Restart the quiz
            function restartQuiz() {
                // Reset display
                resultsContainer.classList.remove(&#39;show&#39;);
                document.getElementById(&#39;question-container&#39;).style.display = &#39;block&#39;;
                
                // Start a new quiz
                startQuiz();
            }
            
            // Event listeners
            showAnswerBtn.addEventListener(&#39;click&#39;, revealAnswer);
            nextBtn.addEventListener(&#39;click&#39;, nextQuestion);
            closeBtn.addEventListener(&#39;click&#39;, closeQuiz);
            restartBtn.addEventListener(&#39;click&#39;, restartQuiz);
            shareResultBtn.addEventListener(&#39;click&#39;, shareResult);
            
            // Initialize the page
            function init() {
                // Set initial total questions
                totalQuestionsElement.textContent = &quot;40&quot;;
                finalTotal.textContent = &quot;40&quot;;
            }
            
            // Start the application
            init();
        });
    &lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;














&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;What Are IUB Testing Services?&lt;/b&gt;&lt;/h4&gt;&lt;div&gt;IUB Testing Services is the official body responsible for administering all entrance and recruitment tests for The Islamia University of Bahawalpur. Whether you&#39;re a fresh intermediate graduate or a post-graduate researcher, these standardized tests are a mandatory step for admission into:&lt;/div&gt;&lt;div&gt;&lt;p class=&quot;ds-markdown-paragraph&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px !important; margin: 0px; text-align: left;&quot;&gt;&lt;/p&gt;&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;IUB Undergraduate Admission Test &lt;/b&gt;(For all Bachelor’s programs)&lt;/li&gt;&lt;li&gt;&lt;b&gt;IUB-GAT &lt;/b&gt;(For MS/MPhil admissions)&lt;/li&gt;&lt;li&gt;&lt;b&gt;IUB-HAT &lt;/b&gt;(For PhD admissions)&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;IUB Test Syllabus &amp;amp; Format: Know What to Study&lt;/b&gt;&lt;/h4&gt;&lt;div&gt;Preparation is key. Here’s a breakdown of what each test generally covers.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;1. IUB Undergraduate Admission Test Syllabus&lt;/b&gt;&lt;/div&gt;&lt;div&gt;The test assesses core academic abilities:&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;b&gt;Mathematics/Basic Arithmetic:&lt;/b&gt; Percentages, ratios, decimals, basic algebra, geometry.&lt;/li&gt;&lt;li&gt;&lt;b&gt;English:&lt;/b&gt; Vocabulary, grammar correction, spelling, and reading comprehension.&lt;/li&gt;&lt;li&gt;&lt;b&gt;Reasoning: &lt;/b&gt;Verbal reasoning, numerical problem-solving, logical and spatial reasoning.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;2. IUB Graduate Admission Test (GAT) Syllabus&lt;/b&gt;&lt;/h4&gt;&lt;div&gt;The IUB-GAT follows a similar pattern to the undergraduate test but is designed to assess higher-order thinking and advanced comprehension skills suitable for graduate-level studies.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;3. IUB Higher Admission Test (HAT) for PhD Syllabus&lt;/b&gt;&lt;/h4&gt;&lt;div&gt;This test is more specialized: &lt;b&gt;70%&lt;/b&gt; Subject-Specific Knowledge: Advanced questions from your chosen field of study (e.g., Chemistry, Computer Science, English Literature).&lt;/div&gt;&lt;div&gt;&lt;b&gt;30% &lt;/b&gt;General Portion: Covers graduate-level analytical skills, research aptitude, and general knowledge.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Test Day Checklist: What to Bring&lt;/b&gt;&lt;/h4&gt;&lt;div&gt;&lt;div&gt;Don’t let a simple oversight cost you your exam. On test day, you MUST bring:&lt;/div&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;Roll Number Slip: Printed copy from your portal account.&lt;/li&gt;&lt;li&gt;Original Photo ID: CNIC, Passport, or Driver’s License.&lt;/li&gt;&lt;li&gt;Original Educational Certificates/Documents: Such as your Matric/Intermediate result card or degree.&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;h4 style=&quot;text-align: left;&quot;&gt;&lt;b&gt;Frequently Asked Questions&lt;/b&gt;&lt;/h4&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;Q1: Who needs to take an IUB admission test?&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;A: &lt;/b&gt;Almost all applicants to undergraduate (Bachelor’s), graduate (MS/MPhil), and postgraduate (PhD) programs at The Islamia University of Bahawalpur are required to take the respective admission test administered by IUB Testing Services. Check your specific program requirements on the official admission notice for any exceptions.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Q2: Can I apply for multiple programs through one registration?&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;A:&lt;/b&gt; Typically, your test registration and score are linked to a specific program or faculty choice made during the application process. If you wish to apply to multiple programs, you should verify the policy with the Admissions Office or within the online portal, as you may need to indicate multiple choices or submit separate applications.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Q3: What if I miss the test registration deadline?&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;A:&lt;/b&gt; IUB Testing Services generally adheres to strict deadlines. Missing the registration window usually means you will have to wait for the next admission cycle. It is crucial to monitor the official IUB website and portal regularly for announcement dates.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Q4: Is there any age limit for taking the IUB admission tests?&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;A:&lt;/b&gt; There is typically no specific age limit for undergraduate or graduate admission tests. However, you must meet the educational qualification requirements (e.g., HSSC for undergraduates, a 4-year degree for graduates) specified for your desired program.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Q5: How can I best prepare for the General portions (English, Math, Reasoning)?&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;A:&lt;/b&gt; Consistent practice is key. Use:The sample tests/past papers given up.Standardized test prep books for English grammar and vocabulary.Basic high school math textbooks for arithmetic and algebra concepts.Online resources for logical reasoning practice.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Q6: Where will my test center be located?&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;A: &lt;/b&gt;Test centers are usually in major cities across Pakistan, with the primary center in Bahawalpur. Your specific test center address will be clearly mentioned on your Roll Number Slip, which you must print from the portal after registration.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Q7: What is the policy for test day if I arrive late or forget my ID?&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;A:&lt;/b&gt; Punctuality is mandatory. Arriving late may result in you being barred from entering the exam hall. Original Photo ID (CNIC, passport, etc.) is compulsory. Without it, you will likely not be allowed to take the test. No exceptions are made.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Q8: How and when will I get my test result?&lt;/b&gt;&lt;/div&gt;&lt;div&gt;A: Results are usually announced within a few days after the test. You will be able to check your score and merit position by logging into your IUB online admission portal. The university may also publish merit lists on its website.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Q9: Can I retake the test if I am not satisfied with my score?&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;A: &lt;/b&gt;You can only retake the test in the next admission cycle. Your score from one cycle is valid for that specific admission period only.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='https://www.iubians.com/feeds/4765126928689852840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.iubians.com/2025/04/iub-admission-nat-gat-test-syllabus.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='https://www.blogger.com/feeds/1350638439242049187/posts/default/4765126928689852840'/><link rel='self' type='application/atom+xml' href='https://www.blogger.com/feeds/1350638439242049187/posts/default/4765126928689852840'/><link rel='alternate' type='text/html' href='https://www.iubians.com/2025/04/iub-admission-nat-gat-test-syllabus.html' title='IUB  Test Preparation Complete Guide || Syllabus, Pattern, Past Papers'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTB77t2UxOge0usMyYWmWvmwhESHrdKzK-LRgmrR5ApIQaY1QUIQ1941Wo8lMWjBc2mzk2_DC7GTQK9IMY2VIT4q14XtO8P3OVfBhcGGwlVnY_MuYPFd9ChvtjyNPF80ilHw0hdSY3b4tiC9CmE5XJjOzWk9QCBer0kSsAGhBkP_He4ZVH2HwhhRsTuow/s72-c/IUB%20Test%20Preparation%20Prepare%20for%20your%20IUB%20admission%20test%20with%20comprehensive%20practice%20questions.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>