{"id":109887,"date":"2025-07-10T17:25:41","date_gmt":"2025-07-10T11:55:41","guid":{"rendered":"https:\/\/www.mygreatlearning.com\/blog\/?page_id=109887"},"modified":"2025-07-10T16:11:46","modified_gmt":"2025-07-10T10:41:46","slug":"dbms-quiz","status":"publish","type":"page","link":"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/","title":{"rendered":"Database Management Systems Quiz"},"content":{"rendered":"\n<div id=\"dbms-quiz-app-wrapper\">\n    <style>\n        \/* --- General Reset & Variables --- *\/\n        html { scroll-behavior: smooth; }\n        #dbms-quiz-app-wrapper {\n            --primary-blue: #1A73E8; --hover-blue: #1865c9; --background-grey: #F8F9FA; --border-grey: #DADCE0; --text-primary: #202124; --text-secondary: #5F6368; --option-bg: #FFFFFF; --option-hover-bg: #F1F3F4; --color-success: #1E8E3E; --correct-bg: #E6F4EA; --correct-text: #117233; --color-danger: #D93025; --incorrect-bg: #FCE8E6; --incorrect-text: #A50E0E; --color-warning: #f59e0b; --whatsapp-green: #25D366; --twitter-blue: #1DA1F2; --linkedin-blue: #0A66C2; --telegram-blue: #24A1DE; --shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15); --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1); font-family: -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; color: var(--text-primary); box-sizing: border-box;\n        }\n        #dbms-quiz-app-wrapper *, #dbms-quiz-app-wrapper *::before, #dbms-quiz-app-wrapper *::after { box-sizing: inherit; }\n        #dbms-app-container { width: 1200px; max-width: 100%; border-radius: 8px; overflow: hidden; margin: 50px auto auto auto; }\n        #dbms-quiz-app-wrapper .quiz-screen { display: none; }\n        #dbms-quiz-app-wrapper .quiz-screen.active { display: block; animation: fadeIn 0.5s ease-out; }\n        @keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }\n        \n        \/* --- Screen Padding & Header --- *\/\n        #dbms-main-menu-view, #dbms-user-details-view, #dbms-analysis-view { padding: 2rem 3rem; }\n        #dbms-quiz-app-wrapper .quiz-header { text-align: center; margin-bottom: 2.5rem; }\n        #dbms-quiz-app-wrapper .quiz-header h1 { font-size: 2.5rem; margin: 0 0 0.5rem 0; }\n        #dbms-quiz-app-wrapper .quiz-header p { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }\n        \n        \/* --- Main Menu --- *\/\n        #dbms-quiz-app-wrapper .difficulty-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }\n        #dbms-quiz-app-wrapper .difficulty-card { border: 1px solid var(--border-grey); background-color: #fff; border-radius: 8px; text-align: center; padding: 1.5rem; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; display: flex; flex-direction: column; }\n        #dbms-quiz-app-wrapper .difficulty-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }\n        #dbms-quiz-app-wrapper .difficulty-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }\n        #dbms-quiz-app-wrapper .difficulty-card h2 { font-size: 1.5rem; margin: 0 0 0.5rem 0; }\n        #dbms-quiz-app-wrapper .difficulty-card p { font-size: 0.9rem; color: var(--text-secondary); margin: 0 0 1.5rem 0; }\n        #dbms-quiz-app-wrapper .difficulty-card .features { font-size: 0.875rem; color: var(--text-secondary); text-align: left; margin-bottom: 1.5rem; flex-grow: 1; }\n        #dbms-quiz-app-wrapper .difficulty-card .features p { margin: 0.5rem 0; }\n        #dbms-quiz-app-wrapper .start-btn { width: 100%; }\n        #dbms-quiz-app-wrapper .difficulty-card.beginner h2 { color: var(--color-success); }\n        #dbms-quiz-app-wrapper .difficulty-card.intermediate h2 { color: var(--color-warning); }\n        #dbms-quiz-app-wrapper .difficulty-card.advanced h2 { color: var(--color-danger); }\n        #dbms-quiz-app-wrapper .quiz-features-section { text-align: center; background-color: #fff; padding: 2rem; border-radius: 8px; border: 1px solid var(--border-grey); }\n        #dbms-quiz-app-wrapper .quiz-features-section h2 { font-size: 1.5rem; margin: 0 0 1.5rem 0; }\n        #dbms-quiz-app-wrapper .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }\n        #dbms-quiz-app-wrapper .feature-item { display: flex; flex-direction: column; align-items: center; }\n        #dbms-quiz-app-wrapper .feature-item .icon { font-size: 2rem; margin-bottom: 0.5rem; }\n        \n        \/* --- Buttons --- *\/\n        #dbms-quiz-app-wrapper .quiz-btn { font-size: 0.875rem; font-weight: 500; padding: 0.6rem 1.5rem; border-radius: 4px; border: 1px solid var(--border-grey); cursor: pointer; transition: background-color 0.2s ease; margin-top: 20px;}\n        #dbms-quiz-app-wrapper .quiz-btn.primary { background-color: var(--primary-blue); color: white; border-color: var(--primary-blue); }\n        #dbms-quiz-app-wrapper .quiz-btn.primary:hover { background-color: var(--hover-blue); }\n        #dbms-quiz-app-wrapper .quiz-btn:disabled { opacity: 0.5; cursor: not-allowed; }\n        \n        \/* --- Quiz Header & Progress --- *\/\n        #dbms-quiz-view { background-color: #fff; }\n        #dbms-quiz-header, #dbms-results-header, #dbms-analysis-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-grey); }\n        #dbms-quiz-header h1, #dbms-results-header h1, #dbms-analysis-header h1 { font-size: 1.25rem; margin: 0; }\n        #dbms-quiz-app-wrapper .header-actions { display: flex; align-items: center; gap: 1rem; }\n        #dbms-progress-stepper { display: flex; gap: 0.5rem; flex-grow: 1; margin: 0 2rem; }\n        #dbms-quiz-app-wrapper .step { height: 4px; flex-grow: 1; background-color: #E0E0E0; border-radius: 2px; transition: background-color 0.3s ease; }\n        #dbms-quiz-app-wrapper .step.active { background-color: var(--primary-blue); }\n        #dbms-quiz-app-wrapper .step.correct { background-color: var(--color-success); }\n        #dbms-quiz-app-wrapper .step.incorrect { background-color: var(--color-danger); }\n        #dbms-question-count, #dbms-timer { font-size: 0.875rem; color: var(--text-secondary); font-weight: 500; }\n        #dbms-timer { min-width: 50px; text-align: right; }\n        \n        \/* --- Quiz Body & Options --- *\/\n        #dbms-quiz-body, #dbms-analysis-body { padding: 2rem 3rem; }\n        .dbms-quiz-question-text { font-size: 1.25rem; margin: 0 0 2rem 0; line-height: 1.5; }\n        #dbms-options-container { display: flex; flex-direction: column; gap: 1rem; }\n        #dbms-quiz-app-wrapper .option { border: 1px solid var(--border-grey); border-radius: 8px; cursor: pointer; transition: all 0.2s ease-in-out; }\n        #dbms-quiz-app-wrapper .option:not(.disabled):hover { border-color: var(--primary-blue); box-shadow: 0 0 0 1px var(--primary-blue); }\n        #dbms-quiz-app-wrapper .option-label { display: block; padding: 1rem; cursor: pointer; }\n        #dbms-quiz-app-wrapper .option-letter { font-weight: 500; margin-right: 1rem; color: var(--primary-blue); }\n        #dbms-quiz-app-wrapper .option.disabled { cursor: not-allowed; }\n        #dbms-quiz-app-wrapper .option.correct { border-color: var(--color-success); background-color: var(--correct-bg); }\n        #dbms-quiz-app-wrapper .option.incorrect { border-color: var(--color-danger); background-color: var(--incorrect-bg); }\n        \n        \/* --- Feedback & Hint --- *\/\n        #dbms-quiz-app-wrapper .feedback { padding: 0 1rem 1rem 1rem; font-size: 0.9rem; line-height: 1.5; }\n        #dbms-quiz-app-wrapper .feedback-title { font-weight: bold; }\n        #dbms-quiz-app-wrapper .feedback-title.correct { color: var(--correct-text); }\n        #dbms-quiz-app-wrapper .feedback-title.incorrect { color: var(--incorrect-text); }\n        #dbms-quiz-app-wrapper .feedback-text { color: var(--text-secondary); margin-top: 0.25rem; }\n        #dbms-hint-container { margin-top: 2rem; }\n        #dbms-hint-toggle { color: var(--primary-blue); background: none; border: none; padding: 0; font-weight: 500; cursor: pointer; display: flex; align-items: center; gap: 0.25rem; }\n        #dbms-hint-toggle svg { width: 20px; height: 20px; transition: transform 0.2s; }\n        #dbms-hint-toggle.open svg { transform: rotate(180deg); }\n        #dbms-hint-text { margin-top: 0.5rem; color: var(--text-secondary); padding: 1rem; background-color: var(--option-hover-bg); border-radius: 8px; font-size: 0.9rem; }\n        \n        \/* --- Quiz Footer --- *\/\n        #dbms-quiz-footer, #dbms-analysis-footer { display: flex; justify-content: space-between; padding: 1.5rem 3rem; gap: 1rem; border-top: 1px solid var(--border-grey); }\n        #dbms-analysis-footer { justify-content: flex-end; }\n        \n        \/* --- User Details & Analysis --- *\/\n        #dbms-user-details-form-container { max-width: 500px; margin: 2rem auto; }\n        #dbms-user-details-form .form-group { margin-bottom: 1rem; }\n        #dbms-user-details-form label { display: block; font-weight: 500; margin-bottom: 0.5rem; text-align: left;}\n        #dbms-user-details-form input { width: 100%; padding: 0.75rem; border: 1px solid var(--border-grey); border-radius: 4px; font-size: 1rem; }\n        #dbms-user-details-form input:focus { outline: none; border-color: var(--primary-blue); box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2); }\n        #dbms-user-details-form small { display: block; margin-top: 0.5rem; color: var(--text-secondary); font-size: 0.8rem; text-align: left;}\n        #dbms-quiz-app-wrapper .form-actions { display: flex; gap: 1rem; margin-top: 1.5rem; }\n        #dbms-quiz-app-wrapper .form-actions .quiz-btn { flex: 1; }\n        #dbms-quiz-app-wrapper .category-analysis { margin-bottom: 2rem; }\n        #dbms-quiz-app-wrapper .category-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }\n        #dbms-quiz-app-wrapper .category-header h3 { margin: 0; font-size: 1rem; }\n        #dbms-quiz-app-wrapper .category-score { font-weight: 500; }\n        #dbms-quiz-app-wrapper .progress-bar-bg { width: 100%; height: 8px; background: #eee; border-radius: 4px; overflow: hidden; }\n        #dbms-quiz-app-wrapper .progress-bar-fg { height: 100%; background: var(--primary-blue); border-radius: 4px; transition: width 0.5s ease-out; }\n        #dbms-quiz-app-wrapper .question-breakdown { font-size: 0.875rem; margin-top: 1rem; text-align: left; }\n        #dbms-quiz-app-wrapper .question-breakdown strong { color: var(--correct-text); }\n        #dbms-quiz-app-wrapper .question-breakdown span { color: var(--incorrect-text); }\n        #dbms-quiz-app-wrapper .hidden { display: none; }\n\n        \/* --- START: Results View Styles --- *\/\n        #dbms-results-view .container { max-width: 1100px; margin: 0 auto; padding: 2rem 1rem; color: #1A202C;}\n        #dbms-results-view .page-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; flex-wrap: wrap; }\n        #dbms-results-view .header-title h1 { font-size: 2rem; font-weight: 700; margin: 0; }\n        #dbms-results-view .header-title p { color: #4A5568; margin-top: 0.25rem; }\n        #dbms-results-view .restart-quiz-btn { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.2rem; background-color: #4353FF; border: 1px solid #E2E8F0; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600; color: white; cursor: pointer; transition: background-color 0.2s; margin-top: 1rem; }\n        #dbms-results-view .restart-quiz-btn:hover { background-color: #4353FF; }\n        #dbms-results-view .main-content { display: grid; grid-template-columns: 1fr; gap: 2rem; }\n        #dbms-results-view .card { background-color: #ffffff; padding: 1.5rem; }\n        #dbms-results-view .score-card { text-align: center; color:gray;}\n        #dbms-results-view .score-card h2 { font-size: 1.125rem; font-weight: 600; margin-top: 0; margin-bottom: 1rem; }\n        #dbms-results-view .score-visual { position: relative; width: 10rem; height: 10rem; margin: 0 auto; }\n        #dbms-results-view .score-visual svg { width: 100%; height: 100%; }\n        #dbms-results-view .progress-ring-circle { transition: stroke-dashoffset 0.8s ease-out; transform: rotate(-90deg); transform-origin: 50% 50%; }\n        #dbms-results-view .score-text { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; }\n        #dbms-results-view .score-text .score-value { font-size: 2.25rem; font-weight: 700; }\n        #dbms-results-view .score-text .score-value span { font-size: 1.5rem; color: #4A5568; }\n        #dbms-results-view .score-text .score-label { font-size: 0.875rem; color: #4A5568; margin-top: 0.25rem; }\n        #dbms-results-view .score-breakdown { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }\n        #dbms-results-view .score-breakdown div span { font-weight: 700; font-size: 1.125rem; }\n        #dbms-results-view .score-breakdown div p { font-size: 0.75rem; color: #4A5568; margin: 0; }\n        #dbms-results-view .text-correct { color: #22c55e; }\n        #dbms-results-view .text-incorrect { color: #ef4444; }\n        #dbms-results-view .text-skipped { color: #6b7280; }\n        #dbms-results-view .analysis-card { display: flex; align-items: flex-start; gap: 1rem; justify-content: center; color:gray; }\n        #dbms-results-view .analysis-icon { flex-shrink: 0; width: 2.5rem; height: 2.5rem; background-color: #F0F1FF; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; }\n        #dbms-results-view .analysis-content h3 { font-weight: 600; margin: 0; font-size: 1.2rem; }\n        #dbms-results-view .analysis-content p { font-size: 0.875rem; color: #4A5568; margin: 0.25rem 0 1rem 0; }\n        #dbms-results-view .primary-button { width: 100%; padding: 0.6rem 1.2rem; background-color: #4353FF; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600; color: #ffffff; border: none; cursor: pointer; transition: background-color 0.2s; }\n        #dbms-results-view .primary-button:hover { background-color: #2539cc; }\n        #dbms-results-view .learning-journey-card h2 { font-size: 1.5rem; font-weight: 700; margin-top: 0; }\n        #dbms-results-view .learning-journey-card > p { color: #4A5568; margin: 0.25rem 0 2rem 0; }\n        #dbms-results-view .course-list { display: flex; flex-direction: column; gap: 1rem; }\n        #dbms-results-view .course-card { padding: 1.25rem; border: 1px solid #E2E8F0; border-radius: 0.75rem; transition: box-shadow 0.2s, border-color 0.2s; }\n        #dbms-results-view .course-card:hover { border-color: #4353FF; box-shadow: 0 4px 6px -1px rgb(0 0 0 \/ 0.1), 0 2px 4px -2px rgb(0 0 0 \/ 0.1); }\n        #dbms-results-view .course-card-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 3px; }\n        #dbms-results-view .course-details h3 { font-weight: 700; margin: 0; font-size: 1rem; }\n        #dbms-results-view .course-details p { font-size: 0.875rem; color: #4A5568; margin-top: 0.25rem; max-width: 36rem; }\n        #dbms-results-view .course-button { margin-top: 1rem; flex-shrink: 0; padding: 0.3rem 1rem; border-radius: 0.5rem; font-size: 0.875rem; font-weight: 600; cursor: pointer; border: 1px solid #4353FF; transition: background-color 0.2s; text-decoration: none; display: inline-block; }\n        #dbms-results-view .btn-primary { background-color: #4353FF; color: #ffffff; }\n        #dbms-results-view .btn-primary:hover { background-color: #2539cc; }\n        #dbms-results-view .page-footer { margin-top: 2rem; padding: 2rem; }\n        #dbms-results-view .footer-content { display: grid; grid-template-columns: 1fr; gap: 2rem; }\n        #dbms-results-view .footer-column h3 { font-size: 1.125rem; font-weight: 700; margin: 0; }\n        #dbms-results-view .footer-column p { font-size: 0.875rem; color: #4A5568; margin-top: 0.25rem; margin-bottom: 1rem; }\n        #dbms-results-view .resource-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }\n        #dbms-results-view .resource-link { padding: 0.5rem 1rem; background-color: #f3f4f6; color: #4A5568; font-size: 0.875rem; font-weight: 500; border-radius: 9999px; text-decoration: none; transition: background-color 0.2s, color 0.2s; }\n        #dbms-results-view .resource-link:hover { background-color: #F0F1FF; color: #4353FF; }\n        #dbms-results-view .share-icons { display: flex; align-items: center; gap: 0.75rem; }\n        #dbms-results-view .share-icon { width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; background-color: #f3f4f6; border-radius: 9999px; color: #4A5568; transition: background-color 0.2s; }\n        #dbms-results-view .share-icon:hover { background-color: #e5e7eb; }\n        #dbms-results-view .share-icon svg { width: 1.25rem; height: 1.25rem; }\n        \/* --- END: Results View Styles --- *\/\n\n        \/* --- Media Queries (Responsiveness) --- *\/\n        @media (max-width: 768px) {\n            #dbms-main-menu-view, #dbms-quiz-body, #dbms-results-body, #dbms-user-details-view, #dbms-analysis-view, #dbms-results-view .container { padding: 1.5rem; }\n            #dbms-quiz-app-wrapper .quiz-header h1 { font-size: 2rem; }\n            #dbms-quiz-app-wrapper .difficulty-grid { grid-template-columns: 1fr; }\n            #dbms-progress-stepper { display: none; }\n            #dbms-quiz-header h1 { font-size: 1rem; }\n            #dbms-quiz-footer { flex-direction: column-reverse; gap: 5rem; margin-bottom: -20px; }\n            #dbms-quiz-footer>div { display: flex; justify-content: flex-end; width: 100%; gap: 0.5rem; }\n        }\n        @media (min-width: 640px) {\n            #dbms-results-view .page-header { flex-wrap: nowrap; }\n            #dbms-results-view .restart-quiz-btn { margin-top: 0; }\n            #dbms-results-view .course-button { margin-top: 0; width: auto; }\n            #dbms-results-view .course-card-content { flex-wrap: nowrap; }\n        }\n        @media (min-width: 768px) {\n            #dbms-results-view .footer-content { grid-template-columns: 2fr 1fr; }\n        }\n        @media (min-width: 1024px) {\n            #dbms-results-view .main-content { grid-template-columns: 1fr 2fr; }\n        }\n    <\/style>\n    <div id=\"dbms-app-container\">\n        <div id=\"dbms-main-menu-view\" class=\"quiz-screen active\">\n            <div class=\"quiz-header\"><h1 id=\"dbms-quiz-challenge\">DBMS Quiz Challenge<\/h1><p>Test your Database Management Systems knowledge with our comprehensive MCQs. Choose your difficulty and share your score!<\/p><\/div>\n            <div class=\"difficulty-grid\">\n                <div class=\"difficulty-card beginner\" onclick=\"showDBMSUserDetailsView('beginner')\">\n                    <div class=\"icon\">\u2b50<\/div><h2 id=\"beginner\">Beginner<\/h2><p>Perfect for DBMS newcomers<\/p>\n                    <div class=\"features\"><p>\u2022 Concepts & SQL Basics<\/p><p>\u2022 Keys & Constraints<\/p><p>\u2022 Data Integrity<\/p><p>\u2022 10 Questions<\/p><\/div>\n                    <button class=\"quiz-btn primary start-btn\">Start Beginner Quiz<\/button>\n                <\/div>\n                <div class=\"difficulty-card intermediate\" onclick=\"showDBMSUserDetailsView('intermediate')\">\n                    <div class=\"icon\">\ud83c\udfc6<\/div><h2 id=\"intermediate\">Intermediate<\/h2><p>For those with some experience<\/p>\n                    <div class=\"features\"><p>\u2022 Joins & Unions<\/p><p>\u2022 Normalization (1NF-3NF)<\/p><p>\u2022 Transactions (ACID)<\/p><p>\u2022 15 Questions<\/p><\/div>\n                    <button class=\"quiz-btn primary start-btn\">Start Intermediate Quiz<\/button>\n                <\/div>\n                <div class=\"difficulty-card advanced\" onclick=\"showDBMSUserDetailsView('advanced')\">\n                    <div class=\"icon\">\ud83e\udd47<\/div><h2 id=\"advanced\">Advanced<\/h2><p>Challenge for DBMS experts<\/p>\n                    <div class=\"features\"><p>\u2022 Indexing & Optimization<\/p><p>\u2022 Concurrency Control<\/p><p>\u2022 Distributed Systems<\/p><p>\u2022 15 Questions<\/p><\/div>\n                    <button class=\"quiz-btn primary start-btn\">Start Advanced Quiz<\/button>\n                <\/div>\n            <\/div>\n            <div class=\"quiz-features-section\">\n                <h2 id=\"quiz-features\">Quiz Features<\/h2>\n                <div class=\"features-grid\">\n                    <div class=\"feature-item\"><div class=\"icon\">\ud83e\udde0<\/div><p>Detailed Feedback<\/p><\/div>\n                    <div class=\"feature-item\"><div class=\"icon\">\ud83d\udcca<\/div><p>Performance Analysis<\/p><\/div>\n                    <div class=\"feature-item\"><div class=\"icon\">\ud83d\udca1<\/div><p>Helpful Hints<\/p><\/div>\n                <\/div>\n            <\/div>\n        <\/div>\n\n        <div id=\"dbms-user-details-view\" class=\"quiz-screen\">\n            <div class=\"quiz-header\">\n                <h1 id=\"almost-there\">Almost There!<\/h1>\n                <p>Just a few details before you start the quiz.<\/p>\n            <\/div>\n            <div id=\"dbms-user-details-form-container\">\n               <form id=\"dbms-user-details-form\">\n                    <div class=\"form-group\"><label for=\"dbms-user-name\">Your Name<\/label><input type=\"text\" id=\"dbms-user-name\" name=\"user-name\" required><\/div>\n                    <div class=\"form-group\"><label for=\"dbms-user-email\">Your Email<\/label><input type=\"email\" id=\"dbms-user-email\" name=\"user-email\" required><\/div>\n                    <small>You will also get free access to exclusive DBMS content through email.<\/small>\n                    <div class=\"form-actions\">\n                        <button type=\"button\" id=\"dbms-back-to-menu-btn\" class=\"quiz-btn\">Back to Menu<\/button>\n                        <button type=\"submit\" class=\"quiz-btn primary\">Let's Go!<\/button>\n                    <\/div>\n                <\/form>\n            <\/div>\n        <\/div>\n\n        <div id=\"dbms-quiz-view\" class=\"quiz-screen\">\n            <header id=\"dbms-quiz-header\">\n                <h1 id=\"dbms-quiz\">DBMS Quiz<\/h1>\n                <div id=\"dbms-progress-stepper\"><\/div>\n                <div class=\"header-actions\"><div id=\"dbms-timer\">00:00<\/div><div id=\"dbms-question-count\">1\/10<\/div><\/div>\n            <\/header>\n            <main id=\"dbms-quiz-body\">\n                <h2 class=\"dbms-quiz-question-text\" style=\"font-size: 22px;\" class=\"dbms-quiz-question-text\" style=\"font-size: 22px;\" id=\"question-will-appear-here\">Question will appear here.<\/h2>\n                <div id=\"dbms-options-container\"><\/div>\n                <div id=\"dbms-hint-container\">\n                    <button id=\"dbms-hint-toggle\">Show hint <svg viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z\"><\/path><\/svg><\/button>\n                    <div id=\"dbms-hint-text\" class=\"hidden\">Hint text goes here.<\/div>\n                <\/div>\n            <\/main>\n            <footer id=\"dbms-quiz-footer\">\n                <button class=\"quiz-btn\" onclick=\"showDBMSMainMenu(true)\">Back to Menu<\/button>\n                <div><button id=\"dbms-back-btn\" class=\"quiz-btn\">Back<\/button><button id=\"dbms-next-btn\" class=\"quiz-btn primary\">Next<\/button><\/div>\n            <\/footer>\n        <\/div>\n        \n        <div id=\"dbms-results-view\" class=\"quiz-screen\">\n            <div class=\"container\">\n                <header class=\"page-header\">\n                    <div class=\"header-title\">\n                        <h1 id=\"quiz-completed\">Quiz Completed!<\/h1>\n                        <p>Great effort! Here's a summary of your DBMS knowledge.<\/p>\n                    <\/div>\n                    <button class=\"restart-quiz-btn\" onclick=\"showDBMSMainMenu(false)\">\n                        <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8\"\/><path d=\"M3 3v5h5\"\/><\/svg>\n                        <span>Restart Quiz \/ Main Menu<\/span>\n                    <\/button>\n                <\/header>\n        \n                <main class=\"main-content\">\n                    <aside class=\"left-column\">\n                        <div class=\"card score-card\">\n                            <h2 id=\"your-score\">Your Score<\/h2>\n                            <div class=\"score-visual\">\n                                 <svg viewBox=\"0 0 100 100\">\n                                    <circle stroke=\"#e5e7eb\" stroke-width=\"10\" fill=\"transparent\" r=\"45\" cx=\"50\" cy=\"50\" \/>\n                                    <circle class=\"progress-ring-circle\" stroke=\"#4353FF\" stroke-width=\"10\" stroke-dasharray=\"282.6\" stroke-dashoffset=\"282.6\" stroke-linecap=\"round\" fill=\"transparent\" r=\"45\" cx=\"50\" cy=\"50\" id=\"dbms-score-circle\" \/>\n                                <\/svg>\n                                <div class=\"score-text\">\n                                    <span class=\"score-value\" id=\"dbms-score-value\">0<span>\/10<\/span><\/span>\n                                    <span class=\"score-label\" id=\"dbms-accuracy-label\">0% Accuracy<\/span>\n                                <\/div>\n                            <\/div>\n                            <div class=\"score-breakdown\">\n                                <div><span class=\"text-correct\" id=\"dbms-right-value\">0<\/span><p>Correct<\/p><\/div>\n                                <div><span class=\"text-incorrect\" id=\"dbms-wrong-value\">0<\/span><p>Incorrect<\/p><\/div>\n                                <div><span class=\"text-skipped\" id=\"dbms-skipped-value\">10<\/span><p>Skipped<\/p><\/div>\n                            <\/div>\n                        <\/div>\n        \n                        <div class=\"card analysis-card\" style=\"margin-top: 2rem;\">\n                            <div class=\"analysis-icon\">\n                               <svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#4353FF\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z\"><\/path><\/svg>\n                            <\/div>\n                            <div class=\"analysis-content\">\n                                <h3 id=\"strengths-and-growth-areas\">Strengths and growth areas<\/h3>\n                                <p>Get a summary of your key strengths and discover areas where you can focus your studies.<\/p>\n                                <button class=\"primary-button\" id=\"dbms-analyse-btn\">Analyze my performance<\/button>\n                            <\/div>\n                        <\/div>\n                    <\/aside>\n        \n                    <section class=\"right-column\">\n                        <div class=\"card learning-journey-card\">\n                            <h2 id=\"continue-your-learning-journey\">Continue Your Learning Journey<\/h2>\n                            <p>Here are some free courses that can help you master DBMS.<\/p>\n                            <div class=\"course-list\">\n                                <div class=\"course-card\">\n                                    <div class=\"course-card-content\">\n                                        <div class=\"course-details\">\n                                            <h3 id=\"free-dbms-course\">Free DBMS Course<\/h3>\n                                            <p>Learn database management system from basics in this free online training. Learn key concepts in relational database management system in details with example.<\/p>\n                                        <\/div>\n                                        <a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/database-management-system?utm_source=blog\" target=\"_blank\" rel=\"noopener\" class=\"course-button btn-primary\">Enroll for Free<\/a>\n                                    <\/div>\n                                <\/div>\n                                <div class=\"course-card\">\n                                    <div class=\"course-card-content\">\n                                        <div class=\"course-details\">\n                                            <h3 id=\"sql-for-data-science\">SQL for Data Science<\/h3>\n                                            <p>Learn SQL for Data Science in this free course, covering essential SQL operations like JOINS, GROUP BY, and SQL with Python. Gain practical skills to manage and analyze large datasets.<\/p>\n                                        <\/div>\n                                        <a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/sql-for-data-science?utm_source=blog\" target=\"_blank\" rel=\"noopener\" class=\"course-button btn-primary\">Enroll for Free<\/a>\n                                    <\/div>\n                                <\/div>\n                                <div class=\"course-card\">\n                                    <div class=\"course-card-content\">\n                                        <div class=\"course-details\">\n                                            <h3 id=\"mysql-basics\">MySQL Basics<\/h3>\n                                            <p>Master the fundamentals of MySQL, one of the most popular relational database management systems. Learn how to create databases, tables, and write queries.<\/p>\n                                        <\/div>\n                                        <a href=\"https:\/\/www.mygreatlearning.com\/academy\/learn-for-free\/courses\/mysql-basics?utm_source=blog\" target=\"_blank\" rel=\"noopener\" class=\"course-button btn-primary\">Enroll for Free<\/a>\n                                    <\/div>\n                                <\/div>\n                            <\/div>\n                        <\/div>\n                    <\/section>\n                <\/main>\n                \n                <footer class=\"card page-footer\">\n                    <div class=\"footer-content\">\n                        <div class=\"footer-column\">\n                            <h3 id=\"explore-more-resources\">Explore More Resources<\/h3>\n                            <p class=\"text-sm text-brand-text-secondary mt-1 mb-4\">Dive deeper into topics that interest you.<\/p>\n                            <div class=\"resource-links\">\n                                <a href=\"https:\/\/www.mygreatlearning.com\/blog\/quizzes\/\" class=\"resource-link\">Quizzes and MCQs<\/a>\n                                <a href=\"https:\/\/www.mygreatlearning.com\/blog\/tools-and-compilers\/\" class=\"resource-link\">Online Compilers<\/a>\n                                <a href=\"https:\/\/www.mygreatlearning.com\/blog\/exercises\/\" class=\"resource-link\">Coding Practice<\/a>\n                                <a href=\"https:\/\/www.mygreatlearning.com\/blog\/interview-questions\/\" class=\"resource-link\">Interview Questions<\/a>\n                                <a href=\"https:\/\/www.mygreatlearning.com\/blog\/careers-and-roadmap\/\" class=\"resource-link\">Careers and Roadmaps<\/a>\n                                <a href=\"https:\/\/www.mygreatlearning.com\/blog\/project-ideas\/\" class=\"resource-link\">Project Ideas<\/a>\n                            <\/div>\n                        <\/div>\n        \n                        <div class=\"footer-column\">\n                             <h3 id=\"share-your-achievement\">Share Your Achievement<\/h3>\n                             <p>Let your network know about your progress.<\/p>\n                             <div class=\"share-icons\">\n                                 <a href=\"#\" id=\"dbms-share-whatsapp\" class=\"share-icon\" aria-label=\"WhatsApp\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" width=\"128\" height=\"128\" aria-labelledby=\"whTitle\" role=\"img\">\n                                    <title id=\"whTitle\">WhatsApp-style icon (custom color #4a5568)<\/title>\n                                    <defs>\n                                        <filter id=\"shadow\" x=\"-50%\" y=\"-50%\" width=\"200%\" height=\"200%\"><feDropShadow dx=\"0\" dy=\"1.5\" stdDeviation=\"1.2\" flood-color=\"#000\" flood-opacity=\"0.18\"\/><\/filter>\n                                        <linearGradient id=\"baseGrad\" x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\"><stop offset=\"0%\" stop-color=\"#6b7280\"\/><stop offset=\"100%\" stop-color=\"#4a5568\"\/><\/linearGradient>\n                                    <\/defs>\n                                    <path d=\"M12 2C6.486 2 2 6.486 2 12c0 1.653.403 3.213 1.107 4.595L2 22l5.467-1.446A9.963 9.963 0 0 0 12 22c5.514 0 10-4.486 10-10S17.514 2 12 2z\" fill=\"#000\" opacity=\"0\" filter=\"url(#shadow)\"\/>\n                                    <path d=\"M12 2C6.486 2 2 6.486 2 12c0 1.653.403 3.213 1.107 4.595L2 22l5.467-1.446A9.963 9.963 0 0 0 12 22c5.514 0 10-4.486 10-10S17.514 2 12 2z\" fill=\"url(#baseGrad)\" stroke=\"#ffffff\" stroke-width=\"0.9\" stroke-linejoin=\"round\"\/>\n                                    <path d=\"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.472-.149-.672.15-.199.297-.768.967-.941 1.165-.173.199-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.884-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.52.151-.173.201-.298.301-.497.1-.199.05-.373-.025-.522-.075-.148-.672-1.612-.922-2.206-.242-.579-.487-.5-.672-.51l-.576-.01c-.199 0-.523.074-.798.373-.273.297-1.04 1.017-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.095 3.2 5.076 4.487 2.981 1.289 2.981.86 3.517.807.536-.05 1.758-.718 2.006-1.41.248-.692.248-1.285.173-1.41-.074-.124-.273-.198-.57-.347z\" fill=\"#ffffff\"\/>\n                                <\/svg><\/a>\n                                 <a href=\"#\" id=\"dbms-share-linkedin\" class=\"share-icon\" aria-label=\"LinkedIn\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M19,3A2,2 0 0,1 21,5V19A2,2 0 0,1 19,21H5A2,2 0 0,1 3,19V5A2,2 0 0,1 5,3H19M18.5,18.5V13.2A3.26,3.26 0 0,0 15.24,9.94C14.39,9.94 13.4,10.43 12.92,11.24V10.13H10.13V18.5H12.92V13.57C12.92,12.8 13.54,12.17 14.31,12.17A1.4,1.4 0 0,1 15.71,13.57V18.5H18.5M6.88,8.56A1.68,1.68 0 0,0 8.56,6.88C8.56,6 7.81,5.25 6.88,5.25A1.69,1.69 0 0,0 5.2,6.88C5.2,7.81 5.95,8.56 6.88,8.56M8.27,18.5V10.13H5.5V18.5H8.27Z\" \/><\/svg><\/a>\n                                 <a href=\"#\" id=\"dbms-share-telegram\" class=\"share-icon\" aria-label=\"Telegram\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M2.01 21L23 12L2.01 3L2 10L17 12L2 14L2.01 21Z\" \/><\/svg><\/a>\n                                 <a href=\"#\" id=\"dbms-share-twitter\" class=\"share-icon\" aria-label=\"Twitter\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><path d=\"M22.46,6C21.69,6.35 20.86,6.58 20,6.69C20.88,6.16 21.56,5.32 21.88,4.31C21.05,4.81 20.13,5.16 19.16,5.36C18.37,4.5 17.26,4 16,4C13.65,4 11.73,5.92 11.73,8.29C11.73,8.63 11.77,8.96 11.84,9.27C8.28,9.09 5.11,7.38 2.9,4.79C2.53,5.42 2.33,6.15 2.33,6.94C2.33,8.43 3.11,9.75 4.19,10.55C3.47,10.53 2.8,10.33 2.2,10.03C2.2,10.05 2.2,10.07 2.2,10.08C2.2,12.24 3.73,14.04 5.7,14.44C5.31,14.55 4.91,14.61 4.5,14.61C4.22,14.61 3.95,14.58 3.69,14.53C4.24,16.33 5.95,17.55 7.95,17.59C6.46,18.8 4.57,19.56 2.5,19.56C2.17,19.56 1.85,19.54 1.53,19.5C3.55,20.84 5.9,21.6 8.41,21.6C16,21.6 20.34,15.22 20.34,9.73C20.34,9.56 20.33,9.4 20.32,9.23C21.16,8.63 21.88,7.87 22.46,7.01C21.74,7.33 20.97,7.55 20.18,7.65C20.99,7.16 21.64,6.38 21.96,5.43L22.46,6Z\" \/><\/svg><\/a>\n                             <\/div>\n                        <\/div>\n                    <\/div>\n                <\/footer>\n            <\/div>\n        <\/div>\n\n        <div id=\"dbms-analysis-view\" class=\"quiz-screen\">\n            <header id=\"dbms-analysis-header\"><h1 id=\"performance-analysis\">Performance Analysis<\/h1><\/header>\n            <main id=\"dbms-analysis-body\"><\/main>\n            <footer id=\"dbms-analysis-footer\">\n                <button id=\"dbms-back-to-results-btn\" class=\"quiz-btn primary\">Back to Results<\/button>\n            <\/footer>\n        <\/div>\n    <\/div>\n    <script>\n    document.addEventListener('DOMContentLoaded', function() {\n        \/\/ --- DATA ---\n        const dbmsQuizData = {\n    beginner: [\n        { \n            category: \"Concepts\", \n            question: \"What is the primary function of a DBMS?\", \n            options: { A: \"To create web pages\", B: \"To store, retrieve, and manage data\", C: \"To compile Python code\", D: \"To manage network protocols\" }, \n            answer: \"B\", \n            hint: \"Think about what the acronym 'Database Management System' implies.\", \n            feedback: { B: \"Correct! A DBMS serves as an interface between the database and its end-users or programs.\" } \n        },\n        { \n            category: \"SQL Basics\", \n            question: \"Which SQL statement is used to extract data from a database?\", \n            options: { A: \"GET\", B: \"OPEN\", C: \"SELECT\", D: \"EXTRACT\" }, \n            answer: \"C\", \n            hint: \"This is the most common command used to query data.\", \n            feedback: { C: \"Correct! SELECT is the fundamental command used to query and retrieve data from tables.\" } \n        },\n        { \n            category: \"Structure\", \n            question: \"In a relational database, what is a 'row' also referred to as?\", \n            options: { A: \"Tuple\", B: \"Attribute\", C: \"Domain\", D: \"Relation\" }, \n            answer: \"A\", \n            hint: \"It rhymes with 'couple'.\", \n            feedback: { A: \"Correct! A row is formally called a Tuple, representing a single record of data.\" } \n        },\n        { \n            category: \"Structure\", \n            question: \"What is a 'column' in a database table called?\", \n            options: { A: \"Tuple\", B: \"Attribute\", C: \"Degree\", D: \"Entity\" }, \n            answer: \"B\", \n            hint: \"It describes a specific characteristic of the data.\", \n            feedback: { B: \"Correct! Columns are called Attributes (e.g., Name, Age, ID).\" } \n        },\n        { \n            category: \"Keys\", \n            question: \"Which key uniquely identifies a record in a table and cannot be Null?\", \n            options: { A: \"Foreign Key\", B: \"Secondary Key\", C: \"Primary Key\", D: \"Alias Key\" }, \n            answer: \"C\", \n            hint: \"It is the main identifier for a row.\", \n            feedback: { C: \"Correct! The Primary Key must be unique for every row and cannot be left empty (Null).\" } \n        },\n        { \n            category: \"SQL Basics\", \n            question: \"Which SQL keyword is used to sort the result-set?\", \n            options: { A: \"SORT BY\", B: \"ORDER BY\", C: \"ALIGN\", D: \"GROUP BY\" }, \n            answer: \"B\", \n            hint: \"You use this to put things in a specific order.\", \n            feedback: { B: \"Correct! ORDER BY is used to sort results in ascending or descending order.\" } \n        },\n        { \n            category: \"SQL Basics\", \n            question: \"How do you select all columns from a table named 'Customers'?\", \n            options: { A: \"SELECT ALL FROM Customers\", B: \"SELECT * FROM Customers\", C: \"SELECT Customers\", D: \"GET * FROM Customers\" }, \n            answer: \"B\", \n            hint: \"The asterisk symbol is used as a wildcard for 'everything'.\", \n            feedback: { B: \"Correct! The asterisk (*) specifies that you want to retrieve every column in the table.\" } \n        },\n        { \n            category: \"Data Integrity\", \n            question: \"What does SQL stand for?\", \n            options: { A: \"Structured Question Language\", B: \"Strong Query Language\", C: \"Structured Query Language\", D: \"System Query Logic\" }, \n            answer: \"C\", \n            hint: \"It is a standard language for accessing databases.\", \n            feedback: { C: \"Correct! Structured Query Language is the standard for relational database management.\" } \n        },\n        { \n            category: \"SQL Basics\", \n            question: \"Which SQL statement is used to update data in a database?\", \n            options: { A: \"SAVE AS\", B: \"MODIFY\", C: \"CHANGE\", D: \"UPDATE\" }, \n            answer: \"D\", \n            hint: \"The command name is exactly what you are doing to the data.\", \n            feedback: { D: \"Correct! The UPDATE statement is used to modify the existing records in a table.\" } \n        },\n        { \n            category: \"Filtering\", \n            question: \"Which keyword is used to return only different (unique) values?\", \n            options: { A: \"DIFFERENT\", B: \"UNIQUE\", C: \"DISTINCT\", D: \"SINGLE\" }, \n            answer: \"C\", \n            hint: \"It filters out duplicate values.\", \n            feedback: { C: \"Correct! SELECT DISTINCT returns only unique (different) values.\" } \n        }\n    ],\n    intermediate: [\n        { \n            category: \"Joins\", \n            question: \"Which JOIN returns rows when there is a match in one of the tables?\", \n            options: { A: \"INNER JOIN\", B: \"RIGHT JOIN\", C: \"FULL OUTER JOIN\", D: \"EQUI JOIN\" }, \n            answer: \"C\", \n            hint: \"It combines the results of both Left and Right joins.\", \n            feedback: { C: \"Correct! FULL OUTER JOIN returns all records when there is a match in left OR right table records.\" } \n        },\n        \n        { \n            category: \"Normalization\", \n            question: \"What is the primary goal of First Normal Form (1NF)?\", \n            options: { A: \"Create Foreign Keys\", B: \"Remove repeating groups and ensure atomicity\", C: \"Remove transitive dependency\", D: \"Remove partial dependency\" }, \n            answer: \"B\", \n            hint: \"A single cell should not contain a list of items.\", \n            feedback: { B: \"Correct! 1NF ensures that every column contains atomic (indivisible) values and no repeating groups exist.\" } \n        },\n        { \n            category: \"Functions\", \n            question: \"Which SQL function returns the number of records that have non-NULL values in a specific column?\", \n            options: { A: \"SUM()\", B: \"COUNT()\", C: \"TOTAL()\", D: \"NUM()\" }, \n            answer: \"B\", \n            hint: \"It counts the entries.\", \n            feedback: { B: \"Correct! COUNT(column_name) returns the number of non-null values. COUNT(*) counts all rows.\" } \n        },\n        { \n            category: \"Constraints\", \n            question: \"What is the purpose of the 'CHECK' constraint?\", \n            options: { A: \"To limit the value range that can be placed in a column\", B: \"To check if a table exists\", C: \"To verify user passwords\", D: \"To speed up queries\" }, \n            answer: \"A\", \n            hint: \"It validates data before it enters the database.\", \n            feedback: { A: \"Correct! CHECK ensures that all values in a column satisfy a specific condition (e.g., Age >= 18).\" } \n        },\n        { \n            category: \"Grouping\", \n            question: \"Which clause is used to filter the results of a GROUP BY?\", \n            options: { A: \"WHERE\", B: \"HAVING\", C: \"FILTER\", D: \"LIMIT\" }, \n            answer: \"B\", \n            hint: \"WHERE filters rows; this keyword filters groups.\", \n            feedback: { B: \"Correct! The HAVING clause was added to SQL because the WHERE keyword could not be used with aggregate functions.\" } \n        },\n        { \n            category: \"Normalization\", \n            question: \"A table is in 2NF if it is in 1NF and...\", \n            options: { A: \"It has no Transitive Dependencies\", B: \"It has no Partial Dependencies\", C: \"It has a Composite Key\", D: \"It is very small\" }, \n            answer: \"B\", \n            hint: \"All non-key attributes must depend on the *whole* primary key.\", \n            feedback: { B: \"Correct! 2NF requires that all non-key attributes are fully functionally dependent on the primary key.\" } \n        },\n        { \n            category: \"ACID\", \n            question: \"In the ACID properties, what does 'Atomicity' guarantee?\", \n            options: { A: \"Data is always correct\", B: \"Transactions are done in isolation\", C: \"All parts of a transaction succeed, or none do\", D: \"Data is saved permanently\" }, \n            answer: \"C\", \n            hint: \"Think of an 'all or nothing' approach.\", \n            feedback: { C: \"Correct! Atomicity ensures a transaction is treated as a single unit; if one part fails, the entire transaction fails.\" } \n        },\n        { \n            category: \"Keys\", \n            question: \"What happens if you try to insert a record with a duplicate Primary Key?\", \n            options: { A: \"The old record is overwritten\", B: \"The database creates a new ID automatically\", C: \"A constraint violation error occurs\", D: \"The duplicate is stored as a backup\" }, \n            answer: \"C\", \n            hint: \"Primary keys must be unique.\", \n            feedback: { C: \"Correct! The database will reject the INSERT operation because the Primary Key constraint enforces uniqueness.\" } \n        },\n        { \n            category: \"Commands\", \n            question: \"Which command removes all records from a table but keeps the table structure?\", \n            options: { A: \"DROP TABLE\", B: \"DELETE TABLE\", C: \"TRUNCATE TABLE\", D: \"REMOVE TABLE\" }, \n            answer: \"C\", \n            hint: \"It's faster than DELETE and resets auto-increment counters.\", \n            feedback: { C: \"Correct! TRUNCATE empties the table but leaves the schema intact. DROP removes the table entirely.\" } \n        },\n        { \n            category: \"Operators\", \n            question: \"What does the LIKE operator with the pattern '%a' match?\", \n            options: { A: \"Starts with 'a'\", B: \"Contains 'a'\", C: \"Ends with 'a'\", D: \"Is exactly 'a'\" }, \n            answer: \"C\", \n            hint: \"The percent sign (%) represents wildcards before the character.\", \n            feedback: { C: \"Correct! The % symbol matches any sequence of characters, so '%a' means anything ending in 'a'.\" } \n        },\n        { \n            category: \"Set Operations\", \n            question: \"What is the difference between UNION and UNION ALL?\", \n            options: { A: \"UNION removes duplicates; UNION ALL keeps them\", B: \"UNION ALL removes duplicates; UNION keeps them\", C: \"UNION combines columns; UNION ALL combines rows\", D: \"There is no difference\" }, \n            answer: \"A\", \n            hint: \"One creates a distinct set, the other just stacks data.\", \n            feedback: { A: \"Correct! UNION performs a distinct sort to remove duplicates, making it slower than UNION ALL.\" } \n        },\n        { \n            category: \"Views\", \n            question: \"Can you update data through a SQL View?\", \n            options: { A: \"Never\", B: \"Yes, always\", C: \"Yes, but with certain restrictions\", D: \"Only if the view is created with the UPDATE keyword\" }, \n            answer: \"C\", \n            hint: \"Simple views yes, complex views (with joins\/aggregates) usually no.\", \n            feedback: { C: \"Correct! You can update views, but only if they map directly to underlying tables without aggregates or complex joins.\" } \n        },\n        { \n            category: \"NULL\", \n            question: \"What is the result of NULL + 5 in SQL?\", \n            options: { A: \"5\", B: \"0\", C: \"NULL\", D: \"Error\" }, \n            answer: \"C\", \n            hint: \"Unknown + 5 is still Unknown.\", \n            feedback: { C: \"Correct! Any arithmetic operation performed with NULL results in NULL.\" } \n        },\n        { \n            category: \"Constraints\", \n            question: \"Which constraint ensures that a column cannot have a NULL value?\", \n            options: { A: \"NO NULL\", B: \"NOT NULL\", C: \"ALWAYS VALUE\", D: \"MANDATORY\" }, \n            answer: \"B\", \n            hint: \"It is a standard column definition constraint.\", \n            feedback: { B: \"Correct! The NOT NULL constraint enforces a field to always contain a value.\" } \n        },\n        { \n            category: \"Keys\", \n            question: \"A Foreign Key in one table points to a _______ in another table.\", \n            options: { A: \"Foreign Key\", B: \"Index\", C: \"Primary Key\", D: \"Any Column\" }, \n            answer: \"C\", \n            hint: \"It creates a link to the unique identifier of another table.\", \n            feedback: { C: \"Correct! A Foreign Key enforces referential integrity by linking to a Primary Key (or Unique Key) in another table.\" } \n        }\n    ],\n    advanced: [\n        { \n            category: \"Indexing\", \n            question: \"How many Clustered Indexes can a table have?\", \n            options: { A: \"One\", B: \"Two\", C: \"As many as needed\", D: \"None\" }, \n            answer: \"A\", \n            hint: \"It dictates the physical storage order of the data.\", \n            feedback: { A: \"Correct! A table can only have one clustered index because the data rows can be stored in only one order physically.\" } \n        },\n        \n        { \n            category: \"Concurrency\", \n            question: \"Which Isolation Level prevents Dirty Reads but allows Non-Repeatable Reads?\", \n            options: { A: \"Read Uncommitted\", B: \"Read Committed\", C: \"Repeatable Read\", D: \"Serializable\" }, \n            answer: \"B\", \n            hint: \"It is the default isolation level for many databases like PostgreSQL and SQL Server.\", \n            feedback: { B: \"Correct! Read Committed ensures you only read data that has been committed, but the data might change if you query it again.\" } \n        },\n        { \n            category: \"Architecture\", \n            question: \"In the CAP Theorem, what does 'Partition Tolerance' mean?\", \n            options: { A: \"The system runs on one partition\", B: \"The system continues to operate despite network failures dropping messages between nodes\", C: \"The system prevents partitions from happening\", D: \"The system can only handle partial data\" }, \n            answer: \"B\", \n            hint: \"The system survives a network break.\", \n            feedback: { B: \"Correct! P means the system continues to function even if communication between servers is broken.\" } \n        },\n        { \n            category: \"Optimization\", \n            question: \"What is a 'Covering Index'?\", \n            options: { A: \"An index that covers all tables\", B: \"An index containing all columns required by a query, so the table doesn't need to be accessed\", C: \"An index that encrypts the data\", D: \"A backup index\" }, \n            answer: \"B\", \n            hint: \"The index has all the answers itself.\", \n            feedback: { B: \"Correct! If the index contains all requested columns, the DB engine doesn't need to look up the actual table rows (Key Lookup), improving speed.\" } \n        },\n        { \n            category: \"Database Objects\", \n            question: \"What is a 'Trigger'?\", \n            options: { A: \"A button in the UI\", B: \"A stored procedure that automatically runs when an event (INSERT, UPDATE, DELETE) occurs\", C: \"A type of virus\", D: \"A command to start the server\" }, \n            answer: \"B\", \n            hint: \"It 'fires' automatically.\", \n            feedback: { B: \"Correct! Triggers are special procedures used to enforce business rules or audit changes automatically.\" } \n        },\n        { \n            category: \"Normalization\", \n            question: \"Boyce-Codd Normal Form (BCNF) is a stricter version of which form?\", \n            options: { A: \"1NF\", B: \"2NF\", C: \"3NF\", D: \"4NF\" }, \n            answer: \"C\", \n            hint: \"It handles anomalies not covered by 3NF.\", \n            feedback: { C: \"Correct! BCNF handles cases where a non-trivial dependency exists on a non-super key attribute (often in tables with multiple candidate keys).\" } \n        },\n        { \n            category: \"NoSQL\", \n            question: \"Which of the following is a Key-Value Store database?\", \n            options: { A: \"MySQL\", B: \"MongoDB\", C: \"Redis\", D: \"PostgreSQL\" }, \n            answer: \"C\", \n            hint: \"It is often used for caching.\", \n            feedback: { C: \"Correct! Redis is a popular in-memory key-value store. MongoDB is a Document store.\" } \n        },\n        { \n            category: \"Concurrency\", \n            question: \"What is a 'Deadlock'?\", \n            options: { A: \"When the server crashes\", B: \"When two or more transactions are waiting for each other to release locks\", C: \"When the hard drive is full\", D: \"When a query takes too long\" }, \n            answer: \"B\", \n            hint: \"A Mexican Standoff between transactions.\", \n            feedback: { B: \"Correct! Neither transaction can proceed because each holds a lock the other needs.\" } \n        },\n        { \n            category: \"Recovery\", \n            question: \"What is the role of the WAL (Write-Ahead Log)?\", \n            options: { A: \"To log errors only\", B: \"To ensure Durability by logging changes before writing them to the data file\", C: \"To speed up reads\", D: \"To store user passwords\" }, \n            answer: \"B\", \n            hint: \"Write to log -> Write to disk.\", \n            feedback: { B: \"Correct! If the database crashes, the WAL is replayed to restore the data to a consistent state.\" } \n        },\n        { \n            category: \"Security\", \n            question: \"Which technique prevents SQL Injection attacks?\", \n            options: { A: \"Using complex passwords\", B: \"Using Parameterized Queries (Prepared Statements)\", C: \"Hiding the database name\", D: \"Using Indexing\" }, \n            answer: \"B\", \n            hint: \"It treats user input as data, not executable code.\", \n            feedback: { B: \"Correct! Prepared statements ensure that the database treats user input strictly as parameters, preventing code injection.\" } \n        },\n        { \n            category: \"Optimization\", \n            question: \"What does 'EXPLAIN' or 'EXPLAIN PLAN' do?\", \n            options: { A: \"Describes the table structure\", B: \"Shows the execution path the query optimizer will take\", C: \"Exports data to Excel\", D: \"Formats the code\" }, \n            answer: \"B\", \n            hint: \"It shows how the database intends to find your data.\", \n            feedback: { B: \"Correct! It helps developers analyze performance by showing index usage, scan types, and cost estimates.\" } \n        },\n        { \n            category: \"Stored Procedures\", \n            question: \"What is a benefit of using Stored Procedures?\", \n            options: { A: \"They are slower than raw SQL\", B: \"They increase network traffic\", C: \"They reduce network traffic and encapsulate logic\", D: \"They cannot be backed up\" }, \n            answer: \"C\", \n            hint: \"You send one command, the server does multiple steps.\", \n            feedback: { C: \"Correct! Stored procedures are executed on the server side, reducing the amount of data sent over the network.\" } \n        },\n        { \n            category: \"Scaling\", \n            question: \"Database 'Sharding' is an example of...\", \n            options: { A: \"Vertical Scaling\", B: \"Horizontal Scaling\", C: \"Diagonal Scaling\", D: \"Caching\" }, \n            answer: \"B\", \n            hint: \"Adding more machines, not a bigger machine.\", \n            feedback: { B: \"Correct! Sharding distributes data across multiple servers (nodes), which is Horizontal Scaling.\" } \n        },\n        { \n            category: \"Advanced SQL\", \n            question: \"What is the difference between RANK() and DENSE_RANK()?\", \n            options: { A: \"No difference\", B: \"RANK() skips numbers after ties; DENSE_RANK() does not\", C: \"DENSE_RANK() skips numbers; RANK() does not\", D: \"RANK() is for text; DENSE_RANK() is for numbers\" }, \n            answer: \"B\", \n            hint: \"If two people tie for 1st place, is the next person 2nd or 3rd?\", \n            feedback: { B: \"Correct! If two rows are 1st, RANK() makes the next 3rd. DENSE_RANK() makes the next 2nd.\" } \n        },\n        { \n            category: \"Views\", \n            question: \"What is a 'Materialized View'?\", \n            options: { A: \"A virtual table\", B: \"A view whose result is physically stored and periodically refreshed\", C: \"A view made of fabric\", D: \"A temporary table\" }, \n            answer: \"B\", \n            hint: \"It trades storage space and refresh time for faster read speeds.\", \n            feedback: { B: \"Correct! Unlike standard views (which run the query every time), materialized views store the actual data for performance.\" } \n        }\n    ]\n};\n        \/\/ --- STATE ---\n        let dbmsQuizState = {\n            difficulty: null,\n            questions: [],\n            currentIndex: 0,\n            userAnswers: [],\n            timerInterval: null,\n            totalSeconds: 0,\n        };\n        let dbmsSelectedDifficulty = null;\n        \n        \/\/ --- CORE FUNCTIONS ---\n        function showDBMSScreen(screenId) {\n            document.querySelectorAll('#dbms-quiz-app-wrapper .quiz-screen').forEach(screen => {\n                screen.classList.remove('active');\n            });\n            const targetScreen = document.getElementById(screenId);\n            if (targetScreen) {\n                targetScreen.classList.add('active');\n            }\n        }\n        function startDBMSTimer() {\n            if (dbmsQuizState.timerInterval) clearInterval(dbmsQuizState.timerInterval);\n            dbmsQuizState.timerInterval = setInterval(() => {\n                dbmsQuizState.totalSeconds++;\n                const mins = Math.floor(dbmsQuizState.totalSeconds \/ 60).toString().padStart(2, '0');\n                const secs = (dbmsQuizState.totalSeconds % 60).toString().padStart(2, '0');\n                const timerEl = document.querySelector('#dbms-quiz-view #dbms-timer');\n                if(timerEl) timerEl.textContent = `${mins}:${secs}`;\n            }, 1000);\n        }\n        function stopDBMSTimer() {\n            clearInterval(dbmsQuizState.timerInterval);\n        }\n        function resetDBMSQuizState() {\n            stopDBMSTimer();\n            dbmsQuizState = {\n                difficulty: null, questions: [], currentIndex: 0, userAnswers: [], timerInterval: null, totalSeconds: 0,\n            };\n        }\n        window.showDBMSMainMenu = function(confirmFirst = false) {\n            if (confirmFirst) {\n                if (confirm('Are you sure you want to exit? Your progress will be lost.')) {\n                    resetDBMSQuizState();\n                    sessionStorage.removeItem('dbmsQuizResultState');\n                    showDBMSScreen('dbms-main-menu-view');\n                }\n            } else {\n                resetDBMSQuizState();\n                sessionStorage.removeItem('dbmsQuizResultState');\n                showDBMSScreen('dbms-main-menu-view');\n            }\n        }\n        window.showDBMSUserDetailsView = function(difficulty) {\n            const userInfoJSON = localStorage.getItem('dbmsQuizUserInfo');\n            if (userInfoJSON) {\n                try {\n                    const userInfo = JSON.parse(userInfoJSON);\n                    if (new Date().getTime() < userInfo.expires) {\n                        startDBMSQuiz(difficulty);\n                        return;\n                    }\n                } catch(e) { }\n            }\n            dbmsSelectedDifficulty = difficulty;\n            showDBMSScreen('dbms-user-details-view');\n            document.getElementById('dbms-user-name').focus();\n        }\n        function startDBMSQuiz(difficulty) {\n            dbmsQuizState = {\n                difficulty,\n                questions: dbmsQuizData[difficulty] || [],\n                currentIndex: 0,\n                userAnswers: new Array((dbmsQuizData[difficulty] || []).length).fill(null),\n                timerInterval: null,\n                totalSeconds: 0,\n            };\n            showDBMSScreen('dbms-quiz-view');\n            setupDBMSQuizUI();\n            loadDBMSQuestion();\n            startDBMSTimer();\n        }\n        function setupDBMSQuizUI() {\n            const quizScreenEl = document.getElementById('dbms-quiz-view');\n            if (!quizScreenEl) return;\n            const quizTitle = quizScreenEl.querySelector('#dbms-quiz-title');\n            const questionCount = quizScreenEl.querySelector('#dbms-question-count');\n            const stepper = quizScreenEl.querySelector('#dbms-progress-stepper');\n            const timer = quizScreenEl.querySelector('#dbms-timer');\n            if (quizTitle) quizTitle.textContent = `${dbmsQuizState.difficulty.charAt(0).toUpperCase() + dbmsQuizState.difficulty.slice(1)} DBMS Quiz`;\n            if (questionCount) questionCount.textContent = `${dbmsQuizState.currentIndex + 1}\/${dbmsQuizState.questions.length}`;\n            if (timer) timer.textContent = '00:00';\n            if (stepper) stepper.innerHTML = dbmsQuizState.questions.map(() => `<div class=\"step\"><\/div>`).join('');\n        }\n        function loadDBMSQuestion() {\n            const quizScreenEl = document.getElementById('dbms-quiz-view');\n            if (!quizScreenEl) return;\n            const question = dbmsQuizState.questions[dbmsQuizState.currentIndex];\n            if (!question) return;\n            const questionText = quizScreenEl.querySelector('.dbms-quiz-question-text');\n            const optionsContainer = quizScreenEl.querySelector('#dbms-options-container');\n            const hintText = quizScreenEl.querySelector('#dbms-hint-text');\n            const hintToggle = quizScreenEl.querySelector('#dbms-hint-toggle');\n            const questionCountEl = quizScreenEl.querySelector('#dbms-question-count');\n            if (questionCountEl) questionCountEl.textContent = `${dbmsQuizState.currentIndex + 1}\/${dbmsQuizState.questions.length}`;\n            if (questionText) questionText.innerHTML = `${dbmsQuizState.currentIndex + 1}. ${question.question}`;\n            if (optionsContainer) {\n                optionsContainer.innerHTML = '';\n                Object.entries(question.options).forEach(([key, value]) => {\n                    const optionDiv = document.createElement('div');\n                    optionDiv.className = 'option';\n                    optionDiv.dataset.key = key;\n                    optionDiv.innerHTML = `<label class=\"option-label\"><span class=\"option-letter\">${key}.<\/span> ${value}<\/label>`;\n                    optionDiv.addEventListener('click', () => handleDBMSOptionClick(key));\n                    optionsContainer.appendChild(optionDiv);\n                });\n            }\n            if (hintText) {\n                hintText.textContent = question.hint;\n                hintText.classList.add('hidden');\n            }\n            if (hintToggle) {\n                hintToggle.classList.remove('open');\n                hintToggle.disabled = false;\n            }\n            updateDBMSProgress();\n            restoreDBMSAnswerState();\n        }\n        function handleDBMSOptionClick(selectedKey) {\n            if (dbmsQuizState.userAnswers[dbmsQuizState.currentIndex] !== null) return;\n            const question = dbmsQuizState.questions[dbmsQuizState.currentIndex];\n            const isCorrect = selectedKey === question.answer;\n            dbmsQuizState.userAnswers[dbmsQuizState.currentIndex] = { selected: selectedKey, isCorrect };\n            const quizScreenEl = document.getElementById('dbms-quiz-view');\n            if (!quizScreenEl) return;\n            quizScreenEl.querySelectorAll('.option').forEach(opt => {\n                opt.classList.add('disabled');\n                if (opt.dataset.key === question.answer) {\n                    opt.classList.add('correct');\n                    addDBMSFeedback(opt, true);\n                } else if (opt.dataset.key === selectedKey) {\n                    opt.classList.add('incorrect');\n                    addDBMSFeedback(opt, false);\n                }\n            });\n            const hintToggle = quizScreenEl.querySelector('#dbms-hint-toggle');\n            if (hintToggle) hintToggle.disabled = true;\n            updateDBMSProgress();\n        }\n        function addDBMSFeedback(optionDiv, isCorrect) {\n            const question = dbmsQuizState.questions[dbmsQuizState.currentIndex];\n            const selectedKey = optionDiv.dataset.key;\n            \/\/ Fallback for simple feedback if not explicitly defined for every option\n            let feedbackText = \"\";\n            if(question.feedback[selectedKey]) {\n                feedbackText = question.feedback[selectedKey];\n            } else if (isCorrect) {\n                feedbackText = question.feedback[question.answer] || \"Correct!\";\n            } else {\n                feedbackText = `Incorrect. The correct answer is ${question.answer}.`;\n            }\n\n            if (!optionDiv.querySelector('.feedback')) {\n                optionDiv.querySelector('.option-label').insertAdjacentHTML('afterend', `\n                <div class=\"feedback\">\n                    <div class=\"feedback-title ${isCorrect ? 'correct' : 'incorrect'}\">${isCorrect ? '\u2713 Correct' : '\u2717 Incorrect'}<\/div>\n                    <div class=\"feedback-text\">${feedbackText}<\/div>\n                <\/div>`);\n            }\n        }\n        function restoreDBMSAnswerState() {\n            const answer = dbmsQuizState.userAnswers[dbmsQuizState.currentIndex];\n            const quizScreenEl = document.getElementById('dbms-quiz-view');\n            if (!quizScreenEl) return;\n            if (answer) {\n                quizScreenEl.querySelectorAll('.option').forEach(opt => {\n                    opt.classList.add('disabled');\n                    if (opt.dataset.key === dbmsQuizState.questions[dbmsQuizState.currentIndex].answer) {\n                        opt.classList.add('correct');\n                        if (opt.dataset.key === answer.selected) addDBMSFeedback(opt, true);\n                    } else if (opt.dataset.key === answer.selected) {\n                        opt.classList.add('incorrect');\n                        addDBMSFeedback(opt, false);\n                    }\n                });\n            }\n        }\n        function updateDBMSProgress() {\n            const quizScreenEl = document.getElementById('dbms-quiz-view');\n            if (!quizScreenEl) return;\n            const backBtn = quizScreenEl.querySelector('#dbms-back-btn');\n            const nextBtn = quizScreenEl.querySelector('#dbms-next-btn');\n            const stepper = quizScreenEl.querySelector('#dbms-progress-stepper');\n            if (backBtn) backBtn.disabled = dbmsQuizState.currentIndex === 0;\n            if (nextBtn) nextBtn.textContent = (dbmsQuizState.currentIndex === dbmsQuizState.questions.length - 1) ? 'Finish' : 'Next';\n            if(stepper) {\n                [...stepper.children].forEach((step, i) => {\n                    step.className = 'step';\n                    if (i === dbmsQuizState.currentIndex) step.classList.add('active');\n                    const answer = dbmsQuizState.userAnswers[i];\n                    if (answer) step.classList.add(answer.isCorrect ? 'correct' : 'incorrect');\n                });\n            }\n        }\n        function showDBMSResults() {\n            stopDBMSTimer();\n            const correctCount = dbmsQuizState.userAnswers.filter(a => a?.isCorrect).length;\n            const totalQuestions = dbmsQuizState.questions.length;\n            const answeredCount = dbmsQuizState.userAnswers.filter(a => a !== null).length;\n            const wrongCount = answeredCount - correctCount;\n            const skippedCount = totalQuestions - answeredCount;\n            const accuracy = answeredCount > 0 ? Math.round((correctCount \/ answeredCount) * 100) : 0;\n            const scorePercentage = totalQuestions > 0 ? Math.round((correctCount \/ totalQuestions) * 100) : 0;\n            \n            sessionStorage.setItem('dbmsQuizResultState', JSON.stringify(dbmsQuizState));\n\n            document.querySelector('#dbms-score-value').innerHTML = `${correctCount}<span>\/${totalQuestions}<\/span>`;\n            document.querySelector('#dbms-accuracy-label').textContent = `${accuracy}% Accuracy`;\n            document.querySelector('#dbms-right-value').textContent = correctCount;\n            document.querySelector('#dbms-wrong-value').textContent = wrongCount;\n            document.querySelector('#dbms-skipped-value').textContent = skippedCount;\n            \n            const circle = document.getElementById('dbms-score-circle');\n            const radius = circle.r.baseVal.value;\n            const circumference = radius * 2 * Math.PI;\n            circle.style.strokeDasharray = `${circumference} ${circumference}`;\n            setTimeout(() => {\n                const offset = circumference - scorePercentage \/ 100 * circumference;\n                circle.style.strokeDashoffset = offset;\n            }, 100);\n            \n            setupDBMSShareLinks(correctCount);\n            showDBMSScreen('dbms-results-view');\n        }\n        function setupDBMSShareLinks(score) {\n            const url = window.location.href;\n            const text = `I scored ${score}\/${dbmsQuizState.questions.length} on the ${dbmsQuizState.difficulty} DBMS Quiz! Can you beat my score?`;\n            const title = 'DBMS Quiz Challenge';\n            \n            document.getElementById('dbms-share-whatsapp').onclick = (e) => { e.preventDefault(); window.open(`https:\/\/api.whatsapp.com\/send?text=${encodeURIComponent(text + '\\n\\n' + url)}`, '_blank'); };\n            document.getElementById('dbms-share-twitter').onclick = (e) => { e.preventDefault(); window.open(`https:\/\/twitter.com\/intent\/tweet?url=${encodeURIComponent(url)}&text=${encodeURIComponent(text)}`, '_blank'); };\n            document.getElementById('dbms-share-linkedin').onclick = (e) => { e.preventDefault(); window.open(`https:\/\/www.linkedin.com\/shareArticle?mini=true&url=${encodeURIComponent(url)}&title=${encodeURIComponent(title)}&summary=${encodeURIComponent(text)}`, '_blank'); };\n            document.getElementById('dbms-share-telegram').onclick = (e) => { e.preventDefault(); window.open(`https:\/\/t.me\/share\/url?url=${encodeURIComponent(url)}&text=${encodeURIComponent(text)}`, '_blank'); };\n        }\n        function handleDBMSUserDetailsSubmit(event) {\n            event.preventDefault();\n            const form = document.getElementById('dbms-user-details-form');\n            const name = form.querySelector('#dbms-user-name').value.trim();\n            const email = form.querySelector('#dbms-user-email').value.trim();\n            if (!name || !email) { alert('Please fill in both your name and email.'); return; }\n            const expirationTime = new Date().getTime() + (60 * 24 * 60 * 60 * 1000);\n            localStorage.setItem('dbmsQuizUserInfo', JSON.stringify({ expires: expirationTime }));\n            \n            \/\/ Dummy form submission - replace with actual endpoint if needed\n            console.log(\"Lead captured:\", name, email);\n            form.reset();\n            startDBMSQuiz(dbmsSelectedDifficulty);\n        }\n\n        \/\/ --- EVENT LISTENERS ---\n        document.getElementById('dbms-user-details-form').addEventListener('submit', handleDBMSUserDetailsSubmit);\n        document.getElementById('dbms-back-to-menu-btn').addEventListener('click', () => showDBMSMainMenu(false));\n        document.getElementById('dbms-back-to-results-btn').addEventListener('click', () => showDBMSScreen('dbms-results-view'));\n        document.getElementById('dbms-next-btn').addEventListener('click', () => {\n             if (dbmsQuizState.currentIndex < dbmsQuizState.questions.length - 1) {\n                 dbmsQuizState.currentIndex++;\n                 loadDBMSQuestion();\n             } else {\n                 showDBMSResults();\n             }\n         });\n        document.getElementById('dbms-back-btn').addEventListener('click', () => {\n             if (dbmsQuizState.currentIndex > 0) {\n                 dbmsQuizState.currentIndex--;\n                 loadDBMSQuestion();\n             }\n         });\n        document.getElementById('dbms-hint-toggle').addEventListener('click', () => {\n             document.getElementById('dbms-hint-text').classList.toggle('hidden');\n             document.getElementById('dbms-hint-toggle').classList.toggle('open');\n         });\n        document.getElementById('dbms-analyse-btn').addEventListener('click', () => {\n            const analysisByCat = dbmsQuizState.questions.reduce((acc, { category }, i) => {\n                if (!acc[category]) acc[category] = { total: 0, correct: 0, correctQs: [], incorrectQs: [] };\n                acc[category].total++;\n                const answer = dbmsQuizState.userAnswers[i];\n                if (answer?.isCorrect) {\n                    acc[category].correct++;\n                    acc[category].correctQs.push(i + 1);\n                } else if (answer) {\n                    acc[category].incorrectQs.push(i + 1);\n                }\n                return acc;\n            }, {});\n            const analysisModalBody = document.getElementById('dbms-analysis-body');\n            analysisModalBody.innerHTML = Object.entries(analysisByCat).map(([category, data]) => {\n                const percentage = data.total > 0 ? Math.round((data.correct \/ data.total) * 100) : 0;\n                return `<div class=\"category-analysis\"><div class=\"category-header\"><h3 id=\"category\">${category}<\/h3><div class=\"category-score\">${percentage}% Correct<\/div><\/div><div class=\"progress-bar-bg\"><div class=\"progress-bar-fg\" style=\"width: ${percentage}%;\"><\/div><\/div><div class=\"question-breakdown\">${data.correctQs.length > 0 ? `<p><strong>Correct:<\/strong> Q${data.correctQs.join(', Q')}<\/p>` : ''}${data.incorrectQs.length > 0 ? `<span>Incorrect:<\/span> Q${data.incorrectQs.join(', Q')}` : ''}<\/div><\/div>`;\n            }).join('');\n            showDBMSScreen('dbms-analysis-view');\n        });\n\n        \/\/ --- INITIALIZATION ---\n        const savedStateJSON = sessionStorage.getItem('dbmsQuizResultState');\n        if (savedStateJSON) {\n            try {\n                dbmsQuizState = JSON.parse(savedStateJSON);\n                if (dbmsQuizState.timerInterval) clearInterval(dbmsQuizState.timerInterval);\n                showDBMSResults();\n            } catch (e) {\n                sessionStorage.removeItem('dbmsQuizResultState');\n                showDBMSScreen('dbms-main-menu-view');\n            }\n        } else {\n            showDBMSScreen('dbms-main-menu-view');\n        }\n    });\n    <\/script>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<p><strong>Also Check:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.mygreatlearning.com\/blog\/dbms-tutorial\/\">What is DBMS?<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.mygreatlearning.com\/blog\/dbms-interview-questions\/\">DBMS Interview Questions and Answers<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.mygreatlearning.com\/blog\/acid-properties-in-dbms\/\">ACID Properties in DBMS<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.mygreatlearning.com\/blog\/sql-commands\/\">SQL Commands<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>DBMS Quiz Challenge Test your Database Management Systems knowledge with our comprehensive MCQs. Choose your difficulty and share your score! \u2b50 Beginner Perfect for DBMS newcomers \u2022 Concepts &#038; SQL Basics \u2022 Keys &#038; Constraints \u2022 Data Integrity \u2022 10 Questions Start Beginner Quiz \ud83c\udfc6 Intermediate For those with some experience \u2022 Joins &#038; Unions [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":109892,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"full-width-container","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[25860],"tags":[36828,36800,36874],"class_list":["post-109887","page","type-page","status-publish","has-post-thumbnail","hentry","category-software","tag-database","tag-it-jobs","tag-quiz"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Database Management Systems (DBMS) Quiz &amp; MCQs<\/title>\n<meta name=\"description\" content=\"Test your DBMS knowledge with quizzes for all levels. Covering SQL, normalization, indexing, and more. Get instant feedback and share your score with friends!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Database Management Systems Quiz\" \/>\n<meta property=\"og:description\" content=\"Test your DBMS knowledge with quizzes for all levels. Covering SQL, normalization, indexing, and more. Get instant feedback and share your score with friends!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/\" \/>\n<meta property=\"og:site_name\" content=\"Great Learning Blog: Free Resources what Matters to shape your Career!\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GreatLearningOfficial\/\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"1408\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@Great_Learning\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbms-quiz\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbms-quiz\\\/\"},\"author\":{\"name\":\"Great Learning Editorial Team\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\"},\"headline\":\"Database Management Systems Quiz\",\"datePublished\":\"2025-07-10T11:55:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbms-quiz\\\/\"},\"wordCount\":344,\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbms-quiz\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/dbms-quiz.webp\",\"keywords\":[\"database\",\"IT Jobs\",\"quiz\"],\"articleSection\":[\"IT\\\/Software Development\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbms-quiz\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbms-quiz\\\/\",\"name\":\"Database Management Systems (DBMS) Quiz & MCQs\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbms-quiz\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbms-quiz\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/dbms-quiz.webp\",\"datePublished\":\"2025-07-10T11:55:41+00:00\",\"description\":\"Test your DBMS knowledge with quizzes for all levels. Covering SQL, normalization, indexing, and more. Get instant feedback and share your score with friends!\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbms-quiz\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbms-quiz\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbms-quiz\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/dbms-quiz.webp\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/07\\\/dbms-quiz.webp\",\"width\":1408,\"height\":768,\"caption\":\"Database Management Systems Quiz\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/dbms-quiz\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Database Management Systems Quiz\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"name\":\"Great Learning Blog\",\"description\":\"Learn, Upskill &amp; Career Development Guide and Resources\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\"},\"alternateName\":\"Great Learning\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#organization\",\"name\":\"Great Learning\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/GL-Logo.jpg\",\"width\":900,\"height\":900,\"caption\":\"Great Learning\"},\"image\":{\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/GreatLearningOfficial\\\/\",\"https:\\\/\\\/x.com\\\/Great_Learning\",\"https:\\\/\\\/www.instagram.com\\\/greatlearningofficial\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/in.pinterest.com\\\/greatlearning12\\\/\",\"https:\\\/\\\/www.youtube.com\\\/user\\\/beaconelearning\\\/\"],\"description\":\"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.\",\"email\":\"info@mygreatlearning.com\",\"legalName\":\"Great Learning Education Services Pvt. Ltd\",\"foundingDate\":\"2013-11-29\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"1001\",\"maxValue\":\"5000\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/#\\\/schema\\\/person\\\/6f993d1be4c584a335951e836f2656ad\",\"name\":\"Great Learning Editorial Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"contentUrl\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/02\\\/unnamed.webp\",\"caption\":\"Great Learning Editorial Team\"},\"description\":\"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.\",\"sameAs\":[\"https:\\\/\\\/www.mygreatlearning.com\\\/\",\"https:\\\/\\\/in.linkedin.com\\\/school\\\/great-learning\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/Great_Learning\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCObs0kLIrDjX2LLSybqNaEA\"],\"award\":[\"Best EdTech Company of the Year 2024\",\"Education Economictimes Outstanding Education\\\/Edtech Solution Provider of the Year 2024\",\"Leading E-learning Platform 2024\"],\"url\":\"https:\\\/\\\/www.mygreatlearning.com\\\/blog\\\/author\\\/greatlearning\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Database Management Systems (DBMS) Quiz & MCQs","description":"Test your DBMS knowledge with quizzes for all levels. Covering SQL, normalization, indexing, and more. Get instant feedback and share your score with friends!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/","og_locale":"en_US","og_type":"article","og_title":"Database Management Systems Quiz","og_description":"Test your DBMS knowledge with quizzes for all levels. Covering SQL, normalization, indexing, and more. Get instant feedback and share your score with friends!","og_url":"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/","og_site_name":"Great Learning Blog: Free Resources what Matters to shape your Career!","article_publisher":"https:\/\/www.facebook.com\/GreatLearningOfficial\/","og_image":[{"width":1408,"height":768,"url":"http:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz.webp","type":"image\/webp"}],"twitter_card":"summary_large_image","twitter_site":"@Great_Learning","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/#article","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/"},"author":{"name":"Great Learning Editorial Team","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad"},"headline":"Database Management Systems Quiz","datePublished":"2025-07-10T11:55:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/"},"wordCount":344,"publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz.webp","keywords":["database","IT Jobs","quiz"],"articleSection":["IT\/Software Development"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/","url":"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/","name":"Database Management Systems (DBMS) Quiz & MCQs","isPartOf":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/#primaryimage"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/#primaryimage"},"thumbnailUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz.webp","datePublished":"2025-07-10T11:55:41+00:00","description":"Test your DBMS knowledge with quizzes for all levels. Covering SQL, normalization, indexing, and more. Get instant feedback and share your score with friends!","breadcrumb":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/#primaryimage","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz.webp","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz.webp","width":1408,"height":768,"caption":"Database Management Systems Quiz"},{"@type":"BreadcrumbList","@id":"https:\/\/www.mygreatlearning.com\/blog\/dbms-quiz\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/www.mygreatlearning.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Database Management Systems Quiz"}]},{"@type":"WebSite","@id":"https:\/\/www.mygreatlearning.com\/blog\/#website","url":"https:\/\/www.mygreatlearning.com\/blog\/","name":"Great Learning Blog","description":"Learn, Upskill &amp; Career Development Guide and Resources","publisher":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization"},"alternateName":"Great Learning","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.mygreatlearning.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.mygreatlearning.com\/blog\/#organization","name":"Great Learning","url":"https:\/\/www.mygreatlearning.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/06\/GL-Logo.jpg","width":900,"height":900,"caption":"Great Learning"},"image":{"@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/GreatLearningOfficial\/","https:\/\/x.com\/Great_Learning","https:\/\/www.instagram.com\/greatlearningofficial\/","https:\/\/www.linkedin.com\/school\/great-learning\/","https:\/\/in.pinterest.com\/greatlearning12\/","https:\/\/www.youtube.com\/user\/beaconelearning\/"],"description":"Great Learning is a leading global ed-tech company for professional training and higher education. It offers comprehensive, industry-relevant, hands-on learning programs across various business, technology, and interdisciplinary domains driving the digital economy. These programs are developed and offered in collaboration with the world's foremost academic institutions.","email":"info@mygreatlearning.com","legalName":"Great Learning Education Services Pvt. Ltd","foundingDate":"2013-11-29","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"1001","maxValue":"5000"}},{"@type":"Person","@id":"https:\/\/www.mygreatlearning.com\/blog\/#\/schema\/person\/6f993d1be4c584a335951e836f2656ad","name":"Great Learning Editorial Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","url":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","contentUrl":"https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2022\/02\/unnamed.webp","caption":"Great Learning Editorial Team"},"description":"The Great Learning Editorial Staff includes a dynamic team of subject matter experts, instructors, and education professionals who combine their deep industry knowledge with innovative teaching methods. Their mission is to provide learners with the skills and insights needed to excel in their careers, whether through upskilling, reskilling, or transitioning into new fields.","sameAs":["https:\/\/www.mygreatlearning.com\/","https:\/\/in.linkedin.com\/school\/great-learning\/","https:\/\/x.com\/https:\/\/twitter.com\/Great_Learning","https:\/\/www.youtube.com\/channel\/UCObs0kLIrDjX2LLSybqNaEA"],"award":["Best EdTech Company of the Year 2024","Education Economictimes Outstanding Education\/Edtech Solution Provider of the Year 2024","Leading E-learning Platform 2024"],"url":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"}]}},"uagb_featured_image_src":{"full":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz.webp",1408,768,false],"thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz-150x150.webp",150,150,true],"medium":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz-300x164.webp",300,164,true],"medium_large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz-768x419.webp",768,419,true],"large":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz-1024x559.webp",1024,559,true],"1536x1536":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz.webp",1408,768,false],"2048x2048":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz.webp",1408,768,false],"web-stories-poster-portrait":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz-640x768.webp",640,768,true],"web-stories-publisher-logo":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz-96x96.webp",96,96,true],"web-stories-thumbnail":["https:\/\/www.mygreatlearning.com\/blog\/wp-content\/uploads\/2025\/07\/dbms-quiz-150x82.webp",150,82,true]},"uagb_author_info":{"display_name":"Great Learning Editorial Team","author_link":"https:\/\/www.mygreatlearning.com\/blog\/author\/greatlearning\/"},"uagb_comment_info":0,"uagb_excerpt":"DBMS Quiz Challenge Test your Database Management Systems knowledge with our comprehensive MCQs. Choose your difficulty and share your score! \u2b50 Beginner Perfect for DBMS newcomers \u2022 Concepts & SQL Basics \u2022 Keys & Constraints \u2022 Data Integrity \u2022 10 Questions Start Beginner Quiz \ud83c\udfc6 Intermediate For those with some experience \u2022 Joins & Unions&hellip;","_links":{"self":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/pages\/109887","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/comments?post=109887"}],"version-history":[{"count":8,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/pages\/109887\/revisions"}],"predecessor-version":[{"id":113979,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/pages\/109887\/revisions\/113979"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media\/109892"}],"wp:attachment":[{"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/media?parent=109887"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/categories?post=109887"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mygreatlearning.com\/blog\/wp-json\/wp\/v2\/tags?post=109887"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}