Viva prep · Real questions · Student experiences Enroll in Bootcamp

Study workspace

Viva Prep

Prepare in structure for the Project Mentorship.

18945 Questions
268 Proctors

Lazy IITians

Who are we?

A student-built prep community for IITM BS — real viva questions, shared experiences, and structured practice so you walk into mentorship confident.

Fill the form and join us

Enroll in Bootcamp

Find questions

Search by question text across the whole library, then narrow with subject, level, and proctor.

Share your experience Add your viva experience here

Question sets

  1. 1
    Show the I'd card
    Added by Ak
    Times asked 1
  2. 2
    Write a route for query- " name of the treks which are hard and their capacity is 20
    Added by Ak
    Times asked 1
  3. 3
    Write a route for query- give usernames of the users who booked the trek having location as himalaya
    Added by Ak
    Times asked 1
  4. 4
    Asked some questions from my code mainly routes.py
    Added by Ak
    Times asked 1
  5. 5
    Didn't asked any theory questions
    Added by Ak
    Times asked 1
  6. 6
    Just be honest with this proctor don't try to be oversmart
    Added by Ak
    Times asked 1
  7. 7
    Best of luck
    Added by Ak
    Times asked 3
Advice: just know your code bro that's it this proctor checks you if you know your code well or not
  1. 1
    no theory questions
    Times asked 1
  2. 2
    using Jinja write frontend which redirects blacklisted entities to greeting message
    Times asked 1
  3. 3
    write a backend code to get a list of all bookings from models.py
    Times asked 1
  1. 1
    she asked abt sqlite
    Added by 24F3002528 VULKUNDAKAR AKARSHA
    Times asked 1
  1. 1
    click the see reviews to get this proctor questions
    Added by Lazy IITians
    Times asked 1
  2. 2
    orm
    Added by Lazy IITians
    Times asked 1
See reviews ? MAD1 Level 1
  1. 1
    click the see reviews to get this proctor questions
    Added by Lazy IITians
    Times asked 1
  2. 2
    Tell other IITM students what your viva was like, how the proctor behaved, what you were asked, and anything useful you remember.
    Times asked 1
Advice: ?
  1. 1
    click the see reviews to get this proctor questions
    Added by Lazy IITians
    Times asked 1
  1. 1
    Just do the sheet for theory coding - 1. Make a header to center
    Times asked 1
    Official solution

    SimpleTheory = concepts: ORM, MVC, auth vs authz, Jinja inheritance, sessions. 1-line def + project example.

  2. 2
    query a trek staff whose experience is greater than 5
    Times asked 1
    Official solution

    SimpleProject overview: problem → roles → main entities → key flows (register, book, admin approve).

    Viva tip1 minute elevator pitch ready rakho, phir demo.

  3. 3
    340 questions in library Tips She will ask you many questions but basics ,which you should know.She is quite strict but also supportive!...if you got this proctor then prepare your best!
    Added by Lazy IITians
    Times asked 1
Advice: She is very polite and good proctor..gives you time to think and also help you if you messed up
  1. 1
    Write Route to fetch all data for viva that are happening today
    Times asked 1
    Official solution

    SimpleLive Flask coding: chhota route likho, save, browser/curl se test. Syntax error terminal mein padho.

    Example

    @app.route('/ping')
    def ping():
        return jsonify(ok=True)
    
    @app.route('/even/<int:n>')
    def even(n):
        return 'even' if n % 2 == 0 else 'odd'
  2. 2
    Write jinja code to show fetched data
    Times asked 1
    Official solution

    SimpleJinja2 Flask ka template engine — HTML ke andar {{ }} variables, {% %} logic.

    Example

    {% for lot in lots %}
      <li>{{ lot.name }} — {{ lot.spots }}</li>
    {% else %}
      <p>No lots</p>
    {% endfor %}
  3. 3
    Jinja templates are server side or client side
    Times asked 1
    Official solution

    SimpleClient storage: cookies, localStorage, sessionStorage, IndexedDB. Tokens often localStorage; sessions often cookie.

  4. 4
    n+1 query problem in sql alchemy
    Times asked 1
    Official solution

    SimpleSQLAlchemy MAD1 ka common ORM. Flask-SQLAlchemy wrapper se db.Model, db.session.

    Example

    user = User(email='a@b.com')
    db.session.add(user)
    db.session.commit()
    users = User.query.filter_by(role='admin').all()
  5. 5
    Difference between error codes starting from 4 and 5
    Times asked 1
    Official solution

    SimpleUngli rakhe to 4-line formula — panic ki jagah structure.

    1) File ka role: model / Flask route / Vue SFC / celery task / config
    2) Input kahan: JSON, params, token, props, $route
    3) Kya kaam: query, cache, validation, .delay()
    4) Output: jsonify, this.items, email, redirect

    Unknown keyword: import, decorator, if, commit — har ka reason. Bluff mat.

    Suggested flow1) Kaunsi layer?
    2) Input?
    3) DB/cache/task?
    4) Response/UI?

    Project example: Booking POST: jwt, seats check, commit, 201, Vue list push.

    Viva tipUnknown keyword: import, decorator, if, commit — har ka reason. Panic mat.

  6. 6
    Explain in detail for search functionality is working and question from code written for that.
    Times asked 1
    Official solution

    SimpleSearch: form/query param → ilike filter → results template.

    Example

    q = request.args.get('q', '').strip()
    lots = Lot.query.filter(Lot.name.ilike(f'%{q}%')).all()
Advice: Such nice chill proctor , very supportive
Maintaine By Lazy IITians Team + IITM BS students Regualr for More data you have