Generally calm and student-friendly. Described as nice/helpful by students. Some students report a stricter or colder tone
Questioning style
Often probes theory concepts. Expects you to know and possibly modify your project code. May dig into database/models
Preparation tips
• very nice proctor give you time to do all tasks and very polite explain if you stuck anywere....overall very nice proctor
• Prepare theory part well, keep your calm, join meet 10 minutes prior as he also joined early and viva concluded in maximum 30 minutes.
• Again, don't panic and keep your calm. Nervousness will lead you nowhere.
• He is nice , patient and gives time to try and explain. He will also let you ask and correct you where u get wrong. Don't rely on questions here , U need to have a proper understanding of the logics u put behind the project , For me i wasnt able to answer a lot of questions and he simply said me practice and to actually make the project next time for MAD2. Overall he only pointed me where i am weak at and thats good!
• The questions were a bit unexpected for me. Sir asked me to make the file structure explanation quicker next time as he had to stop my explanation part before completing it to ask the viva qns and there was no time to complete the explanation and show demo in the end.
• be confident to write the code
• Mug up the theory questions . You can see the previous responses . Be prepared to code .
• He is not here tp check what your project does he will not even ask for a demo he will ask bizarre theoretical questions which can be quiet unrelated to the project. He is interested in knowing what you don't know when you explain something he will interrupt and move to next question.
• It was okay, I am fine with what I did to myself. Compared to the rest, this is a bit strict. But I enjoyed it.
• He will start asking you questions directly from your code. He will go very deep.
• Basically understand your codebase to the bit.
Learn to communicate and explain well.
• Understand every part of your project—your models, routes, Jinja templates, HTML, database queries, and error handling. Don't just memorize the code. Be prepared to explain every line and even write important parts from scratch in Notepad.
• Keep your theory strong, be through with routes, models (db), and flask sessions.
The examiner is a bit strict. Not intimidating enough to snatch your soul, but not friendly too.
He won't help you. You are either on your own, or he'll explain the stuffs which you couldn't answer.
• 1) Understand every line of code
2) Know theory in detail
He is a good proctor. Seems like a strict guy, asks unexpected questions. But gives hints and tries to understand your explanation. He wants you to learn things in depth. He said it is needed for mad2. Overall he said a good app, work on in depth knowledge.
Tips for this examiner: The proctor’s approach was intense, technical, and hands-on, with a clear preference for code understanding over presentation. - Prioritized code comprehension over flashy demos. - Asked candidates to write or modify code live, testing real-time problem-solving.
Student reviews
Sheet responseMAD1
1) Understand every line of code 2) Know theory in detail
He is a good proctor. Seems like a strict guy, asks unexpected questions. But gives hints and tries to understand your explanation. He wants you to learn things in depth. He said it is needed for mad2. Overall he said a good app, work on in depth knowledge.
Questions remembered
1)complete project demo
url vs uri
one one and many-one relationships
advantages and disadvantages of sqlalchemy
orm basics
http status codes
explanation of random code snippets A few more theory questions Coding
add trek entire route and display as html
frontend code for displaying all statistics as cards on admin page
Sheet responseMAD1
Keep your theory strong, be through with routes, models (db), and flask sessions.
The examiner is a bit strict. Not intimidating enough to snatch your soul, but not friendly too.
He won't help you. You are either on your own, or he'll explain the stuffs which you couldn't answer.
Questions remembered
Level 2 viva
Proctor id: level1_132
Took only 35 mins...
Asked to explain the folder structure,
what does the login manager do?
Explain what is a session?
Explain how is user authenticated in a flask session, what happens in it.
I have a login_manager.user_loader in my code, asked what does that do.
What is there different between URL and URI?
(not in the code, during db setup, there SQL_DATABASE_URI)
What is the difference between unauthorised and forbidden?
Show models.py . Explain how will you define a many to many relationships.
A few questions based on my routes and what is the function doing.
Asked me to code my register route and form.
Asked me to centre a table in my web page.
Then show me the demo of your app.
I did the coding part but couldn't answer a few theoretical questions. They went pretty deep into it.
MantashaMAD1
Understand every part of your project—your models, routes, Jinja templates, HTML, database queries, and error handling. Don't just memorize the code. Be prepared to explain every line and even write important parts from scratch in Notepad.
Questions remembered
Level2 done
LEVEL1_132
* First, he told me to explain my folder structure
* Then he was watching my model.py code and asked me about a one-to-one relationship and how I would do a one-to-one relationship from one-to-many.
* Why did you use both a foreign key and db.relationship in a table.
* diff between db.relationship and foreign key
* How you control the error; he said about flash messages. I told him that I didn't use flash in my project. Then
I told I will write the error message and explained how the error part is working for my project in app.py.
* He asked me about what 402 error code mean(I don't know the answer, itna error code pdha tha like 200, 302,302,400,401,403,404,500, but usne vhi pucha jo mujhe nhi pta tha)
* He asked me to explain integrity error.(I said i don't know the answer)
* He asked me how you will write the function in Jinja2.
* He told me to go html page of admin_dashboard, and asked about padding.
* Then he told me to run app.py and log in as an admin. I have used cards in admin_dashboard. He told me to write the HTML code for these 4 cards in Notepad.
* He told me to write the code in Notepad: write a code which create or add user in the database. I asked him about the register route, he told me it's on you. Here I wrote my entire register route in Notepad.
* Finally, he told me to show the demo of your project.
* At last, he told me that your knowledge of the error part is not enough; you should work on that, bcz in industries, we should handle error efficiently. You are able to write the code, and your UI is good. Best of luck for your MAD2.
Mera viva pura 1 hr chala, he checked my database, Jinja, HTML, and routes knowledge.
Tip: Understand every part of your code, what you write, and be able to write it in Notepad.
OmiMAD1
Basically understand your codebase to the bit. Learn to communicate and explain well.
Questions remembered
Mad 1 viva 2 id: level1_132
He asked about each folder and it's purpose.
Asked How database is defined.
Asked to showcase project
Asked " ORM vs raw SQL " why use orm?
Asked to show session cookies in inspect tool ( inspect > application > cookies storage > session )
Asked why u can't use admin role and other role in same browser window
Asked to write a query to fetch all used them list then in jinja2 all in notepad ( i fumbled 💔)
Also asked to write another query I forgot
I was confident in my explanation he did say u are wrong ( simply ) and proceeded to another question. Like rapid fire
He was strict not giving any hints at all.
Gave Feedback at end
" you lack coding knowledge"
Improve upon it or u not be able to do mad 2
" This meet is ended "
* I may have missed some questions
I might pass with minimum marks
I explained all theory and wrote some code ( jinja , orm query)
SVMAD1
He will start asking you questions directly from your code. He will go very deep.
Questions remembered
Show me your Id card
Explain folder structure 3.In your app.py why you initialised app=None, What will happen if we remove it I said it may throw error or not I am not sure? Just told me to comment it? Now tell me the reason? 4.Why we use app.context, ? Difference in app.app_context().push() and app.context() when to use it? I answered but he corrected me . 5.After that write a code to close the drive after the deadline in a notepad. I forgot to write request method. He gave me hints.
In admin dashboard you used cards ? Write code only html to make cards in a row. I said I did using Bootstrap. He said I want in Html only . I was writing external css . He said only in html dont use external css. I used inline css. Wrote code but syntax error . He said paste in html file check. I corrected syntax error. 7.have you used Apis ? No sir .. Why ? It was optional and I am not comfortable using it. But it is part of course so I will ask questions
Create a route and show display 404 message in terminal
Asked about status code
What security features have you used? What is SQL injection? Tell me one example of SQL injection? How flasksqlalchemy prevents sql injection? 10.Finally Show me the demo of your app. It was utter silence I felt as if no one is in the meet. He said Overall it is a good app. Just work on the areas I suggested and know every line of your code.
Raushan KumarMAD1
It was okay, I am fine with what I did to myself. Compared to the rest, this is a bit strict. But I enjoyed it.
Questions remembered
During my viva, he was first asked me to explain app.py then says to write the code of app.py. After that, they asked conceptual questions about HTTP methods—specifically, what would happen if we used PATCH instead of GET or POST.
Then, they asked me to explain the difference between session and db.session.
They also asked me to write and explain the code where I used dynamic URLs.
After that, they checked my frontend knowledge by asking about Bootstrap and CSS. They specifically asked where I used the box-shadow property and told me to show it in my project.
There were several more questions, and overall, my viva lasted approximately 45 minutes.
StudentMAD1
He is not here tp check what your project does he will not even ask for a demo he will ask bizarre theoretical questions which can be quiet unrelated to the project. He is interested in knowing what you don't know when you explain something he will interrupt and move to next question.
Questions remembered
Where is session data stored?
difference between sql Alchemy and something I don't remember
Various status code meanings randomly don't even remember all of them
Write a full HTML page to make 4 rows with switches
He is very strict if you try to be sure about something he will say " are you asking me? "
he can ask you anything and everything even something that is not quiet related to your project work.
Be ready to code anything he asked me to code something I hadn't implemented in my project
He is basically there to deduct your marks
S.P.SinghMAD1
Mug up the theory questions . You can see the previous responses . Be prepared to code .
Questions remembered
Asked for project structure
1.How to apply one to one relationship in SQL alchemy - I fumbled but in the end I answered
2.Asked to code for the edit-profile of student
3.what is the difference between redirect and render template
4.what is the status code for internal server error
5.asked for demo .
6.what is the session and db session
That's all I remembered.
Shahil KhanMAD1
be confident to write the code
Questions remembered
-asked to write a route to edit a doctor profile
- write jinja flash message and fecth the new info
- aksed about error code 305,306,
- why we get bad request error ,
gowriMAD1
The questions were a bit unexpected for me. Sir asked me to make the file structure explanation quicker next time as he had to stop my explanation part before completing it to ask the viva qns and there was no time to complete the explanation and show demo in the end.
Questions remembered
-asked why foreign key and db.relationship used in the same table, what is the difference
-asked what can be used to modify only the name of the doctor table without changing other columns, i said path http request, he asked then why is it not used here, i didn't know, he said since patch does not support flask html
-asked about 305 status code
-difference between session.db and session storage
-and some other such questions too, i can't remember now
-coding question: function to delete doctor and jinja template to show the deleted doctor as well as all other doctors. Also asked me to write the code for flash messages
noMAD1
He is nice , patient and gives time to try and explain. He will also let you ask and correct you where u get wrong. Don't rely on questions here , U need to have a proper understanding of the logics u put behind the project , For me i wasnt able to answer a lot of questions and he simply said me practice and to actually make the project next time for MAD2. Overall he only pointed me where i am weak at and thats good!
Questions remembered
Structure of project
Why used blueprints
Make a html file and take user credentials
Status code , assertion
app.py - login manager
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False , if we make this true
make a route to edit parking lot and spots
There were more questions related to the backend
Status code 305 - Do all the status codes
..MAD1
Again, don't panic and keep your calm. Nervousness will lead you nowhere.
Questions remembered
Missed some of these questions, just adding missing questions now👇
suppose your app has current storage of 18GB, you wany to scale the app and scaling up demands 20 GB of storage. How will you make this happen?
Do you know what are APIs?
..MAD1
Prepare theory part well, keep your calm, join meet 10 minutes prior as he also joined early and viva concluded in maximum 30 minutes.
Questions remembered
It was taking time to unzip so he first asked the questions then went on to project demo
what http methods we have
Do u know about status codes
What does 303 status code do
Do u know about json? Can json be parsed into html template, if yes then how.
Create a new py file and write a function for delete lot
A few other theory questions I forgot.
anjali kMAD1
very nice proctor give you time to do all tasks and very polite explain if you stuck anywere....overall very nice proctor
Questions remembered
id card dikao porat se download kro project aur GitHub repo dikao
explain backreef bakpopulate
explain dif between relationship and foreign key
explain how this relationship works 4)change background coloue home page 5)make new file and write code for delete lot 6)explain 403 303 503 msges
explain class and id(iska jawab mene aisa diya ki proctor has pade)
explain http methods 9)app demo in detail
aur ek to kkuch bhi tha meko samj hi nhi aaya kya pucha 2 bar bolne kaha tb bhi nhi samja... kuch to tha ki scalbity ka tha sayd bahut lambba expel diya fir kaha isme konsa sclability honga 11)aur kah ki ek file banao use api ka code liko mene kaha meko api ka jyada idea nhi hai to kaha ki thr+ pr sathme hai men ekah ha to bolte hai ki 6th week me hai mene kaha mene lec nhi deke jyda yt se sb cover krke banaya hai sikke....okk fine ..fir kaha jao yt pe search kro mad1 live sessin mil nhi rhe the fir mil gye kaha yahape 6th live session pe jao usme jo bhi code mam lik rhi hai vo kahse milenga mene kaha nhi pata hai kaha jao GitHub pe aur serch kro kuch name kaha dalne fir repo pe jao usme ye code milenge fir acchse code aur lec krlena sb yah pe hai......okk sir 12)relationship between parking_spot and user
age(sunke proctor hase...🙂 mene kaha ------ to kehte hai fir 12th just hui hai kah ayes to kehte hai sep term me admission liya ..yess niceeeeeee)
education(kahi bahr admission liya hai?...yes)
kahape liya hai konsi field me .....ok Anjali that's from my side ....thank you sir
Sheet responseMAD1
Shared viva questions from response sheet: Diff between http and HTTPS and how is it more secure; how is the insrance folder created. like by what line of code; can templates folder be named as template and static folder be named statics, if yes then how ?
Questions remembered
Diff between http and HTTPS and how is it more secure
how is the insrance folder created. like by what line of code
can templates folder be named as template and static folder be named statics, if yes then how ?
Https methods and why do we only use GET and POST , why not Put and Patch
some css, like if margin value is 1 rem what it means, what is rem.
Can ask any code change, color or button change and difficult css explanation.
Regular theory can be asked, like by other proctors
asked me , when we run the app, we see a warning in the terminal, make the required code changes so that this warning is removed. Will ask many weird uncommon questions like that which will be difficult or maybe even not possible.
Explanation of backref and in which type of relationships it. Should be used (like one to one many to oen etc)
Cascade...diff bet delete and delete orphan, how to decide when to use which and why
Don't rely on questions here...ha is very strict and there to cut down your marks by any way possible, cover everything and anything you did or see in your project and do it in immense detail...he can go into depths
Change the celery cornjob to today's time for showcase of mail
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
how to send props from child to parent(use emit) Show a code on emit Theory
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
what is db and how is it different from model.py and what is model.py
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
cli vs cdn which is more beneficial
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 has an infamous reputation that's sure know your code really well and prepare theory and code so that he is satisfied
In my case he seemed tired so didn't ask much but you should be ready for any questions he will throw at you
He is really strict with concepts
yes you should know each and every line of ur code , he said if it falls under the subject , u have to answer , it doesn't matter if u have used it in ur project or not
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
vuex ka question bhi pucha tha , vo yaad nhi hai
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
asked a lot more questions
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
relationship between tables ,
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
fetch call for frontend and template part
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
crontab change in timing
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: actually ,whatever you have written in code , you should know why and if it would work same without it , definitely , but he could ask you something more too
Can the same child route work in Vue? (Write and test 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
6
Coding Practice Prompts
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
- Write a fetch request without looking at the 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
- Write a fetch request for deletion of a subject
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
- Schedule a daily reminder using crontab
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 proctor’s approach was intense, technical, and hands-on, with a clear preference for code understanding over presentation.
- Prioritized code comprehension over flashy demos.
- Asked candidates to write or modify code live, testing real-time problem-solving.
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: 1) Understand every line of code
2) Know theory in detail
He is a good proctor. Seems like a strict guy, asks unexpected questions. But gives hints and tries to understand your explanation. He wants you to learn things in depth. He said it is needed for mad2. Overall he said a good app, work on in depth knowledge.
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
11
I did the coding part but couldn't answer a few theoretical questions. They went pretty deep into it.
Times asked1
Official solution
SimpleLive coding: notepad/editor mein chhota Flask route / Jinja loop / model field. Calm raho, run karke 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
Advice: Keep your theory strong, be through with routes, models (db), and flask sessions.
The examiner is a bit strict. Not intimidating enough to snatch your soul, but not friendly too.
He won't help you. You are either on your own, or he'll explain the stuffs which you couldn't answer.
I told I will write the error message and explained how the error part is working for my project in app.py.
Times asked1
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
* He asked me about what 402 error code mean(I don't know the answer, itna error code pdha tha like 200, 302,302,400,401,403,404,500, but usne vhi pucha jo mujhe nhi pta tha)
@app.route('/ping')
def ping():
return jsonify(ok=True)
@app.route('/even/<int:n>')
def even(n):
return 'even' if n % 2 == 0 else 'odd'
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
8
* He asked me to explain integrity error.(I said i don't know the answer)
Times asked1
Official solution
SimpleInt column mein string daalne pe SQLAlchemy/DB type error ya Integrity/StatementError. Empty table pe bhi same validation fail — row count matter nahi.
Example
# SQLite may coerce sometimes; Postgres: invalid input syntax for integer
Spot(status='free', lot_id='abc') # lot_id int → error
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 how you will write the function in Jinja2.
Times asked1
Official solution
SimpleJinja2 Flask ka template engine — HTML ke andar {{ }} variables, {% %} logic.
Example
{% for lot in lots %}
<li>{{ lot.name }} — {{ lot.spots }}</li>
{% else %}
<p>No lots</p>
{% 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
10
* He told me to go html page of admin_dashboard, and asked about padding.
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
11
* Then he told me to run app.py and log in as an admin. I have used cards in admin_dashboard. He told me to write the HTML code for these 4 cards in Notepad.
Times asked1
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
12
* He told me to write the code in Notepad: write a code which create or add user in the database. I asked him about the register route, he told me it's on you. Here I wrote my entire register route in Notepad.
@app.route('/ping')
def ping():
return jsonify(ok=True)
@app.route('/even/<int:n>')
def even(n):
return 'even' if n % 2 == 0 else 'odd'
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
13
* At last, he told me that your knowledge of the error part is not enough; you should work on that, bcz in industries, we should handle error efficiently. You are able to write the code, and your UI is good. Best of luck for your MAD2.
@app.route('/ping')
def ping():
return jsonify(ok=True)
@app.route('/even/<int:n>')
def even(n):
return 'even' if n % 2 == 0 else 'odd'
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
14
Mera viva pura 1 hr chala, he checked my database, Jinja, HTML, and routes knowledge.
Times asked1
Official solution
SimpleJinja2 Flask ka template engine — HTML ke andar {{ }} variables, {% %} logic.
Example
{% for lot in lots %}
<li>{{ lot.name }} — {{ lot.spots }}</li>
{% else %}
<p>No lots</p>
{% 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
15
Tip: Understand every part of your code, what you write, and be able to write it in Notepad.
Times asked1
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: Understand every part of your project—your models, routes, Jinja templates, HTML, database queries, and error handling. Don't just memorize the code. Be prepared to explain every line and even write important parts from scratch in Notepad.
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
2
Explain folder structure 3.In your app.py why you initialised app=None, What will happen if we remove it I said it may throw error or not I am not sure? Just told me to comment it? Now tell me the reason? 4.Why we use app.context, ? Difference in app.app_context().push() and app.context() when to use it? I answered but he corrected me . 5.After that write a code to close the drive after the deadline in a notepad. I forgot to write request method. He gave me hints.
Times asked1
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
3
In admin dashboard you used cards ? Write code only html to make cards in a row. I said I did using Bootstrap. He said I want in Html only . I was writing external css . He said only in html dont use external css. I used inline css. Wrote code but syntax error . He said paste in html file check. I corrected syntax error. 7.have you used Apis ? No sir .. Why ? It was optional and I am not comfortable using it. But it is part of course so I will ask questions
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
3
After that, they checked my frontend knowledge by asking about Bootstrap and CSS. They specifically asked where I used the box-shadow property and told me to show it in my project.
Times asked1
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
4
There were several more questions, and overall, my viva lasted approximately 45 minutes.
Times asked1
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: It was okay, I am fine with what I did to myself. Compared to the rest, this is a bit strict. But I enjoyed it.
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: He is not here tp check what your project does he will not even ask for a demo he will ask bizarre theoretical questions which can be quiet unrelated to the project. He is interested in knowing what you don't know when you explain something he will interrupt and move to next question.
-asked what can be used to modify only the name of the doctor table without changing other columns, i said path http request, he asked then why is it not used here, i didn't know, he said since patch does not support flask html
Times asked1
Official solution
SimpleFlask lightweight Python web framework — routes, request/response, templates. MAD1 ka backend yahi hai.
SimpleStatus code server ka result: 200 OK, 302 redirect, 400 bad input, 401/403 auth, 404 not found, 500 server error.
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
-difference between session.db and session storage
Times asked1
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
5
-and some other such questions too, i can't remember now
Times asked1
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
6
-coding question: function to delete doctor and jinja template to show the deleted doctor as well as all other doctors. Also asked me to write the code for flash messages
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 %}
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 questions were a bit unexpected for me. Sir asked me to make the file structure explanation quicker next time as he had to stop my explanation part before completing it to ask the viva qns and there was no time to complete the explanation and show demo in the end.
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
5
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False , if we make this true
Times asked1
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
6
make a route to edit parking lot and spots
Times asked1
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
There were more questions related to the backend
Times asked1
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
Status code 305 - Do all the status codes
Times asked1
Official solution
SimpleStatus code server ka result: 200 OK, 302 redirect, 400 bad input, 401/403 auth, 404 not found, 500 server error.
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 is nice , patient and gives time to try and explain. He will also let you ask and correct you where u get wrong. Don't rely on questions here , U need to have a proper understanding of the logics u put behind the project , For me i wasnt able to answer a lot of questions and he simply said me practice and to actually make the project next time for MAD2. Overall he only pointed me where i am weak at and thats good!
explain class and id(iska jawab mene aisa diya ki proctor has pade)
Times asked1
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
6
aur ek to kkuch bhi tha meko samj hi nhi aaya kya pucha 2 bar bolne kaha tb bhi nhi samja... kuch to tha ki scalbity ka tha sayd bahut lambba expel diya fir kaha isme konsa sclability honga 11)aur kah ki ek file banao use api ka code liko mene kaha meko api ka jyada idea nhi hai to kaha ki thr+ pr sathme hai men ekah ha to bolte hai ki 6th week me hai mene kaha mene lec nhi deke jyda yt se sb cover krke banaya hai sikke....okk fine ..fir kaha jao yt pe search kro mad1 live sessin mil nhi rhe the fir mil gye kaha yahape 6th live session pe jao usme jo bhi code mam lik rhi hai vo kahse milenga mene kaha nhi pata hai kaha jao GitHub pe aur serch kro kuch name kaha dalne fir repo pe jao usme ye code milenge fir acchse code aur lec krlena sb yah pe hai......okk sir 12)relationship between parking_spot and user
Times asked1
Official solution
Simpledb.relationship se object graph: lot.spots, booking.user. backref reverse side auto deta hai.
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.
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
6
Can ask any code change, color or button change and difficult css explanation.
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
7
Regular theory can be asked, like by other proctors
Times asked1
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
asked me , when we run the app, we see a warning in the terminal, make the required code changes so that this warning is removed. Will ask many weird uncommon questions like that which will be difficult or maybe even not possible.
Times asked1
Official solution
Simplevenv activate → dependencies → DB create/migrate → flask run. Browser pe localhost dikhao.
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
11
Don't rely on questions here...ha is very strict and there to cut down your marks by any way possible, cover everything and anything you did or see in your project and do it in immense detail...he can go into depths
Times asked1
Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
SimpleInt column mein string daalne pe SQLAlchemy/DB type error ya Integrity/StatementError. Empty table pe bhi same validation fail — row count matter nahi.
Example
# SQLite may coerce sometimes; Postgres: invalid input syntax for integer
Spot(status='free', lot_id='abc') # lot_id int → error
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.Difference between Action and Mutation
Times asked2
Official solution
SimpleMutations sync diary entry. Actions async kaam phir diary.
Direct state mutate action se Vuex 4 discouraged. Devtools time-travel mutations.
Purpose of Actions: API, phir commit. Purpose of Mutations: state change one place.
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.
Example
// local
data() { return { q: '' } }
// global
this.$store.state.user
Project example: Login.vue local form fields. this.$store.state.user Navbar.
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 db and how is it different from model.py and what is model.py
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
6
cli vs cdn which is more beneficial
Times asked2
Official solution
SimpleCDN = Vue script tag se, jaise pen drive. CLI/Vite = poori factory (SFC, npm, bundle).
CDN: no build, chhote apps, exam PC pe Node nahi to bhi chal. Weak: no .vue compile, 3rd-party cache, scale/team.
CLI/Vite: Single File Components, env, code-split, production dist/. Scalable.
Examiner 'which + why' — jo use kiya wahi justify, doosra naam rato mat.
Example
<!-- CDN -->
<script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
# Vite
npm run dev
npm run build
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
Advice: He has an infamous reputation that's sure know your code really well and prepare theory and code so that he is satisfied
In my case he seemed tired so didn't ask much but you should be ready for any questions he will throw at you
He is really strict with concepts
props vs emit , difference between mvc (v) and vue , status code , models.py me one to one implement and one to many , many to many , crontab scheduling , if u have used celery beat , then why monthly_report.s(), status codes
Times asked1
Official solution
SimpleStatus code server ka result: 200 OK, 302 redirect, 400 bad input, 401/403 auth, 404 not found, 500 server error.
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
yes you should know each and every line of ur code , he said if it falls under the subject , u have to answer , it doesn't matter if u have used it in ur project 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
3
vuex ka question bhi pucha tha , vo yaad nhi hai
Times asked2
Official solution
SimpleVue = UI ka smart assistant. Data badlo, screen khud update. MAD1 Jinja har click pe naya HTML.
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
5
he asked me to open my code , explain my project structure , then in code , open models.py
Times asked1
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
6
relationship between tables ,
Times asked2
Official solution
Simpledb.relationship se object graph: lot.spots, booking.user. backref reverse side auto deta hai.
Viva tipStandard cron seconds support nahi karta. Har 10 sec ke liye Celery schedule=10.0 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
Advice: actually ,whatever you have written in code , you should know why and if it would work same without it , definitely , but he could ask you something more too
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
5
Create a new model.py
Times asked1
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
6
Admin dashboard ka side bar recreate kro
Times asked2
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
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.
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: Change schedule current time. MailHog. Export button 202.
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 proctor’s approach was intense, technical, and hands-on, with a clear preference for code understanding over presentation.
- Prioritized code comprehension over flashy demos.
- Asked candidates to write or modify code live, testing real-time problem-solving.
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
4
Explain models.py.
Times asked21
Official solution
Simplemodels.py tables ki blueprint. Har class ek table, har Column ek field.
PK id, FK dusri table, relationship dono taraf, serialize() JSON (password mat).
app factory db.init. resources APIs use models.
Examiner random line: type, nullable, unique, ondelete.
Suggested flow1) Har table → class
2) PK id
3) FK
4) relationship()
5) serialize()
Example
class Booking(db.Model):
id = db.Column(db.Integer, primary_key=True)
user_id = db.Column(db.Integer, db.ForeignKey('user.id'))
user = db.relationship('User', back_populates='bookings')
Project example: User, Role, Venue/Show/Booking (ya Drive/Application). Draw 1-M.
Viva tipExaminer random line poochhe: column type, FK, constraint. Draw 1-M / M-M on paper mentally.
Project example: If Options only, bolo nahi use, Options data().
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
What are Vue Lifecycle Hooks?
Times asked5
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.
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.
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.
SimpleCelery Beat = app-level cron. OS crontab se alag, Windows pe bhi chal jaata hai.
CELERY_BEAT_SCHEDULE dict. Beat process continuously. Timezone naive UTC issues common — demo ke liye current minute set karo.
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.
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.
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.
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: localhost:8025 after reminder.
Project example: localhost:8025 after reminder.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
39
Difference between cache.cached and cache.memoize key prefixes.
Times asked1
Official solution
Simplecached poori view ko yaad rakhta hai, memoize function ke arguments ke hisaab se.
@cache.cached URL / key_prefix (optional query_string) se key banata hai — list endpoints ke liye. @cache.memoize arguments se key banata hai — get_user(5) aur get_user(9) alag cache.
Prefix clash se galat data mil sakta hai. Dono ka timeout same idea hai. Invalidation: delete_memoized(fn, args) vs cache.delete(prefix).