Viva prep · Real questions · Student experiences Enroll in Bootcamp

Proctor workspace

Proctor 13

Share your experience Add your viva experience here
8 Questions
1 Sets
0 Topics
0 Reviews

Student reviews

No student reviews for this proctor yet.

Approved viva sets

Download all
See reviews 13 MAD1 Level 1
  1. 1
    Self intro
    Times asked 1
    Official solution

    Simple30 second: naam, degree, project kya hai, stack (Flask + Jinja + SQLAlchemy + SQLite).

    Example

    Main Priya, IITM BS. MAD1 mein parking/ticket app — Flask backend, Jinja templates, session login, SQLite.
  2. 2
    Demo
    Times asked 9
    Official solution

    SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.

    Suggested flow1) Register/login user
    2) Admin login — CRUD
    3) Approval/blacklist
    4) Booking/apply + edge case
    5) Search
    6) Logout

    Viva tipBolte-bolte dikhao. Code tab kholna jab poochhein.

  3. 3
    Change the constraints of email id . Should accept the email id only if it is in a format like somthing@somthing.something
    Times asked 1
    Official solution

    SimpleORM = Object Relational Mapping. Tables → Python classes. Raw SQL kam likhte ho.

    Example

    class User(db.Model):
        id = db.Column(db.Integer, primary_key=True)
        email = db.Column(db.String(120), unique=True)
    
    User.query.get(5)  # SELECT ... WHERE id=5
  4. 4
    Primary key foreign key
    Times asked 1
    Official solution

    SimplePrimary key row ka unique identity — usually id Integer autoincrement.

    Example

    id = db.Column(db.Integer, primary_key=True)
  5. 5
    Restful api
    Times asked 3
    Official solution

    SimpleREST: resources + HTTP verbs. GET read, POST create, PUT/PATCH update, DELETE remove. Stateless ideal.

  6. 6
    Get post
    Times asked 1
    Official solution

    SimpleGET data read/show karta hai (idempotent). POST create/submit karta hai (form).

    Example

    @app.route('/login', methods=['GET', 'POST'])
    def login():
        if request.method == 'POST':
            # validate + session
            ...
        return render_template('login.html')
  7. 7
    Explain models used
    Times asked 1
    Official solution

    Simplemodels.py = har table ki class: columns, PK/FK, relationships. Yeh Model layer hai.

    Suggested flow1) Classes list karo
    2) Har table ka kaam 1 line
    3) Relationships (1-M / M-M)
    4) Constraints (unique, nullable)

    Example

    class Lot(db.Model):
        id = db.Column(db.Integer, primary_key=True)
        name = db.Column(db.String(80), nullable=False)
        spots = db.relationship('Spot', backref='lot', lazy=True)
  8. 8
    List and tuple difference
    Times asked 1
    Official solution

    SimpleList changeable ordered, Tuple fixed ordered, Dict key-value.

    list: [1,2,3] — append, mutable, duplicate ok. Arrays jaisa lekin mixed types.
    tuple: (1,2) — immutable, dict key ban sakta hai.
    dict: {'name':'Ram'} — fast lookup by key. JSON objects dict ban jaate hain.
    set: unique items.
    Array (JS) ≈ Python list. JS object ≈ Python dict.
    Mutable: list, dict. Immutable: tuple, str, int.

Maintaine By Lazy IITians Team + IITM BS students Regualr for More data you have