-
1
Double Click to view Full!! (for Level 1)Times asked 1Official 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
Show ID Card & Git Repo Collaborator & I downloaded the Project (gave options).Times asked 1Official solution
SimpleGitHub repo open karo: commits, collaborators, README. Examiner check karta hai tumne khud kaam kiya.
Example
Settings → Collaborators Commits: regular messages, last-day dump nahi.Viva tipPrivate repo access pehle de do. Main branch submitted ZIP se match honi 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
-
3
At very first after copying venv, i was setuping migration stuff during that time proctor asked me whats the use of that commands which u r writing like python -m flask db init, python -m flask db migrate -m "ini commit", python -m flask db upgrade.Times asked 1Official solution
SimpleMigration = schema change history (Flask-Migrate/Alembic). Model badlo → migrate → upgrade.
Example
flask db migrate -m 'add spot status' flask db upgradeCommunity answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
4
Demo & told to show all functionalities during that time he asked me the steps & i did exactly how sir told like create this do that do this (basically he wanted to see whether all core stuff works or not & also the edge points), asked about search func but i forgot to add that 🥲so i told sir but i know the logic how it works, asked to explain the drive model & relationships im using(i used back_populates but may ask for backref also & types of relationships), during explaining i volunteerily explained about ORM(sqlalchemy & how it works & benefits, say everything what u know related to particular topic unless he interrupts to consume bit time but be genuine), whats http stateless(ans - each request is independent), whats MVC. (coding part)Times asked 1Official solution
Simplebackref reverse attribute auto banata hai. back_populates dono sides explicitly naam dete ho — clearer.
Example
# backref spots = db.relationship('Spot', backref='lot') # spot.lot available # back_populates spots = db.relationship('Spot', back_populates='lot') # Spot.lot = db.relationship('Lot', back_populates='spots')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
He remembered when i told i may know the logic of search func as i havent implemented, finally he asked me to open notepad & told to write frontend part(using form) & also told to write backend(the route part) 💀 but somehow managed!!, asked if used get method then how will retrieve that in backend (request.args.get('name')), i was writing but in between he asked alright say me the logic coz i think he already knew i know the logic, so i told like i'll filter out by role & ilike & told exact code orally so he was satisfied, asked if form action url & route url mismatch then what will be result, asked template renders serverside or client side (i think it should be server side coz jinja is dynamic & html part will render on client side). finally sir told i will wrap it up here, viva went moderate 🥲Times asked 1Official 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'Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet