Based on 13 student review(s) and 10 tip(s) for this examiner (grouped from similar proctor IDs).
Traits
ChillPatientFriendlyCalmProject-focused
Attitude
Generally calm and student-friendly. Described as nice/helpful by students
Questioning style
Expects you to know and possibly modify your project code. May dig into database/models
Preparation tips
• just don't panic and be honest
• Be calm you can take time and just be honest don't fake anything or try to cheat. He is a very genuine and a good guy.
• Focus on config.py and api
• Kind, supportive
• Level1 91 sir was really patient and helpful. Revise all concepts and you should be fine.
• Remember the basics. I have not received my score yet so I can't say how my strategy was.
I downloaded my code from portal and made a virtual environment upfront instead of doing checksum, proctor was fine with both.
Spent majority of my time explaining my code thoroughly when showing my website, showing features, database, how my database updated and stuff.
Sir didn't ask questions when I was explaining. After that he asked about the things I questions.
• Know your Code Well
• Nice and Chill Guy
• Know your codebase very well. because he can ask you to explain or show any part of the code of his choice. else He was chill and supportive.
• Just be aware of your code which line has the code for which feature. He asks it for sure.
Then make sure to be ready to change the minor code changes like I have mentioned. He is chill. Ended by saying all the best for Level 2
Tips for this examiner: Mostly Repeated questions of this procter. All the best!
Student reviews
VithyasagarMAD1
Just be aware of your code which line has the code for which feature. He asks it for sure. Then make sure to be ready to change the minor code changes like I have mentioned. He is chill. Ended by saying all the best for Level 2
Questions remembered
ID Card Github Collaborator Asked to download project from portal Waits till you install dependencies and run the application Asked if I have used JWT or not Asked me to register as a Company, approve it and create a drive, and also asked if search features are implemented Basically checked the features are implemented or not Asked to show where the code for a certain feature is there, and also for celery tasks code too. Theory Questions:
Why we use Celery with Redis
CDN vs CLI
Use of Redis Code changes:
Change the color of the button(frontend)
Change the route so that when we navigate to login in browser, it should take to company register page(backend)
Mahaprasad NandaMAD1
Know your codebase very well. because he can ask you to explain or show any part of the code of his choice. else He was chill and supportive.
Questions remembered
ID
Github Collaborator
download the project from the portal and start the demonstration
I had some issues with setting up the venv. so in the meanwhile he helped me setting up the venv.
While the requirements was downloading he asked some theory question like cdn vs cli, V-model in vuejs and some other theory questions i don't exactly remember. after that he told me to login as admin and demonstrate the functionality and so on towards demonstration.
He was asking for every particular feature like in the code where have you implemented this. Than asked me to change the colour of the navbar and on the notepad asked me to write a sqlalchemy query. after that he said be ready for level-2
PJMAD1
Nice and Chill Guy
Questions remembered
Proctor : level1 91
ID and GitHub Collab verification
Project Demo
Asked to make live changes (1 in both frontend and backend) :
can you make a code change such that when a user types /register in the browser address bar, it actually displays the Login page instead of the Registration page?
remove the border shadow in login form
What is ORM
What is SQL injection
What is CRUD Applications All done in 20 minutes
Sheet responseMAD1
Know your Code Well
Questions remembered
Asked whether I would like to do checksum or download from portal
Application Introduction and how it works
CRUD
HTTP methods
GET vs POST
Asked to paste the link in any other Browser and asked why is it asking for log in again. Asked to show that part of code where I implemented that feature.
Status Codes
Change the button color in Company Dashboard
Write a route for admin to see any unapproved drives
Locate the code where admin can see companies
MAD1 Level 1MAD1
Remember the basics. I have not received my score yet so I can't say how my strategy was. I downloaded my code from portal and made a virtual environment upfront instead of doing checksum, proctor was fine with both.
Spent majority of my time explaining my code thoroughly when showing my website, showing features, database, how my database updated and stuff.
Sir didn't ask questions when I was explaining. After that he asked about the things I questions.
Questions remembered
Go through all of the features of your website and show functionality.
Make a html form in my dashboard that takes 2 inputs.
Write syntax of a sql query.
What is request.
What is payload.
Show that Admin can search for companies and Students 7)Show that user can edit their profile. ( I showed resume submission and viewed the pdf too)
SuyashMAD1
Level1 91 sir was really patient and helpful. Revise all concepts and you should be fine.
Questions remembered
Asked difference between filter and filter by
What are requests?
Tech stack used
What is sqlalchemy
Add an option of your choice in create drive (coding) like for example if eligibility, job description, job title etc are present. They asked to add something like cgpa.
Radha NMAD1
Kind, supportive
Questions remembered
Show the id
Download submission from viva workflow site
Show the functionality of my website
To explain line 10 and 11 of my code
How to code if I have to change db from instance folder to static folder
Can patient edit the information
Bharat MaheshwariMAD1
Shared viva questions from response sheet: What is CDN; How do you get a user from SQLAchemy query; What is bootstrap
Questions remembered
What is CDN
How do you get a user from SQLAchemy query
What is bootstrap
Sheet responseMAD1
Shared viva questions from response sheet: - demo of the app; - checked features from view rubrics points on portal; - explain user class
Questions remembered
- demo of the app
- checked features from view rubrics points on portal
- explain user class
- what is ORM? explain
- what are http methods
- difference between get and post
..MAD1
Focus on config.py and api
Questions remembered
Main focus on configuration and API
Asked what can replace dotenv
Demo of project
Basic Jinja coding
How have I implemented charts
Shriyash JagtapMAD1
Shared viva questions from response sheet: No theory question asked me to code, please go through jinja and flask api end points and how they are made, heard that he asked same question to some other student, also learn your config file well and be ready for coding
Questions remembered
No theory question asked me to code, please go through jinja and flask api end points and how they are made, heard that he asked same question to some other student, also learn your config file well and be ready for coding
Abhist JainMAD1
Be calm you can take time and just be honest don't fake anything or try to cheat. He is a very genuine and a good guy.
Questions remembered
So first thing was checksum, After that i created the venv setup he clearly asked everything what am i doing why am i doing and all. took 5 mins.
Then i showed him all the curd working fine explain him everything in detail. Since i implemented the extra functionalities like (continents -> country -> state -> city -> parking lot -> parking spot -> reservation) and their CURD took of time there to show everything. He was very very impressed. Also the folder structure i used and the enum architecture which make application robust and scalable.
Question 1: what is blueprint and why do we use it.
Question 2: How to write for loop if else in jinja 2?
Question 3: Show me a basic working route how u created.
Question 4: Open any xyz route and explain it to me what have u done and how have u done it ?
Question 5: How have you done authentication and how u implemented in the application? E.g. JWT and Flask_Login in my case i did both.
Question 6: Difference between authentication and authorization ?
Question 7: Can u explain how to initalize any flask application and i explained him everything?
Note: I asked him for any feedback he said: "U did a great job and i am very impressed with your work."
Sheet responseMAD1
just don't panic and be honest
Questions remembered
Demo of app
Asked to demonstrate specific functionalities
What's the tech stack used
How to initialise flask
How to use if condition in jinja
What's orm and which one have you used
How to get the email of an user in orm if you have their username
3)download the zip folder from website or use checksum(just download the file but keep the vs code open before downloading it having all packages installed make sure it is running
Times asked2
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
just act like you opened the file which you downloaded )
Times asked2
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
4)demonstration
Times asked2
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
5)questions regarding the functionalites
Times asked2
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
7)asked to wirte a app route
Times asked2
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
8)asked to change the frontend part of code
Times asked2
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
10)diff b/w vshow and vif
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: If he tells you the app looks good, which mean get ready to answer all the forntend part , and be prepared with each line of code. he might ask anything
He took viva for 1 hour
Advice: Suggestions/Tips
Read your entire code thoroughly.
Know your frontend, backend, database, and execution flow.
Understand every feature you implemented.
Practice basic SQL queries.
Be honest if you don't know an answer—the examiner is helpful, but you should know your own code.
* Asked me to run the project and demonstrate the complete company flow:
Times asked2
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
* Company registration
Times asked2
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
* Student applies for the drive
Times asked2
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
* Asked if the same student could apply twice for the same drive. I explained the frontend validation and backend *Unique Constraint* for duplicate prevention.
Times asked1
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
* Finally, he asked me to write an API to fetch all blacklisted users.
Times asked2
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
* After that, he said, "You did well. You are eligible for MAD2." and asked me to leave the Google Meet.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: Overall,Very friendly examiner. He gave enough time to demonstrate everything and the viva felt comfortable.
- Then during the project demonstrate he guided me through the flow himself... like login as an admin first, then make staff, then create a trek... you just have to follow 🫡..
Times asked1
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
- Also asked me to demonstrate the export csv functionality and then open the csv file
Times asked2
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
- Webhooks lifecycle and how do we use them in an app
Times asked2
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
- What is a session and localStorage? What's the difference between them?
Times asked2
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
- Asked me to show where I had implemented the logic for the trekker to not be able to book treks which had no slots available
Times asked2
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
- Write a query to get all the blacklisted staff members
Times asked1
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
- Change the color of the sidebar and some buttons
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: He was really patient and supportive throughout the viva... helped me resolve some errors i was getting while showing him the export csv functionality... he was patiently waiting for me to complete my setup and whenever i had to search for a particular line in my code... for the celery tasks because I had no past emails to show him he just said, "show me the code and I'll give you the marks based on that"... overall quite a chill proctor 😃
Asked Can i apply twice, then he asked to show the code for it. I had implemented both frontend and backend validation, so I showed both.
Times asked1
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
Asked about Jwt, but I told him I have used flask-security.
Times asked2
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
Show mail for admin report, reminder
Times asked2
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
In notepad - sqlalchemy query for retrieving all the blacklisted students.
Times asked1
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: He was very Chill.
All the questions he asked were already in sheet.
Time was 6pm but he joined 6:15 bcoz of something, still he was calm and didn't rush me for anything.
Gave me time for doing what he asked, like installing the dependencies and all takes time.
I was kind of just notifiying him like backend is running now, redis-server is running...
Between these installs, there was complete silence, he didn't ask anything and I was just saying things after completing them or when he asked.
Be calm, explain everything confidently. All the Best!!
I had some issues with setting up the venv. so in the meanwhile he helped me setting up the venv.
Times asked2
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
He was asking for every particular feature like in the code where have you implemented this. Than asked me to change the colour of the navbar and on the notepad asked me to write a sqlalchemy query. after that he said be ready for level-2
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: Know your codebase very well. because he can ask you to explain or show any part of the code of his choice. else He was chill and supportive.
He asked for demo (He himself told me the flow , like login as company , then approve as admin , ...)
Times asked2
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
Have you used jwt?
Times asked1
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
Then he asked me to show the code for sending the approval mail (after a company is successfully approved by admin)
Times asked2
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
Then he asked many pieces of code like where is this , that etc...
Times asked2
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 asked me ports like what is 400, 401 , 200 , 403 etc....
Times asked2
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 he asked me to show the sent mail( he also approves if you show him already sent mails that you've tested and you can show that from your inbox)
Times asked2
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
Have you used ai ( I coded the blueprint and routes myself and used ai to refine the code and generate the messages to be send in the mail) and he said ok
Times asked2
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
He asked me to code celery scheduler...i did'nt know so he asked...(you said you coded yourself , then why not this ? I told..if you'd allow me to verify celery documentation , I'll brush up the syntax and code it- Then he said not necessary)
Times asked1
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
He asked me to code the route to display all unapproved drives
Times asked2
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
Then he asked me to change the color and size of a button
Times asked2
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
Finaly he asked...
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: He was very nonchalant , he will ask a question and won't ask any cross question until you answer it or directly tell him you don't know...
Viva was exactly for 30 minutes
One thing that can impress him is , whatever functionality he asks , know where that part of code is , in your project .
He won't talk much , but he is not very strict too....
The coding questions are repeated . So make sure to go through the spreadsheet..Btw mine was level 1
He is very patient and waits for you to search your file .
Just don't stay silent
Ask me to run the app ...ask to implement functionality like register company add drive blacklist company etc.. then he ask me to show backend job of some functionality like where I implement eligibility criteria to apply for job ... Then ask me to show celery schedule jobs and ask me to export CSV.. then he ask to change colour of nav bar and then he ask me to write query to fetch blacklist company in notepad and some theoretical questions: lifecycle hook , create vs mount , caching
Times asked1
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: He was too humble , be honest if you don't know and kyc
login as company, login as student, create drive, apply as student to drive, export csv(basically any random subset of core requirements)
Times asked2
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
Code a route in notepad(I had to display unapproved drives. Wasn't able to do it)
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: He doesn't speak much but I didn't feel he was too strict. Just be confident and if you don't know something, be honest. Don't try to decieve him.
He told me to login as admin ,then add trek,add staff,change staff
Times asked2
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
login as staff then saw all features there ,then he told me to change slots and show in code where I had implemented that.
Times asked1
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
login as user ,book any trek then he told me to show code where I manage the overbooking.
Times asked2
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 told me to show backend jobs and saw my previous sent mail when I tested it .
Times asked1
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
Show export CSV and told me to change the bg color of that (export CSV) button.
Times asked2
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
then he told me to change backend such that when I run the application, I land to register page not login .
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: Theory questions are generally same . He only ask about caching,redis,ORM,vue lifecycle hooks.
The overall experience was good and don't wry just know your code well and you are good to go . Idk why he told me to do changes in Level 1.
All the best.
He asked have you yourself used AI, means he got sus.
Times asked2
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
Have you applied all 4 functionalities
Times asked2
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
Have you applied caching
Times asked1
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
If a user triggers any API, explain its flow
Times asked2
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
Write a new .vue file in notepad
Times asked2
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
What are vue computed properties.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: Be ready with the coding changes both for frontend and backend cause it's mentioned in the rubrics also. Take most of the time explaining your project.
Vue Lifecycle (the 4 stages and a brief explanation for each stage in it is better to know)
Times asked1
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
Whats ORM (I did raw sql i was honest abt it i told ppl said u can go with either aproach he said ok)
Times asked2
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
did u implement JWT tokens (if not then y and what u did)
Times asked2
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
and smth else idr
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: show ur demo properly i was lucky as he was in a hurry as he had another viva so he left me within 15-20 mins and also so luckily no code making and code changes . but i had rescheduled from thur 530 pm to fri 630 pm. be confident and be honest as much as possible especially in the more important stuff u shd others viva for same proctor its best coz he was in hurry for me so was just wanting me to finish fast so he just said to everything i said
asked to write api routes in notepad (i did 90% code but one small thing i was not able to do)
Times asked2
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 what is jwt where its mentioned
Times asked2
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
told me to write vue codes
Times asked2
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 told me to write flask api
Times asked2
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
asked what is vue library
Times asked2
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 he said i have done malpractice cause the code was very clean and i had given multi-line comments (i said that i saw in live sessiosn also and read that multi-line commens are good to write) but said i didnt wrote the code by myself and i will be malpracticed
Times asked2
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
took my viva for 1 hour !!!
Times asked2
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
hope i pass (even a E grade is okay this time)
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: prepare well for him... he likes to fail students
have you implemented everything/ did you miss anything
Times asked2
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
where did you implement Caching
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: chill proctor, he doesn't talk for a long time or doesn't respond for a long time during viva, idk why, it'll be like you are talking to yourself :), just show everything you implemented and be confident
edit celery task to schedule periodic tasks to run during viva (ask him if it's okay to edit it before doing anything)
Times asked2
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
demo (just walk through the features, no need to explain code right away. i clarified whether he wanted me to explain while showing before i started and he said no.)
Times asked1
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
he asked me to show where i had used RESTful API
Times asked2
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
what is jwt_required wrapper function and admin_required (custom function i made)
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: the key is to be confident while presenting and explaining! and just know basics of things you've done with your code and you'll do well. all the best!
What percent is generated using AI? Did you mention this in the report?
Times asked2
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
Walk me through all the important features
Times asked2
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
Write a code for a simple sqlalchemy query. (I showed him my existing queries rather than writing)
Times asked1
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
Explain what is Lifecycle hooks. (Explained this and showed implementation in code)
Times asked1
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
What is JWT? Did you use this? (I didnot)
Times asked2
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
Where did you store the token?
Times asked2
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
What will happen when we do a hard reload?
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: I stored my token in the localStorage and then from the localStorage I stored that in a Vuex.store object but according to him I was able to access the page even after reloading even though I was using Vuex.store. He asked me why and I couldnot figure it out at that moment. Neither could he... That took the last few minutes we had.
I later found out that immediately after creating the Vuex.store object we are setting it from localStorage so that why it gets rewritten upon a hard-reload
Proctor 'sounds' young and chill.... Just know your stuff and you are good to go... Good Luck :)
2.) Write code which returns current timestamp and run this in browser or via postman
Times asked2
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
3.) Add caching to above code
Times asked2
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
4.) Show code for celery
Times asked2
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
5.) Autherization vs Authentication, explain via your code.
Times asked2
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
6.) Vue life cycle hooks
Times asked2
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
7.) What are these hooks, name them, and what they do
Times asked2
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
8.) he asked few more things ......
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: He cooked me
first mistake i did was giving demo fast, like in less than 10 minutes.
I don't know why he asked to write code in level1 viva.
he speaks very little
SimpleRedis fridge pe sticky note hai — poori kitchen (database) kholne ki zarurat nahi.
Redis in-memory key-value store hai. Data RAM mein rehta hai, isliye disk wale SQLite/Postgres se kai guna tez.
MAD2 mein Redis do kaam karta hai:
1) Cache — same venue/show/dashboard JSON baar-baar DB se mat nikaalo.
2) Celery message broker — Flask task queue mein daalta hai, worker uthata hai.
Source of truth database hi hai. Redis band ho to cache miss ho jaata hai aur Celery queue ruk sakti hai. Crash pe cache gayab ho sakta hai — isliye important data sirf Redis mein mat rakho.
Project example: GET /api/venues pehle Redis dekho. Miss pe SQLAlchemy query, phir SET with timeout. Celery worker Redis list se daily reminder uthata hai.
Viva tipCache ke liye db=1, broker ke liye db=0 rakhna smart hai taaki keys mix na hon. Viva mein redis-cli ping → PONG dikhana strong 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
2
Change the color of the button(frontend)
Times asked1
Official 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
Advice: Just be aware of your code which line has the code for which feature. He asks it for sure.
Then make sure to be ready to change the minor code changes like I have mentioned. He is chill. Ended by saying all the best for Level 2
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
Asked to make live changes (1 in both frontend and backend) :
Times asked1
Official 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
4
can you make a code change such that when a user types /register in the browser address bar, it actually displays the Login page instead of the Registration page?
Times asked1
Official 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) Logout
Browser + API ke beech extra darwaze: CORS origin allow, HTTPS encrypt transit, CSRF cookie-auto-send attack, XSS HTML inject, SQL injection raw query.
MAD2 SPA: Vue :8080 Flask :5000 → Flask-CORS. JWT localStorage XSS se chori ho sakta — v-html user input pe avoid. Password Network tab localhost pe dikhega; prod HTTPS, response mein password echo nahi.
401 unauthenticated, 403 unauthorized, 400 validation. Hash one-way — SHA decrypt nahi hota. Secret key .env, GitHub pe nahi.
Example
# bad: f"SELECT * FROM user WHERE name='{name}'"
User.query.filter_by(name=name) # good
Project example: filter_by(name=name) good.
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
What is CRUD Applications All done in 20 minutes
Times asked1
Official solution
SimpleCRUD = Create Read Update Delete. Admin pe ek resource ke 4 ops dikhao.
Asked to paste the link in any other Browser and asked why is it asking for log in again. Asked to show that part of code where I implemented that feature.
Times asked1
Official 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) Logout
Advice: Remember the basics. I have not received my score yet so I can't say how my strategy was.
I downloaded my code from portal and made a virtual environment upfront instead of doing checksum, proctor was fine with both.
Spent majority of my time explaining my code thoroughly when showing my website, showing features, database, how my database updated and stuff.
Sir didn't ask questions when I was explaining. After that he asked about the things I questions.
No theory question asked me to code, please go through jinja and flask api end points and how they are made, heard that he asked same question to some other student, also learn your config file well and be ready for coding
Times asked1
Official 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 %}
3)download the zip folder from website or use checksum(just download the file but keep the vs code open before downloading it having all packages installed make sure it is running
Times asked2
Official 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.py
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
just act like you opened the file which you downloaded )
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
Advice: If he tells you the app looks good, which mean get ready to answer all the forntend part , and be prepared with each line of code. he might ask anything
He took viva for 1 hour
Viva tipParking lot delete → uske spots/bookings policy clear bolo.
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
9.Open notepad and write a query to book for easy treks (asked me to open models.py and asked to write query)
Times asked2
Official solution
Simplemodels.py = har table ki class: columns, PK/FK, relationships. Yeh Model layer hai.
Suggested flow1) Classes list karo
2) Har table ka kaam 1 line
3) Relationships (1-M / M-M)
4) Constraints (unique, nullable)
Example
class Lot(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(80), nullable=False)
spots = db.relationship('Spot', backref='lot', lazy=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
Advice: Very cool proctor and he will give suggestions then and there.
Advice: Suggestions/Tips
Read your entire code thoroughly.
Know your frontend, backend, database, and execution flow.
Understand every feature you implemented.
Practice basic SQL queries.
Be honest if you don't know an answer—the examiner is helpful, but you should know your own code.
- Webhooks lifecycle and how do we use them in an app
Times asked2
Official solution
SimpleLifecycle = component ki zindagi ke stages. API call tab jab DOM ready ho — mounted.
created: instance bani, this data, DOM nahi. mounted/onMounted: page pe aa gaya — fetch, Chart.js, setInterval.
updated: data change ke baad. unmounted: cleanup (clearInterval) warna memory leak.
Dashboards onMounted isliye: canvas/API tab valid. created mein $el nahi.
Viva tipcreated: data setup, DOM nahi. mounted/onMounted: $el mil gaya — fetch yahi. Dashboards isliye onMounted use karti hain.
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
- What is a session and localStorage? What's the difference between them?
Times asked2
Official solution
SimpleMAD1 mein usually session-based auth: login pe session['user_id'], har request pe verify.
Example
session['user_id'] = user.id
uid = session.get('user_id')
user = User.query.get(uid)
Viva tipSECRET_KEY set karo warna session insecure. logout pe session.clear().
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
- Asked me to show where I had implemented the logic for the trekker to not be able to book treks which had no slots available
Times asked2
Official 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
- Change the color of the sidebar and some buttons
Times asked2
Official 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
Advice: He was really patient and supportive throughout the viva... helped me resolve some errors i was getting while showing him the export csv functionality... he was patiently waiting for me to complete my setup and whenever i had to search for a particular line in my code... for the celery tasks because I had no past emails to show him he just said, "show me the code and I'll give you the marks based on that"... overall quite a chill proctor 😃
SimpleCRUD = Create Read Update Delete. Admin pe ek resource ke 4 ops dikhao.
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
Approve the drive
Times asked2
Official 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
9
Login/register and Apply as a student
Times asked2
Official solution
Yeh feature demo hai. Account ready rakho, steps bol ke dikhao.
Role ke hisaab login → action (create/approve/book) → DB/UI pe result → edge case (fail when slots=0 / blacklisted).
Do browser windows: admin + user. Search/filter alag se dikhao.
Agar feature nahi hai to sach bolo aur 2 minute mein kaise add karoge (query + template) explain karo.
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
Asked about Jwt, but I told him I have used flask-security.
Times asked2
Official solution
SimpleFlask lightweight Python web framework — routes, request/response, templates. MAD1 ka backend yahi hai.
Project example: Admin export venues. MailHog attach ya file open.
Viva tipNetwork tab mein job trigger API dikhao, phir MailHog/file open karke columns verify karo.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: He was very Chill.
All the questions he asked were already in sheet.
Time was 6pm but he joined 6:15 bcoz of something, still he was calm and didn't rush me for anything.
Gave me time for doing what he asked, like installing the dependencies and all takes time.
I was kind of just notifiying him like backend is running now, redis-server is running...
Between these installs, there was complete silence, he didn't ask anything and I was just saying things after completing them or when he asked.
Be calm, explain everything confidently. All the Best!!
He was asking for every particular feature like in the code where have you implemented this. Than asked me to change the colour of the navbar and on the notepad asked me to write a sqlalchemy query. after that he said be ready for level-2
Times asked2
Official 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
Advice: Know your codebase very well. because he can ask you to explain or show any part of the code of his choice. else He was chill and supportive.
Viva tipViva mein MailHog/inbox dikhao. Port 587 TLS common; local pe MailHog 1025.
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
Have you used ai ( I coded the blueprint and routes myself and used ai to refine the code and generate the messages to be send in the mail) and he said ok
Times asked2
Official solution
SimpleBlueprint se app ko modules mein todte ho — auth, admin, user alag files. Scale + clean structure.
He asked me to code the route to display all unapproved drives
Times asked2
Official 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
8
Then he asked me to change the color and size of a button
Times asked2
Official 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
9
Finaly he asked...
Times asked2
Official 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
10
What is MVC
Times asked3
Official solution
SimpleMVC = Model-View-Controller. Code ko 3 hisson mein baant ta hai taaki mix na ho.
Model: data + DB. models.py — User, Trek, Booking classes.
View: jo user dekhta hai. templates/*.html + Jinja.
Controller: beech ka logic. routes / app.py — request lo, model se data, view ko do.
Example flow (register):
Browser form POST → Controller register() → User model save → redirect → View dashboard.html
Draw: Browser → Controller → Model → DB, phir Controller → View → Browser.
ORM na ho to bhi MVC ho sakta hai — Model raw SQL functions ho sakte hain. Structure matter karta hai, library nahi.
MVP/MVVM doosri architectures hain; MAD1 mein MVC expected 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
Advice: He was very nonchalant , he will ask a question and won't ask any cross question until you answer it or directly tell him you don't know...
Viva was exactly for 30 minutes
One thing that can impress him is , whatever functionality he asks , know where that part of code is , in your project .
He won't talk much , but he is not very strict too....
The coding questions are repeated . So make sure to go through the spreadsheet..Btw mine was level 1
He is very patient and waits for you to search your file .
Just don't stay silent
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
Advice: He doesn't speak much but I didn't feel he was too strict. Just be confident and if you don't know something, be honest. Don't try to decieve him.
Viva tipSirf worker = scheduled jobs nahi chalenge. Sirf beat = queue bhar jaaye, koi run nahi karega.
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
blacklisted users query
Times asked1
Official 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
11
redis working
Times asked2
Official solution
SimpleRedis fridge pe sticky note hai — poori kitchen (database) kholne ki zarurat nahi.
Redis in-memory key-value store hai. Data RAM mein rehta hai, isliye disk wale SQLite/Postgres se kai guna tez.
MAD2 mein Redis do kaam karta hai:
1) Cache — same venue/show/dashboard JSON baar-baar DB se mat nikaalo.
2) Celery message broker — Flask task queue mein daalta hai, worker uthata hai.
Source of truth database hi hai. Redis band ho to cache miss ho jaata hai aur Celery queue ruk sakti hai. Crash pe cache gayab ho sakta hai — isliye important data sirf Redis mein mat rakho.
Project example: GET /api/venues pehle Redis dekho. Miss pe SQLAlchemy query, phir SET with timeout. Celery worker Redis list se daily reminder uthata hai.
Viva tipCache ke liye db=1, broker ke liye db=0 rakhna smart hai taaki keys mix na hon. Viva mein redis-cli ping → PONG dikhana strong 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
12
vue cycles
Times asked2
Official solution
SimpleVue = UI ka smart assistant. Data badlo, screen khud update. MAD1 Jinja har click pe naya HTML.
1) Data chahiye to models.py mein column/relationship + DB update (ALTER / migrate / create_all).
2) Route: GET pe form/page, POST pe request.form se save, flash + redirect.
3) Template: input name=... Jinja se {{ obj.field }} display.
4) Rule: duplicate, range, role check backend pe.
I did everything correct but I answer one question wrong so he gave me a chance and ask what is orm and it's benefits. That's all in 27 minutes session.
Times asked1
Official 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=5
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: Theory questions are generally same . He only ask about caching,redis,ORM,vue lifecycle hooks.
The overall experience was good and don't wry just know your code well and you are good to go . Idk why he told me to do changes in Level 1.
All the best.
Viva tipFayde: easy, SFC, reactivity. Vs React: chhota learning curve. Vs plain JS: UI state auto-update.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: Be ready with the coding changes both for frontend and backend cause it's mentioned in the rubrics also. Take most of the time explaining your project.
Viva tipAlgo HS256. Secret env var. jwt.io pe payload dikhao, secret public site pe mat paste.
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
and smth else idr
Times asked2
Official 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
Advice: show ur demo properly i was lucky as he was in a hurry as he had another viva so he left me within 15-20 mins and also so luckily no code making and code changes . but i had rescheduled from thur 530 pm to fri 630 pm. be confident and be honest as much as possible especially in the more important stuff u shd others viva for same proctor its best coz he was in hurry for me so was just wanting me to finish fast so he just said to everything i said
Baar-baar same expensive kaam (DB query, counting bookings) mat karo. Result Redis jaise store mein timeout ke saath rakh do.
Cache hit: key mil gayi, DB skip. Cache miss: DB se lao, SET karo, return karo.
Tradeoff: speed vs stale data. Admin naya venue add kare aur cache 50s ka ho to user purani list dekh sakta hai — isliye write pe invalidation zaroori hai.
Viva tipFayde: easy, SFC, reactivity. Vs React: chhota learning curve. Vs plain JS: UI state auto-update.
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
then he said i have done malpractice cause the code was very clean and i had given multi-line comments (i said that i saw in live sessiosn also and read that multi-line commens are good to write) but said i didnt wrote the code by myself and i will be malpracticed
Times asked2
Official 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
8
took my viva for 1 hour !!!
Times asked2
Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
have you implemented everything/ did you miss anything
Times asked2
Official solution
SimpleJo miss hai honestly bolo + why (time). Agar examiner maange to quick plan: kahan add karoge.
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 vue lifecycle
Times asked1
Official solution
SimpleLifecycle = component ki zindagi ke stages. API call tab jab DOM ready ho — mounted.
created: instance bani, this data, DOM nahi. mounted/onMounted: page pe aa gaya — fetch, Chart.js, setInterval.
updated: data change ke baad. unmounted: cleanup (clearInterval) warna memory leak.
Dashboards onMounted isliye: canvas/API tab valid. created mein $el nahi.
Baar-baar same expensive kaam (DB query, counting bookings) mat karo. Result Redis jaise store mein timeout ke saath rakh do.
Cache hit: key mil gayi, DB skip. Cache miss: DB se lao, SET karo, return karo.
Tradeoff: speed vs stale data. Admin naya venue add kare aur cache 50s ka ho to user purani list dekh sakta hai — isliye write pe invalidation zaroori hai.
@cache.cached(timeout=50, query_string=True)
@app.route('/api/shows')
def shows():
return jsonify([s.serialize() for s in Show.query.all()])
Project example: Admin dashboard counts / venues list cache. Create/update/delete ke baad cache.delete('venues').
Viva tipprint('DB queried') function ke andar laga ke miss/hit demo karo — hit pe print nahi chalega.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: chill proctor, he doesn't talk for a long time or doesn't respond for a long time during viva, idk why, it'll be like you are talking to yourself :), just show everything you implemented and be confident
Viva tipAlgo HS256. Secret env var. jwt.io pe payload dikhao, secret public site pe mat paste.
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
explain caching and show where you used it. what is query key and query string (i used caching on a search route that's why) that was it. he joined in late for some reason and the viva was done in 20 minutes. i asked him if he had any suggestions and he said "nope, you've implemented everything and presented it well"
Advice: the key is to be confident while presenting and explaining! and just know basics of things you've done with your code and you'll do well. all the best!
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirect
Viva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: I stored my token in the localStorage and then from the localStorage I stored that in a Vuex.store object but according to him I was able to access the page even after reloading even though I was using Vuex.store. He asked me why and I couldnot figure it out at that moment. Neither could he... That took the last few minutes we had.
I later found out that immediately after creating the Vuex.store object we are setting it from localStorage so that why it gets rewritten upon a hard-reload
Proctor 'sounds' young and chill.... Just know your stuff and you are good to go... Good Luck :)
Baar-baar same expensive kaam (DB query, counting bookings) mat karo. Result Redis jaise store mein timeout ke saath rakh do.
Cache hit: key mil gayi, DB skip. Cache miss: DB se lao, SET karo, return karo.
Tradeoff: speed vs stale data. Admin naya venue add kare aur cache 50s ka ho to user purani list dekh sakta hai — isliye write pe invalidation zaroori hai.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirect
Viva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
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
8.) he asked few more things ......
Times asked2
Official 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
Advice: He cooked me
first mistake i did was giving demo fast, like in less than 10 minutes.
I don't know why he asked to write code in level1 viva.
he speaks very little
Some people said he cooked them but i found him chill (he just don't speak much and will not tell you if your answer is correct or not)
Times asked2
Official 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
2
Showed id
Times asked3
Official 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
3
Asked me explain any api and model
Times asked2
Official solution
Simplemodels.py = har table ki class: columns, PK/FK, relationships. Yeh Model layer hai.
Suggested flow1) Classes list karo
2) Har table ka kaam 1 line
3) Relationships (1-M / M-M)
4) Constraints (unique, nullable)
Example
class Lot(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(80), nullable=False)
spots = db.relationship('Spot', backref='lot', lazy=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
What is Vue life cycle hook and if used any
Times asked2
Official solution
SimpleVue = UI ka smart assistant. Data badlo, screen khud update. MAD1 Jinja har click pe naya HTML.
Baar-baar same expensive kaam (DB query, counting bookings) mat karo. Result Redis jaise store mein timeout ke saath rakh do.
Cache hit: key mil gayi, DB skip. Cache miss: DB se lao, SET karo, return karo.
Tradeoff: speed vs stale data. Admin naya venue add kare aur cache 50s ka ho to user purani list dekh sakta hai — isliye write pe invalidation zaroori hai.
Viva tipUnknown keyword: import, decorator, if, commit — har ka reason. Panic mat.
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
Why you have used redis?, how fast it is?
Times asked2
Official solution
SimpleRedis fridge pe sticky note hai — poori kitchen (database) kholne ki zarurat nahi.
Redis in-memory key-value store hai. Data RAM mein rehta hai, isliye disk wale SQLite/Postgres se kai guna tez.
MAD2 mein Redis do kaam karta hai:
1) Cache — same venue/show/dashboard JSON baar-baar DB se mat nikaalo.
2) Celery message broker — Flask task queue mein daalta hai, worker uthata hai.
Source of truth database hi hai. Redis band ho to cache miss ho jaata hai aur Celery queue ruk sakti hai. Crash pe cache gayab ho sakta hai — isliye important data sirf Redis mein mat rakho.
Project example: GET /api/venues pehle Redis dekho. Miss pe SQLAlchemy query, phir SET with timeout. Celery worker Redis list se daily reminder uthata hai.
Viva tipCache ke liye db=1, broker ke liye db=0 rakhna smart hai taaki keys mix na hon. Viva mein redis-cli ping → PONG dikhana strong 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
9
Explain flow of search functionality? (Api call and all)
Kaunsi routes, timeout, key_prefix, query_string. POST pe nahi.
print after set sirf miss. Timeout chhota karke expiry.
Redis in-memory key-value store hai — fridge pe sticky note, poori kitchen (SQL database) har baar mat kholo.
MAD2 mein Redis do kaam: (1) cache — same venues/shows/dashboard JSON baar-baar DB se nahi (2) Celery broker — Flask task queue mein daalta hai, worker uthata hai.
Flow: cache.get(key) → hit pe return, miss pe SQLAlchemy + SET with timeout. Admin write ke baad cache.delete, warna stale list.
Source of truth database hi hai. Redis crash/band = cache miss (app chalni chahiye) + queue ruk sakti hai. Important bookings sirf Redis mein mat rakho.
Project example: resources list GET cached. create_venue delete key.
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
Show where JWT/Flask-Security authentication is implemented.
Times asked1
Official solution
Simplecreate_access_token, @jwt_required, frontend header. Show where JWT/Flask-Security.
Open three places.
Authentication poochta hai "tu kaun hai?", Authorization poochta hai "tujhe yeh kaam karne ki permission hai?"
Authentication: login. Username + password hash check. Success pe JWT/session. Galat credentials = 401.
Authorization: uske baad role. Admin hi venue/lot delete kare, student nahi = 403 (logged in ho, allowed nahi).
MAD2: POST /api/login = authentication. @jwt_required identity. @roles_required('admin') ya Vue v-if="isAdmin" = authorization. Frontend hide sirf UX — asli deny backend pe.
Validation alag: form sahi bhara (email format, age 18+). Woh identity prove nahi karta. Password store hash (Werkzeug), JWT payload padha ja sakta hai isliye secret mat daalo.
Project example: auth.py resources login.vue.
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
Write a SQLAlchemy query to retrieve:
A user by ID.
All blacklisted users/companies/staff.
All unapproved drives.
Easy treks (project-specific filtering).
Times asked1
Official solution
Simpleget id, filter blacklisted, unapproved, easy flag. Same Query API. Write SQLAlchemy query retrieve user by id blacklisted unapproved easy treks.
Project example: resources.py new Resource. Test Thunder. Optional Vue fetch.
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
Modify the Celery scheduler.
Times asked1
Official solution
SimpleEdit beat dict, restart beat, log Sending due task.
Same as live_celery.
Celery Python ka distributed task queue — HTTP request ko 10s email/CSV ke liye mat rokna.
Flow: Flask .delay() → Redis broker → Worker execute. Beat alag process hai (clock): crontab padhke due time pe queue mein daalta hai. Beat khud mail nahi bhejta; Worker haath hai.
MAD2 typical: daily reminder (Beat), monthly report (Beat), user Export CSV (button, Beat nahi). JS async/await browser event loop hai, Celery server-side process — mix mat karo.
Demo: tin terminals — redis-server, celery worker, celery beat — plus Flask. MailHog :8025 inbox. Result backend se task SUCCESS poll optional.
Project example: config.py.
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
Change the application's default landing page (e.g., Register instead of Login).
Viva tipDevTools se element inspect. Logic/API mat todo unless 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
22
What are Vue lifecycle hooks?
Times asked11
Official solution
SimpleLifecycle = component ki zindagi ke stages. API call tab jab DOM ready ho — mounted.
created: instance bani, this data, DOM nahi. mounted/onMounted: page pe aa gaya — fetch, Chart.js, setInterval.
updated: data change ke baad. unmounted: cleanup (clearInterval) warna memory leak.
Dashboards onMounted isliye: canvas/API tab valid. created mein $el nahi.
Viva tipcreated: data setup, DOM nahi. mounted/onMounted: $el mil gaya — fetch yahi. Dashboards isliye onMounted use karti hain.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
23
Explain the lifecycle hooks you used.
Times asked1
Official solution
SimpleLifecycle = component ki zindagi ke stages. API call tab jab DOM ready ho — mounted.
created: instance bani, this data, DOM nahi. mounted/onMounted: page pe aa gaya — fetch, Chart.js, setInterval.
updated: data change ke baad. unmounted: cleanup (clearInterval) warna memory leak.
Dashboards onMounted isliye: canvas/API tab valid. created mein $el nahi.
Viva tipcreated: data setup, DOM nahi. mounted/onMounted: $el mil gaya — fetch yahi. Dashboards isliye onMounted use karti hain.
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
Difference between created and mounted.
Times asked1
Official solution
Simplecreated soch, mounted dikhai de. API/chart ke liye mounted.
created: reactive data setup. mounted: DOM insert. beforeUnmount cleanup.
Lifecycle = component ki zindagi: created (instance, DOM nahi) → mounted/onMounted (DOM ready — fetch, Chart.js yahi) → updated → unmounted (clearInterval).
Dashboard API created mein isliye nahi ki $el/canvas missing ho sakta. Composition API: onMounted(() => {}) setup ke andar. Options: mounted() method. Mix mat.
Examiner 'konsa hook use kiya' — related .vue kholo, line padh ke bolo.
Project example: created mein token read localStorage. mounted mein fetch with that token.
Viva tipCDN scalable large teams ke liye weak (no SFC compile, caching 3rd party). Examiner 'which + why' poochta hai — jo use kiya wahi justify karo.
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
What is v-model?
Times asked4
Official solution
Simplev-model do tarfa glue: input likho to data, data badlo to input.
Shorthand :value + @input. Forms ke liye. Display ke liye {{ }} / v-bind kaafi.
v-model.number number input. checkbox boolean. select string.
Directives Vue ke special attributes hain — HTML ko superpower: v-if/v-show, v-for, v-bind (:), v-on (@), v-model.
v-if DOM se hataata/jodta. v-show sirf CSS display. Rare/permission: v-if. Bar-bar toggle: v-show. v-model two-way form. v-bind one-way JS→attribute.
:key v-for pe zaroori warna Vue galat reuse. v-html XSS. Secret UI ke liye sirf v-if kaafi nahi — API 403 bhi.
MAD1 Jinja server HTML. MAD2 yeh directives browser mein reactive.
Example
<input v-model="email">
<!-- same as -->
<input :value="email" @input="email = $event.target.value">
Project example: Login email/password v-model, submit pe JSON POST.
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
Difference between Authentication and Authorization.
Times asked20
Official solution
SimpleAuthentication poochta hai "tu kaun hai?", Authorization poochta hai "tujhe yeh kaam karne ki permission hai?"
Authentication: login. Username + password check karke prove karte ho ki tum genuine user ho. Success pe session/token milta hai.
Authorization: uske baad role check. Admin hi parking lot / venue / drive delete kar sakta hai, normal user nahi.
MAD2 mein yeh alag layers hain: login API = authentication (JWT milta hai). @roles_required('admin') ya Vue v-if="isAdmin" = authorization.
Validation alag cheez hai (form sahi bhara hai ya nahi, jaise age 18+). Authentication identity hai, authorization permission, validation input quality.
Example
# Authentication
if user and check_password_hash(user.password, form_password):
token = create_access_token(identity=user.id)
# Authorization
if current_user.role != 'admin':
abort(403) # logged in ho, lekin allowed nahi
Project example: Student login = authentication. Student admin dashboard nahi khol sakta = authorization. Frontend button hide sirf UX hai — asli check backend pe hona chahiye.
Viva tip401 = not logged in / bad token. 403 = logged in, role galat. Examiner yeh difference bahut poochta hai.
Invalid 401. Role claim extra. Refresh optional — most student apps nahi.
Authentication poochta hai "tu kaun hai?", Authorization poochta hai "tujhe yeh kaam karne ki permission hai?"
Authentication: login. Username + password hash check. Success pe JWT/session. Galat credentials = 401.
Authorization: uske baad role. Admin hi venue/lot delete kare, student nahi = 403 (logged in ho, allowed nahi).
MAD2: POST /api/login = authentication. @jwt_required identity. @roles_required('admin') ya Vue v-if="isAdmin" = authorization. Frontend hide sirf UX — asli deny backend pe.
Validation alag: form sahi bhara (email format, age 18+). Woh identity prove nahi karta. Password store hash (Werkzeug), JWT payload padha ja sakta hai isliye secret mat daalo.
Project example: Walk one request Network.
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
Are JWT tokens encoded or encrypted?
Times asked1
Official solution
SimpleJWT encoded+signed, typically not encrypted. Payload readable.
4-line formula: input kahan se aaya, auth/validation kaunsa, DB ya cache ya Celery, kya return.
Related mix mat karo — cache ≠ Celery, authentication ≠ authorization, v-if ≠ v-show, Beat ≠ Worker. Follow-up ke liye ek difference ready rakho.
Project example: jwt.io decode without secret shows claims.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
32
What is the purpose of JWT?
Times asked1
Official solution
SimpleStateless auth APIs. Identity+claims bina server session store.
SPA/mobile. Revoke harder than session.
Authentication poochta hai "tu kaun hai?", Authorization poochta hai "tujhe yeh kaam karne ki permission hai?"
Authentication: login. Username + password hash check. Success pe JWT/session. Galat credentials = 401.
Authorization: uske baad role. Admin hi venue/lot delete kare, student nahi = 403 (logged in ho, allowed nahi).
MAD2: POST /api/login = authentication. @jwt_required identity. @roles_required('admin') ya Vue v-if="isAdmin" = authorization. Frontend hide sirf UX — asli deny backend pe.
Validation alag: form sahi bhara (email format, age 18+). Woh identity prove nahi karta. Password store hash (Werkzeug), JWT payload padha ja sakta hai isliye secret mat daalo.
Project example: Why token not session: ports CORS scale.
Baar-baar same expensive kaam (DB query, counting bookings) mat karo. Result Redis jaise store mein timeout ke saath rakh do.
Cache hit: key mil gayi, DB skip. Cache miss: DB se lao, SET karo, return karo.
Tradeoff: speed vs stale data. Admin naya venue add kare aur cache 50s ka ho to user purani list dekh sakta hai — isliye write pe invalidation zaroori hai.
@cache.cached(timeout=50, query_string=True)
@app.route('/api/shows')
def shows():
return jsonify([s.serialize() for s in Show.query.all()])
Project example: Admin dashboard counts / venues list cache. Create/update/delete ke baad cache.delete('venues').
Viva tipprint('DB queried') function ke andar laga ke miss/hit demo karo — hit pe print nahi chalega.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
43
Why is caching used?
Times asked2
Official solution
SimpleCache isliye taaki 100 users same dashboard pe DB ko 100 baar na maror dein.
Problem: repeated reads, slow page, extra load. Cache seconds ke liye snapshot deta hai.
Nahi use karna: har second badalne wala live stock, user-private secret data bina soch ke (key mein user_id hona chahiye).
Memoization caching ka subset hai (function args). HTTP 304 / browser cache alag layer.
Redis in-memory key-value store hai — fridge pe sticky note, poori kitchen (SQL database) har baar mat kholo.
MAD2 mein Redis do kaam: (1) cache — same venues/shows/dashboard JSON baar-baar DB se nahi (2) Celery broker — Flask task queue mein daalta hai, worker uthata hai.
Flow: cache.get(key) → hit pe return, miss pe SQLAlchemy + SET with timeout. Admin write ke baad cache.delete, warna stale list.
Source of truth database hi hai. Redis crash/band = cache miss (app chalni chahiye) + queue ruk sakti hai. Important bookings sirf Redis mein mat rakho.
Project example: Shows list har user dekhta hai — perfect cache. Booking POST cache nahi — har baar write.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
44
Where have you implemented caching?
Times asked7
Official solution
SimpleGET lists/stats @cache.cached. Mutations pe delete. CACHE_TYPE Redis.
Why each route: public repeated reads. User-private careful.
Redis in-memory key-value store hai — fridge pe sticky note, poori kitchen (SQL database) har baar mat kholo.
MAD2 mein Redis do kaam: (1) cache — same venues/shows/dashboard JSON baar-baar DB se nahi (2) Celery broker — Flask task queue mein daalta hai, worker uthata hai.
Flow: cache.get(key) → hit pe return, miss pe SQLAlchemy + SET with timeout. Admin write ke baad cache.delete, warna stale list.
Source of truth database hi hai. Redis crash/band = cache miss (app chalni chahiye) + queue ruk sakti hai. Important bookings sirf Redis mein mat rakho.
Project example: File+line decorator. redis-cli get key optional.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
45
What is Redis?
Times asked21
Official solution
SimpleRedis fridge pe sticky note hai — poori kitchen (database) kholne ki zarurat nahi.
Redis in-memory key-value store hai. Data RAM mein rehta hai, isliye disk wale SQLite/Postgres se kai guna tez.
MAD2 mein Redis do kaam karta hai:
1) Cache — same venue/show/dashboard JSON baar-baar DB se mat nikaalo.
2) Celery message broker — Flask task queue mein daalta hai, worker uthata hai.
Source of truth database hi hai. Redis band ho to cache miss ho jaata hai aur Celery queue ruk sakti hai. Crash pe cache gayab ho sakta hai — isliye important data sirf Redis mein mat rakho.
Project example: GET /api/venues pehle Redis dekho. Miss pe SQLAlchemy query, phir SET with timeout. Celery worker Redis list se daily reminder uthata hai.
Viva tipCache ke liye db=1, broker ke liye db=0 rakhna smart hai taaki keys mix na hon. Viva mein redis-cli ping → PONG dikhana strong hai.
Student project size pe SQLite + Redis kaafi. Production mein hosted Redis, persistence optional.
Redis in-memory key-value store hai — fridge pe sticky note, poori kitchen (SQL database) har baar mat kholo.
MAD2 mein Redis do kaam: (1) cache — same venues/shows/dashboard JSON baar-baar DB se nahi (2) Celery broker — Flask task queue mein daalta hai, worker uthata hai.
Flow: cache.get(key) → hit pe return, miss pe SQLAlchemy + SET with timeout. Admin write ke baad cache.delete, warna stale list.
Source of truth database hi hai. Redis crash/band = cache miss (app chalni chahiye) + queue ruk sakti hai. Important bookings sirf Redis mein mat rakho.
Same headers, encrypted channel. MITM se password/token bachao. Local viva HTTP OK.
HTTP/1.1 version keep-alive. TCP neeche, TLS security layer, SMTP mail alag.
Browser + API ke beech extra darwaze: CORS origin allow, HTTPS encrypt transit, CSRF cookie-auto-send attack, XSS HTML inject, SQL injection raw query.
MAD2 SPA: Vue :8080 Flask :5000 → Flask-CORS. JWT localStorage XSS se chori ho sakta — v-html user input pe avoid. Password Network tab localhost pe dikhega; prod HTTPS, response mein password echo nahi.
401 unauthenticated, 403 unauthorized, 400 validation. Hash one-way — SHA decrypt nahi hota. Secret key .env, GitHub pe nahi.
Project example: Dev localhost http. Production https:// + cert.
Ek route explain karne ka template:
1) URL + methods 2) Auth/role check 3) Form/query se data 4) Business rule (duplicate, slots) 5) db.session 6) render ya redirect
Example GET+POST same route: GET form, POST save.
Data HTML se: form name= → request.form. Data HTML ko: render_template(..., items=query).
Nayi .py file: import karke use karo, warna Flask ko pata nahi. Folder rename: imports/paths/templates check.
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 can be used instead of .env / python-dotenv for managing configuration?
Times asked1
Official solution
SimpleConfig (SECRET_KEY, DB URI) code se bahar environment mein rakho.
os.getenv('SECRET_KEY') ya python-dotenv .env file load.
Alternative: real OS env, config.py classes (Dev/Prod), Docker secrets. .env gitignore karo.
Folder name change se .env path toot sakta hai — relative Path(__file__) use karo.
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
Explain the APIs (or routes) used in your project.
Ek route explain karne ka template:
1) URL + methods 2) Auth/role check 3) Form/query se data 4) Business rule (duplicate, slots) 5) db.session 6) render ya redirect
Example GET+POST same route: GET form, POST save.
Data HTML se: form name= → request.form. Data HTML ko: render_template(..., items=query).
Nayi .py file: import karke use karo, warna Flask ko pata nahi. Folder rename: imports/paths/templates check.
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
Write basic Jinja code (e.g., loops, variables, or conditions).