-
1
Level 1Times asked 12Official 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.
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
Run the app and give demoTimes asked 2Official 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 runCommunity answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
3
Async vs syncTimes asked 2Official 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, redirectUnknown 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.
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
What is awaitTimes asked 3Official solution
SimplePause async fn until settle. Value or throw.
Missing await = Promise not data.
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: this.items = await res.json()
Project example: this.items = await res.json()
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
V-if vs V-showTimes 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