Viva prep · Real questions · Student experiences Enroll in Bootcamp

Proctor workspace

Proctor level1_viva2

Share your experience Add your viva experience here
138 Questions
18 Sets
0 Topics
7 Reviews
Tips for this examiner: Don't wory at all, very chill ma'am, will not ask hard questions.

Student reviews

Sheet response MAD1

Calm and chill proctor just 20-25 mins viva . At last gave tips about level 2 that there maybe some coding part that can be asked so be prepared.

Questions remembered
  1. Level 1:-
  2. Git hub check,
  3. Demonstration of project,
  4. Session vs cookie
  5. Frontend and Backend Validation
  6. Cascade delete/all
Sheet response MAD1

very very nice guy,chill karo

Questions remembered
  1. MAD2 level 1
  2. firstly he asked for demo
  3. In my student dashboard there is "welcome student name" he asked to it clickable link which redirect to update profile
  4. in app.py if we remove __name__=="__main__" will the project run?
  5. explain async and await
Sheet response MAD1

He is very chill and helpful.

Questions remembered
  1. very chill person
  2. Asked me to show collaborator on git.
  3. Run the application.
  4. In models.py he asked me what does lazy = true means.
  5. What are primary key and foreign key.
  6. Asked me to code a total booking count in my booking page of user dashboard.
  7. Asked me to set the password length as 10 during registration. (Shows error if the password length is not 10)
  8. Gave tips for level 2.
  9. All the best for level 2.
Sheet response MAD1

The proctor was very calm(i was very nervous). he proctor is very chill, and ask only few questions like why it is there like that.. and he was very patient with my nervousness too!

Questions remembered
  1. Level 1_viva 2
  2. asked to show the github colloborator
  3. asked the app demonstration
  4. then asked to change the welcome message in user dashboard as a clickable link and after that as a button, i did that
  5. asked about how to change the port number from 5000 to 5123 , i said to him like i honestly dont know that, he said its okay
  6. asked about the if name=="_main_", which i somewhat told
  7. then asked about db.session.commit(), i explained it t
Nameless MAD1

he is a very nice proctor helped me where i got stuck and he listened everything calmly.

Questions remembered
  1. Demo
  2. diff b/w primary key and foreign key
  3. explain @app.route(student/drives)
  4. align the text 'student dashboard' from left side to center
  5. add email with student name on student dashboard
  6. register new student
Anisha Bhargava MAD1

Very chill proctor.
Be confident while answering.
He helps if you get stuck anywhere.
Be ready to explain basic project setup, venv, and key code lines from app.py and models.py.
Be prepared for small live changes in the UI during the viva.

Questions remembered
  1. Asked me to download the project from the portal.
  2. Asked why I was using a virtual environment (venv).
  3. Asked me to give a demo of the project.
  4. Asked what cascade="all, delete-orphan" means in models.py.
  5. Asked me to change the position of the Edit Profile button.
  6. Asked me to replace Edit Profile text on the button with the name of the currently logged-in student.
  7. Asked what if __name__ == "__main__": means in app.py.
SH MAD1

Don't wory at all, very chill ma'am, will not ask hard questions.

Questions remembered
  1. Level 1 Viva
  2. - Asked for demo (I asked mam if I could download from the viva booking website, she agreed).
  3. - Asked 1 theory question : Difference between PUT and POST
  4. - Change the color of one of the buttons
  5. - Remove the edit company details option(on admin dashboard) for companies that have been blacklisted by the admin

Approved viva sets

  1. 1
    Write a route to return success
    Times asked 2
  2. 2
    Write a table of user with id, role, username
    Times asked 2
  3. 3
    Where you have stored token and show where it is what is internal storage and session storage and what the difference
    Times asked 2
  4. 4
    What is jwt token
    Times asked 1
  5. 5
    What does .delay()
    Times asked 2
  6. 6
    show reminders celery jobs and also 1-2 theory questions
    Times asked 2
Advice: Prepare from sheet
  1. 1
    #first github collaborator
    Times asked 1
  2. 2
    #then asked to run all servers and start the application
    Times asked 2
  3. 3
    #create model named user with fields username id and role in notepad
    Times asked 2
  4. 4
    #to explain backend jobs in celery and specifically export csv, told me to export from application and show that its being sent and then explain what happens step by step
    Times asked 2
  5. 5
    #asked about use of redis, how redis is running, if we stop flask app will redis still be running, why redis is used for caching, where redis is used for celery task queue and backend, asked in depth about redis and how it works , key value pair etc
    Times asked 2
  6. 6
    thts it , he helped a lot with the answers when i was struggling with some concepts, friendly proctor overall
    Times asked 2
  1. 1
    Write a code to create a table name "report" with,id ,name and is_generated..in notepad
    Times asked 2
  2. 2
    Difference between cache and redis.
    Times asked 2
  3. 3
    What type of authentication you have used?
    Times asked 2
  4. 4
    And some more easy questions.
    Times asked 2
Advice: I think it was my luckiest day that I got him as my proctored.He was so calm and sweet ,talked very nicely , he corrected all my mistakes and at last he said all the best for level2 and also said that they will ask more tough questions so be prepared and he suggest me to practice coding questions as well..agar koi dusra Banda rahta to main fail thi..
  1. 1
    Show app demonstration
    Times asked 2
  2. 2
    Then add one button on student dashboard that fetch student roll number and show roll number as button name and after clicking it should redirect and show student profile section
    Times asked 2
  3. 3
    Then he asked me what authentication method i used and where is token get stored
    Times asked 2
  4. 4
    Thats all he asked and lasted 25 min only
    Times asked 2
Advice: He is very nice and helpful proctor. Take most of time in demonstration and show each functionality and take more time in demonstration Good luck
  1. 1
    Very sweet proctor
    Times asked 2
  2. 2
    - Show github collaborators
    Times asked 2
  3. 3
    - Demo of project (i gave quick demo in 5-7 mins)
    Times asked 2
  4. 4
    - He gave me a task: Create a button in student dashboard page which shows current student id logged in and clicking it redirects to student history page.
    Times asked 2
  5. 5
    - I took 10 mins for this task, was navigating everywhere console, thunder client to find the error, later found out that i had not used .first() while querying student object, after adding that task was completed.
    Times asked 2
  6. 6
    - He was impressed by my determination to complete that task and praised me.
    Times asked 2
  7. 7
    - Viva over after this one task.
    Times asked 2
Advice: I dont have much tips, maybe it was just my lucky day. I gave demo very quickly and just straight away became ready for his questions. He gave me task, i explained each and every line as i typed and my overall approach For error debugging too, i tried everywhere console.log(data), sending request through thunder client, so maybe he was impressed by all these.
  1. 1
    Git hub check,
    Times asked 1
    Official solution

    SimpleGitHub repo open karo: commits, collaborators, README. Examiner check karta hai tumne khud kaam kiya.

    Example

    Settings → Collaborators
    Commits: regular messages, last-day dump nahi.

    Viva tipPrivate repo access pehle de do. Main branch submitted ZIP se match honi chahiye.

  2. 2
    Demonstration of project,
    Times asked 1
    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
    Session vs cookie
    Times asked 2
    Official solution

    SimpleMAD1 mein usually session-based auth: login pe session['user_id'], har request pe verify.

    Example

    session['user_id'] = user.id
    uid = session.get('user_id')
    user = User.query.get(uid)

    Viva tipSECRET_KEY set karo warna session insecure. logout pe session.clear().

  4. 4
    Frontend and Backend Validation
    Times asked 1
    Official solution

    SimpleValidation = input rules: required, email format, length, unique. Frontend UX, backend security — dono.

    Example

    if not email or '@' not in email:
        flash('Invalid email')
        return redirect(request.url)
    if User.query.filter_by(email=email).first():
        flash('Email taken')
Advice: Calm and chill proctor just 20-25 mins viva . At last gave tips about level 2 that there maybe some coding part that can be asked so be prepared.
  1. 1
    MAD2 level 1
    Times asked 1
    Official solution

    SimpleLevel = viva difficulty band. Level 1 usually demo + basics; higher pe live coding + deeper theory.

    Viva tipJo level assign hai uske hisaab se demo + theory ready rakho.

  2. 2
    firstly he asked for demo
    Times asked 1
    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
    In my student dashboard there is "welcome student name" he asked to it clickable link which redirect to update profile
    Times asked 1
    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.

  4. 4
    in app.py if we remove __name__=="__main__" will the project run?
    Times asked 1
    Official solution

    SimpleLive UI change: relevant CSS/HTML template kholo — color, margin, flex, bootstrap class. Save + hard refresh.

    Example

    /* button red */
    .btn-primary { background: red; }
    
    /* center navbar item */
    .navbar { justify-content: center; }

    Viva tipDevTools se pehle try, phir file mein permanent change.

  5. 5
    explain async and await
    Times asked 1
    Official solution

    Simpleasync function promise return karti hai. await us promise ka result wait karta hai — callback hell kam.

    Example

    async function loadLots() {
      const res = await fetch('/api/lots');
      const data = await res.json();
      return data;
    }
Advice: very very nice guy,chill karo
  1. 1
    very chill person
    Times asked 1
    Official solution

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

  2. 2
    Asked me to show collaborator on git.
    Times asked 1
    Official solution

    SimpleGitHub repo open karo: commits, collaborators, README. Examiner check karta hai tumne khud kaam kiya.

    Example

    Settings → Collaborators
    Commits: regular messages, last-day dump nahi.

    Viva tipPrivate repo access pehle de do. Main branch submitted ZIP se match honi chahiye.

  3. 3
    In models.py he asked me what does lazy = true means.
    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)
  4. 4
    What are primary key and 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
    Asked me to code a total booking count in my booking page of user dashboard.
    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'
  6. 6
    Asked me to set the password length as 10 during registration. (Shows error if the password length is not 10)
    Times asked 1
    Official solution

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

  7. 7
    Gave tips for level 2.
    Times asked 1
    Official solution

    SimpleLevel = viva difficulty band. Level 1 usually demo + basics; higher pe live coding + deeper theory.

    Viva tipJo level assign hai uske hisaab se demo + theory ready rakho.

  8. 8
    All the best for level 2.
    Times asked 1
    Official solution

    SimpleLevel = viva difficulty band. Level 1 usually demo + basics; higher pe live coding + deeper theory.

    Viva tipJo level assign hai uske hisaab se demo + theory ready rakho.

Advice: He is very chill and helpful.
  1. 1
    asked to show the github colloborator
    Times asked 1
    Official solution

    SimpleGitHub repo open karo: commits, collaborators, README. Examiner check karta hai tumne khud kaam kiya.

    Example

    Settings → Collaborators
    Commits: regular messages, last-day dump nahi.

    Viva tipPrivate repo access pehle de do. Main branch submitted ZIP se match honi chahiye.

  2. 2
    asked the app demonstration
    Times asked 1
    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
    then asked to change the welcome message in user dashboard as a clickable link and after that as a button, i did that
    Times asked 1
    Official solution

    SimpleLive UI change: relevant CSS/HTML template kholo — color, margin, flex, bootstrap class. Save + hard refresh.

    Example

    /* button red */
    .btn-primary { background: red; }
    
    /* center navbar item */
    .navbar { justify-content: center; }

    Viva tipDevTools se pehle try, phir file mein permanent change.

  4. 4
    asked about how to change the port number from 5000 to 5123 , i said to him like i honestly dont know that, he said its okay
    Times asked 1
    Official solution

    SimpleLive UI change: relevant CSS/HTML template kholo — color, margin, flex, bootstrap class. Save + hard refresh.

    Example

    /* button red */
    .btn-primary { background: red; }
    
    /* center navbar item */
    .navbar { justify-content: center; }

    Viva tipDevTools se pehle try, phir file mein permanent change.

  5. 5
    asked about the if name=="_main_", which i somewhat told
    Times asked 1
    Official solution

    Simple== value. is identity same object. Speed micro. None: is None.

    Difference is and ==. Performance negligible vs correctness.

    Pehle 1-line definition, phir related MAD2 layer (Vue SFC / Flask route / models.py / tasks.py / Redis).

    4-line formula: input kahan se aaya, auth/validation kaunsa, DB ya cache ya Celery, kya return.

    Related mix mat karo — cache ≠ Celery, authentication ≠ authorization, v-if ≠ v-show, Beat ≠ Worker. Follow-up ke liye ek difference ready rakho.

    Project example: if user is None. Don't is for strings.

  6. 6
    then asked about db.session.commit(), i explained it t
    Times asked 1
    Official solution

    SimpleMAD1 mein usually session-based auth: login pe session['user_id'], har request pe verify.

    Example

    session['user_id'] = user.id
    uid = session.get('user_id')
    user = User.query.get(uid)

    Viva tipSECRET_KEY set karo warna session insecure. logout pe session.clear().

Advice: The proctor was very calm(i was very nervous). he proctor is very chill, and ask only few questions like why it is there like that.. and he was very patient with my nervousness too!
  1. 1
    diff b/w primary key and 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)
  2. 2
    explain @app.route(student/drives)
    Times asked 1
    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
    align the text 'student dashboard' from left side to center
    Times asked 1
    Official solution

    SimpleLive UI change: relevant CSS/HTML template kholo — color, margin, flex, bootstrap class. Save + hard refresh.

    Example

    /* button red */
    .btn-primary { background: red; }
    
    /* center navbar item */
    .navbar { justify-content: center; }

    Viva tipDevTools se pehle try, phir file mein permanent change.

  4. 4
    add email with student name on student dashboard
    Times asked 1
    Official solution

    SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.

    Suggested flow1) Concept kya hai?
    2) Mere code mein kahan?
    3) Example / demo
    4) Edge case

    Example

    # related file: models.py / routes / template
    # formula: request → check/auth → DB → render/redirect

    Viva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.

  5. 5
    register new student
    Times asked 1
    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.

Advice: he is a very nice proctor helped me where i got stuck and he listened everything calmly.
  1. 1
    Asked me to download the project from the portal.
    Times asked 2
    Official solution

    SimpleExaminer portal wala submitted ZIP chahta hai. Local extra changes mat dikhana.

    Suggested flow1) Portal ZIP download
    2) Extract
    3) venv + pip install -r requirements.txt
    4) flask run / python app.py

  2. 2
    Asked why I was using a virtual environment (venv).
    Times asked 1
    Official solution

    SimpleVirtualenv isolated Python env — project deps system Python ko nahi bigaadte.

    Example

    python -m venv .venv
    source .venv/bin/activate
    pip install -r requirements.txt
  3. 3
    Asked me to give a demo of the project.
    Times asked 1
    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.

  4. 4
    Asked what cascade="all, delete-orphan" means in models.py.
    Times asked 1
    Official solution

    SimpleCascade parent delete pe children pe kya ho: delete-orphan related rows hata deta hai.

    Example

    db.relationship('Spot', cascade='all, delete-orphan')

    Viva tipParking lot delete → uske spots/bookings policy clear bolo.

  5. 5
    Asked me to change the position of the Edit Profile button.
    Times asked 1
    Official solution

    SimpleLive UI change: relevant CSS/HTML template kholo — color, margin, flex, bootstrap class. Save + hard refresh.

    Example

    /* button red */
    .btn-primary { background: red; }
    
    /* center navbar item */
    .navbar { justify-content: center; }

    Viva tipDevTools se pehle try, phir file mein permanent change.

  6. 6
    Asked me to replace Edit Profile text on the button with the name of the currently logged-in student.
    Times asked 1
    Official solution

    SimpleLive UI change: relevant CSS/HTML template kholo — color, margin, flex, bootstrap class. Save + hard refresh.

    Example

    /* button red */
    .btn-primary { background: red; }
    
    /* center navbar item */
    .navbar { justify-content: center; }

    Viva tipDevTools se pehle try, phir file mein permanent change.

  7. 7
    Asked what if __name__ == "__main__": means in app.py.
    Times asked 1
    Official solution

    Simple

    if __name__=='__main__' only when file run directly. Import pe nahi — app.run yahi. Remove import pe server start ho sakta.

    Celery/tests import app without serving. Why used.

    Flask Python micro web framework. Route decorator URL → function. MAD2 mein JSON API: request.get_json(), jsonify, JWT.

    WSGI: server (Werkzeug) app ko call. if __name__ == '__main__' sirf direct run. Factory create_app() test/celery ke liye.

    Blueprint/resources folders. @app.route vs MethodView. Debug=True viva local, prod nahi. CORS alag port Vue ke liye.

    Project example: app.py bottom.

Advice: Very chill proctor. Be confident while answering. He helps if you get stuck anywhere. Be ready to explain basic project setup, venv, and key code lines from app.py and models.py. Be prepared for small live changes in the UI during the viva.
  1. 1
    Level 1 Viva
    Times asked 1
    Official solution

    SimpleLevel = viva difficulty band. Level 1 usually demo + basics; higher pe live coding + deeper theory.

    Viva tipJo level assign hai uske hisaab se demo + theory ready rakho.

  2. 2
    - Asked for demo (I asked mam if I could download from the viva booking website, she agreed).
    Times asked 1
    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
    - Asked 1 theory question : Difference between PUT and POST
    Times asked 1
    Official solution

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

  4. 4
    - Change the color of one of the buttons
    Times asked 1
    Official solution

    SimpleLive UI change: relevant CSS/HTML template kholo — color, margin, flex, bootstrap class. Save + hard refresh.

    Example

    /* button red */
    .btn-primary { background: red; }
    
    /* center navbar item */
    .navbar { justify-content: center; }

    Viva tipDevTools se pehle try, phir file mein permanent change.

  5. 5
    - Remove the edit company details option(on admin dashboard) for companies that have been blacklisted by the admin
    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)
Advice: Don't wory at all, very chill ma'am, will not ask hard questions.
  1. 1
    Write a route to return success
    Times asked 2
    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 a table of user with id, role, username
    Times asked 2
    Official solution

    SimpleNaya Flask route: URL, method, auth if needed, query, jsonify. Postman pehle.

    Examiner number/filter change easy rakhna. CORS. Frontend tabhi jab bole.

    Status codes sahi. Password JSON mein nahi.

    Examiner 2 cheezein: simple desi line + tumhare project ki exact file.

    Pehle ID, GitHub, portal ZIP. Phir run: Redis + Flask + worker + beat + Vue. Feature demo: login, RBAC, cache hit/miss, Celery mail, search.

    Line pe ungli: input kahan, kaunsa check, query/cache/task, JSON/UI. Copilot band. Jo nahi kiya honestly bolo + kaise add karte.

    Example

    @app.route('/api/sum', methods=['POST'])
    def sum_num():
        d = request.get_json()
        return jsonify(result=d['a'] + d['b'])

    Project example: resources.py new Resource. Test Thunder. Optional Vue fetch.

  3. 3
    Where you have stored token and show where it is what is internal storage and session storage and what the difference
    Times asked 2
    Official solution

    SimpleMAD1 mein usually session-based auth: login pe session['user_id'], har request pe verify.

    Example

    session['user_id'] = user.id
    uid = session.get('user_id')
    user = User.query.get(uid)

    Viva tipSECRET_KEY set karo warna session insecure. logout pe session.clear().

  4. 4
    What does .delay()
    Times asked 2
    Official solution

    SimplePehle 1-line definition, phir apne MAD1 project mein file dikhao, phir chhota example.

    Suggested flow1) Concept kya hai?
    2) Mere code mein kahan?
    3) Example / demo
    4) Edge case

    Example

    # related file: models.py / routes / template
    # formula: request → check/auth → DB → render/redirect

    Viva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.

  5. 5
    show reminders celery jobs and also 1-2 theory questions
    Times asked 2
    Official solution

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

Advice: Prepare from sheet
  1. 1
    #then asked to run all servers and start the application
    Times asked 2
    Official solution

    Simplevenv activate → dependencies → DB create/migrate → flask run. Browser pe localhost dikhao.

    Example

    python -m venv .venv
    source .venv/bin/activate
    pip install -r requirements.txt
    flask run
  2. 2
    #create model named user with fields username id and role in notepad
    Times asked 2
    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)
  3. 3
    #to explain backend jobs in celery and specifically export csv, told me to export from application and show that its being sent and then explain what happens step by step
    Times asked 2
    Official solution

    SimpleLive jobs: Redis, worker, beat, crontab abhi, logs + email/CSV.

    Scheduled vs user-triggered dono dikhao. Missing feature honestly.

    Examiner 2 cheezein: simple desi line + tumhare project ki exact file.

    Pehle ID, GitHub, portal ZIP. Phir run: Redis + Flask + worker + beat + Vue. Feature demo: login, RBAC, cache hit/miss, Celery mail, search.

    Line pe ungli: input kahan, kaunsa check, query/cache/task, JSON/UI. Copilot band. Jo nahi kiya honestly bolo + kaise add karte.

    Suggested flow1) redis
    2) worker
    3) beat
    4) crontab now
    5) logs + MailHog

    Example

    CELERY_BEAT_SCHEDULE = {
      'daily-reminder': {
        'task': 'jobs.daily_reminder',
        'schedule': crontab(hour=18, minute=0),
      },
    }

    Project example: Change schedule current time. MailHog. Export button 202.

  4. 4
    #asked about use of redis, how redis is running, if we stop flask app will redis still be running, why redis is used for caching, where redis is used for celery task queue and backend, asked in depth about redis and how it works , key value pair etc
    Times asked 2
    Official solution

    SimpleFlask lightweight Python web framework — routes, request/response, templates. MAD1 ka backend yahi hai.

    Example

    from flask import Flask
    app = Flask(__name__)
    
    @app.route('/')
    def home():
        return 'Hello'

    Viva tipFlask micro hai: jo chahiye (DB, login, forms) khud jodte ho.

  5. 5
    thts it , he helped a lot with the answers when i was struggling with some concepts, friendly proctor overall
    Times asked 2
    Official solution

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

  1. 1
    Write a code to create a table name "report" with,id ,name and is_generated..in notepad
    Times asked 2
    Official solution

    SimpleNaya Flask route: URL, method, auth if needed, query, jsonify. Postman pehle.

    Examiner number/filter change easy rakhna. CORS. Frontend tabhi jab bole.

    Status codes sahi. Password JSON mein nahi.

    Examiner 2 cheezein: simple desi line + tumhare project ki exact file.

    Pehle ID, GitHub, portal ZIP. Phir run: Redis + Flask + worker + beat + Vue. Feature demo: login, RBAC, cache hit/miss, Celery mail, search.

    Line pe ungli: input kahan, kaunsa check, query/cache/task, JSON/UI. Copilot band. Jo nahi kiya honestly bolo + kaise add karte.

    Example

    @app.route('/api/sum', methods=['POST'])
    def sum_num():
        d = request.get_json()
        return jsonify(result=d['a'] + d['b'])

    Project example: resources.py new Resource. Test Thunder. Optional Vue fetch.

  2. 2
    Difference between cache and redis.
    Times asked 2
    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.

  3. 3
    What type of authentication you have used?
    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)
  4. 4
    And some more easy questions.
    Times asked 2
    Official solution

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

Advice: I think it was my luckiest day that I got him as my proctored.He was so calm and sweet ,talked very nicely , he corrected all my mistakes and at last he said all the best for level2 and also said that they will ask more tough questions so be prepared and he suggest me to practice coding questions as well..agar koi dusra Banda rahta to main fail thi..
  1. 1
    Show app demonstration
    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
    Then add one button on student dashboard that fetch student roll number and show roll number as button name and after clicking it should redirect and show student profile section
    Times asked 2
    Official solution

    Simpleredirect dusre URL pe bhejta hai. flash one-time message session mein rakh ke next page pe dikhata hai.

    Example

    flash('Login successful', 'success')
    return redirect(url_for('user.dashboard'))
  3. 3
    Then he asked me what authentication method i used and where is token get stored
    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)
  4. 4
    Thats all he asked and lasted 25 min only
    Times asked 2
    Official solution

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

Advice: He is very nice and helpful proctor. Take most of time in demonstration and show each functionality and take more time in demonstration Good luck
  1. 1
    Very sweet proctor
    Times asked 2
    Official solution

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

  2. 2
    - Show github collaborators
    Times asked 2
    Official solution

    SimpleGitHub repo open karo: commits, collaborators, README. Examiner check karta hai tumne khud kaam kiya.

    Example

    Settings → Collaborators
    Commits: regular messages, last-day dump nahi.

    Viva tipPrivate repo access pehle de do. Main branch submitted ZIP se match honi chahiye.

  3. 3
    - Demo of project (i gave quick demo in 5-7 mins)
    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.

  4. 4
    - He gave me a task: Create a button in student dashboard page which shows current student id logged in and clicking it redirects to student history page.
    Times asked 2
    Official solution

    SimpleCamera pe clearly college/IITM ID dikhao — naam aur photo match hone chahiye.

    Viva tipPehle se ID haath mein rakho, glare mat aane do. Iske baad GitHub + project run.

  5. 5
    - I took 10 mins for this task, was navigating everywhere console, thunder client to find the error, later found out that i had not used .first() while querying student object, after adding that task was completed.
    Times asked 2
    Official solution

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

  6. 6
    - He was impressed by my determination to complete that task and praised me.
    Times asked 2
    Official solution

    SimpleServer-Sent Events: server → browser one-way stream (text/event-stream). WebSocket full duplex hai; SSE simpler notifications ke liye.

    Example

    # client
    const es = new EventSource('/stream');
    es.onmessage = (e) => console.log(e.data);
  7. 7
    - Viva over after this one task.
    Times asked 2
    Official solution

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

Advice: I dont have much tips, maybe it was just my lucky day. I gave demo very quickly and just straight away became ready for his questions. He gave me task, i explained each and every line as i typed and my overall approach For error debugging too, i tried everywhere console.log(data), sending request through thunder client, so maybe he was impressed by all these.
  1. 1
    Show your ID card.
    Times asked 23
  2. 2
    Introduction.
    Times asked 9
  3. 3
    Tell me about yourself.
    Times asked 6
  4. 4
    Tell me about yourself.
    Times asked 6
  5. 5
    Explain the problem statement.
    Times asked 6
  6. 6
    Explain your notebook/project.
    Times asked 21
  7. 7
    Explain your preprocessing.
    Times asked 1
  8. 8
    Explain your EDA.
    Times asked 8
  9. 9
    Explain your feature engineering.
    Times asked 6
  10. 10
    Explain your hyperparameter tuning.
    Times asked 3
  11. 11
    Explain your model comparison.
    Times asked 2
  12. 12
    What insights did you gain from your analysis?
    Times asked 1
  13. 13
    What difficulties did you face during the project?
    Times asked 1
  14. 14
    How did you overcome those difficulties?
    Times asked 1
  15. 15
    What did you learn from the project?
    Times asked 1
  16. 16
    Show an overview of your Kaggle submissions.
    Times asked 1
  17. 17
    What models did you use?
    Times asked 3
  18. 18
    Why did you use those models?
    Times asked 1
  19. 19
    Why did you use only tree/leaf-based models?
    Times asked 1
  20. 20
    Why do we perform hyperparameter tuning?
    Times asked 1
  21. 21
    What are hyperparameters?
    Times asked 1
  22. 22
    Difference between parameters and hyperparameters.
    Times asked 2
  23. 23
    How is hyperparameter tuning done?
    Times asked 1
  24. 24
    Ways to perform hyperparameter tuning.
    Times asked 1
  25. 25
    Difference between Pipeline and ColumnTransformer.
    Times asked 1
  26. 26
    Difference between Pipeline and Transformer.
    Times asked 1
  27. 27
    Why did you use StandardScaler?
    Times asked 2
  28. 28
    Which scaling method is better for handling outliers?
    Times asked 1
  29. 29
    Why do machine learning models use numerical features?
    Times asked 1
  30. 30
    What is PCA?
    Times asked 3
  31. 31
    Difference between XGBoost and LightGBM.
    Times asked 5
  32. 32
    What is overfitting?
    Times asked 5
  33. 33
    How do you reduce overfitting?
    Times asked 2
  34. 34
    What is the Bias-Variance Tradeoff?
    Times asked 3
  35. 35
    Difference between Bagging and Boosting.
    Times asked 4
  36. 36
    Which sklearn API contains OneHotEncoder?
    Times asked 1
  37. 37
    Which sklearn API contains StandardScaler?
    Times asked 1
  38. 38
    Coding: Implement the preprocessing Pipeline used in your notebook.
    Times asked 1
  39. 39
    Coding: Write a Decision Tree classifier snippet.
    Times asked 1
  40. 40
    Coding: Load the California Housing dataset.
    Times asked 2
  41. 41
    Coding: Perform a train-test split on the California Housing dataset.
    Times asked 1
  42. 42
    Coding: Load the Iris dataset.
    Times asked 1
  43. 43
    Coding: Perform a train-test split on the Iris dataset.
    Times asked 1
  44. 44
    Coding: Train a Decision Tree classifier on the Iris dataset.
    Times asked 1
  45. 45
    Coding: Print the Accuracy Score.
    Times asked 1
  46. 46
    Coding: Use the describe() function on the California Housing dataset.
    Times asked 1
Created for educational purposes only. Questions are based on students' personal experiences and may not reflect actual exam content.