Online Labs

Every lab practical, live in the browser

Online Labs turn each lab manual into practice students can run. Programs execute right in the page, output is checked against the manual, and a short quiz follows once the student has practised. No lab server, no installs.

lms.youruniversity.edu/courses/c-programming-lab/learn
C Programming Laboratory · Practical 2

Arithmetic Operations

C interpreter ready · 30/30 match
✓Study & run2Try it yourself3Check yourself
/* Practical 2 - arithmetic operations */ #include <stdio.h> int main(void) { int a = 27, b = 4; printf("Sum = %d\n", a + b); printf("Quotient = %d\n", a / b); printf("Remainder = %d\n", a % b); return 0; }
Your outputexit 0 · 4 ms
Sum       = 31
Quotient  = 6
Remainder = 3
Manual · page 10✓ matches
Sum       = 31
Quotient  = 6
Remainder = 3
Try it here

Five labs, one interface

These are working samples from real Online Labs. The web lab below is fully live: edit the code and watch the preview change.

Practical 2 · Arithmetic OperationsMatches the manual
1Study & run2Try it yourself3Check yourself
#include <stdio.h> int main(void) { int a = 27, b = 4; printf("Sum (a + b) = %d\n", a + b); printf("Difference (a - b) = %d\n", a - b); printf("Product (a * b) = %d\n", a * b); printf("Quotient (a / b) = %d\n", a / b); printf("Remainder (a %% b) = %d\n", a % b); return 0; }
Output · gcc 13 expected✓ 5/5 lines
Sum        (a + b) = 31
Difference (a - b) = 23
Product    (a * b) = 108
Quotient   (a / b) = 6
Remainder  (a % b) = 3

Try it yourself: change a and b to 50 and 7. Predict the quotient and remainder on paper, then run.

A guided flow

Study, try, then check

Each practical is one screen at a time, in three steps. The quiz stays locked until the student has practised, because the quiz should measure what they did.

1 · Study & runManual p. 9–12
printf("Sum = %d", a + b);
Sum = 31   ✓

Study and run

Read the practical in the manual, run the manual’s own program, step through it line by line and compare with the expected output.

2 · Try it yourselfIn progress

Change a and b to 50 and 7 and predict each result first.

Run and check

Try it yourself

The task from the manual, on its own screen. Run and check tells students what is still missing, and a model answer is one click away.

3 · Check yourself3 of 3
✓ 27 / 4 is 6 in C27 % 4 = ?

Check yourself

A three-question quiz that opens only after the student has practised, so it measures understanding and not guessing.

Example content

What students actually do

A few practicals from labs running today. Every lab follows its university’s manual, practical for practical.

C Programming · Practical 2Arithmetic OperationsStudents run the manual’s program, compare five results with the expected output on page 10, then change a and b to 50 and 7 and predict the quotient and remainder before running.
Data Structures · Practical 12Building a Singly Linked ListStep through createNode() and insertAtEnd() one statement at a time and watch each malloc’d node appear and link in the memory view.
DBMS (SQL) · Practical 11Joining Students with DepartmentsWrite an INNER JOIN in real SQLite, then switch to LEFT JOIN and see which unmatched student appears with a NULL department.
Blockchain · Practical 6Simulate Proof of WorkMine a block by hand, raise the difficulty, then mine 30 blocks and see why each extra leading zero multiplies the work.
Web Development · Practical 7A CSS Navigation Menu with HoverEdit the stylesheet and watch the live preview. The checker reads the page and confirms each requirement from the manual.
Python · Practical 3Operator Precedence in ActionEvaluate -2 ** 2 and 10 + 2 * 3 ** 2 step by step, then add brackets to change the order and confirm the new result.
Lab catalogue

315 practicals across 11 lab courses

Labs currently built for BCA and MCA programmes. New labs are built from your manual in weeks.

Lab courseProgrammePracticalsWhat runs in the page
C Programming LaboratoryBCA · Sem 130C interpreter in the page, checked against gcc 13 output
Data Structure LaboratoryBCA · Sem 330Step through arrays, pointers and malloc’d nodes
Object Oriented Programming using C++BCA · Sem 230Classes, inheritance and virtual functions, traced
Python Programming LaboratoryBCA · Sem 330Python 3 in the browser, including file I/O and Tkinter previews
Database Management System LaboratoryBCA · Sem 315Real SQLite running in the page
Advanced DBMS LaboratoryMCA · Sem 130SQL, PL/SQL walk-throughs and MongoDB queries
Web Application Development LaboratoryBCA · Sem 230HTML, CSS, JS and XML with a live preview and auto-checks
Web Technologies LaboratoriesMCA · Sem 130Front end plus a PHP lab interpreter
Advanced Java Programming LaboratoryMCA · Sem 230Threads, JDBC and servlets in trace mode
Blockchain Technology LaboratoryMCA · Sem 230Hashing, mining and smart contracts, simulated
Data Science LaboratoryBCA · Sem 130A spreadsheet formula engine for every practical
How Online Labs are built

From lab manual to live practice

Built from your lab manual

Every practical, sample program and expected output comes from the manual students already use, with page numbers on every screen.

Verified before students see it

Each program is run against the real toolchain (gcc, SQLite, Python 3) and the page only ships when every listing matches the manual.

Lives inside the course

The lab opens as a lecture in the LMS course, beside the lab manual and the practice questions. Students never leave the course.

Nothing to install or host

Code runs in the student’s browser. There is no lab server to maintain, no licences, and it works on a home laptop or a campus PC.

Progress students can see

A side menu shows every practical set and practical, marked not started, in progress or completed, with an overall progress bar.

Works on any screen

On phones the practical list becomes a drawer and programs stack above their output. Keyboard focus and reduced-motion settings are respected.

FAQ

Questions about Online Labs

Do students need to install anything?

No. Everything runs in the browser, including the C interpreter, SQLite and Python. Students can practise on a home laptop, a library PC or a phone.

Which languages and tools are covered?

C, C++, Python, SQL (SQLite), PL/SQL walkthroughs, MongoDB queries, Java (trace mode with SQLite for JDBC), HTML, CSS, JavaScript, XML, PHP (lab interpreter), blockchain simulations and spreadsheet formulas. Where a real engine cannot run in a browser, the page says so and simulates the behaviour clearly.

Can you build a lab from our own manual?

Yes. Send the lab manual. We build every practical, verify each program against the real toolchain and publish it into your course as a lecture. Most labs take a few weeks.

How does this fit with exams?

Online Labs are for practice. For graded practical exams, the Code Runner plugin runs student code in a secure sandbox with hidden test cases, inside a proctored exam.

Does the quiz count towards grades?

The built-in quiz is for self-checking. Graded quizzes and assignments sit beside the lab in the same course and feed the gradebook as usual.

Get started

Bring your lab manual to life

Send us one lab manual. We will show you the finished Online Lab running inside your own course.