-
1
Show your app.Times asked 1Official 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
-
2
Show functionalities of all users( Admin, 1 Doctor, 1 patient)-- this will be checked in depth: -- register patient, --register a new doctor, --book an appointment, --cancel+ reschedule an appointment, --check if you can do multiple appointments at the same time. --check if a patient can access their prescription. --check if doctor can access their treatments. --check if doctor can change their availability.Times asked 1Official solution
SimpleEdge cases: duplicate booking, full capacity, wrong role URL, empty search, invalid id.
Example
if Spot.query.get_or_404(spot_id).status != 'available': flash('Already taken') return redirect(...)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
What is the primary key of each model(in the code).Times asked 1Official solution
SimplePrimary key row ka unique identity — usually id Integer autoincrement.
Example
id = db.Column(db.Integer, primary_key=True)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
Write a code to show the list of all doctors, their departments, their experience in years on the landing page(this list was not on my landing page).Times asked 1Official 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
-
5
Show how your changes are getting updated dynamically. Theory:Times asked 1Official 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
-
6
Explain all HTTP methodsTimes asked 1Official solution
SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.
Viva tipFunction signature + 3-4 important lines + edge case.
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
Explain how you are doing backend validation.Times asked 1Official 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')Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet