{
    "django_basics": {
        "q1": {
            "question": "Which file in Django contains URL configurations?",
            "options": [
                "urls.py",
                "views.py",
                "models.py"
            ],
            "correct_answer": "urls.py"
        },
        "q2": {
            "question": "What command is used to start a new Django project?",
            "options": [
                "django-admin startproject",
                "django new project",
                "startproject django"
            ],
            "correct_answer": "django-admin startproject"
        },
        "q3": {
            "question": "What does ORM stand for in Django?",
            "options": [
                "Object Relational Mapping",
                "Object Rendering Model",
                "Online Resource Management"
            ],
            "correct_answer": "Object Relational Mapping"
        },
        "q4": {
            "question": "Which Django component handles database operations?",
            "options": [
                "Models",
                "Views",
                "Templates"
            ],
            "correct_answer": "Models"
        },
        "q5": {
            "question": "What is the purpose of Django's manage.py?",
            "options": [
                "Project management utility",
                "Database migration tool",
                "Template rendering engine"
            ],
            "correct_answer": "Project management utility"
        },
        "q6": {
            "question": "Which command creates a new Django app?",
            "options": [
                "python manage.py startapp",
                "django-admin createapp",
                "python startapp"
            ],
            "correct_answer": "python manage.py startapp"
        },
        "q7": {
            "question": "What is Django's template language called?",
            "options": [
                "Django Template Language (DTL)",
                "Django HTML",
                "Django Markup"
            ],
            "correct_answer": "Django Template Language (DTL)"
        },
        "q8": {
            "question": "Which middleware provides CSRF protection in Django?",
            "options": [
                "django.middleware.csrf.CsrfViewMiddleware",
                "django.middleware.security.SecurityMiddleware",
                "django.middleware.common.CommonMiddleware"
            ],
            "correct_answer": "django.middleware.csrf.CsrfViewMiddleware"
        },
        "q9": {
            "question": "What is the purpose of Django's settings.py file?",
            "options": [
                "Contains all project configuration",
                "Defines URL routes",
                "Stores database models"
            ],
            "correct_answer": "Contains all project configuration"
        },
        "q10": {
            "question": "Which decorator is used for login_required in Django?",
            "options": [
                "@login_required",
                "@require_login",
                "@auth_required"
            ],
            "correct_answer": "@login_required"
        },
        "q11": {
            "question": "What is Django's admin interface used for?",
            "options": [
                "Managing application data",
                "Configuring server settings",
                "Writing database queries"
            ],
            "correct_answer": "Managing application data"
        },
        "q12": {
            "question": "Which command applies database migrations in Django?",
            "options": [
                "python manage.py migrate",
                "python manage.py makemigrations",
                "django-admin migrate"
            ],
            "correct_answer": "python manage.py migrate"
        },
        "q13": {
            "question": "What is the purpose of Django's staticfiles app?",
            "options": [
                "Managing static files (CSS, JS, images)",
                "Handling file uploads",
                "Storing database backups"
            ],
            "correct_answer": "Managing static files (CSS, JS, images)"
        },
        "q14": {
            "question": "Which Django class handles form validation?",
            "options": [
                "forms.Form",
                "models.Model",
                "views.View"
            ],
            "correct_answer": "forms.Form"
        },
        "q15": {
            "question": "What is the purpose of Django's get_object_or_404 shortcut?",
            "options": [
                "Retrieve object or return 404",
                "Create new database objects",
                "Validate form data"
            ],
            "correct_answer": "Retrieve object or return 404"
        },
        "q16": {
            "question": "Which template tag is used for loops in Django templates?",
            "options": [
                "{% for %}",
                "{% loop %}",
                "{% while %}"
            ],
            "correct_answer": "{% for %}"
        },
        "q17": {
            "question": "What is the purpose of Django's context processors?",
            "options": [
                "Add variables to template contexts",
                "Process form submissions",
                "Handle database transactions"
            ],
            "correct_answer": "Add variables to template contexts"
        },
        "q18": {
            "question": "Which command creates new database migrations?",
            "options": [
                "python manage.py makemigrations",
                "python manage.py migrate",
                "python manage.py createmigrations"
            ],
            "correct_answer": "python manage.py makemigrations"
        },
        "q19": {
            "question": "What is Django's built-in user authentication model called?",
            "options": [
                "User",
                "Account",
                "AuthUser"
            ],
            "correct_answer": "User"
        },
        "q20": {
            "question": "Which Django component handles HTTP requests and returns responses?",
            "options": [
                "Views",
                "Models",
                "Templates"
            ],
            "correct_answer": "Views"
        },
        "q21": {
            "question": "What is the purpose of Django's MIDDLEWARE setting?",
            "options": [
                "List of middleware classes to use",
                "Database connection settings",
                "Template directory paths"
            ],
            "correct_answer": "List of middleware classes to use"
        },
        "q22": {
            "question": "Which template tag outputs variables in Django templates?",
            "options": [
                "{{ variable }}",
                "{% variable %}",
                "[[ variable ]]"
            ],
            "correct_answer": "{{ variable }}"
        },
        "q23": {
            "question": "What is the purpose of Django's QuerySet?",
            "options": [
                "Database query interface",
                "Template rendering engine",
                "Form validation system"
            ],
            "correct_answer": "Database query interface"
        },
        "q24": {
            "question": "Which Django package provides REST framework capabilities?",
            "options": [
                "Django REST framework",
                "Django API",
                "Django Services"
            ],
            "correct_answer": "Django REST framework"
        },
        "q25": {
            "question": "What is the purpose of Django's signals?",
            "options": [
                "Event notification system",
                "URL routing mechanism",
                "Template inheritance"
            ],
            "correct_answer": "Event notification system"
        },
        "q26": {
            "question": "Which command runs Django's development server?",
            "options": [
                "python manage.py runserver",
                "django-admin runserver",
                "python runserver"
            ],
            "correct_answer": "python manage.py runserver"
        },
        "q27": {
            "question": "What is the purpose of Django's cache framework?",
            "options": [
                "Improve performance by caching data",
                "Store database backups",
                "Manage user sessions"
            ],
            "correct_answer": "Improve performance by caching data"
        },
        "q28": {
            "question": "Which Django class represents database tables?",
            "options": [
                "models.Model",
                "db.Table",
                "database.Model"
            ],
            "correct_answer": "models.Model"
        },
        "q29": {
            "question": "What is the purpose of Django's reverse() function?",
            "options": [
                "Generate URLs from view names",
                "Reverse database queries",
                "Undo migrations"
            ],
            "correct_answer": "Generate URLs from view names"
        },
        "q30": {
            "question": "Which template tag includes other templates in Django?",
            "options": [
                "{% include %}",
                "{% extend %}",
                "{% template %}"
            ],
            "correct_answer": "{% include %}"
        },
        "q31": {
            "question": "What is Django's built-in test client used for?",
            "options": [
                "Testing views without HTTP server",
                "Connecting to databases",
                "Managing user sessions"
            ],
            "correct_answer": "Testing views without HTTP server"
        },
        "q32": {
            "question": "Which command creates a superuser in Django?",
            "options": [
                "python manage.py createsuperuser",
                "django-admin createsuperuser",
                "python createsuperuser"
            ],
            "correct_answer": "python manage.py createsuperuser"
        },
        "q33": {
            "question": "What is the purpose of Django's contenttypes framework?",
            "options": [
                "Track models installed in project",
                "Manage file uploads",
                "Handle email sending"
            ],
            "correct_answer": "Track models installed in project"
        },
        "q34": {
            "question": "Which Django template tag is used for conditionals?",
            "options": [
                "{% if %}",
                "{% when %}",
                "{% condition %}"
            ],
            "correct_answer": "{% if %}"
        },
        "q35": {
            "question": "What is the purpose of Django's F() expressions?",
            "options": [
                "Reference database fields in queries",
                "Format template strings",
                "Filter form inputs"
            ],
            "correct_answer": "Reference database fields in queries"
        },
        "q36": {
            "question": "Which setting defines Django's installed apps?",
            "options": [
                "INSTALLED_APPS",
                "APPS_INSTALLED",
                "DJANGO_APPS"
            ],
            "correct_answer": "INSTALLED_APPS"
        },
        "q37": {
            "question": "What is the purpose of Django's annotate() on QuerySets?",
            "options": [
                "Add computed fields to results",
                "Filter database records",
                "Order query results"
            ],
            "correct_answer": "Add computed fields to results"
        },
        "q38": {
            "question": "Which Django package provides sitemap functionality?",
            "options": [
                "django.contrib.sitemaps",
                "django.sitemaps",
                "django.utils.sitemaps"
            ],
            "correct_answer": "django.contrib.sitemaps"
        },
        "q39": {
            "question": "What is the purpose of Django's prefetch_related()?",
            "options": [
                "Optimize many-to-many queries",
                "Create database indexes",
                "Validate form data"
            ],
            "correct_answer": "Optimize many-to-many queries"
        },
        "q40": {
            "question": "Which command checks for problems in Django project?",
            "options": [
                "python manage.py check",
                "django-admin validate",
                "python checkproject"
            ],
            "correct_answer": "python manage.py check"
        },
        "q41": {
            "question": "What is the purpose of Django's transaction.atomic()?",
            "options": [
                "Ensure database operations succeed or fail together",
                "Speed up queries",
                "Cache database results"
            ],
            "correct_answer": "Ensure database operations succeed or fail together"
        },
        "q42": {
            "question": "Which Django template tag prevents CSRF attacks?",
            "options": [
                "{% csrf_token %}",
                "{% secure_form %}",
                "{% prevent_csrf %}"
            ],
            "correct_answer": "{% csrf_token %}"
        },
        "q43": {
            "question": "What is the purpose of Django's Q() objects?",
            "options": [
                "Build complex queries with OR conditions",
                "Queue background tasks",
                "Validate query parameters"
            ],
            "correct_answer": "Build complex queries with OR conditions"
        },
        "q44": {
            "question": "Which Django package provides messaging framework?",
            "options": [
                "django.contrib.messages",
                "django.messaging",
                "django.utils.messages"
            ],
            "correct_answer": "django.contrib.messages"
        },
        "q45": {
            "question": "What is the purpose of Django's select_related()?",
            "options": [
                "Optimize foreign key queries",
                "Select specific fields from database",
                "Filter query results"
            ],
            "correct_answer": "Optimize foreign key queries"
        },
        "q46": {
            "question": "Which setting defines Django's database configuration?",
            "options": [
                "DATABASES",
                "DB_CONFIG",
                "DATABASE_SETTINGS"
            ],
            "correct_answer": "DATABASES"
        },
        "q47": {
            "question": "What is the purpose of Django's template inheritance?",
            "options": [
                "Share common layout between templates",
                "Import Python code into templates",
                "Cache rendered templates"
            ],
            "correct_answer": "Share common layout between templates"
        },
        "q48": {
            "question": "Which Django package provides authentication views?",
            "options": [
                "django.contrib.auth.views",
                "django.auth.views",
                "django.views.auth"
            ],
            "correct_answer": "django.contrib.auth.views"
        },
        "q49": {
            "question": "What is the purpose of Django's FlatPages app?",
            "options": [
                "Store simple static pages in database",
                "Create page templates",
                "Manage file uploads"
            ],
            "correct_answer": "Store simple static pages in database"
        },
        "q50": {
            "question": "Which command collects static files in Django?",
            "options": [
                "python manage.py collectstatic",
                "django-admin collectstatic",
                "python collectstatic"
            ],
            "correct_answer": "python manage.py collectstatic"
        },
         "theory":"Go back to your dashbord to complete your test"
    },
    "analysis_basics": {
        "q1": {
            "question": "What is the first step in data analysis?",
            "options": [
                "Define the problem",
                "Collect data",
                "Clean data"
            ],
            "correct_answer": "Define the problem"
        },
        "q2": {
            "question": "Which of these is NOT a common data type in analysis?",
            "options": [
                "Nominal",
                "Ordinal",
                "Fractional"
            ],
            "correct_answer": "Fractional"
        },
        "q3": {
            "question": "What does EDA stand for in data analysis?",
            "options": [
                "Exploratory Data Analysis",
                "Extended Data Assessment",
                "Evaluative Data Analytics"
            ],
            "correct_answer": "Exploratory Data Analysis"
        },
        "q4": {
            "question": "Which measure describes the spread of data?",
            "options": [
                "Standard deviation",
                "Mean",
                "Median"
            ],
            "correct_answer": "Standard deviation"
        },
        "q5": {
            "question": "What is the purpose of data cleaning?",
            "options": [
                "Remove inconsistencies and errors",
                "Make data smaller",
                "Encrypt sensitive information"
            ],
            "correct_answer": "Remove inconsistencies and errors"
        },
        "q6": {
            "question": "Which visualization shows relationships between two variables?",
            "options": [
                "Scatter plot",
                "Pie chart",
                "Histogram"
            ],
            "correct_answer": "Scatter plot"
        },
        "q7": {
            "question": "What does SQL stand for?",
            "options": [
                "Structured Query Language",
                "Standard Query Logic",
                "System Query Language"
            ],
            "correct_answer": "Structured Query Language"
        },
        "q8": {
            "question": "Which of these is NOT a measure of central tendency?",
            "options": [
                "Range",
                "Mean",
                "Mode"
            ],
            "correct_answer": "Range"
        },
        "q9": {
            "question": "What is the purpose of normalization in data analysis?",
            "options": [
                "Scale data to common range",
                "Remove all outliers",
                "Convert text to numbers"
            ],
            "correct_answer": "Scale data to common range"
        },
        "q10": {
            "question": "Which type of analysis predicts future outcomes?",
            "options": [
                "Predictive analytics",
                "Descriptive analytics",
                "Diagnostic analytics"
            ],
            "correct_answer": "Predictive analytics"
        },
        "q11": {
            "question": "What is the purpose of a correlation coefficient?",
            "options": [
                "Measure strength of relationship between variables",
                "Count number of data points",
                "Calculate average values"
            ],
            "correct_answer": "Measure strength of relationship between variables"
        },
        "q12": {
            "question": "Which tool is commonly used for data visualization?",
            "options": [
                "Tableau",
                "MySQL",
                "SAS"
            ],
            "correct_answer": "Tableau"
        },
        "q13": {
            "question": "What is the purpose of sampling in data analysis?",
            "options": [
                "Analyze subset of population",
                "Increase data size",
                "Remove duplicate records"
            ],
            "correct_answer": "Analyze subset of population"
        },
        "q14": {
            "question": "Which of these is a categorical data type?",
            "options": [
                "Gender",
                "Age",
                "Income"
            ],
            "correct_answer": "Gender"
        },
        "q15": {
            "question": "What does a histogram visualize?",
            "options": [
                "Distribution of numerical data",
                "Relationship between variables",
                "Parts of a whole"
            ],
            "correct_answer": "Distribution of numerical data"
        },
        "q16": {
            "question": "Which statistical test compares means of two groups?",
            "options": [
                "t-test",
                "ANOVA",
                "Chi-square"
            ],
            "correct_answer": "t-test"
        },
        "q17": {
            "question": "What is the purpose of outlier detection?",
            "options": [
                "Identify unusual data points",
                "Find most common values",
                "Calculate averages"
            ],
            "correct_answer": "Identify unusual data points"
        },
        "q18": {
            "question": "Which programming language is most used for data analysis?",
            "options": [
                "Python",
                "Java",
                "C++"
            ],
            "correct_answer": "Python"
        },
        "q19": {
            "question": "What is the purpose of pivot tables?",
            "options": [
                "Summarize and analyze data",
                "Store raw data",
                "Clean messy data"
            ],
            "correct_answer": "Summarize and analyze data"
        },
        "q20": {
            "question": "Which of these is a continuous variable?",
            "options": [
                "Temperature",
                "Number of children",
                "Zip code"
            ],
            "correct_answer": "Temperature"
        },
        "q21": {
            "question": "What is the purpose of A/B testing?",
            "options": [
                "Compare two versions of something",
                "Test for data normality",
                "Analyze time series data"
            ],
            "correct_answer": "Compare two versions of something"
        },
        "q22": {
            "question": "Which library is commonly used for data analysis in Python?",
            "options": [
                "Pandas",
                "Django",
                "TensorFlow"
            ],
            "correct_answer": "Pandas"
        },
        "q23": {
            "question": "What is the purpose of confidence intervals?",
            "options": [
                "Estimate range for population parameter",
                "Measure data accuracy",
                "Count number of records"
            ],
            "correct_answer": "Estimate range for population parameter"
        },
        "q24": {
            "question": "Which of these is NOT a data quality issue?",
            "options": [
                "Normal distribution",
                "Missing values",
                "Inconsistent formatting"
            ],
            "correct_answer": "Normal distribution"
        },
        "q25": {
            "question": "What is the purpose of regression analysis?",
            "options": [
                "Model relationship between variables",
                "Classify data into categories",
                "Cluster similar data points"
            ],
            "correct_answer": "Model relationship between variables"
        },
        "q26": {
            "question": "Which visualization shows parts of a whole?",
            "options": [
                "Pie chart",
                "Line graph",
                "Box plot"
            ],
            "correct_answer": "Pie chart"
        },
        "q27": {
            "question": "What is the purpose of data wrangling?",
            "options": [
                "Transform raw data into usable format",
                "Create data visualizations",
                "Build statistical models"
            ],
            "correct_answer": "Transform raw data into usable format"
        },
        "q28": {
            "question": "Which of these is a discrete variable?",
            "options": [
                "Number of customers",
                "Height",
                "Weight"
            ],
            "correct_answer": "Number of customers"
        },
        "q29": {
            "question": "What is the purpose of clustering in data analysis?",
            "options": [
                "Group similar data points",
                "Predict future values",
                "Test hypotheses"
            ],
            "correct_answer": "Group similar data points"
        },
        "q30": {
            "question": "Which statistical concept describes the 'middle' value?",
            "options": [
                "Median",
                "Mean",
                "Mode"
            ],
            "correct_answer": "Median"
        },
        "q31": {
            "question": "What is the purpose of time series analysis?",
            "options": [
                "Analyze data points ordered in time",
                "Compare different groups",
                "Test for correlations"
            ],
            "correct_answer": "Analyze data points ordered in time"
        },
        "q32": {
            "question": "Which of these is NOT a common data visualization?",
            "options": [
                "SQL query",
                "Bar chart",
                "Heatmap"
            ],
            "correct_answer": "SQL query"
        },
        "q33": {
            "question": "What is the purpose of feature engineering?",
            "options": [
                "Create better input variables for models",
                "Design UI for dashboards",
                "Clean database tables"
            ],
            "correct_answer": "Create better input variables for models"
        },
        "q34": {
            "question": "Which Python library is used for numerical computations?",
            "options": [
                "NumPy",
                "Matplotlib",
                "Scikit-learn"
            ],
            "correct_answer": "NumPy"
        },
        "q35": {
            "question": "What is the purpose of a box plot?",
            "options": [
                "Show distribution and outliers",
                "Display trends over time",
                "Compare categories"
            ],
            "correct_answer": "Show distribution and outliers"
        },
        "q36": {
            "question": "Which of these is a qualitative data type?",
            "options": [
                "Customer satisfaction rating",
                "Annual revenue",
                "Product weight"
            ],
            "correct_answer": "Customer satisfaction rating"
        },
        "q37": {
            "question": "What is the purpose of principal component analysis (PCA)?",
            "options": [
                "Reduce dimensionality of data",
                "Increase data accuracy",
                "Clean missing values"
            ],
            "correct_answer": "Reduce dimensionality of data"
        },
        "q38": {
            "question": "Which statistical test compares proportions?",
            "options": [
                "Chi-square test",
                "t-test",
                "ANOVA"
            ],
            "correct_answer": "Chi-square test"
        },
        "q39": {
            "question": "What is the purpose of data imputation?",
            "options": [
                "Handle missing values",
                "Remove outliers",
                "Normalize data"
            ],
            "correct_answer": "Handle missing values"
        },
        "q40": {
            "question": "Which of these is NOT a common data storage format?",
            "options": [
                "JPEG",
                "CSV",
                "JSON"
            ],
            "correct_answer": "JPEG"
        },
        "q41": {
            "question": "What is the purpose of a confusion matrix?",
            "options": [
                "Evaluate classification model performance",
                "Store relational data",
                "Visualize correlations"
            ],
            "correct_answer": "Evaluate classification model performance"
        },
        "q42": {
            "question": "Which Python library is used for machine learning?",
            "options": [
                "Scikit-learn",
                "Pandas",
                "Seaborn"
            ],
            "correct_answer": "Scikit-learn"
        },
        "q43": {
            "question": "What is the purpose of natural language processing (NLP)?",
            "options": [
                "Analyze and understand human language",
                "Process numerical data",
                "Create data visualizations"
            ],
            "correct_answer": "Analyze and understand human language"
        },
        "q44": {
            "question": "Which of these is a measure of model accuracy?",
            "options": [
                "R-squared",
                "P-value",
                "Standard deviation"
            ],
            "correct_answer": "R-squared"
        },
        "q45": {
            "question": "What is the purpose of cross-validation?",
            "options": [
                "Assess model performance on unseen data",
                "Clean training data",
                "Select features for modeling"
            ],
            "correct_answer": "Assess model performance on unseen data"
        },
        "q46": {
            "question": "Which visualization shows changes over time?",
            "options": [
                "Line chart",
                "Scatter plot",
                "Bar chart"
            ],
            "correct_answer": "Line chart"
        },
        "q47": {
            "question": "What is the purpose of a decision tree?",
            "options": [
                "Model decisions and possible outcomes",
                "Store hierarchical data",
                "Visualize database schema"
            ],
            "correct_answer": "Model decisions and possible outcomes"
        },
        "q48": {
            "question": "Which of these is NOT a common data preprocessing step?",
            "options": [
                "Building dashboards",
                "Handling missing values",
                "Feature scaling"
            ],
            "correct_answer": "Building dashboards"
        },
        "q49": {
            "question": "What is the purpose of the K-means algorithm?",
            "options": [
                "Cluster similar data points",
                "Classify data into categories",
                "Predict continuous values"
            ],
            "correct_answer": "Cluster similar data points"
        },
        "q50": {
            "question": "Which Python library is used for data visualization?",
            "options": [
                "Matplotlib",
                "NumPy",
                "TensorFlow"
            ],
            "correct_answer": "Matplotlib"
        }, "theory":"Go back to your dashbord to complete your test"
    },
    "ui_ux_principles": {
        "q1": {
            "question": "What does UI stand for?",
            "options": [
                "User Interface",
                "User Interaction",
                "Universal Interface"
            ],
            "correct_answer": "User Interface"
        },
        "q2": {
            "question": "What is the primary goal of UX design?",
            "options": [
                "Create meaningful user experiences",
                "Make interfaces visually appealing",
                "Implement complex features"
            ],
            "correct_answer": "Create meaningful user experiences"
        },
        "q3": {
            "question": "Which principle suggests that elements close together are perceived as related?",
            "options": [
                "Proximity",
                "Similarity",
                "Continuity"
            ],
            "correct_answer": "Proximity"
        },
        "q4": {
            "question": "What is the purpose of wireframing in UI/UX design?",
            "options": [
                "Create basic layout and structure",
                "Add colors and branding",
                "Implement functionality"
            ],
            "correct_answer": "Create basic layout and structure"
        },
        "q5": {
            "question": "Which of these is NOT a common UI design pattern?",
            "options": [
                "Database schema",
                "Hamburger menu",
                "Card layout"
            ],
            "correct_answer": "Database schema"
        },
        "q6": {
            "question": "What is the recommended maximum number of colors in a color palette?",
            "options": [
                "3-5",
                "7-10",
                "12-15"
            ],
            "correct_answer": "3-5"
        },
        "q7": {
            "question": "What does Fitts' Law relate to in UI design?",
            "options": [
                "Time to reach a target",
                "Color contrast",
                "Information hierarchy"
            ],
            "correct_answer": "Time to reach a target"
        },
        "q8": {
            "question": "Which UX research method involves observing users in their natural environment?",
            "options": [
                "Contextual inquiry",
                "Survey",
                "A/B testing"
            ],
            "correct_answer": "Contextual inquiry"
        },
        "q9": {
            "question": "What is the purpose of white space in design?",
            "options": [
                "Improve readability and focus",
                "Reduce file size",
                "Make designs look minimalist"
            ],
            "correct_answer": "Improve readability and focus"
        },
        "q10": {
            "question": "Which principle suggests users prefer simple, familiar interfaces?",
            "options": [
                "Jakob's Law",
                "Hick's Law",
                "Miller's Law"
            ],
            "correct_answer": "Jakob's Law"
        },
        "q11": {
            "question": "What is the recommended minimum contrast ratio for normal text?",
            "options": [
                "4.5:1",
                "3:1",
                "2:1"
            ],
            "correct_answer": "4.5:1"
        },
        "q12": {
            "question": "Which UX deliverable shows user flows through a system?",
            "options": [
                "User journey map",
                "Mood board",
                "Style guide"
            ],
            "correct_answer": "User journey map"
        },
        "q13": {
            "question": "What is the purpose of a design system?",
            "options": [
                "Maintain consistency across products",
                "Create unique designs for each page",
                "Automate coding"
            ],
            "correct_answer": "Maintain consistency across products"
        },
        "q14": {
            "question": "Which of these is NOT a common UI component?",
            "options": [
                "SQL query",
                "Dropdown menu",
                "Radio button"
            ],
            "correct_answer": "SQL query"
        },
        "q15": {
            "question": "What does 'above the fold' refer to in web design?",
            "options": [
                "Content visible without scrolling",
                "Header section",
                "Navigation menu"
            ],
            "correct_answer": "Content visible without scrolling"
        },
        "q16": {
            "question": "Which UX method involves creating simplified representations of users?",
            "options": [
                "Personas",
                "Wireframes",
                "Prototypes"
            ],
            "correct_answer": "Personas"
        },
        "q17": {
            "question": "What is the purpose of microinteractions?",
            "options": [
                "Provide feedback for user actions",
                "Speed up page loading",
                "Reduce server requests"
            ],
            "correct_answer": "Provide feedback for user actions"
        },
        "q18": {
            "question": "Which principle suggests that users remember the first and last items in a series?",
            "options": [
                "Serial position effect",
                "Von Restorff effect",
                "Halo effect"
            ],
            "correct_answer": "Serial position effect"
        },
        "q19": {
            "question": "What is the recommended minimum touch target size for mobile?",
            "options": [
                "48x48 pixels",
                "24x24 pixels",
                "72x72 pixels"
            ],
            "correct_answer": "48x48 pixels"
        },
        "q20": {
            "question": "Which UX research method provides quantitative data?",
            "options": [
                "Surveys",
                "Interviews",
                "Usability testing"
            ],
            "correct_answer": "Surveys"
        },
        "q21": {
            "question": "What is the purpose of information architecture?",
            "options": [
                "Organize and structure content",
                "Design visual elements",
                "Write code for interfaces"
            ],
            "correct_answer": "Organize and structure content"
        },
        "q22": {
            "question": "Which design principle suggests limiting choices to reduce decision time?",
            "options": [
                "Hick's Law",
                "Fitts' Law",
                "Gestalt Principles"
            ],
            "correct_answer": "Hick's Law"
        },
        "q23": {
            "question": "What is the purpose of a usability test?",
            "options": [
                "Evaluate how easily users can complete tasks",
                "Measure page load speed",
                "Test color contrast"
            ],
            "correct_answer": "Evaluate how easily users can complete tasks"
        },
        "q24": {
            "question": "Which of these is NOT a common UI design tool?",
            "options": [
                "MySQL",
                "Figma",
                "Sketch"
            ],
            "correct_answer": "MySQL"
        },
        "q25": {
            "question": "What is the purpose of responsive design?",
            "options": [
                "Adapt layouts to different screen sizes",
                "Make designs load faster",
                "Reduce development time"
            ],
            "correct_answer": "Adapt layouts to different screen sizes"
        },
        "q26": {
            "question": "Which UX technique involves creating quick, low-fidelity designs?",
            "options": [
                "Paper prototyping",
                "High-fidelity mockups",
                "Design systems"
            ],
            "correct_answer": "Paper prototyping"
        },
        "q27": {
            "question": "What is the recommended line length for comfortable reading?",
            "options": [
                "50-75 characters",
                "30-40 characters",
                "90-100 characters"
            ],
            "correct_answer": "50-75 characters"
        },
        "q28": {
            "question": "Which principle suggests that complex tasks should be broken into smaller steps?",
            "options": [
                "Progressive disclosure",
                "Consistency",
                "Affordance"
            ],
            "correct_answer": "Progressive disclosure"
        },
        "q29": {
            "question": "What is the purpose of A/B testing in UX?",
            "options": [
                "Compare two design versions",
                "Test accessibility",
                "Evaluate color schemes"
            ],
            "correct_answer": "Compare two design versions"
        },
        "q30": {
            "question": "Which of these is NOT a Gestalt principle?",
            "options": [
                "Fibonacci sequence",
                "Similarity",
                "Closure"
            ],
            "correct_answer": "Fibonacci sequence"
        },
        "q31": {
            "question": "What is the purpose of a style guide?",
            "options": [
                "Maintain visual consistency",
                "Document user flows",
                "Store research data"
            ],
            "correct_answer": "Maintain visual consistency"
        },
        "q32": {
            "question": "Which UX method involves creating a visual representation of the user's experience?",
            "options": [
                "Experience map",
                "Wireframe",
                "Mood board"
            ],
            "correct_answer": "Experience map"
        },
        "q33": {
            "question": "What is the recommended font size for body text on desktop?",
            "options": [
                "16px",
                "12px",
                "20px"
            ],
            "correct_answer": "16px"
        },
        "q34": {
            "question": "Which principle suggests that elements should visually indicate their functionality?",
            "options": [
                "Affordance",
                "Consistency",
                "Hierarchy"
            ],
            "correct_answer": "Affordance"
        }, 
        "q35": {
            "question": "What does 'F-shaped pattern' refer to in UX?",
            "options": [
                "How users scan content on webpages",
                "A specific navigation menu layout",
                "An error message format"
            ],
            "correct_answer": "How users scan content on webpages"
        },
        "q36": {
            "question": "Which tool is best for creating low-fidelity prototypes?",
            "options": [
                "Paper and pencil",
                "Adobe Photoshop",
                "After Effects"
            ],
            "correct_answer": "Paper and pencil"
        },
        "q37": {
            "question": "What is the ideal maximum number of items in a navigation menu?",
            "options": [
                "7",
                "12",
                "5"
            ],
            "correct_answer": "7"
        },
        "q38": {
            "question": "Which UX law states that users prefer systems that match their real-world experience?",
            "options": [
                "Jakob's Law",
                "Fitts's Law",
                "Miller's Law"
            ],
            "correct_answer": "Jakob's Law"
        },
        "q39": {
            "question": "What does 'above the fold' refer to in web design?",
            "options": [
                "Content visible without scrolling",
                "The header section",
                "Navigation menu"
            ],
            "correct_answer": "Content visible without scrolling"
        },
        "q40": {
            "question": "Which research method provides quantitative data about user behavior?",
            "options": [
                "A/B testing",
                "User interviews",
                "Card sorting"
            ],
            "correct_answer": "A/B testing"
        },
        "q41": {
            "question": "What is the purpose of a heatmap in UX analysis?",
            "options": [
                "To visualize user interaction patterns",
                "To check website loading speed",
                "To test color contrast"
            ],
            "correct_answer": "To visualize user interaction patterns"
        },
        "q42": {
            "question": "Which accessibility guideline ensures text is readable against its background?",
            "options": [
                "Color contrast ratio",
                "Font size requirement",
                "Alt text provision"
            ],
            "correct_answer": "Color contrast ratio"
        },
        "q43": {
            "question": "What does 'IA' stand for in UX design?",
            "options": [
                "Information Architecture",
                "Interaction Analysis",
                "Interface Assessment"
            ],
            "correct_answer": "Information Architecture"
        },
        "q44": {
            "question": "Which design element is most crucial for mobile interfaces?",
            "options": [
                "Touch target size",
                "Animation complexity",
                "Color variety"
            ],
            "correct_answer": "Touch target size"
        },
        "q45": {
            "question": "What is the primary goal of a usability test?",
            "options": [
                "Identify pain points in user interaction",
                "Validate visual design choices",
                "Test website loading speed"
            ],
            "correct_answer": "Identify pain points in user interaction"
        },
        "q46": {
            "question": "Which principle suggests designing for the most common user scenarios first?",
            "options": [
                "Pareto Principle (80/20 rule)",
                "Hick's Law",
                "Von Restorff Effect"
            ],
            "correct_answer": "Pareto Principle (80/20 rule)"
        },
        "q47": {
            "question": "What does 'CTA' stand for in UX terminology?",
            "options": [
                "Call To Action",
                "Click Through Analysis",
                "Content Testing Area"
            ],
            "correct_answer": "Call To Action"
        },
        "q48": {
            "question": "Which UX deliverable shows the relationship between different screens?",
            "options": [
                "User flow diagram",
                "Style guide",
                "Persona document"
            ],
            "correct_answer": "User flow diagram"
        },
        "q49": {
            "question": "What is the recommended line length for optimal readability?",
            "options": [
                "50-60 characters",
                "30-40 characters",
                "70-80 characters"
            ],
            "correct_answer": "50-60 characters"
        },
        "q50": {
            "question": "Which UX method involves observing users in their natural environment?",
            "options": [
                "Contextual inquiry",
                "Guerrilla testing",
                "Desirability study"
            ],
            "correct_answer": "Contextual inquiry"
        }, "theory":"Go back to your dashbord to complete your test"
        },
    "flask": {
        "q1": {
            "question": "Which decorator is used to route URLs in Flask?",
            "options": [
                "@app.route",
                "@url.route",
                "@flask.route"
            ],
            "correct_answer": "@app.route"
        },
        "q2": {
            "question": "What is the default port for Flask's development server?",
            "options": [
                "5000",
                "8000",
                "3000"
            ],
            "correct_answer": "5000"
        },
        "q3": {
            "question": "Which template engine comes built-in with Flask?",
            "options": [
                "Jinja2",
                "Django Templates",
                "Mako"
            ],
            "correct_answer": "Jinja2"
        },
        "q4": {
            "question": "How do you access query parameters in Flask?",
            "options": [
                "request.args",
                "request.params",
                "request.query"
            ],
            "correct_answer": "request.args"
        },
        "q5": {
            "question": "What is the correct way to create a Flask application instance?",
            "options": [
                "app = Flask(__name__)",
                "app = Flask()",
                "app = Flask(main)"
            ],
            "correct_answer": "app = Flask(__name__)"
        },
        "q6": {
            "question": "Which function is used to send a JSON response in Flask?",
            "options": [
                "jsonify()",
                "to_json()",
                "response.json()"
            ],
            "correct_answer": "jsonify()"
        },
        "q7": {
            "question": "How do you enable debug mode in Flask?",
            "options": [
                "app.debug = True",
                "app.run(debug=True)",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q8": {
            "question": "Where should static files be placed in a Flask project?",
            "options": [
                "/static folder",
                "/assets folder",
                "/public folder"
            ],
            "correct_answer": "/static folder"
        },
        "q9": {
            "question": "What is WTForms used for in Flask?",
            "options": [
                "Handling web forms",
                "Database migrations",
                "URL routing"
            ],
            "correct_answer": "Handling web forms"
        },
        "q10": {
            "question": "Which command installs Flask using pip?",
            "options": [
                "pip install flask",
                "pip install Flask",
                "Both are correct"
            ],
            "correct_answer": "Both are correct"
        },
        "q11": {
            "question": "How do you access form data in Flask?",
            "options": [
                "request.form",
                "request.data",
                "request.input"
            ],
            "correct_answer": "request.form"
        },
        "q12": {
            "question": "What is Flask-SQLAlchemy used for?",
            "options": [
                "Database integration",
                "Form validation",
                "Authentication"
            ],
            "correct_answer": "Database integration"
        },
        "q13": {
            "question": "Which function redirects to a URL in Flask?",
            "options": [
                "redirect()",
                "url_redirect()",
                "go_to()"
            ],
            "correct_answer": "redirect()"
        },
        "q14": {
            "question": "What is the purpose of Flask-Migrate?",
            "options": [
                "Database migrations",
                "URL routing",
                "Template rendering"
            ],
            "correct_answer": "Database migrations"
        },
        "q15": {
            "question": "How do you set a secret key in Flask?",
            "options": [
                "app.secret_key = 'your_key'",
                "app.config['SECRET_KEY'] = 'your_key'",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q16": {
            "question": "Which object holds the client session data in Flask?",
            "options": [
                "session",
                "cookies",
                "storage"
            ],
            "correct_answer": "session"
        },
        "q17": {
            "question": "What does Flask-Login provide?",
            "options": [
                "User session management",
                "Database ORM",
                "Form validation"
            ],
            "correct_answer": "User session management"
        },
        "q18": {
            "question": "How do you serve static files in Flask templates?",
            "options": [
                "url_for('static', filename='file.css')",
                "/static/file.css",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q19": {
            "question": "What is Blueprint used for in Flask?",
            "options": [
                "Organizing large applications",
                "Database modeling",
                "Form validation"
            ],
            "correct_answer": "Organizing large applications"
        },
        "q20": {
            "question": "Which HTTP method is typically used for login forms?",
            "options": [
                "POST",
                "GET",
                "PUT"
            ],
            "correct_answer": "POST"
        },
        "q21": {
            "question": "How do you access uploaded files in Flask?",
            "options": [
                "request.files",
                "request.uploads",
                "request.data"
            ],
            "correct_answer": "request.files"
        },
        "q22": {
            "question": "What is the purpose of Flask-WTF?",
            "options": [
                "Form handling with CSRF protection",
                "Database migrations",
                "URL routing"
            ],
            "correct_answer": "Form handling with CSRF protection"
        },
        "q23": {
            "question": "Which template block is required for inheritance in Jinja2?",
            "options": [
                "{% block content %}",
                "{% extends %}",
                "{% include %}"
            ],
            "correct_answer": "{% block content %}"
        },
        "q24": {
            "question": "How do you abort a request with a 404 error in Flask?",
            "options": [
                "abort(404)",
                "error(404)",
                "return 404"
            ],
            "correct_answer": "abort(404)"
        },
        "q25": {
            "question": "What is the purpose of Flask-CORS?",
            "options": [
                "Handle Cross-Origin Resource Sharing",
                "Database relationships",
                "Form validation"
            ],
            "correct_answer": "Handle Cross-Origin Resource Sharing"
        },
        "q26": {
            "question": "How do you access cookies in Flask?",
            "options": [
                "request.cookies",
                "request.get_cookie()",
                "request.sessions"
            ],
            "correct_answer": "request.cookies"
        },
        "q27": {
            "question": "Which function renders a template in Flask?",
            "options": [
                "render_template()",
                "template()",
                "render()"
            ],
            "correct_answer": "render_template()"
        },
        "q28": {
            "question": "What is the purpose of Flask-Mail?",
            "options": [
                "Sending emails",
                "Database migrations",
                "Form handling"
            ],
            "correct_answer": "Sending emails"
        },
        "q29": {
            "question": "How do you make a variable available to all templates in Flask?",
            "options": [
                "Using context processors",
                "Global variables",
                "Template inheritance"
            ],
            "correct_answer": "Using context processors"
        },
        "q30": {
            "question": "Which command runs a Flask application?",
            "options": [
                "flask run",
                "python app.py",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q31": {
            "question": "What is the purpose of Flask-RESTful?",
            "options": [
                "Building REST APIs",
                "Database ORM",
                "Form validation"
            ],
            "correct_answer": "Building REST APIs"
        },
        "q32": {
            "question": "How do you handle 404 errors in Flask?",
            "options": [
                "@app.errorhandler(404)",
                "@app.route(404)",
                "@app.catch(404)"
            ],
            "correct_answer": "@app.errorhandler(404)"
        },
        "q33": {
            "question": "What is Flask-Babel used for?",
            "options": [
                "Internationalization (i18n)",
                "Database migrations",
                "Authentication"
            ],
            "correct_answer": "Internationalization (i18n)"
        },
        "q34": {
            "question": "How do you get the current route in Flask?",
            "options": [
                "request.path",
                "request.route",
                "request.url"
            ],
            "correct_answer": "request.path"
        },
        "q35": {
            "question": "What is the purpose of Flask-SocketIO?",
            "options": [
                "Real-time communication",
                "Database ORM",
                "Form validation"
            ],
            "correct_answer": "Real-time communication"
        },
        "q36": {
            "question": "How do you set cookies in Flask?",
            "options": [
                "response.set_cookie()",
                "request.set_cookie()",
                "flask.cookie()"
            ],
            "correct_answer": "response.set_cookie()"
        },
        "q37": {
            "question": "What is the purpose of Flask-Caching?",
            "options": [
                "Caching responses",
                "Database indexing",
                "Form validation"
            ],
            "correct_answer": "Caching responses"
        },
        "q38": {
            "question": "How do you access environment variables in Flask?",
            "options": [
                "os.environ",
                "flask.env",
                "app.config"
            ],
            "correct_answer": "os.environ"
        },
        "q39": {
            "question": "What is the purpose of Flask-Testing?",
            "options": [
                "Unit testing Flask apps",
                "Database seeding",
                "Form generation"
            ],
            "correct_answer": "Unit testing Flask apps"
        },
        "q40": {
            "question": "How do you create a URL for a route in templates?",
            "options": [
                "url_for()",
                "route_to()",
                "link_to()"
            ],
            "correct_answer": "url_for()"
        },
        "q41": {
            "question": "What is the purpose of Flask-Admin?",
            "options": [
                "Create admin interfaces",
                "Handle authentication",
                "Manage databases"
            ],
            "correct_answer": "Create admin interfaces"
        },
        "q42": {
            "question": "How do you handle POST requests in Flask?",
            "options": [
                "@app.route('/', methods=['POST'])",
                "@app.post('/')",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q43": {
            "question": "What is the purpose of Flask-Security?",
            "options": [
                "Authentication and authorization",
                "Database migrations",
                "Form styling"
            ],
            "correct_answer": "Authentication and authorization"
        },
        "q44": {
            "question": "How do you access the request body in Flask?",
            "options": [
                "request.get_json()",
                "request.body",
                "request.data"
            ],
            "correct_answer": "request.get_json()"
        },
        "q45": {
            "question": "What is the purpose of Flask-Marshmallow?",
            "options": [
                "Object serialization",
                "Database ORM",
                "Template rendering"
            ],
            "correct_answer": "Object serialization"
        },
        "q46": {
            "question": "How do you handle file uploads in Flask?",
            "options": [
                "enctype='multipart/form-data' in form",
                "request.upload_file()",
                "flask.upload()"
            ],
            "correct_answer": "enctype='multipart/form-data' in form"
        },
        "q47": {
            "question": "What is the purpose of Flask-Principal?",
            "options": [
                "Identity and access control",
                "Database migrations",
                "Form validation"
            ],
            "correct_answer": "Identity and access control"
        },
        "q48": {
            "question": "How do you create a database model in Flask-SQLAlchemy?",
            "options": [
                "class User(db.Model)",
                "class User(Model)",
                "db.define_model()"
            ],
            "correct_answer": "class User(db.Model)"
        },
        "q49": {
            "question": "What is the purpose of Flask-Script?",
            "options": [
                "Creating CLI commands",
                "Database migrations",
                "Form handling"
            ],
            "correct_answer": "Creating CLI commands"
        },
        "q50": {
            "question": "How do you implement authentication in Flask?",
            "options": [
                "Flask-Login extension",
                "Manual session handling",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        }, "theory":"Go back to your dashbord to complete your test"
    },
    "ui_ux_basics": {
        "q1": {
            "question": "What is the primary goal of a user persona?",
            "options": [
                "To serve as a decorative element in a presentation",
                "To create a fictional, detailed representation of a key user segment",
                "To list the technical specifications of the product"
            ],
            "correct_answer": "To create a fictional, detailed representation of a key user segment"
        },
        "q2": {
            "question": "In the double diamond design process, what does the first diamond represent?",
            "options": [
                "Design and Deliver",
                "Discover and Define",
                "Develop and Deploy"
            ],
            "correct_answer": "Discover and Define"
        },
        "q3": {
            "question": "What does 'information architecture' primarily deal with?",
            "options": [
                "The visual styling of interface elements",
                "The structural design of information spaces",
                "The marketing copy on a website"
            ],
            "correct_answer": "The structural design of information spaces"
        },
        "q4": {
            "question": "A user journey map is used to:",
            "options": [
                "Visualize the process a user goes through to accomplish a goal",
                "Create a sitemap for the developer",
                "Track the user's physical location via GPS"
            ],
            "correct_answer": "Visualize the process a user goes through to accomplish a goal"
        },
        "q5": {
            "question": "What is a 'heuristic evaluation'?",
            "options": [
                "A usability testing method with real users",
                "An expert review based on established usability principles",
                "A method for evaluating the color scheme of a website"
            ],
            "correct_answer": "An expert review based on established usability principles"
        },
        "q6": {
            "question": "Which of these is NOT one of Nielsen's 10 Usability Heuristics?",
            "options": [
                "Aesthetic and minimalist design",
                "Consistency and standards",
                "Fast loading time"
            ],
            "correct_answer": "Fast loading time"
        },
        "q7": {
            "question": "What is the purpose of a wireframe?",
            "options": [
                "To define the high-fidelity visual design",
                "To establish the basic structure and layout of a page",
                "To write the final HTML and CSS code"
            ],
            "correct_answer": "To establish the basic structure and layout of a page"
        },
        "q8": {
            "question": "'Accessibility' in design ensures that products:",
            "options": [
                "Are usable by as many people as possible, including those with disabilities",
                "Can be accessed from any country in the world",
                "Load quickly on expensive, high-speed internet connections"
            ],
            "correct_answer": "Are usable by as many people as possible, including those with disabilities"
        },
        "q9": {
            "question": "What is a key characteristic of a good 'call to action' (CTA) button?",
            "options": [
                "It should be subtle and blend in with the background",
                "It should use actionable, clear language and have strong visual contrast",
                "It should always be colored green"
            ],
            "correct_answer": "It should use actionable, clear language and have strong visual contrast"
        },
        "q10": {
            "question": "What does 'UX' stand for?",
            "options": [
                "User Experience",
                "User Example",
                "Universal X-factor"
            ],
            "correct_answer": "User Experience"
        },
        "q11": {
            "question": "What is the difference between UI and UX?",
            "options": [
                "UI is about the visual elements; UX is about the overall feel and experience",
                "They are the same thing and the terms are interchangeable",
                "UI is for mobile apps, UX is for websites"
            ],
            "correct_answer": "UI is about the visual elements; UX is about the overall feel and experience"
        },
        "q12": {
            "question": "What is a 'pain point' in UX design?",
            "options": [
                "A point in a user interview where the participant gets frustrated",
                "A specific problem that users experience in their journey",
                "A technical bug that causes the app to crash"
            ],
            "correct_answer": "A specific problem that users experience in their journey"
        },
        "q13": {
            "question": "What is the 'fold' in web design?",
            "options": [
                "A crease in the paper prototype",
                "The part of the webpage visible without scrolling",
                "The footer of the website"
            ],
            "correct_answer": "The part of the webpage visible without scrolling"
        },
        "q14": {
            "question": "What is the purpose of A/B testing?",
            "options": [
                "To compare two versions of a design to see which performs better",
                "To test if both the 'A' and 'B' keys on the keyboard work",
                "To grade the quality of a design on an A-F scale"
            ],
            "correct_answer": "To compare two versions of a design to see which performs better"
        },
        "q15": {
            "question": "What is a 'modal' in interface design?",
            "options": [
                "A type of navigation menu",
                "A window that appears on top of the main content, requiring user interaction",
                "The default state of a toggle switch"
            ],
            "correct_answer": "A window that appears on top of the main content, requiring user interaction"
        },
        "q16": {
            "question": "What does 'responsive design' mean?",
            "options": [
                "Designs that load very quickly",
                "Designs that adapt to different screen sizes and devices",
                "Designs that answer user questions"
            ],
            "correct_answer": "Designs that adapt to different screen sizes and devices"
        },
        "q17": {
            "question": "What is a 'design system'?",
            "options": [
                "A single style guide for colors",
                "A complete set of standards, components, and tools for building a cohesive product",
                "The software used to design interfaces, like Figma"
            ],
            "correct_answer": "A complete set of standards, components, and tools for building a cohesive product"
        },
        "q18": {
            "question": "What is the 'F-shaped pattern' in reading?",
            "options": [
                "A pattern that describes how users scan text-heavy content on the web",
                "The shape of a optimal user flow chart",
                "A pattern for arranging icons on a screen"
            ],
            "correct_answer": "A pattern that describes how users scan text-heavy content on the web"
        },
        "q19": {
            "question": "What is the primary benefit of using a grid system in UI design?",
            "options": [
                "It makes the code easier to write",
                "It creates consistency, alignment, and hierarchy across layouts",
                "It automatically makes the design responsive"
            ],
            "correct_answer": "It creates consistency, alignment, and hierarchy across layouts"
        },
        "q20": {
            "question": "What is 'cognitive load' in UX?",
            "options": [
                "The amount of time it takes for a page to load",
                "The amount of mental processing power required to use a product",
                "The weight of a smartphone"
            ],
            "correct_answer": "The amount of mental processing power required to use a product"
        },
        "q21": {
            "question": "What is a 'prototype'?",
            "options": [
                "The final, shipped version of a product",
                "A preliminary model used to test and validate ideas",
                "The first sketch of an idea on paper"
            ],
            "correct_answer": "A preliminary model used to test and validate ideas"
        },
        "q22": {
            "question": "What is the key purpose of a 'usability test'?",
            "options": [
                "To prove that the design is perfect",
                "To find problems and areas of improvement by observing real users",
                "To test the internet speed of the testing facility"
            ],
            "correct_answer": "To find problems and areas of improvement by observing real users"
        },
        "q23": {
            "question": "What does 'above the fold' content typically refer to?",
            "options": [
                "The least important content on a page",
                "The most important content that users see first without scrolling",
                "The legal disclaimer in the footer"
            ],
            "correct_answer": "The most important content that users see first without scrolling"
        },
        "q24": {
            "question": "What is a 'hamburger menu'?",
            "options": [
                "A menu for ordering food within an app",
                "An icon consisting of three horizontal lines that represents a hidden navigation menu",
                "A menu that expands vertically"
            ],
            "correct_answer": "An icon consisting of three horizontal lines that represents a hidden navigation menu"
        },
        "q25": {
            "question": "What is 'visual hierarchy'?",
            "options": [
                "The order in which the human eye perceives what it sees",
                "A list of managers in the design department",
                "The use of expensive, high-quality images"
            ],
            "correct_answer": "The order in which the human eye perceives what it sees"
        },
        "q26": {
            "question": "What is a 'card' in UI design?",
            "options": [
                "A payment method like a credit card",
                "A container for a single idea or piece of content, often with a shadow",
                "A thank you note from the user"
            ],
            "correct_answer": "A container for a single idea or piece of content, often with a shadow"
        },
        "q27": {
            "question": "What is the 'gestalt principle of proximity'?",
            "options": [
                "Elements that are close together are perceived as related",
                "Elements that look similar are perceived as related",
                "The whole is greater than the sum of its parts"
            ],
            "correct_answer": "Elements that are close together are perceived as related"
        },
        "q28": {
            "question": "What is a 'user flow'?",
            "options": [
                "The path a user takes through a product to complete a task",
                "How smoothly a user can scroll on a page",
                "A chart showing website traffic statistics"
            ],
            "correct_answer": "The path a user takes through a product to complete a task"
        },
        "q29": {
            "question": "What is 'microcopy'?",
            "options": [
                "Extremely small font size",
                "The tiny, helpful pieces of text in a UI (like button labels, error messages)",
                "A short copyright statement"
            ],
            "correct_answer": "The tiny, helpful pieces of text in a UI (like button labels, error messages)"
        },
        "q30": {
            "question": "What is the 'paradox of choice' in UX?",
            "options": [
                "Users love having as many options as possible",
                "Too many choices can lead to anxiety and decision paralysis",
                "The choice between a hamburger and a kebab menu"
            ],
            "correct_answer": "Too many choices can lead to anxiety and decision paralysis"
        },
        "q31": {
            "question": "What is an 'affordance' in design?",
            "options": [
                "The cost of designing a product",
                "A property of an object that suggests how it can be used (e.g., a button looks pressable)",
                "A special offer for new users"
            ],
            "correct_answer": "A property of an object that suggests how it can be used (e.g., a button looks pressable)"
        },
        "q32": {
            "question": "What is a 'heatmap' in user research?",
            "options": [
                "A graphical representation of data where values are depicted by color",
                "A map showing the temperature of a user's device",
                "A chart of the most popular times users visit a site"
            ],
            "correct_answer": "A graphical representation of data where values are depicted by color"
        },
        "q33": {
            "question": "What does 'MVP' stand for in product development?",
            "options": [
                "Most Valuable Player",
                "Minimum Viable Product",
                "Maximum Value Proposition"
            ],
            "correct_answer": "Minimum Viable Product"
        },
        "q34": {
            "question": "What is 'brand identity' in relation to UI?",
            "options": [
                "The legal documents of a company",
                "The visual aspects that represent a company (logo, colors, typography)",
                "The login and password system"
            ],
            "correct_answer": "The visual aspects that represent a company (logo, colors, typography)"
        },
        "q35": {
            "question": "What is the 'accessibility' guideline WCAG?",
            "options": [
                "Web Content Accessibility Guidelines",
                "Worldwide Consortium for Accessible Graphics",
                "Wireframe and Component Approval Guide"
            ],
            "correct_answer": "Web Content Accessibility Guidelines"
        },
        "q36": {
            "question": "What is a 'pain point' in user experience?",
            "options": [
                "A specific problem that users face",
                "A point where the user feels physical pain",
                "A point in a user interview where the researcher feels stuck"
            ],
            "correct_answer": "A specific problem that users face"
        },
        "q37": {
            "question": "What is 'onboarding' in a digital product?",
            "options": [
                "The process of getting new users familiar with a product",
                "The process of shutting down a server",
                "A board that shows all current projects"
            ],
            "correct_answer": "The process of getting new users familiar with a product"
        },
        "q38": {
            "question": "What is 'usability'?",
            "options": [
                "The quality of being able to be used",
                "The measure of how easy a product is to use",
                "The ability of a user to access the internet"
            ],
            "correct_answer": "The measure of how easy a product is to use"
        },
        "q39": {
            "question": "What is a 'style guide'?",
            "options": [
                "A fashion magazine for designers",
                "A set of standards for the writing and design of documents",
                "A guide on how to behave in the office"
            ],
            "correct_answer": "A set of standards for the writing and design of documents"
        },
        "q40": {
            "question": "What is the purpose of 'negative space' (or white space) in design?",
            "options": [
                "To waste empty space on the screen",
                "To give the design room to breathe, improving readability and focus",
                "To indicate an error or missing element"
            ],
            "correct_answer": "To give the design room to breathe, improving readability and focus"
        }
    },
    "ui_ux_figma": {
        "q1": {
            "question": "What is the primary function of the 'Auto Layout' feature in Figma?",
            "options": [
                "To automatically choose colors for your design",
                "To add motion and animation to frames",
                "To create components that resize dynamically based on their content"
            ],
            "correct_answer": "To create components that resize dynamically based on their content"
        },
        "q2": {
            "question": "What are 'Components' in Figma?",
            "options": [
                "The individual parts of your computer that run Figma",
                "Reusable elements (like buttons, icons) that form a design system",
                "The different tools available in the toolbar"
            ],
            "correct_answer": "Reusable elements (like buttons, icons) that form a design system"
        },
        "q3": {
            "question": "What is the difference between a 'Main Component' and an 'Instance'?",
            "options": [
                "The Main Component is the original; Instances are linked copies that inherit changes",
                "The Main Component is for development; the Instance is for design",
                "There is no difference, they are the same thing"
            ],
            "correct_answer": "The Main Component is the original; Instances are linked copies that inherit changes"
        },
        "q4": {
            "question": "How do you create a multi-step prototype in Figma?",
            "options": [
                "By using the 'Steps' plugin",
                "By connecting frames together in the Prototype tab using interactions",
                "You can only prototype one frame at a time"
            ],
            "correct_answer": "By connecting frames together in the Prototype tab using interactions"
        },
        "q5": {
            "question": "What is the 'Constraints' tool used for?",
            "options": [
                "To limit the number of frames in a file",
                "To define how an object responds as you resize its parent frame",
                "To restrict collaborators from editing your work"
            ],
            "correct_answer": "To define how an object responds as you resize its parent frame"
        },
        "q6": {
            "question": "What is a 'Frame' in Figma?",
            "options": [
                "A decorative border around an object",
                "A container that represents a screen or UI element (like a phone screen)",
                "A single step in a prototype animation"
            ],
            "correct_answer": "A container that represents a screen or UI element (like a phone screen)"
        },
        "q7": {
            "question": "How can you share your Figma design with a developer for code inspection?",
            "options": [
                "By downloading the file and emailing it to them",
                "By using the 'Share' button and granting 'can view' access, then using the 'Inspect' tab",
                "Developers cannot see Figma files"
            ],
            "correct_answer": "By using the 'Share' button and granting 'can view' access, then using the 'Inspect' tab"
        },
        "q8": {
            "question": "What is the purpose of 'Libraries' in Figma?",
            "options": [
                "To store books and reading materials for research",
                "To publish and subscribe to Team or Public Components and Styles",
                "To save links to inspirational websites"
            ],
            "correct_answer": "To publish and subscribe to Team or Public Components and Styles"
        },
        "q9": {
            "question": "What does the 'Slice' tool do?",
            "options": [
                "Cuts vector paths into segments",
                "Allows you to export specific parts of your canvas",
                "Splits a frame into multiple columns"
            ],
            "correct_answer": "Allows you to export specific parts of your canvas"
        },
        "q10": {
            "question": "How do you create a color 'Style'?",
            "options": [
                "By simply applying a color to any shape",
                "By selecting a object with a color, then clicking the '+' in the Style section of the Design panel",
                "Colors cannot be saved as styles in Figma"
            ],
            "correct_answer": "By selecting a object with a color, then clicking the '+' in the Style section of the Design panel"
        },
        "q11": {
            "question": "What is 'Smart Selection'?",
            "options": [
                "A feature that automatically chooses the best tool for you",
                "A feature that helps evenly distribute and align objects when you drag them",
                "A smart way to select hidden layers"
            ],
            "correct_answer": "A feature that helps evenly distribute and align objects when you drag them"
        },
        "q12": {
            "question": "What key modifier do you hold to draw a perfect shape (e.g., a square or circle)?",
            "options": [
                "Shift",
                "Alt/Option",
                "Ctrl/Cmd"
            ],
            "correct_answer": "Shift"
        },
        "q13": {
            "question": "What is the 'Vector Network' model in Figma?",
            "options": [
                "A plugin for creating network diagrams",
                "A more flexible way to create vector shapes by connecting points in any direction",
                "The internet connection required to use Figma"
            ],
            "correct_answer": "A more flexible way to create vector shapes by connecting points in any direction"
        },
        "q14": {
            "question": "How do you create a 'Mask'?",
            "options": [
                "Right-click a shape and select 'Use as Mask'",
                "Apply a black color with low opacity",
                "Use the masking tape tool in the plugins menu"
            ],
            "correct_answer": "Right-click a shape and select 'Use as Mask'"
        },
        "q15": {
            "question": "What is the keyboard shortcut to group selected layers?",
            "options": [
                "Ctrl/Cmd + G",
                "Ctrl/Cmd + C",
                "Ctrl/Cmd + Shift + G"
            ],
            "correct_answer": "Ctrl/Cmd + G"
        },
        "q16": {
            "question": "What does the 'Text' tool allow you to do?",
            "options": [
                "Only add headlines",
                "Add, edit, and style text layers",
                "Extract text from images"
            ],
            "correct_answer": "Add, edit, and style text layers"
        },
        "q17": {
            "question": "How can you quickly duplicate a selected object?",
            "options": [
                "Ctrl/Cmd + D",
                "Ctrl/Cmd + C, then Ctrl/Cmd + V",
                "Right-click and select 'Duplicate'"
            ],
            "correct_answer": "Ctrl/Cmd + D"
        },
        "q18": {
            "question": "What is the 'Plugins' menu used for?",
            "options": [
                "To connect electrical appliances to Figma",
                "To add extra functionality and automate tasks within Figma",
                "To insert audio files into a prototype"
            ],
            "correct_answer": "To add extra functionality and automate tasks within Figma"
        },
        "q19": {
            "question": "What does the 'Align Horizontal Centers' button do?",
            "options": [
                "Aligns selected objects to the center of the canvas",
                "Aligns the selected objects along their horizontal center points",
                "Distributes the objects horizontally with equal space between them"
            ],
            "correct_answer": "Aligns the selected objects along their horizontal center points"
        },
        "q20": {
            "question": "What is the 'Outline Stroke' function used for?",
            "options": [
                "To draw an outline around a selected object",
                "To convert a stroke into a filled vector shape",
                "To hide the stroke of a shape"
            ],
            "correct_answer": "To convert a stroke into a filled vector shape"
        },
        "q21": {
            "question": "How do you create a comment on a design for collaboration?",
            "options": [
                "By using the 'Text' tool and typing in red",
                "By pressing 'C' or selecting the comment tool and clicking on the canvas",
                "By sending an email to your team"
            ],
            "correct_answer": "By pressing 'C' or selecting the comment tool and clicking on the canvas"
        },
        "q22": {
            "question": "What is the purpose of 'Team Libraries'?",
            "options": [
                "To allow a team to share and use components and styles across files",
                "To store links to team members' personal portfolios",
                "To manage bookmarks for design inspiration"
            ],
            "correct_answer": "To allow a team to share and use components and styles across files"
        },
        "q23": {
            "question": "What does the 'Flatten' function do to a vector shape?",
            "options": [
                "Makes it a 2D object",
                "Merges all selected vectors into a single composite shape",
                "Reduces its opacity"
            ],
            "correct_answer": "Merges all selected vectors into a single composite shape"
        },
        "q24": {
            "question": "How can you view your prototype in presentation mode?",
            "options": [
                "By clicking the 'Play' button in the top-right corner",
                "By exporting all frames as PDF",
                "By using the 'Preview' plugin"
            ],
            "correct_answer": "By clicking the 'Play' button in the top-right corner"
        },
        "q25": {
            "question": "What is a 'Boolean Operation'?",
            "options": [
                "A mathematical operation for calculating layout",
                "A way to combine shapes using Union, Subtract, Intersect, or Exclude",
                "A true/false setting for layer visibility"
            ],
            "correct_answer": "A way to combine shapes using Union, Subtract, Intersect, or Exclude"
        },
        "q26": {
            "question": "What keyboard shortcut hides the UI to show just the canvas?",
            "options": [
                "Tab",
                "Shift + E",
                "Ctrl/Cmd + \\"
            ],
            "correct_answer": "Ctrl/Cmd + \\"
        },
        "q27": {
            "question": "What does 'Overflow Behavior' control in an Auto Layout frame?",
            "options": [
                "How the content behaves when it exceeds the frame's bounds (e.g., scrolling)",
                "How colors overflow into other frames",
                "How errors are handled in the prototype"
            ],
            "correct_answer": "How the content behaves when it exceeds the frame's bounds (e.g., scrolling)"
        },
        "q28": {
            "question": "How do you create a gradient in Figma?",
            "options": [
                "By using the Gradient plugin",
                "By selecting 'Linear Gradient' or 'Radial Gradient' in the Fill type dropdown",
                "Gradients are not supported in Figma"
            ],
            "correct_answer": "By selecting 'Linear Gradient' or 'Radial Gradient' in the Fill type dropdown"
        },
        "q29": {
            "question": "What is the 'Inspect' tab used for?",
            "options": [
                "To check for design errors and typos",
                "To provide developers with information about styles, dimensions, and assets",
                "To look at layer properties"
            ],
            "correct_answer": "To provide developers with information about styles, dimensions, and assets"
        },
        "q30": {
            "question": "How do you make a component 'Main Component'?",
            "options": [
                "Right-click the component and select 'Main Component'",
                "It becomes main automatically when created",
                "By dragging it to the top of the layers panel"
            ],
            "correct_answer": "Right-click the component and select 'Main Component'"
        },
        "q31": {
            "question": "What does the 'Scale' tool (K) allow you to do?",
            "options": [
                "Weigh the design in kilograms",
                "Resize objects proportionally or non-proportionally",
                "Add a rating scale to your prototype"
            ],
            "correct_answer": "Resize objects proportionally or non-proportionally"
        },
        "q32": {
            "question": "What is a 'Section' in Figma?",
            "options": [
                "A part of the user interface",
                "A colored layer for organizing and grouping areas of your canvas",
                "A divider in a navigation menu"
            ],
            "correct_answer": "A colored layer for organizing and grouping areas of your canvas"
        },
        "q33": {
            "question": "How can you quickly zoom to fit the entire canvas?",
            "options": [
                "Shift + 1",
                "Ctrl/Cmd + 0",
                "Double-click the hand tool"
            ],
            "correct_answer": "Shift + 1"
        },
        "q34": {
            "question": "What is 'Prototype Starting Point'?",
            "options": [
                "The first frame you ever created",
                "The frame that opens when someone clicks the 'Play' button to view the prototype",
                "A plugin for starting new projects"
            ],
            "correct_answer": "The frame that opens when someone clicks the 'Play' button to view the prototype"
        },
        "q35": {
            "question": "How do you create a hover effect in a Figma prototype?",
            "options": [
                "Use the 'Hover' interaction trigger when connecting a frame",
                "Duplicate the element and change its style for the hover state",
                "Hover effects are not possible in Figma prototypes"
            ],
            "correct_answer": "Use the 'Hover' interaction trigger when connecting a frame"
        },
        "q36": {
            "question": "What does 'Fill' represent in Figma?",
            "options": [
                "The interior color or gradient of a shape",
                "The text color inside a text box",
                "The background color of the entire frame"
            ],
            "correct_answer": "The interior color or gradient of a shape"
        },
        "q37": {
            "question": "What is the 'Layout Grid' used for?",
            "options": [
                "To add a decorative grid pattern to your design",
                "To help align and structure content within a frame (e.g., columns, rows)",
                "To create a spreadsheet inside Figma"
            ],
            "correct_answer": "To help align and structure content within a frame (e.g., columns, rows)"
        },
        "q38": {
            "question": "How do you rename a layer?",
            "options": [
                "Double-click the layer name in the layers panel",
                "You cannot rename layers in Figma",
                "Right-click the layer and select 'Rame'"
            ],
            "correct_answer": "Double-click the layer name in the layers panel"
        },
        "q39": {
            "question": "What is the keyboard shortcut for the 'Pen' tool?",
            "options": [
                "P",
                "V",
                "B"
            ],
            "correct_answer": "P"
        },
        "q40": {
            "question": "What does 'Multi-edit' mode allow you to do?",
            "options": [
                "Edit multiple files at the same time",
                "Change properties of multiple selected layers at once",
                "Have multiple people edit the same frame simultaneously"
            ],
            "correct_answer": "Change properties of multiple selected layers at once"
        }
    },
    "python_for_everyone": {
        "q1": {
            "question": "Which keyword is used to define a function in Python?",
            "options": [
                "def",
                "function",
                "func"
            ],
            "correct_answer": "def"
        },
        "q2": {
            "question": "What is the output of 'Hello' + 'World' in Python?",
            "options": [
                "HelloWorld",
                "Hello World",
                "Hello+World"
            ],
            "correct_answer": "HelloWorld"
        },
        "q3": {
            "question": "Which of these is NOT a Python data type?",
            "options": [
                "array",
                "tuple",
                "list"
            ],
            "correct_answer": "array"
        },
        "q4": {
            "question": "How do you start a for loop in Python?",
            "options": [
                "for x in y:",
                "for (x in y)",
                "for x in range(y)"
            ],
            "correct_answer": "for x in y:"
        },
        "q5": {
            "question": "What does the len() function do?",
            "options": [
                "Returns length of an object",
                "Converts to lowercase",
                "Rounds a number"
            ],
            "correct_answer": "Returns length of an object"
        },
        "q6": {
            "question": "Which operator is used for exponentiation?",
            "options": [
                "**",
                "^",
                "^^"
            ],
            "correct_answer": "**"
        },
        "q7": {
            "question": "How do you open a file for reading in Python?",
            "options": [
                "open('file.txt', 'r')",
                "open('file.txt', 'read')",
                "open('file.txt')"
            ],
            "correct_answer": "open('file.txt', 'r')"
        },
        "q8": {
            "question": "What is the correct way to create a list?",
            "options": [
                "[1, 2, 3]",
                "{1, 2, 3}",
                "(1, 2, 3)"
            ],
            "correct_answer": "[1, 2, 3]"
        },
        "q9": {
            "question": "Which method removes an item from a list by value?",
            "options": [
                "remove()",
                "pop()",
                "delete()"
            ],
            "correct_answer": "remove()"
        },
        "q10": {
            "question": "What does the range() function return?",
            "options": [
                "A sequence of numbers",
                "A random number",
                "A list of numbers"
            ],
            "correct_answer": "A sequence of numbers"
        },
        "q11": {
            "question": "How do you check if a key exists in a dictionary?",
            "options": [
                "'key' in dict",
                "dict.has_key('key')",
                "dict.exists('key')"
            ],
            "correct_answer": "'key' in dict"
        },
        "q12": {
            "question": "What is the output of bool('False')?",
            "options": [
                "True",
                "False",
                "Error"
            ],
            "correct_answer": "True"
        },
        "q13": {
            "question": "Which module is used for working with dates?",
            "options": [
                "datetime",
                "time",
                "calendar"
            ],
            "correct_answer": "datetime"
        },
        "q14": {
            "question": "How do you create a virtual environment?",
            "options": [
                "python -m venv env",
                "virtualenv env",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q15": {
            "question": "What does the __init__ method do?",
            "options": [
                "Initializes a new object",
                "Imports modules",
                "Terminates a program"
            ],
            "correct_answer": "Initializes a new object"
        },
        "q16": {
            "question": "Which symbol is used for comments?",
            "options": [
                "#",
                "//",
                "/*"
            ],
            "correct_answer": "#"
        },
        "q17": {
            "question": "What does pip stand for?",
            "options": [
                "Pip Installs Packages",
                "Python Installer Program",
                "Package Index Provider"
            ],
            "correct_answer": "Pip Installs Packages"
        },
        "q18": {
            "question": "How do you handle exceptions in Python?",
            "options": [
                "try-except block",
                "try-catch block",
                "error-handle block"
            ],
            "correct_answer": "try-except block"
        },
        "q19": {
            "question": "What is the output of 3 * 'abc'?",
            "options": [
                "abcabcabc",
                "aaa bbb ccc",
                "Error"
            ],
            "correct_answer": "abcabcabc"
        },
        "q20": {
            "question": "Which function converts a string to lowercase?",
            "options": [
                "lower()",
                "toLower()",
                "casefold()"
            ],
            "correct_answer": "lower()"
        },
        "q21": {
            "question": "What is the correct way to import a module?",
            "options": [
                "import module",
                "from module import *",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q22": {
            "question": "How do you reverse a list?",
            "options": [
                "list.reverse()",
                "reversed(list)",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q23": {
            "question": "What does the pass statement do?",
            "options": [
                "Nothing (a placeholder)",
                "Passes arguments",
                "Skips to next iteration"
            ],
            "correct_answer": "Nothing (a placeholder)"
        },
        "q24": {
            "question": "Which is NOT a Python built-in function?",
            "options": [
                "repeat()",
                "len()",
                "print()"
            ],
            "correct_answer": "repeat()"
        },
        "q25": {
            "question": "How do you create a dictionary?",
            "options": [
                "{'key': 'value'}",
                "dict(key='value')",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q26": {
            "question": "What is the output of 'Hello'[1:]?",
            "options": [
                "ello",
                "H",
                "Hell"
            ],
            "correct_answer": "ello"
        },
        "q27": {
            "question": "Which is used to iterate over both index and value?",
            "options": [
                "enumerate()",
                "range()",
                "items()"
            ],
            "correct_answer": "enumerate()"
        },
        "q28": {
            "question": "What does the join() method do?",
            "options": [
                "Concatenates strings",
                "Joins lists",
                "Combines dictionaries"
            ],
            "correct_answer": "Concatenates strings"
        },
        "q29": {
            "question": "How do you create a set?",
            "options": [
                "{1, 2, 3}",
                "set([1, 2, 3])",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q30": {
            "question": "What is the correct way to write a lambda function?",
            "options": [
                "lambda x: x*2",
                "function(x): return x*2",
                "def lambda(x): return x*2"
            ],
            "correct_answer": "lambda x: x*2"
        },
        "q31": {
            "question": "Which module is used for regular expressions?",
            "options": [
                "re",
                "regex",
                "pyre"
            ],
            "correct_answer": "re"
        },
        "q32": {
            "question": "How do you sort a list in place?",
            "options": [
                "list.sort()",
                "sorted(list)",
                "sort(list)"
            ],
            "correct_answer": "list.sort()"
        },
        "q33": {
            "question": "What does the zip() function do?",
            "options": [
                "Combines iterables",
                "Compresses files",
                "Creates backups"
            ],
            "correct_answer": "Combines iterables"
        },
        "q34": {
            "question": "Which is NOT a Python collection type?",
            "options": [
                "array",
                "deque",
                "list"
            ],
            "correct_answer": "array"
        },
        "q35": {
            "question": "How do you check an object's type?",
            "options": [
                "type()",
                "typeof()",
                "instance()"
            ],
            "correct_answer": "type()"
        },
        "q36": {
            "question": "What does the strip() method do?",
            "options": [
                "Removes whitespace",
                "Splits strings",
                "Joins strings"
            ],
            "correct_answer": "Removes whitespace"
        },
        "q37": {
            "question": "Which is used for string formatting?",
            "options": [
                "f-strings",
                ".format()",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q38": {
            "question": "How do you read a CSV file?",
            "options": [
                "csv.reader()",
                "pandas.read_csv()",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q39": {
            "question": "What is the output of bool([])?",
            "options": [
                "False",
                "True",
                "Error"
            ],
            "correct_answer": "False"
        },
        "q40": {
            "question": "Which is NOT a valid variable name?",
            "options": [
                "2var",
                "_var",
                "var2"
            ],
            "correct_answer": "2var"
        }
    },
    "python_basics": {
        "q1": {
            "question": "Which keyword is used to define a function in Python?",
            "options": [
                "def",
                "function",
                "func"
            ],
            "correct_answer": "def"
        },
        "q2": {
            "question": "What is the output of 'Hello' + 'World' in Python?",
            "options": [
                "HelloWorld",
                "Hello World",
                "Hello+World"
            ],
            "correct_answer": "HelloWorld"
        },
        "q3": {
            "question": "Which of these is NOT a Python data type?",
            "options": [
                "array",
                "tuple",
                "list"
            ],
            "correct_answer": "array"
        },
        "q4": {
            "question": "How do you start a for loop in Python?",
            "options": [
                "for x in y:",
                "for (x in y)",
                "for x in range(y)"
            ],
            "correct_answer": "for x in y:"
        },
        "q5": {
            "question": "What does the len() function do?",
            "options": [
                "Returns length of an object",
                "Converts to lowercase",
                "Rounds a number"
            ],
            "correct_answer": "Returns length of an object"
        },
        "q6": {
            "question": "Which operator is used for exponentiation?",
            "options": [
                "**",
                "^",
                "^^"
            ],
            "correct_answer": "**"
        },
        "q7": {
            "question": "How do you open a file for reading in Python?",
            "options": [
                "open('file.txt', 'r')",
                "open('file.txt', 'read')",
                "open('file.txt')"
            ],
            "correct_answer": "open('file.txt', 'r')"
        },
        "q8": {
            "question": "What is the correct way to create a list?",
            "options": [
                "[1, 2, 3]",
                "{1, 2, 3}",
                "(1, 2, 3)"
            ],
            "correct_answer": "[1, 2, 3]"
        },
        "q9": {
            "question": "Which method removes an item from a list by value?",
            "options": [
                "remove()",
                "pop()",
                "delete()"
            ],
            "correct_answer": "remove()"
        },
        "q10": {
            "question": "What does the range() function return?",
            "options": [
                "A sequence of numbers",
                "A random number",
                "A list of numbers"
            ],
            "correct_answer": "A sequence of numbers"
        },
        "q11": {
            "question": "How do you check if a key exists in a dictionary?",
            "options": [
                "'key' in dict",
                "dict.has_key('key')",
                "dict.exists('key')"
            ],
            "correct_answer": "'key' in dict"
        },
        "q12": {
            "question": "What is the output of bool('False')?",
            "options": [
                "True",
                "False",
                "Error"
            ],
            "correct_answer": "True"
        },
        "q13": {
            "question": "Which module is used for working with dates?",
            "options": [
                "datetime",
                "time",
                "calendar"
            ],
            "correct_answer": "datetime"
        },
        "q14": {
            "question": "How do you create a virtual environment?",
            "options": [
                "python -m venv env",
                "virtualenv env",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q15": {
            "question": "What does the __init__ method do?",
            "options": [
                "Initializes a new object",
                "Imports modules",
                "Terminates a program"
            ],
            "correct_answer": "Initializes a new object"
        },
        "q16": {
            "question": "Which symbol is used for comments?",
            "options": [
                "#",
                "//",
                "/*"
            ],
            "correct_answer": "#"
        },
        "q17": {
            "question": "What does pip stand for?",
            "options": [
                "Pip Installs Packages",
                "Python Installer Program",
                "Package Index Provider"
            ],
            "correct_answer": "Pip Installs Packages"
        },
        "q18": {
            "question": "How do you handle exceptions in Python?",
            "options": [
                "try-except block",
                "try-catch block",
                "error-handle block"
            ],
            "correct_answer": "try-except block"
        },
        "q19": {
            "question": "What is the output of 3 * 'abc'?",
            "options": [
                "abcabcabc",
                "aaa bbb ccc",
                "Error"
            ],
            "correct_answer": "abcabcabc"
        },
        "q20": {
            "question": "Which function converts a string to lowercase?",
            "options": [
                "lower()",
                "toLower()",
                "casefold()"
            ],
            "correct_answer": "lower()"
        },
        "q21": {
            "question": "What is the correct way to import a module?",
            "options": [
                "import module",
                "from module import *",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q22": {
            "question": "How do you reverse a list?",
            "options": [
                "list.reverse()",
                "reversed(list)",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q23": {
            "question": "What does the pass statement do?",
            "options": [
                "Nothing (a placeholder)",
                "Passes arguments",
                "Skips to next iteration"
            ],
            "correct_answer": "Nothing (a placeholder)"
        },
        "q24": {
            "question": "Which is NOT a Python built-in function?",
            "options": [
                "repeat()",
                "len()",
                "print()"
            ],
            "correct_answer": "repeat()"
        },
        "q25": {
            "question": "How do you create a dictionary?",
            "options": [
                "{'key': 'value'}",
                "dict(key='value')",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q26": {
            "question": "What is the output of 'Hello'[1:]?",
            "options": [
                "ello",
                "H",
                "Hell"
            ],
            "correct_answer": "ello"
        },
        "q27": {
            "question": "Which is used to iterate over both index and value?",
            "options": [
                "enumerate()",
                "range()",
                "items()"
            ],
            "correct_answer": "enumerate()"
        },
        "q28": {
            "question": "What does the join() method do?",
            "options": [
                "Concatenates strings",
                "Joins lists",
                "Combines dictionaries"
            ],
            "correct_answer": "Concatenates strings"
        },
        "q29": {
            "question": "How do you create a set?",
            "options": [
                "{1, 2, 3}",
                "set([1, 2, 3])",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q30": {
            "question": "What is the correct way to write a lambda function?",
            "options": [
                "lambda x: x*2",
                "function(x): return x*2",
                "def lambda(x): return x*2"
            ],
            "correct_answer": "lambda x: x*2"
        },
        "q31": {
            "question": "Which module is used for regular expressions?",
            "options": [
                "re",
                "regex",
                "pyre"
            ],
            "correct_answer": "re"
        },
        "q32": {
            "question": "How do you sort a list in place?",
            "options": [
                "list.sort()",
                "sorted(list)",
                "sort(list)"
            ],
            "correct_answer": "list.sort()"
        },
        "q33": {
            "question": "What does the zip() function do?",
            "options": [
                "Combines iterables",
                "Compresses files",
                "Creates backups"
            ],
            "correct_answer": "Combines iterables"
        },
        "q34": {
            "question": "Which is NOT a Python collection type?",
            "options": [
                "array",
                "deque",
                "list"
            ],
            "correct_answer": "array"
        },
        "q35": {
            "question": "How do you check an object's type?",
            "options": [
                "type()",
                "typeof()",
                "instance()"
            ],
            "correct_answer": "type()"
        },
        "q36": {
            "question": "What does the strip() method do?",
            "options": [
                "Removes whitespace",
                "Splits strings",
                "Joins strings"
            ],
            "correct_answer": "Removes whitespace"
        },
        "q37": {
            "question": "Which is used for string formatting?",
            "options": [
                "f-strings",
                ".format()",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q38": {
            "question": "How do you read a CSV file?",
            "options": [
                "csv.reader()",
                "pandas.read_csv()",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        },
        "q39": {
            "question": "What is the output of bool([])?",
            "options": [
                "False",
                "True",
                "Error"
            ],
            "correct_answer": "False"
        },
        "q40": {
            "question": "Which is NOT a valid variable name?",
            "options": [
                "2var",
                "_var",
                "var2"
            ],
            "correct_answer": "2var"
        },
        "q41": {
            "question": "How do you make a private attribute?",
            "options": [
                "__attribute",
                "private attribute",
                "#attribute"
            ],
            "correct_answer": "__attribute"
        },
        "q42": {
            "question": "What does the super() function do?",
            "options": [
                "Calls parent class methods",
                "Creates super variables",
                "Imports all modules"
            ],
            "correct_answer": "Calls parent class methods"
        },
        "q43": {
            "question": "Which is used for documentation strings?",
            "options": [
                "triple quotes",
                "# comments",
                "// docstrings"
            ],
            "correct_answer": "triple quotes"
        },
        "q44": {
            "question": "How do you create a generator?",
            "options": [
                "Using yield",
                "Using return",
                "Using generate"
            ],
            "correct_answer": "Using yield"
        },
        "q45": {
            "question": "What is the output of [x**2 for x in range(3)]?",
            "options": [
                "[0, 1, 4]",
                "[0, 1, 4, 9]",
                "[1, 4, 9]"
            ],
            "correct_answer": "[0, 1, 4]"
        },
        "q46": {
            "question": "Which is used for deep copying?",
            "options": [
                "copy.deepcopy()",
                "object.copy()",
                "duplicate()"
            ],
            "correct_answer": "copy.deepcopy()"
        },
        "q47": {
            "question": "How do you make a class inherit from another?",
            "options": [
                "class Child(Parent)",
                "class Child extends Parent",
                "class Child : Parent"
            ],
            "correct_answer": "class Child(Parent)"
        },
        "q48": {
            "question": "What does @staticmethod do?",
            "options": [
                "Defines a static method",
                "Marks a class as static",
                "Prevents modification"
            ],
            "correct_answer": "Defines a static method"
        },
        "q49": {
            "question": "Which is used for context managers?",
            "options": [
                "with statement",
                "manage statement",
                "context block"
            ],
            "correct_answer": "with statement"
        },
        "q50": {
            "question": "How do you check Python version?",
            "options": [
                "python --version",
                "import sys; sys.version",
                "Both of the above"
            ],
            "correct_answer": "Both of the above"
        }, "theory":"Go back to your dashbord to complete your test"
    }
   
}
    