Viva prep · Real questions · Student experiences Enroll in Bootcamp

Proctor workspace

Proctor 103

Share your experience Add your viva experience here
20 Questions
4 Sets
0 Topics
0 Reviews
Tips for this examiner: Overall a very patient proctor since my laptop & internet stopped co-operating just before the viva.

Student reviews

No student reviews for this proctor yet.

Approved viva sets

Download all
See reviews 103 MAD2 Level 2
  1. 1
    Difference between authorization and authentication
    Times asked 2
  2. 2
    Async/await
    Times asked 2
  3. 3
    Login function
    Times asked 2
Advice: For viva 1, just go through your project thoroughly
See reviews 103 MAD2 Level 2
  1. 1
    Showed the demo of admin & user
    Times asked 2
  2. 2
    Showed webhook functionality & csv report download feature
    Times asked 2
  3. 3
    Proctor asked difference between v-if & v-for
    Times asked 2
  4. 4
    Asked me to open a txt editor & code the route for login page with GET & POST methods, but before I could finish he stopped me.
    Times asked 2
  5. 5
    Asked me to show in routes.py where I had incorporated GET, POST, PUT, DELETE HTTP methods.
    Times asked 2
  6. 6
    Asked me that if there was a bug in the code.. how I will debug it.
    Times asked 2
  7. 7
    Asked me whether I had used JWT for authentication - which I had.
    Times asked 2
Advice: Overall a very patient proctor since my laptop & internet stopped co-operating just before the viva.
See reviews 103 MAD1 Level 1
  1. 1
    Difference between authorization and authentication
    Times asked 2
    Official solution

    SimpleAuthentication: tu kaun hai? (login). Authorization: tujhe permission hai? (role check).

    Example

    # auth
    if check_password_hash(user.password, pwd):
        session['user_id'] = user.id
    
    # authz
    if user.role != 'admin':
        abort(403)
  2. 2
    Async/await
    Times asked 2
    Official solution

    Examiner code pe ungli rakh ke poochta hai — panic mat karo, 4-line formula bolo.

    1) Yeh file/line kya role hai (model / route / template / config)?
    2) Input kahan se aata hai (form, URL <id>, session, JSON)?
    3) DB pe kya query/write?
    4) Output kya (render_template / redirect / jsonify)?

    Example

    @app.route('/book/<int:id>', methods=['POST']) — logged-in user session se, trek id URL se, Booking add, slots--, redirect history.

    Unknown line: imports (request, url_for, flash), decorators, if checks, commit — har keyword ka reason ready rakho.

  3. 3
    Login function
    Times asked 2
    Official solution

    SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.

Advice: For viva 1, just go through your project thoroughly
See reviews 103 MAD1 Level 1
  1. 1
    Showed the demo of admin & user
    Times asked 2
    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.

  2. 2
    Showed webhook functionality & csv report download feature
    Times asked 2
    Official solution

    SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.

    Viva tipFunction signature + 3-4 important lines + edge case.

  3. 3
    Proctor asked difference between v-if & v-for
    Times asked 2
    Official solution

    Simplev-if ghar se nikaal deta hai (DOM se). v-show sirf light band karta hai (display:none).

    v-if false → element exist hi nahi — costly create/destroy, lekin secret HTML DOM mein nahi.
    v-show → hamesha DOM, CSS hide, toggle tez.

    Rare / permission UI: v-if (admin panel). Dropdown bar-bar: v-show.

    : shorthand v-bind ka, v-if ka nahi.

    Example

    <div v-if="isAdmin">Admin panel</div>
    <div v-show="open">Dropdown</div>

    Project example: Admin links v-if="role==='admin'". FAQ accordion v-show="open".

    Viva tipSecurity ke liye sirf v-if kaafi nahi — API 403 bhi chahiye.

  4. 4
    Asked me to open a txt editor & code the route for login page with GET & POST methods, but before I could finish he stopped me.
    Times asked 2
    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')
  5. 5
    Asked me to show in routes.py where I had incorporated GET, POST, PUT, DELETE HTTP methods.
    Times asked 2
    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')
  6. 6
    Asked me that if there was a bug in the code.. how I will debug it.
    Times asked 2
    Official solution

    SimpleDebug: terminal traceback padho, print/logging, Flask debug, browser Network/Console, reproduce minimum steps.

  7. 7
    Asked me whether I had used JWT for authentication - which I had.
    Times asked 2
    Official solution

    SimpleAuthentication: tu kaun hai? (login). Authorization: tujhe permission hai? (role check).

    Example

    # auth
    if check_password_hash(user.password, pwd):
        session['user_id'] = user.id
    
    # authz
    if user.role != 'admin':
        abort(403)
Advice: Overall a very patient proctor since my laptop & internet stopped co-operating just before the viva.
Created for educational purposes only. Questions are based on students' personal experiences and may not reflect actual exam content.