Viva prep · Real questions · Student experiences Enroll in Bootcamp

Proctor workspace

Proctor PROCTOR808

Share your experience Add your viva experience here
28 Questions
2 Sets
0 Topics
0 Reviews
Tips for this examiner: Not strict

Student reviews

No student reviews for this proctor yet.

Approved viva sets

  1. 1
    Did not even ask for a demo
    Times asked 2
  2. 2
    Coding:
    Times asked 6
  3. 3
    1. A route in flask to check if a number is even or odd
    Times asked 2
  4. 4
    2.Make an input box with a submit button on the side the submit button must be disabled if the number in input is >15
    Times asked 2
  5. 5
    Theory:
    Times asked 8
  6. 6
    3.What are triggers in db
    Times asked 2
  7. 7
    4.What is normalisation
    Times asked 2
  8. 8
    5.What is BCNF
    Times asked 2
  9. 9
    4.Dijkstra algorithm
    Times asked 2
  10. 10
    5.Time complexity and 3 notations
    Times asked 2
  11. 11
    6.Class and style binding
    Times asked 2
  12. 12
    7.What is the flow of the generation of the monthly report from vue to flask
    Times asked 2
  13. 13
    8.How is flask and celery connected
    Times asked 2
  14. 14
    9.What is CSRF
    Times asked 2
Advice: Not strict
  1. 1
    Did not even ask for a demo
    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
    Coding:
    Times asked 6
    Official solution

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

  3. 3
    1. A route in flask to check if a number is even or odd
    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'
  4. 4
    2.Make an input box with a submit button on the side the submit button must be disabled if the number in input is >15
    Times asked 2
    Official solution

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

  5. 5
    Theory:
    Times asked 8
    Official solution

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

  6. 6
    3.What are triggers in db
    Times asked 2
    Official solution

    SimpleIndex = column pe shortcut book — WHERE/JOIN tez. PK auto-indexed. Email/unique filters pe index socho.

    Example

    email = db.Column(db.String(120), unique=True, index=True)
  7. 7
    4.What is normalisation
    Times asked 2
    Official solution

    SimpleNormalisation: redundant data kam, tables todna. 1NF atomic, 2NF partial dep hatao, 3NF transitive dep hatao.

    Viva tip

    Exampleuser address alag table vs har booking mein dubara store.

  8. 8
    5.What is BCNF
    Times asked 2
    Official solution

    SimpleNormalisation: redundant data kam, tables todna. 1NF atomic, 2NF partial dep hatao, 3NF transitive dep hatao.

    Viva tip

    Exampleuser address alag table vs har booking mein dubara store.

  9. 9
    4.Dijkstra algorithm
    Times asked 2
    Official solution

    SimpleDijkstra shortest path in weighted graph (non-negative). Priority queue + distances. Parking app se related nahi usually — algo side Q.

  10. 10
    5.Time complexity and 3 notations
    Times asked 2
    Official solution

    SimpleTime complexity input size ke saath time kaise badhta hai.

    O(1): dict lookup. O(n): list mein loop. O(n^2): nested loops.

    Example

    User.query.all() phir Python mein filter = O(n). DB pe indexed WHERE tez.

    Search suggestions: prefix index / ILIKE, nai to har keypress pe poori table mat ghumao.

  11. 11
    6.Class and style binding
    Times asked 2
    Official solution

    Simple:class object/array/string dynamic CSS.

    Purpose dynamic class. Error red.

    Directives Vue ke special attributes hain — HTML ko superpower: v-if/v-show, v-for, v-bind (:), v-on (@), v-model.

    v-if DOM se hataata/jodta. v-show sirf CSS display. Rare/permission: v-if. Bar-bar toggle: v-show. v-model two-way form. v-bind one-way JS→attribute.

    :key v-for pe zaroori warna Vue galat reuse. v-html XSS. Secret UI ke liye sirf v-if kaafi nahi — API 403 bhi.

    MAD1 Jinja server HTML. MAD2 yeh directives browser mein reactive.

    Example

    <div :class="{ 'text-danger': error, 'fw-bold': important }">Msg</div>

    Project example: :class="{ 'text-danger': error }"

  12. 12
    7.What is the flow of the generation of the monthly report from vue to flask
    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.

  13. 13
    8.How is flask and celery connected
    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.

  14. 14
    9.What is CSRF
    Times asked 2
    Official solution

    SimpleCSRF: attacker tumhari logged-in browser se unwanted POST. CSRF token form mein proof hai request genuine hai.

    Viva tipFlask-WTF CSRF protect karta hai. Token bina POST reject.

Advice: Not strict
Created for educational purposes only. Questions are based on students' personal experiences and may not reflect actual exam content.