Skip to content

Classroom Assignment

Under classroom, teacher can create assignment that can be published to students. Students can work on programming asignment and submit solution back to teacher for evaluation and grading.

Table of Contents

Add Assignment

To add an assignment, open the Classroom and click Add Assignment. Fill in the required fields (Title, Due Date, Content, Language) and optional settings (Test cases, Grading, Late submissions, Editor restrictions, SEB, access code, Sample Code Template). You can save as Draft to continue later or Save & Publish to make it available immediately.

For more details on all available assignment configuration options, see Assignment Settings.

Preview Assignment

Preview shows the assignment exactly as a student will see it. While creating or editing, click Preview to verify the problem statement, formatting and sample code. It can help to catch issues before publishing.

Edit Assignment

To change an assignment after creation, open the assignment from the Classroom (click its title). Update any field or setting, then Save.

Publish Assignment

Publishing makes the assignment visible to all enrolled students according to the assignment's availability and due-date settings.

  • Open the assignment and click Publish.
  • Use Publish when the assignment content and settings are final and saved.

Unpublish Assignment

Unpublish removes student visibility while keeping the assignment available to teachers for editing.

  • Open the assignment and click Unpublish.
  • Students will no longer see the assignment.
  • Use Unpublish to temporarily hide an assignment without deleting it.

Delete Assignment

Delete permanently removes the assignment from teacher and student views.

  • Click the Delete (trash) icon in the assignment list.
  • Warning: Deletion may permanently remove associated submissions, grades and resources—confirm before deleting.

Viewing Student Submissions

This section explains the three student lists and how to access them from an assignment.

Not Submitted Yet List

  • What it is: Students who have not uploaded or submitted any work for this assignment.
  • Access: Open the assignment page and click the Not Submitted Yet button below the assignment title.

Pending for Evaluation List

  • What it is: Students who have submitted but whose submissions are not yet reviewed/graded.
  • Access: Open the assignment page and click the Pending For Evaluation button below the assignment title.

Submission Done List

  • What it is: Students whose submission is reviewed and marked completed.
  • Access: Open the assignment page and click the Submission Done button below the assignment title.

Shift Due Dates of All Assignments Together

To shift all assignment due dates at once in a classroom, click the three dots in the assignment bar (right-corner) and choose Shift Dates.

You can shift due dates in two ways:

  • Fixed days: Add a fixed number of days to every assignment's due date.
  • Calendar pick: Choose new dates using the calendar picker.

Evaluate Submission

This describes the teacher workflow for reviewing a student's submission and the two possible outcomes: marking as done or rejecting for resubmission.

Review steps

  1. Open the classroom and click the Pending For Evaluation button below the assignment title.
  2. Open an individual student row to load the submission — the submission editor will render the student's code and show automatic test results (if any).
  3. Review the code, test outputs and any uploaded files.

Mark as Done

  • When the submission meets the requirements, click Mark as done.
  • Effect: the student is moved to the Submission Done list and the submission is recorded as completed.
  • After marking done you can optionally add a grade and feedback before or after marking.

Reject Submission (request resubmission)

  • If the submission has issues (failing tests, missing files, incorrect format, etc.), click Reject.
  • Effect: the submission is returned for resubmission — the student must correct the issues and submit again.
  • Always add clear feedback or comments when rejecting so the student knows what to fix.

View Student Report

Student Report shows a enrolled student’s performance summary across all assignments in the classroom.

  • What it shows:

    • List of all assignments with submission status (Not submitted / Pending / Done)
    • Marks/grades for each assignment
    • Submission timestamps
  • How to access:

    • Open the Classroom.
    • In the students enrolled row, find and click View All
    • The report page opens showing the student’s assignment list. click any assignment to see full submission details.

Export Assignment

Export assignment shares the assignment settings in two formats: JSON and PDF.

  • JSON: The assignment options/settings are saved in JSON format, which can be imported in any onlinegdb classroom.
  • PDF: The assignment details are exported as a PDF document.

Access: In the assignment list, click the Export icon. Two options appear: JSON and PDF — click the preferred option.

Import Assignment

Import Assignment allows you to bring assignment settings into your classroom in two ways: from an existing classroom or from a JSON file.

From existing classroom

  • Purpose: Import an assignment from another classroom (or the same classroom) within the logged-in user's account.
  • Access: In the Assignment bar click the Import Assignment icon, choose From Classroom, then select the assignment you want to import.

From JSON

  • Purpose: Import an assignment shared as a JSON file.
  • Access: In the Assignment bar click the Import Assignment icon, choose From JSON, select the JSON file, and open it to import the assignment settings.