-
1
MAD2 level 2Times asked 2Official 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
- Demo of the appTimes asked 2Official 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) LogoutViva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
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
- Additional questions to test my understanding (such as scaling)Times asked 2Official solution
SimpleTheory = concepts: ORM, MVC, auth vs authz, Jinja inheritance, sessions. 1-line def + project example.
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
- How will I handle the concurrent allocation of the slots if slots booked in same time.Times asked 2Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
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
- Asked for the code change on the search barTimes asked 2Official solution
SimpleSearch: form/query param → ilike filter → results template.
Example
q = request.args.get('q', '').strip() lots = Lot.query.filter(Lot.name.ilike(f'%{q}%')).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
-
6
- Definitions of requests, CORS, decorator and directivesTimes asked 2Official solution
Simplelogin_required jaisa decorator protected routes pe: session nahi to login redirect.
Example
def login_required(fn): @wraps(fn) def wrapper(*a, **k): if 'user_id' not in session: return redirect(url_for('auth.login')) return fn(*a, **k) return wrapperCommunity answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
7
- Some status code meaning like 410, 303, 403, 405, 505 etcTimes asked 2Official solution
SimpleStatus code server ka result: 200 OK, 302 redirect, 400 bad input, 401/403 auth, 404 not found, 500 server error.
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
- Usage of :key in the v-forTimes asked 2Official solution
SimpleVue live: two inputs v-model, button @click se first+last concat karke dikhao.
Example
<input v-model="first" /><input v-model="last" /> <button @click="full = first + ' ' + last">Go</button> <p>{{ full }}</p>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
- All functionality of the broker and beat.Times asked 2Official solution
SimpleCron/crontab = schedule pe job. Celery Beat app-level cron (daily email). OS crontab alag.
Example
crontab(hour=18, minute=0) # har din 6pmCommunity answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet