-
1
show id & no demo, mam directly told i think u already done this stuff in viva 1, so we will proceed with your pro struc & asked to explain fronted backend database stuff & what i used, while u explain she may ask ques related to that thing like relationships etc, i told purpose of relationship, about orm etc, once she get a hint u know about that topic she may move on to next que, her voice was breaking & got disconnected but dont be panicked.Times asked 1Official solution
Simpledb.relationship se object graph: lot.spots, booking.user. backref reverse side auto deta hai.
Example
spots = db.relationship('Spot', backref='lot', cascade='all, delete-orphan')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
asked about http methods, use of name in form, what will happen if we try to submit method='GET'(ans - we get that value in url) & how will we retrieve it in backend(ans - request.args.get('name')), after i told its value will be in url then she asked me to write & show how the url will look like 💀.Times asked 1Official 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
-
3
Told to open app.py, then whats the use of secret_key, i imported migrate so asked about that module what it does, gave a situation suppose 2 users already exists & u used migrate & added 2 new columns using migrate then what will the prev 2 users value contain in new columns? (ans - NULL, ans are very simple so dont get panicked with length of que 😊), whats __name__='__main__', whats is session what is session.clear(), she asked to open route where student apply for apps, i opened apply route, she asked for creating apps u r using drive id & student id so i can see u r passing drive id so from where u r getting student id?(ans - from session), then after this she finally wrapped up.😊 Finally at end we had a small conversation about my career like what im interested in, r u doing this degree standalone, she also gave career advice coz i was nervous during viva, she was very friendly she may give hint if u r stuck somewhere & till now it was amazing experience during this viva. 😊Times asked 1Official solution
SimpleCamera pe clearly college/IITM ID dikhao — naam aur photo match hone chahiye.
Viva tipPehle se ID haath mein rakho, glare mat aane do. Iske baad GitHub + project run.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet