-
1
Joined 10 mins early, i too joined (35-40 mins)Times asked 2Official solution
SimpleJOIN related tables ek result mein. Inner = match only; left = left side sab + match.
Example
db.session.query(Booking, User).join(User).filter(User.id == uid).all()Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
2
As soon as i joined, he started we will follow a structure - while you download and setup your app, i will keep asking the questions, will keep asking till your setup completes(took 20 mins due to this) - then the rapid fire:Times asked 2Official solution
SimpleJOIN related tables ek result mein. Inner = match only; left = left side sab + match.
Example
db.session.query(Booking, User).join(User).filter(User.id == uid).all()Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
3
In context of cli there is a notion of npm - what is npmTimes asked 1Official solution
Simplenpm Node package manager. package.json scripts/deps. node_modules folder.
Not inside venv. Python pip alag. lockfile versions.
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: npm install. scripts dev/build.
Viva tipnode_modules venv ke andar nahi — project root pe. Python venv alag, npm alag.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
4
Explain how flask handles the request from the moment it arrives till it sends the responseTimes asked 2Official 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.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
5
How does flask decide which function to execute(he expected wsgi to be mentioned - i didn't)Times asked 2Official 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.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
6
explicitly asked WSGI. if you knew why didn't you mentionTimes asked 2Official 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 caseExample
# related file: models.py / routes / template # formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
7
rolemixin and usermixin. how is token generated? diff between fs_uniquifier and fs_uniquifier tokensTimes asked 2Official solution
Simplefs_uniquifier session/token invalidate string. Password change → naya → purane mar.
Auth JWT alag. fs vs JWT token confuse mat.
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: User model column. Password reset flow.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
8
what happens to fs_uniquifier token when a user changes passwordTimes asked 2Official solution
Simplefs_uniquifier session/token invalidate string. Password change → naya → purane mar.
Auth JWT alag. fs vs JWT token confuse mat.
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: User model column. Password reset flow.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
9
SMTPTimes asked 1Official solution
SimpleSMTP = Simple Mail Transfer Protocol — email bhejne ka standard. Flask-Mail / smtplib se reminders/reports.
Example
from flask_mail import Message msg = Message('Subject', recipients=[user.email]) msg.body = 'Hello' mail.send(msg)Viva tipViva mein MailHog/inbox dikhao. Port 587 TLS common; local pe MailHog 1025.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
10
CSRFTimes asked 2Official solution
SimpleCSRF = Cross-Site Request Forgery — logged-in user ke browser se attacker site hidden form submit karwati hai.
FixCSRF token hidden field, server verify. Flask-WTF: {{ form.hidden_tag() }}
SameSite cookies bhi help. GET pe destructive action mat rakho.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
11
Client Side scriptingTimes asked 2Official solution
SimpleClient storage: cookies, localStorage, sessionStorage, IndexedDB. Tokens often localStorage; sessions often cookie.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
12
Redis. Data structure in which redis stores dataTimes asked 1Official solution
Simpledata() local diary. Store school notice board.
Search query local. Logged-in user store. Persist: store + localStorage together.
state vs data: similar concept, scope alag.
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.
Example
// local data() { return { q: '' } } // global this.$store.state.userProject example: Login.vue local form fields. this.$store.state.user Navbar.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
13
When will vue fail to detect changes in the reactive data propertiesTimes asked 2Official solution
SimpleVue = UI ka smart assistant. Data badlo, screen khud update. MAD1 Jinja har click pe naya HTML.
Progressive frontend framework. Components, reactivity, directives.
MAD2 SPA: ek index.html, Vue Router pages, Flask sirf JSON.
Fayde: easy, SFC, docs. Vs React: templates HTML-like, course sikhata hai. Vs plain JS: baar-baar DOM mat chhedo.
Example
<!-- HelloWorld.vue --> <template> <h1>{{ msg }}</h1> </template> <script> export default { data() { return { msg: 'Hello' } } } </script>Project example: Navbar.vue + views (Login, Dashboard). data() / setup() reactive. fetch APIs.
Viva tipFayde: easy, SFC, reactivity. Vs React: chhota learning curve. Vs plain JS: UI state auto-update.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
14
Computed properties and watchersTimes asked 1Official solution
SimpleComputed naya value return. Watcher side effect (API, log) jab value change.
Search debounce, route param change → watch. Display filter → computed.
Confusion examiner favourite.
Component = reusable UI block (Navbar, Card). Props parent→child data, emit child→parent event. Slots parent HTML inner content.
computed cache + reactive derive (filtered list). watch side-effect (query change pe API). methods events. ref() primitive, reactive() object. Vuex/Pinia global store; localStorage persist, store nahi.
SFC: template + script + style ek
.vuefile. Parent-child exam favourite: list parent, row child:item+@delete.Example
watch: { query(newQ) { this.fetchSearch(newQ) } }Project example: q watch → fetchSearch. remainingSeats computed from capacity-booked.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
15
v-if and v-show(by this time he was really enjoying asking the questions)Times asked 2Official 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.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
16
many other questions were thereTimes asked 2Official 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 caseExample
# related file: models.py / routes / template # formula: request → check/auth → DB → render/redirectViva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
17
Write a component with 1 input and 1 button it accepts 1 integer in the url 'a' when the button is clicked the output is printed on the consoleTimes asked 2Official 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.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
18
Write an api to execute a celery task 'viva_celery_task' and query the db for the appointments in past 'a' and return in json formatTimes asked 2Official 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=5Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet