-
1
My Level 1 Viva was on 24th July.🫠 (Too late to post I know, I was too packed up in my schedule lol,just got free so thought to share atleast ) Proctor ID : level1_2 Slot: 9:30 to 10 PM Look the proctor was very chill, no need to get nervous at all. He is very calm and asks easy and basic questions, know your project well both the code and the front end part(especially) he asks mainly from here only what feature you have implemented and how is it working, what is your logic in this project, just tell yours what you have implemented in your project. Here are some questions which I remember :Times asked 1Official solution
SimpleGET data read/show karta hai (idempotent). POST create/submit karta hai (form).
Example
@app.route('/login', methods=['GET', 'POST']) def login(): if request.method == 'POST': # validate + session ... return render_template('login.html')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 your Github repo and collaboratorsTimes 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
Screenshare and asked to run my projectTimes asked 1Official solution
SimpleProject overview: problem → roles → main entities → key flows (register, book, admin approve).
Viva tip1 minute elevator pitch ready rakho, phir demo.
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
Asked some tasks to do like register as new trekker , login and show the trekkers dashboard, book treks, cancel booking, show trekking historyTimes asked 1Official solution
SimpleProject overview: problem → roles → main entities → key flows (register, book, admin approve).
Viva tip1 minute elevator pitch ready rakho, phir demo.
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
Then he said to login as admin and show me admin dashboard, the tables there , do you have implemented search filter there can admin search for staff, trekker by using the id or their registered name on the website. I showed him that admin even have filter to show only staff lists or trekkers lists, he can also see all the bookings made by trekkers and if they cancel it , then it is not shown in admin dashboard, it will remove immediately from thereTimes 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
-
6
Then in admin dashboard only he told me to create new treks, edit treks, edit the date, he asked me one imp thing if the date is passed then will admin be able to create trek on past date? I told him "yes" and then one logic will work there, cur date will be checked in the backend and if the date is already passed then the status in the database and the admin dashboard table will change to "completed " and if it is completed then it won't show in available treks to book option for trekkers.Times asked 1Official solution
SimpleProject overview: problem → roles → main entities → key flows (register, book, admin approve).
Viva tip1 minute elevator pitch ready rakho, phir demo.
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
He asked me one more imp thing that if there are 1000 treks lets say then do you have some thing kind of populates pages i dont remember the term exactly but he meants that if the list is big then will it shift to another page itself or it will be shown in same page only it wil get lined up below..i said yes sir, that is what will happen, it will just get added one below after below in single page only, admin need to scroll below to see al those 1000 treks, he will found. Then he said okay, perfectTimes asked 1Official solution
SimpleMAD1 typical: Browser → Flask routes → validate/auth → SQLAlchemy → SQLite → Jinja response.
Suggested flowRequest → Route → Auth check → DB → render_template / 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
-
8
Then in the start of admin dashboard I had a section of staff approval, he told me to register as staff and loginTimes 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
-
9
I showed him that staff to have option to self register but they can't login to staff dashboards until and unless admin verifies and approved their dataTimes 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
-
10
He told me to show , I showed the red flash was coming "Admin approval pending"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
-
11
Then he told me to approve staff if and then login and show me the staff dashboardTimes 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
-
12
Then he again told me to move on to admin dashboard and assign one trek to this newly created staffTimes asked 1Official solution
SimpleProject overview: problem → roles → main entities → key flows (register, book, admin approve).
Viva tip1 minute elevator pitch ready rakho, phir demo.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
13
Show in the staff dashboard how is it showing thereTimes 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
-
14
Then told me to show what staff can do he can edit trek status and change the slots he asked me what happens when slots become 0 I said , then the status will automatically change to "closed or completed " and it wont show in available treks to book section in trekkers dashboardTimes 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
-
15
He told me to go in Edit Profile section and change the name , keep the password same, and try loginTimes asked 1Official solution
SimpleLive UI change: relevant CSS/HTML template kholo — color, margin, flex, bootstrap class. Save + hard refresh.
Example
/* button red */ .btn-primary { background: red; } /* center navbar item */ .navbar { justify-content: center; }Viva tipDevTools se pehle try, phir file mein permanent change.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
16
Then he asked is that name showing above in navbar in user dashboard is it clickable? I said noTimes asked 1Official solution
SimpleLive UI change: relevant CSS/HTML template kholo — color, margin, flex, bootstrap class. Save + hard refresh.
Example
/* button red */ .btn-primary { background: red; } /* center navbar item */ .navbar { justify-content: center; }Viva tipDevTools se pehle try, phir file mein permanent change.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
17
He said to make the text clickable and on clicking it the edit profile page gets openedTimes asked 1Official solution
SimpleLive UI change: relevant CSS/HTML template kholo — color, margin, flex, bootstrap class. Save + hard refresh.
Example
/* button red */ .btn-primary { background: red; } /* center navbar item */ .navbar { justify-content: center; }Viva tipDevTools se pehle try, phir file mein permanent change.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
18
I did it,altho i was unsure if I will be able to do ,I said I will try sir he said ok do it, then i didTimes asked 1Official 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
-
19
Then he said blacklist some user or staff and try login I said he wont be able to the red flash will come then he said what will happen then, i said his id will be removed from the database and he again have to create id and relogin after admin approval (in case of staff)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
-
20
Then he said can it be undone i said yes i had a restore button just beside blacklist buttonTimes asked 1Official solution
SimpleBlacklist/block: user.status='blocked' check login/booking pe. Temporary flag vs hard delete permanent.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
21
Finally he moved to theory questionsTimes 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
-
22
He asked me what is ORM and what are its adv I explained ORM and told some adv blindly which I mugged up but i understood one adv deeply and how it works behind I told him that I can recall one adv nicely rn he told me to explain it with an example, i explained , he listened paitently, i explained using my models.py file, i showed him in code how it will work if it was RAW SQL( it was the sql injection part, which hacker can try, if we won't have used ORM)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
-
23
He asked me have u used any ORM here , i said yes its flask sqlalchemy he told me to explain itTimes asked 1Official solution
SimpleSQLAlchemy MAD1 ka common ORM. Flask-SQLAlchemy wrapper se db.Model, db.session.
Example
user = User(email='a@b.com') db.session.add(user) db.session.commit() users = User.query.filter_by(role='admin').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
-
24
Next, he said open models.py file and explain the whole thing. I didTimes asked 1Official solution
SimpleProject overview: problem → roles → main entities → key flows (register, book, admin approve).
Viva tip1 minute elevator pitch ready rakho, phir demo.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
25
Then at the end , he asked one very easy qn to change the port no. To 5413 and show the project in diff port how will u do it, i said umm umm..may be in terminal sir🥹 he laughed ok can u open app.py file and check last line there in app.run you can add one parameter then i recalled o yes sir i recall then I did it, this was the only qn where I got stuck and may be couldnt ans 100%Times asked 1Official solution
SimpleLive UI change: relevant CSS/HTML template kholo — color, margin, flex, bootstrap class. Save + hard refresh.
Example
/* button red */ .btn-primary { background: red; } /* center navbar item */ .navbar { justify-content: center; }Viva tipDevTools se pehle try, phir file mein permanent change.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
26
I did , and he said, okay that is all from my sideTimes asked 1Official 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
-
27
All the best for your level 2 viva, he told me what qns to prepare what will be asked, MVC, auth vs authorizn, jinja loop, note pad thing, temple inheritance, show MVC in code , some basic coding qn, change color of button add button i was like sir this I thought u will ask me I prepared this for level 1😅 i said okay sir thank youTimes asked 1Official solution
SimpleJinja for loop list render karta hai. loop.index, else branch empty list pe.
Example
{% for u in users %} <tr><td>{{ loop.index }}</td><td>{{ u.email }}</td></tr> {% endfor %}Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
28
He said okay all the best Bye Also in the sheet, u won't find this id properly in one response it was mam, it is a sir actually so I am pasting the response too from where I prepared one of the stu shared me who had same proctor on same day just diff slot *_PREVIOUS RESPONSES_* "1. Give a brief demonstration of your projectTimes 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
-
29
After I explained he asked to go back again to student_dashboard and asked to align the flash message to center as it was on the top-left so I did that.Times asked 1Official solution
Simpleredirect dusre URL pe bhejta hai. flash one-time message session mein rakh ke next page pe dikhata hai.
Example
flash('Login successful', 'success') return redirect(url_for('user.dashboard'))Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
30
After this in navbar I used the links and Pipe symbol instead of buttons for [Profile | Edit Profile | Logout] so he asked to change these links into a buttons so I did that.Times asked 1Official solution
SimpleLive UI change: relevant CSS/HTML template kholo — color, margin, flex, bootstrap class. Save + hard refresh.
Example
/* button red */ .btn-primary { background: red; } /* center navbar item */ .navbar { justify-content: center; }Viva tipDevTools se pehle try, phir file mein permanent change.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
31
Then he asked me to go on database file, I thought he is asking for database.py (but it was models.py ) so he asked me from database.py only that what is the use of this file, why I used ORM ?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
-
32
Then he asked http methods for CRUD operations but I thought he is asking me to explain what are CRUD operations so I started but then he said methods so I explained the GET, POST, PUT, DELETE then he asked have you heard of PATCH then I explained it then he said ok, Thank you, That's all from my side" "Asked me to download the project from the portal. Asked why I was using a virtual environment (venv). Asked me to give a demo of the project. Asked what cascade=""all, delete-orphan"" means in models.py. Asked me to change the position of the Edit Profile button. Asked me to replace Edit Profile text on the button with the name of the currently logged-in student. Asked what if __name__ == ""__main__"": means in app.py."Times asked 1Official solution
SimpleExaminer portal wala submitted ZIP chahta hai. Local extra changes mat dikhana.
Suggested flow1) Portal ZIP download
2) Extract
3) venv + pip install -r requirements.txt
4) flask run / python app.pyCommunity answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet