CodeChum for Teachers
For TeachersFor Students
  • 🤷What is CodeChum?
  • 📚Available courses
  • 💸Pricing plans
  • ❓FAQs
  • Getting Started For
    • 📔Programming 1
      • ©️C
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
      • ➕C++
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
      • 🖥️C#
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
      • ☕Java
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
      • 🐍Python
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
    • 📘Programming 2
      • ©️C
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
      • ➕C++
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
      • 🖥️C#
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
        • Page
      • ☕Java
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
      • 🐍Python
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
    • 📗Data Structures
      • ©️C
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
      • ➕C++
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
      • 🖥️C#
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
      • ☕Java
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
      • 🐍Python
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
    • 📕OOP with GUI
      • ➕C++ (Without GUI Support)
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
      • 🖥️C# (With Windows Forms GUI Support)
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
      • ☕Java (With AWT and Swing GUI Support)
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
      • 🐍Python (With TKinter GUI Support)
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
    • 📙Basic Web Development
      • 🌐HTML/CSS/JS
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
    • 📓MySQL Fundamentals
      • 🐬MySQL
        • 1️⃣Sign up as Teacher
        • 2️⃣Create a class
        • 3️⃣Invite students to class
        • 4️⃣Give students an activity
          • ⚪How to create an activity
          • ⚪How students will answer this activity
        • 5️⃣Monitor students
        • 6️⃣Export grades
  • More Features you may want to explore
    • 🏠Classes Section
      • 👀How to view grades
      • 📔How to view lessons
      • 📣How to post announcements
    • 📃Activities Section
      • ✏️How to edit student's score
        • Other items
      • 📅How to reschedule/extend activities
      • ↩️How to allow your student to retake the activity
      • 🏅How to exempt your student from answering the activity
      • 👺How to check for potential cheating
    • 🖊️Items Section
      • ➕How to create an item
        • ➕How to create a Console-based item
        • ➕How to create a Questionnaire item
        • ➕How to create a GUI-based item
        • ➕How to create a Web-based item
        • ➕How to create MySQL database item
      • 👉How to use your item in an activity
    • 🤾‍♂️Playground Section
      • ⛳How to use the Playground
  • Advanced Guide
    • 📜View Certificates
    • 🏫LMS Integration
      • 1️⃣Initial setup (admin)
        • Canvas
        • Moodle
        • Blackboard
      • 2️⃣How to use (teacher)
        • 🔗Connect to LMS
        • 🧑‍🏫Link CodeChum class to LMS
        • 🧑‍🎓Invite students to LMS-linked class
        • 💯Sync grades to LMS
      • 3️⃣How to use (student)
        • 🧑‍🏫Join an LMS-linked class
          • a. Connect to LMS
          • b. Join via class code
      • ❓FAQs
  • Troubleshooting
    • 🚧How to report bugs/issues
  • Other Links
    • 🌐CodeChum Website
    • 🍎CodeChum Web App
Powered by GitBook
On this page
  • Introduction
  • Steps
  1. More Features you may want to explore
  2. Items Section
  3. How to create an item

How to create MySQL database item

PreviousHow to create a Web-based itemNextHow to use your item in an activity

Last updated 1 year ago

Introduction

A MySQL database item is a type of item in which your students have to code within CodeChum and submit them for automatic checking.

CodeChum already has tons of built-in mysql-based item that you are free to use, but if you'd like to make your own item to use in an activity in CodeChum, you can make your own!

Steps

To create a mysql-based item in CodeChum, follow these steps:

  1. Click on Item Bank. This will redirect you to a screen listing all items you have created within CodeChum.

  2. Look for the Create Item button and click it. This will open a big popup window to create your very own item.

  3. Select MySQL database as the item type.

  4. Provide an item name and a description on what the item is all about. Be as detailed as possible.

  5. Add test cases to check the solutions of your students. Tip: If you already have existing initialization queries in a .sql file, take advantage of our optional step by simply clicking the 'Convert database/table query' button. This feature allows you to seamlessly copy and paste your queries into the code editor. However, if you don't have one, just skip the optional steps and proceed to the next step, where you input your initialization queries manually.

  6. Once done, click Create Item. It should show a popup window informing that you have successfully created your own item!

And that's how to make MySQL database items in CodeChum!

🖊️
➕
➕