Student Management System

Medium Mini Projects & Algorithmic Challenges
Solve in Playground →

Problem Statement

Write a C++ program implementing a console-based student management system supporting record addition, searching by roll number, updating marks, and listing all students using OOP and STL vectors.

Input Format

Number of operations N, followed by operation commands ('ADD', 'SEARCH', 'UPDATE') with respective student parameters.

Output Format

Print execution results or student records.

Constraints

1 <= N <= 50

Sample Input

3
ADD 101 John 88.5
SEARCH 101
UPDATE 101 95.0

Sample Output

Added
Roll: 101, Name: John, Marks: 88.50
Updated

Explanation

Integrates classes, encapsulation, vector storage, and search queries for a complete CRUD mini application.

Starter Code

#include <iostream>
#include <vector>
#include <string>
#include <iomanip>

class Student {
public:
    int roll;
    std::string name;
    float marks;
    Student(int r, std::string n, float m) : roll(r), name(n), marks(m) {}
};

int main() {
    int n;
    if (std::cin >> n) {
        // Write your student management logic here
    }
    return 0;
}

Limits

  • Time Limit: 1s
  • Memory Limit: 256MB

Embedded C Programming

Updated: March 15, 2026
Intermediate

Embedded systems rely on efficient low-level programming to interact directly with hardware. In this course, you will learn how to write practical Embedded C programs used in real microcontroller-based systems. Rather than focusing only on theory, this course follows a practice-driven approach. Each lesson includes hands-on coding exercises that simulate real firmware development tasks used