Generally calm and student-friendly. Described as nice/helpful by students
Questioning style
Often probes theory concepts. Expects you to know and possibly modify your project code. May dig into database/models
Preparation tips
• Find all answers from previous year sheet and make your own version,most probably questions asked from them only
• If you have time perpair everthing that you have implimented. If you don't have time book you slot and see which viva person is assigned to you(eg: level_3_11) and refer to the prviour year question accrding to the proctor.....80% Q will be same.
Another advise impliment as many fetures as you can ....give the examinor no chance to pull out any mistakes.
• No need to get nervous with him, he’s pretty good.
• just know your code and it is fine learn the procotor specific theory
• Read the Google sheet questions well. Baki bhagwan bharose 🙂
• Just read the above questions and know your code very well.. and try to explain your answer through your code.. like when he asked me about authentication and authorisation I just showed my code of auth required and admin required and explain that to him.he is a very good proctor he appreciated my project .. everything went good. All the best 👍
• Don't worry, he's very chill. He asked the same questions from the response sheet. If you don't know the answer to a question, just say so—he'll explain it himself.
• Chill Karo if u got this proctor...
• Cool proctor.
Just be clear with how you implemented the search functionality.
• * He is a chill guy, don't panic
* Just refer this doc and prepare the qns asked by him
* Mostly he will ask those qns only..
* Actually he joined 20min late in my case, that's the reason why he didn't ask for any code changes ig 😅
• Just go through the models and functions in routes, and for theory, refer to this docs.
• He is very calm and supportive, would give you suggestion at the end gave me to improve the ui of the application, Just know you code what and why you have done that .viva was completed in 25 mins
• Good chill Interview easily you can nail interview rember how u have implremented Search fn and database some basic concepts and params used in you code liken ilke lazy cascade_all backref if used
• Chill proctor very nice , will give you feedbacks to improve project in the end
• Go through the available sheet. That's more than enough for the viva.
• Depends on the examiner and your confidence about your app. Theory questions come regardless of whether implemented in the app or not. Going through the viva FAQs in detail is enough for theory. Just chill!
• Chill Proctor, Didn't ask for any code change. was giving me feedback in between the explaination like what more could i do to make it more user friendly.
• Chill, very easy, easier then level 1,no code changes
• Prep well according to what your proctor has asked in the past.
• Cool guy, answer what you know, be confident, be clear with your code (what and where)
• Guy is very chill, will make you comfortable. Be confident and prepare these ones especially
• Know your code well
• Be confident in your code and explain everything to the best you can. He will listen properly and understand your code. Chill proctor. Learn your theory well.
He also gives very nice tips and ways to better clean up your code and ways to implement more functionality. Listen to his tips coz they're very useful. Very nice proctor.
• he is a very chill proctor.....questions are mostly same as previous ones , you are lucky if you got this proctor
• He's super chill. And he will repeat his questions if you didn't hear it properly. Focus on SPA. Just go through the questions he asked prev and there u go~
• be well with your code and project workflow, he focuses a bit more on the UI of our application
• Meet ended about 30-35 minutes. Prepare simple theory question. Finally he asked that any questions for him. I asked for some suggestions. He gave me some. The proctor is very cool. Don't worry. Best wishes for your viva🤝
• This proctor doesn't focus much on the code writing or code change in viva, only theoritical questions.
• The response document was highly helpful for this proctor. I suggest that, those who get this proctor, to just go through the things mentioned in the response document about him in the past. He repeats the viva process exactly the same as mentioned in it.
Tips for this examiner: Prepare your theory well. The level2 is meant for how much you know the concepts.
Student reviews
Sheet responseMAD1
The response document was highly helpful for this proctor. I suggest that, those who get this proctor, to just go through the things mentioned in the response document about him in the past. He repeats the viva process exactly the same as mentioned in it.
Questions remembered
He is very patient, cool & friendly proctor.
- he came 10 mins late
- show id
- download the file from portal
- run the code and start the app
- create user 1, create staff , try login for the staff and show the message of access pending, make admin to allow access to him , create a trek, assign the trek to staff, create user 2, book the trek with user 2, make the staff change the status of the trek to closed, now login with user1 and check whether the closed trek is showing or not. (While I was doing the task, I was also explaining the features available in each page of admin user & staff)
- now in coding part he asked me to explain the database and the controllers
- in theory part, he asked me about single page application, diff b/w put and patch, diff b/w authentication & authorisation
- Not even single task was given to do code or change code.
- finally he said assessment is over and asked whether I have any questions to him. I asked about the presentation of the project I did and the corrections to be made in my app. He said correction in the way I presented and features to be added in the app
Duration was around 35 mins.
Writwik DasMAD1
This proctor doesn't focus much on the code writing or code change in viva, only theoritical questions.
Questions remembered
Explain the overall project
Create a new trek staff account and approve it as admin.
Create a trekker account and login then book a trek.
Then asked me to explain the search mechanism.
what is lazy loading
internal vs inline css
left join
ilike vs like
Sheet responseMAD1
Meet ended about 30-35 minutes. Prepare simple theory question. Finally he asked that any questions for him. I asked for some suggestions. He gave me some. The proctor is very cool. Don't worry. Best wishes for your viva🤝
Questions remembered
show id, download project, run application
just started demo. Bt he asked to create staff, user, trek. Login as admin. Approve staff. Assign staff to newly created trek. Book trek. Change status of trek to closed from staff dashboard. Search trek from user dashboard.
explain code responsible for search trek for admin. 4)What is SPA?
Difference b/w cell spacing and padding
Explain models.py
Authorization and authentication * No coding questions
nanditaMAD1
be well with your code and project workflow, he focuses a bit more on the UI of our application
Questions remembered
• show id, download project and run
• login as admin, create a trek
• register and login as staff and update trek status
• register as user and book a trek
• asked basic ques related to functionalities of my app
• explain your models.py
• SPA
• lazy loading
• advantage of internal css over inline css
• left join
• difference between primary key and foreign key
• authorization
• no code changes
• asked if i had any ques for him and i asked for improvement advice for my app and then he suggested improvements
• viva done in like 30 mins
AbinayaMAD1
He's super chill. And he will repeat his questions if you didn't hear it properly. Focus on SPA. Just go through the questions he asked prev and there u go~
Questions remembered
He came 5-7 mins late
Asked for my id and demo
He went off for 4 mins cuz he got a call ig
Asked to explain the models, SPA, lazy loading, search functionality, js variable declaration.
No coding tasks. Very chill. The viva was only 15 mins or less than that. Go through the ques he asked previously
AnshuMAD1
CHILL KARO
Questions remembered
Honestly, this was probably the chillest guy you can ever get. Very calm, very predictable, and the whole vibe was super relaxed.
As always… he came around 15 minutes late 😭
He began with the project demo and asked for simple demonstration of the basic functionalities. Nothing tricky, just normal flow of the project and explanation.
Questions asked:
Explain your models
Authentication vs Authorization
What is ilike
What is SPA (for some reason he really loves asking SPA in MAD 1)
What is Standalone Component
What is Lazy Loading
What is Inline and Internal CSS
Code changes?
None.
Literally no code changes, no “write this route,” no debugging, nothing.
And the funny part is I was prepared like crazy. IT IS WHAT IT IS 🤷♂️
someoneMAD1
he is a very chill proctor.....questions are mostly same as previous ones , you are lucky if you got this proctor
Questions remembered
1)iitm id card
2)run application
3)demo of the application
4)asked to shift my create_drive button to right side(in company dashboard)
5)told me what what things should i add in my application
6)asked my to explain app.py
7)told me to explain search functionality , how it works
8)theory questions
-- what is spa
-- standalone component
-- lazy loading
-- authentication
At last, he said you are done with viva, if you have any doubts you can ask...so i asked what things should i add in my app to make it more impactful....he told me what to add....and then ended.
StevenMAD1
Be confident in your code and explain everything to the best you can. He will listen properly and understand your code. Chill proctor. Learn your theory well.
He also gives very nice tips and ways to better clean up your code and ways to implement more functionality. Listen to his tips coz they're very useful. Very nice proctor.
Questions remembered
He came 20 mins late but the POD came and told to wait for him to come.
Asked to demo the project fully and asked small small questions in between like asking functionality
Asked to show database models and explain them
Authentication vs authorization
What is SPA
What is a component
Difference between ILIKE and LIKE
Show the search operation for filtering and explain it
RamyaprabhaMAD1
Know your code well
Questions remembered
MAD 2
Project demo
like
Lazy
Single page application
Authentication
Sheet responseMAD1
Shared viva questions from response sheet: show id; download from portal and start app; demostrated portal functionalities
Questions remembered
show id
download from portal and start app
demostrated portal functionalities
Explain model.py
What is SPA
What is Lazy loading
What is Authentication
What is ilike
Suggested some improvements
Aryan ShuklaMAD1
Shared viva questions from response sheet: Level 2 Viva; 1)Show ID; 2)Run the application
Questions remembered
Level 2 Viva
1)Show ID
2)Run the application
3)Checks almost all functionalities
4) Suggests Changes that will make the application better
5)ilike operation
6)Lazy evaluation
7)Standalone component
8)Authentication and Authorisation
9)cell padding and cell spacing
10)SPA
11)inline styling
12)I forgot to add he first said to explain models and database
13)and few more basic question in total around 10-12 questions.
14) After viva asks if you have any questions for him.
Moomin Bin NissarMAD1
Guy is very chill, will make you comfortable. Be confident and prepare these ones especially
Questions remembered
• ID CARD
• APP PRESENTATION SHORT(Suggested improvements)
• Placement Drive Creation flow in the app
• ilike in SQALCHEMY
• Lazy Loading vs Eager Loading (eager loading real world usage)
• Single page apps
anonymousMAD1
Cool guy, answer what you know, be confident, be clear with your code (what and where)
Questions remembered
LEVEL II Viva:
App Demo (in between questions on features of app)
what is inline and internal CSS
authentication vs authorization
SPA
lazy loading
Explain your models and database
How the search functionality is implemented
Any questions from our side (no code changes asked)
ShhhhMAD1
Prep well according to what your proctor has asked in the past.
Questions remembered
Asked for IIT-M ID
Asked to download the submission from the portal.
Asked me to run the project using the downloaded file. (Venv creation, requirements installation, everything one needs to do)
Goes through the project step by step same as level 1.
Gives suggestions for improvements in the project.
Asked theoretical questions. 6.1 What is SPA. 6.2 What is inline styling. 6.3 What is cascading effect wrt databases. 6.4 What is the difference ilike function and like function (I used ilike for search functionality, but did not know the difference).
Said he was done with the assessment and asked whether I have any questions or not. I asked how I did on the viva. He said I just need to implement the suggestions he gave to make this a full fledged working example.
Did not ask to do any code changes.
Jeevan PremMAD1
Chill, very easy, easier then level 1,no code changes
Questions remembered
Viva lvl 2:
-Showed id
-showed app demonstration
-explain models.py
-explain doctor create route
-SPA(Single page application)
-Authentication vs authorization
-post vs put
Hash BirlaMAD1
Chill Proctor, Didn't ask for any code change. was giving me feedback in between the explaination like what more could i do to make it more user friendly.
Questions remembered
Level 2.
Asked to show the working of the webapp.
Asked to create, update a doctor and set their availablity for the week.
Asked to Book an appointment for the same doctor.
Checked if we could book more than one appointment for a single day.
Asked to Show and explain the models.
Asked what is lazy loading.
Asked the difference b/w inline and internal CSS.
Asked to explain my update doctor route.
NameMAD1
Depends on the examiner and your confidence about your app. Theory questions come regardless of whether implemented in the app or not. Going through the viva FAQs in detail is enough for theory. Just chill!
Questions remembered
• running of application + detailed explanation of models
• what is SPA
• difference between authentication vs authorization
Go through the available sheet. That's more than enough for the viva.
Questions remembered
1.Asked me to demo the app.
My app allowed same vehicle number to be registered twice. Pointed out the flaw.
Asked me to move the add parking lot button from bottom to top.
Lazy Loading, db.Model, Authentication vs Authorization; ilike vs like
Gave suggestions on new features that I can implement. Made comments on aesthetics and how to improve.
Asked me to explain how cost is calculated. Informed that there should be a minimum parking lot charge if someone parks out vehicle before 1 hour.
I asked for feedback and he informed that pagination can be implemented and scrolling can be avoided. Better design.
Overall pretty chill guy.
sivaniMAD1
Chill proctor very nice , will give you feedbacks to improve project in the end
Questions remembered
1)put vs post 2)spa 3)authentication vs authorization(also explain in code) 4)explain database part 5)inline,internal,external css 6)ilike operator is sql 7)search functionality explanation
Sheet responseMAD1
Good chill Interview easily you can nail interview rember how u have implremented Search fn and database some basic concepts and params used in you code liken ilke lazy cascade_all backref if used
Questions remembered
1)Demo
After Demo He wanted some changes like Add lot button was in end he wanted it to put it above all lots 3)In detail Disucsion about Database and Models created their relationship etc
diff btw like and ilke Operator Then asked anything you would want to ask i asked about feedback and Improving Some funcnalites in my application
Sheet responseMAD1
He is very calm and supportive, would give you suggestion at the end gave me to improve the ui of the application, Just know you code what and why you have done that .viva was completed in 25 mins
Questions remembered
download submission
app demo in between asked questions to shift the add lot button to the top , create lot , edit the maximum spots to 50 , from the user book a spot and release it
asked to explain all the db models
show the search function
explain the search functionality
what the post
what are the http requests
what is single page application
Sheet responseMAD1
Shared viva questions from response sheet: App demo, explain cost,booking logic, explain models, explain search functionality, diff between put/patch, diff between ilike& like(i used in my app) single page application, standalone component,lazy loading
Questions remembered
App demo, explain cost,booking logic, explain models, explain search functionality, diff between put/patch, diff between ilike& like(i used in my app) single page application, standalone component,lazy loading
RBKMAD1
Just go through the models and functions in routes, and for theory, refer to this docs.
Questions remembered
Start with project presentation
Asked to explain models (database) and routes functions)
Authentication and authorization
Lazy loading and eager loading (Examples of where we can use these)
Single page application (SPA)
Chenchu Vinay BogaMAD1
* He is a chill guy, don't panic * Just refer this doc and prepare the qns asked by him * Mostly he will ask those qns only.. * Actually he joined 20min late in my case, that's the reason why he didn't ask for any code changes ig 😅
Questions remembered
* He didn't ask for any code changes for me, but started the discussion with improvements u can do to u r application
* He asked some doubts related to what customers, Professionals and Admin can do
* He asked about the logic I used for calculating the rating of professionals and asked to do manual calculation on it like if customer 1 gives rating 4, customer 2 gives rating 5 then what is the overall rating...
* At the end he asked qns about theory
* Diff b/w authentication and authorisation
* Diff b/w like and ilike ( I used them for search functionality )
* Diff b/w PUT and POST
* Types of CSS, which has highest priority
* Explain u r database design
Sheet responseMAD1
Cool proctor. Just be clear with how you implemented the search functionality.
Questions remembered
--> Asked introduction about project. --> Project demo. --> Asked how have you implemented search functionality. Theory Questions:
What are Single Page Applications (SPAs)?
Authentication vs Authorization.
Inline CSS vs Internal CSS and which has higher precedence?
PUT vs POST.
Sheet responseMAD1
Chill Karo if u got this proctor...
Questions remembered
Checksum
Demo
Explain Service and Service Professional from models.py
What is the difference beween Inline CSS and Internal CSS
What is the difference between Authentication and Authorisation?
What is the difference between 'LIKE' and 'UNLIKE' operator with respect to Database?
How did you implement search functionality in your project?
Mrunal MahajanMAD1
Don't worry, he's very chill. He asked the same questions from the response sheet. If you don't know the answer to a question, just say so—he'll explain it himself.
Questions remembered
Show the functionalites
what is put post
difference between Authorization and authentication
Inline CSS and Internal CSS and what's the advantage of using internal css over inline?
what is SPA ?
what is lazy loading? Gave me suggestions for my code
Rittwik BhowmickMAD1
Just read the above questions and know your code very well.. and try to explain your answer through your code.. like when he asked me about authentication and authorisation I just showed my code of auth required and admin required and explain that to him.he is a very good proctor he appreciated my project .. everything went good. All the best 👍
Questions remembered
Create 2 new account one for sponsor and one for influencer.
Create campaign and other things(like viva 1)
Explain your database.
Asked me to explain some code.
What is SPA
What is authentication and what is authorisation
Explain Put post get
Explain lazy loading ,uselist and backref .
That's all..
Sheet responseMAD1
Read the Google sheet questions well. Baki bhagwan bharose 🙂
Questions remembered
show your project.
sir gave some of his own opinions on my UX design but did not ask me to change anything in code ( kismat chahiye bhai kismat 🥳 )
explained db models that I created.
what is authentication and authorisation ?
what is SPA ?
what is lazy loading?
what is inline and internal css and what's the advantage of using internal css ?
Sheet responseMAD1
just know your code and it is fine learn the procotor specific theory
Questions remembered
1)show your project
2)what is put post
3)show edit functionality code what you have used there put or post
4)explain your models
5)primary key and foriegn key
6)Like AND unlike operator
7)diffrenece between Authorization and authentication
8)Inline CSS and Internal CSS
SiddhantMAD1
No need to get nervous with him, he’s pretty good.
Questions remembered
Explain project
Explain database schema
What is lazy loading
Difference between PATCH and PUT
What is single page application
Show function for a particular functionality (mine was rating of songs)
AdityaMAD1
If you have time perpair everthing that you have implimented. If you don't have time book you slot and see which viva person is assigned to you(eg: level_3_11) and refer to the prviour year question accrding to the proctor.....80% Q will be same. Another advise impliment as many fetures as you can ....give the examinor no chance to pull out any mistakes.
Questions remembered
1)Explain you database
2)Name most used REST api method(PUT,POST,DELETE,GET) and explain them.
3)Difference between authentication and authorisation?
4)Cell spacing and cell padding.
5)Difference b/w PUT and POST
6)He did not made me code anthing(I feel special)
DeepaMAD1
Find all answers from previous year sheet and make your own version,most probably questions asked from them only
Questions remembered
1.Some code changes( mainly css change)
2.what is authentication?
3.What is authorization?
4.Cell padding, cell spacing.
5.Difference between put and post
6.Can we use put for creation ?
7.What has more preference inline cssand internal css?
8.Why incline has more preference?
AlexzendreneMAD1
Shared viva questions from response sheet: Proceed with I'd Then hash checksum check 1.Cell spacing and cell padding 2.Db models ( explain entities and referencing tables ) 3.Rest APIs 4.Types of rest APIs for http 5.Made some edits in project regarding display the quantity in inventory; Very detailed examination for project functions each and every (most of time) Delete Edit Add Checking the warning for cart If product is not in invent...
Questions remembered
Proceed with I'd Then hash checksum check 1.Cell spacing and cell padding 2.Db models ( explain entities and referencing tables ) 3.Rest APIs 4.Types of rest APIs for http 5.Made some edits in project regarding display the quantity in inventory
Very detailed examination for project functions each and every (most of time) Delete Edit Add Checking the warning for cart If product is not in inventory and we have added it.
Checked schema
Asked me regarding how you proceed with your models
Cart db model.
Billing summary which showed purchased products. Review :- nice and friendly proctor and finally told he has done his assessment and I have done great 😃
ShubhamGMAD1
Shared viva questions from response sheet: Asked to change some things in my code as per their preference...; Asked about GET and POST and what's the basic difference?; Why inline CSS has more weightage than external CSS during styling?
Questions remembered
Asked to change some things in my code as per their preference...
Asked about GET and POST and what's the basic difference?
Why inline CSS has more weightage than external CSS during styling?
Can you use a GET request to do the same work as a POST request?
Why is POST more preferable for some things than GET?
JeomonMAD1
Shared viva questions from response sheet: theroy; what is difference between authentication and authorization?; which all are http methods used in rest api?
Questions remembered
theroy
what is difference between authentication and authorization?
which all are http methods used in rest api?
what is difference between put and get request?
what are different types of implementations of css and which has the highest priority?
explain the DB schema.
show all the features that you had.
programming
I have the expiry date property for product in the grocery store app he wants to add custom validation stating if expiry date older than today's date show error message.....proctor was nice person he allowed me to check the datetime documentation.
Anurag KumarMAD1
Shared viva questions from response sheet: Project Functioning in Depth; 2)Restrict the booking to 10% of the total bookings or direct to another page with an error message; 3)Change in code so that not more than 8 characters length of the password can be used for a password under user registration; 4)Difference between arrays and lists; 5)lambda function; 6)What you used in the search option in the app(post or get); 7)define the post, ...
Questions remembered
Project Functioning in Depth; 2)Restrict the booking to 10% of the total bookings or direct to another page with an error message; 3)Change in code so that not more than 8 characters length of the password can be used for a password under user registration; 4)Difference between arrays and lists; 5)lambda function; 6)What you used in the search option in the app(post or get); 7)define the post, put, and get methods ;
Explain your database;
SriyaMAD1
Shared viva questions from response sheet: Incline css update form put get post delete max no of tickest=5
Questions remembered
Incline css update form put get post delete max no of tickest=5
Jeevan Aji GeorgeMAD1
Shared viva questions from response sheet: Project details; Data structures from python - Arrays, Lists; HTTP methods- GET, PUT etc.
Demo of project and he will guide you on what 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
2
Any questions i had for him No coding questions
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: extremely nice proctor, gave really good suggestions when asked how i can take this app to production level , the viva was quick less than viva 1
Viva 2 1.Asked to demo only few functionalities (login a s admin, add new trek staff, register new user, book a trek , login as trek staff, change the status of the trek)
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
Explain db table structure
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
Demo the export csv functionality
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 the code for search option
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 ilike and wildcard %
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 spa, authentication and authorisation, vue js
NEED NOT BE IN ORDER (Based on Placement Portal App) 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
2
Create a new company and create a drive with it. Then make a new student and apply for that.
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
Explain me your database file and structure.
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
Show any update function. (I showed him what we can update the application deadline)
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 authentication. Show me where you have used 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
Show me search function. Asked me to explain what '%' does in search.
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
Difference between like and ilike. He said viva is done so I though that he thinks I have not made backend jobs. So I told him that he didn't check that and then I showed him.
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: Really nice proctor. Finished my viva in 15 mins. Then I said about backend jobs which took extra 7, so total 22 mins, shorter than level 1. Also, for some reason the mail didn't go but I showed him the older ones. He just asked me to fix it.
With him be confident. Go through the sheet. Some of his questions are repetative.
One thing I have noticed is don't give straight one line answers. Explain your answers, if possible with your code. Like I showed him put and patch in my code, or opened the index.html when asked about SPA. I feel it build trust.
Ask to change some button position using flex CSS property.
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
Ask to explain search 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
3
What is the difference between ilike and like?
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 Authorization and Authentication?
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
Advantage of JavaScript. Theory questions are same like previously asked. Gave some suggestion about project improvement.
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: Very good proctor. Need some understanding of basic code , he may ask to explain one of the API and theory questions mostly same as the previous.
In Vue components, asked the flow of 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
3
In backed , he asked usage for trim, .tolowercase(), authentication. 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
4
Spa, how it affects performance. (Quoted my project as example) Webhooks.
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
He shared improvement tips on the project.
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
Code change very minor(just shift a button from bottom to top in Vue template while preserve its working. I did it by putting in a div tag inside form tags)
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 nice proctor, positive thinking and motivate to answer by providing hints. Put more knowledge on theory rather than practice if you get this proctor.Good luck for my peers.
Household Services: He asked me to run my application, and he started giving feedback on how to improve each functionality that I showed. Then he asked me to explain my db tables and their structure. Then he asked me 3 questions:
wanted to know my thought process on how i would implement and what changes will i make if i had to create only one common table between user and admin
while showing the admin side of the page asked me to add set an alert message when admin tries to allot more seats to a show in a venue than the allotted seats for that particular venue (even though backend was not letting the admin book more seats than possible)
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
asked me to change the blue coloured button to green
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
- now in coding part he asked me to explain the database and the controllers
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
3
- Not even single task was given to do code or change code.
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
- finally he said assessment is over and asked whether I have any questions to him. I asked about the presentation of the project I did and the corrections to be made in my app. He said correction in the way I presented and features to be added in the app
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
5
Duration was around 35 mins.
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: The response document was highly helpful for this proctor. I suggest that, those who get this proctor, to just go through the things mentioned in the response document about him in the past. He repeats the viva process exactly the same as mentioned in it.
Advice: He's super chill. And he will repeat his questions if you didn't hear it properly. Focus on SPA. Just go through the questions he asked prev and there u go~
Honestly, this was probably the chillest guy you can ever get. Very calm, very predictable, and the whole vibe was super relaxed.
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
2
As always… he came around 15 minutes late 😭
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
He began with the project demo and asked for simple demonstration of the basic functionalities. Nothing tricky, just normal flow of the project and explanation.
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
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
4
At last, he said you are done with viva, if you have any doubts you can ask...so i asked what things should i add in my app to make it more impactful....he told me what to add....and then ended.
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: he is a very chill proctor.....questions are mostly same as previous ones , you are lucky if you got this proctor
Advice: Be confident in your code and explain everything to the best you can. He will listen properly and understand your code. Chill proctor. Learn your theory well.
He also gives very nice tips and ways to better clean up your code and ways to implement more functionality. Listen to his tips coz they're very useful. Very nice proctor.
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
Suggested some improvements
Times asked1
Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
Viva tip1-2 concrete features bolo jo time milne pe add karte — vague 'AI' 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
5
Said he was done with the assessment and asked whether I have any questions or not. I asked how I did on the viva. He said I just need to implement the suggestions he gave to make this a full fledged working example.
Times asked1
Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
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: Chill Proctor, Didn't ask for any code change. was giving me feedback in between the explaination like what more could i do to make it more user friendly.
• running of application + detailed explanation of models
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
2
• what is RESTful
Times asked1
Official solution
SimpleREST: resources + HTTP verbs. GET read, POST create, PUT/PATCH update, DELETE remove. Stateless ideal.
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: Depends on the examiner and your confidence about your app. Theory questions come regardless of whether implemented in the app or not. Going through the viva FAQs in detail is enough for theory. Just chill!
diff btw like and ilke Operator Then asked anything you would want to ask i asked about feedback and Improving Some funcnalites in my application
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: Good chill Interview easily you can nail interview rember how u have implremented Search fn and database some basic concepts and params used in you code liken ilke lazy cascade_all backref if used
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
app demo in between asked questions to shift the add lot button to the top , create lot , edit the maximum spots to 50 , from the user book a spot and release it
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
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 very calm and supportive, would give you suggestion at the end gave me to improve the ui of the application, Just know you code what and why you have done that .viva was completed in 25 mins
* He asked some doubts related to what customers, Professionals and Admin can do
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
2
* He asked about the logic I used for calculating the rating of professionals and asked to do manual calculation on it like if customer 1 gives rating 4, customer 2 gives rating 5 then what is the overall rating...
Times asked1
Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
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
POST /api/venues
PUT /api/venues/1 {all fields}
PATCH /api/venues/1 {only name}
Project example: POST /api/venues create. PUT /venues/1 saari fields. PATCH sirf name.
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 a chill guy, don't panic
* Just refer this doc and prepare the qns asked by him
* Mostly he will ask those qns only..
* Actually he joined 20min late in my case, that's the reason why he didn't ask for any code changes ig 😅
Advice: Don't worry, he's very chill. He asked the same questions from the response sheet. If you don't know the answer to a question, just say so—he'll explain it himself.
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
4
That's all..
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: Just read the above questions and know your code very well.. and try to explain your answer through your code.. like when he asked me about authentication and authorisation I just showed my code of auth required and admin required and explain that to him.he is a very good proctor he appreciated my project .. everything went good. All the best 👍
sir gave some of his own opinions on my UX design but did not ask me to change anything in code ( kismat chahiye bhai kismat 🥳 )
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
2
explained db models that I created.
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
3
what is authentication and authorisation ?
Times asked1
Official solution
SimpleAuthentication: tu kaun hai? (login). Authorization: tujhe permission hai? (role check).
Example
# auth
if check_password_hash(user.password, pwd):
session['user_id'] = user.id
# authz
if user.role != 'admin':
abort(403)
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: Read the Google sheet questions well. Baki bhagwan bharose 🙂
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: If you have time perpair everthing that you have implimented. If you don't have time book you slot and see which viva person is assigned to you(eg: level_3_11) and refer to the prviour year question accrding to the proctor.....80% Q will be same.
Another advise impliment as many fetures as you can ....give the examinor no chance to pull out any mistakes.
Very detailed examination for project functions each and every (most of time) Delete Edit Add Checking the warning for cart If product is not in inventory and we have added it.
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
2
Checked schema
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
Asked me regarding how you proceed with your models
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
4
Cart db model.
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
5
Billing summary which showed purchased products. Review :- nice and friendly proctor and finally told he has done his assessment and I have done great 😃
Times asked1
Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
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
I have the expiry date property for product in the grocery store app he wants to add custom validation stating if expiry date older than today's date show error message.....proctor was nice person he allowed me to check the datetime documentation.
if not email or '@' not in email:
flash('Invalid email')
return redirect(request.url)
if User.query.filter_by(email=email).first():
flash('Email taken')
SimpleConstraints rules hain jo galat data rok te hain. Referential integrity FK valid parent ko point kare.
PK, FK, UNIQUE, NOT NULL, CHECK (age >= 18). ORM Column flags yahi map karte hain.
SQL = language tables se baat. Database organized data store.
SQL View: saved query, table jaisi dikhti hai, data copy nahi.
Cluster: kai DB servers together (HA/scale) — MAD1 SQLite single file.
Entity mapping: class User → table user, attributes → columns.
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: extremely nice proctor, gave really good suggestions when asked how i can take this app to production level , the viva was quick less than viva 1
What is authentication. Show me where you have used it.
Times asked2
Official solution
SimpleAuthentication: tu kaun hai? (login). Authorization: tujhe permission hai? (role check).
Example
# auth
if check_password_hash(user.password, pwd):
session['user_id'] = user.id
# authz
if user.role != 'admin':
abort(403)
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: Really nice proctor. Finished my viva in 15 mins. Then I said about backend jobs which took extra 7, so total 22 mins, shorter than level 1. Also, for some reason the mail didn't go but I showed him the older ones. He just asked me to fix it.
With him be confident. Go through the sheet. Some of his questions are repetative.
One thing I have noticed is don't give straight one line answers. Explain your answers, if possible with your code. Like I showed him put and patch in my code, or opened the index.html when asked about SPA. I feel it build trust.
Level 2 ...to change navbar and button position ,lazy loading ,cell spacing nd padding , Spa , explain models of ur db , explain a route and if u can improve it(just give ans without coding)
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
Advice: very good proctor , just follow the sheet and all set
Advice: Very good proctor. Need some understanding of basic code , he may ask to explain one of the API and theory questions mostly same as the previous.
Viva tip1-2 concrete features bolo jo time milne pe add karte — vague 'AI' 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
Code change very minor(just shift a button from bottom to top in Vue template while preserve its working. I did it by putting in a div tag inside form tags)
Times asked2
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: Overall nice proctor, positive thinking and motivate to answer by providing hints. Put more knowledge on theory rather than practice if you get this proctor.Good luck for my peers.
SimpleLogin flow pehle poochta hai "tu kaun hai?", token milne ke baad har API pe wohi proof dikhate ho.
Authentication step: Vue form email + password JSON POST karta hai. Flask user dhoondhta hai, check_password_hash se prove karta hai ki tum genuine ho. Galat 401. Sahi pe JWT + role milta hai — yeh session/token hai.
Vue localStorage (ya cookie) mein token rakhta hai, dashboard pe router.push. Aage ki har fetch header: Authorization: Bearer <token>. @jwt_required identity check (authentication). @roles_required('admin') permission check (authorization) — logged in ho, lekin allowed nahi to 403.
Validation alag cheez hai: empty email, password 8+ — form sahi bhara hai ya nahi. Woh identity prove nahi karta.
Logout = client token delete + login page. Server blacklist optional. Password response JSON mein kabhi mat bhejo.
Example
# Authentication
@app.route('/api/login', methods=['POST'])
def login():
u = User.query.filter_by(email=data['email']).first()
if not u or not check_password_hash(u.password, data['password']):
return jsonify(msg='bad'), 401
return jsonify(token=create_access_token(u.id), role=u.role)
# baad ki APIs
# Authorization: Bearer <token>
if current_user.role != 'admin':
abort(403)
Project example: Login.vue POST /api/login → token LS → interceptor. Student token se admin route = 403. Empty form = validation, galat password = 401.
Viva tipNetwork tab mein password body dikhega localhost pe — prod HTTPS. Response mein hash/password echo mat karo.
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)
Auth: session['user_id'] + role check. CRUD: add/commit, query.all, field update, delete.
Live change maange to: related model → route → template, phir browser refresh karke dikhao.
Example (generic create):
obj = Model(name=request.form.get('name'))
Household Services: He asked me to run my application, and he started giving feedback on how to improve each functionality that I showed. Then he asked me to explain my db tables and their structure. Then he asked me 3 questions:
Times asked2
Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
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)
(6) Explain edit show code from from frontend to backend
Times asked1
Official solution
SimpleCode dikhao to pehle related file: models → route → template. Flow explain karte hue lines padho.
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) Explain models
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
7
(8) Implement constraint on password length (Frontend)
Times asked2
Official solution
SimpleMAD1 frontend usually Jinja templates + HTML/CSS/Bootstrap (+ thoda JS). MAD2 pe Vue ho to clearly bolo.
wanted to know my thought process on how i would implement and what changes will i make if i had to create only one common table between user and admin
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.
while showing the admin side of the page asked me to add set an alert message when admin tries to allot more seats to a show in a venue than the allotted seats for that particular venue (even though backend was not letting the admin book more seats than possible)
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
asked me to change the blue coloured button to green
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
4
what is lazy loading
Times asked1
Official solution
Simplelazy loading related objects tab load karta hai jab attribute access karte ho, pehle nahi.
user = User.query.get(1) # posts query nahi
user.posts # ab query
lazy=True / 'select' default. lazy='joined' eager join. lazy='dynamic' query object.
uselist=False One-to-One (single object, list nahi). Hataoge to list mil sakti hai.
Frontend lazy loading images alag cheez hai (viewport mein aaye tab load).
Project example: Agar implement nahi: 'course REST. Webhook design: POST /webhooks/booking-paid'.
Viva tipAPI pull, webhook push. WebSocket dono taraf live. SSE server → client stream.
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
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.
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
How have you implemented RBAC (Role-Based Access Control) for the Admin?
Times asked1
Official solution
SimpleRoles table, assignment, decorator, UI meta. Example admin vs user endpoint.
Admin authenticated AND authorized. User authenticated not authorized admin.
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: roles_required admin stats. User 403 Postman.
SimpleCamera pe clearly IITM/college ID dikhao — naam photo match.
Pehle se ID haath mein rakho. Glare mat aane do. Examiner screenshot/verify karta hai. 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
Download the submitted project from the portal and run it.
Times asked1
Official solution
SimpleExaminer submitted ZIP chahta hai, local extra changes nahi.
Portal se ZIP download → extract → venv → pip install -r requirements.txt → flask run / python app.py.
Checksum maange to hash match karke dikhao. Camera/OPPE setup unke instructions.
Linux/Mac: paths, gunicorn; Windows paths alag ho to relative paths use karo.
Do browsers: admin + user parallel demo impressive lagta 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
Give a complete demo of the application.
Times asked1
Official solution
SimpleDemo script pehle se practice karo, 5-7 minute, saari roles.
Suggested flow
1) Register/login user 2) Admin login — CRUD 3) Approval/blacklist 4) Booking/apply 5) Search 6) Validation edge (slots 0, duplicate) 7) Logout
Bolte-bolte dikhao: 'Yahan overbooking rokta hoon'. Code tab kholna jab poochhein.
Crash ho to debug calmly: terminal error, typo, DB path.
Mandatory features skip mat karna — examiner list tick karta 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
4
Explain all major features of your application.
Times asked1
Official solution
SimpleDemo script pehle se practice karo, 5-7 minute, saari roles.
Suggested flow
1) Register/login user 2) Admin login — CRUD 3) Approval/blacklist 4) Booking/apply 5) Search 6) Validation edge (slots 0, duplicate) 7) Logout
Bolte-bolte dikhao: 'Yahan overbooking rokta hoon'. Code tab kholna jab poochhein.
Crash ho to debug calmly: terminal error, typo, DB path.
Mandatory features skip mat karna — examiner list tick karta 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
5
Explain the update/edit functionality.
Times asked1
Official solution
Examiner code pe ungli rakh ke poochta hai — panic mat karo, 4-line formula bolo.
1) Yeh file/line kya role hai (model / route / template / config)?
2) Input kahan se aata hai (form, URL <id>, session, JSON)?
3) DB pe kya query/write?
4) Output kya (render_template / redirect / jsonify)?
Example
@app.route('/book/<int:id>', methods=['POST']) — logged-in user session se, trek id URL se, Booking add, slots--, redirect history.
Unknown line: imports (request, url_for, flash), decorators, if checks, commit — har keyword ka reason ready rakho.
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
7
Explain your models (models.py).
Times asked1
Official solution
Simplemodels.py har table ki class hai — columns, PK/FK, relationships. Yeh Model layer hai.
Viva mein file khol ke bolo:
1) Kaunsi classes/tables hain (User, Role-specific, Booking...)
2) Har table ka kaam 1 line
3) Relationships: 1-1 / 1-M / M-M, backref, cascade, lazy
4) Constraints: unique email, nullable, default status
Example skeleton
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
email = db.Column(db.String(120), unique=True, nullable=False)
role = db.Column(db.String(20), default='user')
bookings = db.relationship('Booking', backref='user', cascade='all, delete-orphan')
ER diagram: rectangles entities, lines relationships, PK/FK mark. Schema = yahi structure.
Tables create: db.create_all() ya migrations. SQLite file SQL viewer se dikha sakte ho.
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
Explain the workflow of your application (booking, appointments, campaigns, placement drive, inventory, etc.).
Times asked1
Official solution
Examiner code pe ungli rakh ke poochta hai — panic mat karo, 4-line formula bolo.
1) Yeh file/line kya role hai (model / route / template / config)?
2) Input kahan se aata hai (form, URL <id>, session, JSON)?
3) DB pe kya query/write?
4) Output kya (render_template / redirect / jsonify)?
Example
@app.route('/book/<int:id>', methods=['POST']) — logged-in user session se, trek id URL se, Booking add, slots--, redirect history.
Unknown line: imports (request, url_for, flash), decorators, if checks, commit — har keyword ka reason ready rakho.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
9
Explain the search functionality.
Times asked2
Official solution
SimpleSearch box GET form, backend query filter, results template mein.
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
12
Explain specific database models (Cart, Service, Doctor, Campaign, etc.).
Times asked1
Official solution
Simplemodels.py har table ki class hai — columns, PK/FK, relationships. Yeh Model layer hai.
Viva mein file khol ke bolo:
1) Kaunsi classes/tables hain (User, Role-specific, Booking...)
2) Har table ka kaam 1 line
3) Relationships: 1-1 / 1-M / M-M, backref, cascade, lazy
4) Constraints: unique email, nullable, default status
Example skeleton
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
email = db.Column(db.String(120), unique=True, nullable=False)
role = db.Column(db.String(20), default='user')
bookings = db.relationship('Booking', backref='user', cascade='all, delete-orphan')
ER diagram: rectangles entities, lines relationships, PK/FK mark. Schema = yahi structure.
Tables create: db.create_all() ya migrations. SQLite file SQL viewer se dikha sakte ho.
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
Explain how ratings, billing, booking, or business logic works.
Times asked1
Official solution
SimpleCost generally rate × quantity/time, round up rules ke saath.
hours = max(1, math.ceil(total_minutes / 60)) # 10 min bhi 1 hour
cost = hours * lot.price_per_hour
Logic route/model method mein rakho, template mein sirf {{ booking.cost }}.
Viva: numbers ka example 90 min × ₹50 = ₹100 (ceil 2 hours) walkthrough 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
14
Explain authentication implementation in your project.
Times asked1
Official solution
SimpleLogin GET form dikhata hai, POST credentials check karke session set karta hai.
@app.route('/login', methods=['GET','POST'])
def login():
if request.method == 'POST':
u = User.query.filter_by(email=request.form.get('email')).first()
if u and check_password_hash(u.password, request.form.get('password')):
if getattr(u, 'blacklisted', False):
flash('Blocked'); return redirect(url_for('login'))
session['user_id'] = u.id
session['role'] = u.role
return redirect(url_for('dashboard'))
flash('Invalid')
return render_template('login.html')
Logout: session.clear(); redirect login. Incognito alag cookie jar — logged out dikhega.
Single login page: role se redirect alag dashboards.
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
Explain authorization implementation in your project.
Times asked1
Official solution
SimpleAuthentication session se, Authorization role/ownership check se.
pwd = request.form.get('password','')
if len(pwd) < 8 or not re.search(r'[A-Z]', pwd) or not re.search(r'[0-9]', pwd):
flash('Weak password')
Haan, regex se password rules ho sakte hain.
Age 18-99, date >= today, slots <= 30 and > 0, confirm password == password, email '@' .
Duplicate username: User.query.filter_by(email=email).first() or unique=True catch IntegrityError.
Past date: if date < date.today(): reject. Negative slots: if slots < 0: reject; book pe available > 0 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
18
Suggest improvements that can make your application better.
pwd = request.form.get('password','')
if len(pwd) < 8 or not re.search(r'[A-Z]', pwd) or not re.search(r'[0-9]', pwd):
flash('Weak password')
Haan, regex se password rules ho sakte hain.
Age 18-99, date >= today, slots <= 30 and > 0, confirm password == password, email '@' .
Duplicate username: User.query.filter_by(email=email).first() or unique=True catch IntegrityError.
Past date: if date < date.today(): reject. Negative slots: if slots < 0: reject; book pe available > 0 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
20
Restrict booking limits (e.g., maximum bookings).
Times asked1
Official solution
Yeh MAD-1 viva question tumhare project ke context se linked hai. Short answer is structure se do:
Pehle 1 line definition/purpose, phir tumhare project ka example, phir chhota code/flow.
Auth: session['user_id'] + role check. CRUD: add/commit, query.all, field update, delete.
Live change maange to: related model → route → template, phir browser refresh karke dikhao.
Example (generic create):
obj = Model(name=request.form.get('name'))
pwd = request.form.get('password','')
if len(pwd) < 8 or not re.search(r'[A-Z]', pwd) or not re.search(r'[0-9]', pwd):
flash('Weak password')
Haan, regex se password rules ho sakte hain.
Age 18-99, date >= today, slots <= 30 and > 0, confirm password == password, email '@' .
Duplicate username: User.query.filter_by(email=email).first() or unique=True catch IntegrityError.
Past date: if date < date.today(): reject. Negative slots: if slots < 0: reject; book pe available > 0 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
22
Modify inventory/cart display logic.
Times asked1
Official solution
Yeh MAD-1 viva question tumhare project ke context se linked hai. Short answer is structure se do:
Pehle 1 line definition/purpose, phir tumhare project ka example, phir chhota code/flow.
Auth: session['user_id'] + role check. CRUD: add/commit, query.all, field update, delete.
Live change maange to: related model → route → template, phir browser refresh karke dikhao.
Example (generic create):
obj = Model(name=request.form.get('name'))
Auth: session['user_id'] + role check. CRUD: add/commit, query.all, field update, delete.
Live change maange to: related model → route → template, phir browser refresh karke dikhao.
Example (generic create):
obj = Model(name=request.form.get('name'))
Simplemodels.py har table ki class hai — columns, PK/FK, relationships. Yeh Model layer hai.
Viva mein file khol ke bolo:
1) Kaunsi classes/tables hain (User, Role-specific, Booking...)
2) Har table ka kaam 1 line
3) Relationships: 1-1 / 1-M / M-M, backref, cascade, lazy
4) Constraints: unique email, nullable, default status
Example skeleton
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
email = db.Column(db.String(120), unique=True, nullable=False)
role = db.Column(db.String(20), default='user')
bookings = db.relationship('Booking', backref='user', cascade='all, delete-orphan')
ER diagram: rectangles entities, lines relationships, PK/FK mark. Schema = yahi structure.
Tables create: db.create_all() ya migrations. SQLite file SQL viewer se dikha sakte ho.
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
Explain entity relationships.
Times asked1
Official solution
SimpleRelationships tables ko jodti hain taaki related data object se mil jaaye.
One-to-Many: User → kai Posts. posts = relationship('Post', backref='author'). FK post.user_id.
One-to-One: User → Profile. uselist=False + unique FK. Profile.user_id unique.
Many-to-Many: Student ↔ Drive. Junction/secondary table (student_id, drive_id).
Example 1-1:
class Profile(db.Model):
user_id = db.Column(db.Integer, db.ForeignKey('user.id'), unique=True)
user = db.relationship('User', back_populates='profile', uselist=False)
1-M ko 1-1: child FK pe unique=True + uselist=False.
Parent-child: parent PK, child FK. Junction table extra columns bhi rakh sakti hai (applied_on).
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
Explain Primary Key.
Times asked1
Official solution
SimplePrimary Key har row ko uniquely identify karti hai. Unique Key bhi unique hoti hai lekin table ki main ID nahi.
id = db.Column(db.Integer, primary_key=True) # auto increment
email = db.Column(db.String(120), unique=True)
PK: NOT NULL, ek (ya composite). Index automatically.
Record fetch: User.query.get(id) PK se tez.
FK hamesha unique nahi — Many side pe repeat hoti hai. Unique FK = One-to-One.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
30
Explain Foreign Key.
Times asked3
Official solution
SimpleForeign Key doosri table ki PK ko refer karti hai, relationship + referential integrity.
Invalid user_id insert nahi hoga. FK unique nahi hona zaroori — One-to-Many mein same user_id kai rows.
FK + PK same column: 1-1 sharing, jaise AdminProfile.id = FK to user.id.
Should FK always unique? Nahi. Tab One-to-One chahiye ho tab unique.
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
Explain table referencing.
Times asked1
Official solution
Examiner code pe ungli rakh ke poochta hai — panic mat karo, 4-line formula bolo.
1) Yeh file/line kya role hai (model / route / template / config)?
2) Input kahan se aata hai (form, URL <id>, session, JSON)?
3) DB pe kya query/write?
4) Output kya (render_template / redirect / jsonify)?
Example
@app.route('/book/<int:id>', methods=['POST']) — logged-in user session se, trek id URL se, Booking add, slots--, redirect history.
Unknown line: imports (request, url_for, flash), decorators, if checks, commit — har keyword ka reason ready rakho.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
32
Explain how models are connected.
Times asked1
Official solution
SimpleRelationships tables ko jodti hain taaki related data object se mil jaaye.
One-to-Many: User → kai Posts. posts = relationship('Post', backref='author'). FK post.user_id.
One-to-One: User → Profile. uselist=False + unique FK. Profile.user_id unique.
Many-to-Many: Student ↔ Drive. Junction/secondary table (student_id, drive_id).
Example 1-1:
class Profile(db.Model):
user_id = db.Column(db.Integer, db.ForeignKey('user.id'), unique=True)
user = db.relationship('User', back_populates='profile', uselist=False)
1-M ko 1-1: child FK pe unique=True + uselist=False.
Parent-child: parent PK, child FK. Junction table extra columns bhi rakh sakti hai (applied_on).
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
33
Explain database design decisions.
Times asked1
Official solution
Simplemodels.py har table ki class hai — columns, PK/FK, relationships. Yeh Model layer hai.
Viva mein file khol ke bolo:
1) Kaunsi classes/tables hain (User, Role-specific, Booking...)
2) Har table ka kaam 1 line
3) Relationships: 1-1 / 1-M / M-M, backref, cascade, lazy
4) Constraints: unique email, nullable, default status
Example skeleton
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
email = db.Column(db.String(120), unique=True, nullable=False)
role = db.Column(db.String(20), default='user')
bookings = db.relationship('Booking', backref='user', cascade='all, delete-orphan')
ER diagram: rectangles entities, lines relationships, PK/FK mark. Schema = yahi structure.
Tables create: db.create_all() ya migrations. SQLite file SQL viewer se dikha sakte ho.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
34
Difference between LIKE and ILIKE.
Times asked2
Official solution
SimpleLIKE case-sensitive ho sakta hai (DB pe depend), ILIKE case-insensitive (Postgres).
SQLite LIKE aksar case-insensitive hota hai ASCII pe. Search boxes mein ilike/%pattern% common 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
35
What is backref?
Times asked12
Official solution
Simplebackref relationship ki reverse side automatically bana deta hai.
class Post(db.Model):
user_id = db.Column(db.Integer, db.ForeignKey('user.id'))
user = db.relationship('User', backref='posts')
Ab post.user milta hai, aur user.posts bhi — Post model pe sirf ek line.
secondary Many-to-Many junction table ke liye: relationship(..., secondary=likes_table, backref='liked_by').
Explicit chahiye to back_populates 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
36
What is uselist?
Times asked2
Official solution
Definition style question: 1 line simple Hinglish + project example + mini code.
Template'X ka kaam Y hai. Mere project mein Z jagah use hua.'
Example'Session login state rakhta hai. session[user_id]=u.id login pe, logout pe session.clear().'
Agar topic Vue/Celery/Redis ho aur project mein nahi hai to sach bolo, theory example do.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
37
Explain Lazy Loading.
Times asked1
Official solution
Simplelazy loading related objects tab load karta hai jab attribute access karte ho, pehle nahi.
user = User.query.get(1) # posts query nahi
user.posts # ab query
lazy=True / 'select' default. lazy='joined' eager join. lazy='dynamic' query object.
uselist=False One-to-One (single object, list nahi). Hataoge to list mil sakti hai.
Frontend lazy loading images alag cheez hai (viewport mein aaye tab load).
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
38
Difference between Lazy Loading and Eager Loading.
Times asked1
Official solution
SimpleLazy related data tab laata hai jab maango, Eager pehle hi join karke laata hai.
lazy='select' (default): user.posts access karte hi alag query. N+1 problem ho sakti hai.
eager (joinedload/lazy='joined'): ek hi query mein user + posts.
lazy='dynamic': query object return, aage filter laga sakte ho.
Example
users = User.query.all() # 1 query
for u in users:
print(u.posts) # har user pe extra query = N+1
Auth: session['user_id'] + role check. CRUD: add/commit, query.all, field update, delete.
Live change maange to: related model → route → template, phir browser refresh karke dikhao.
Example (generic create):
obj = Model(name=request.form.get('name'))
SimpleAPI = Application Programming Interface — do systems predefined rules se baat karti hain. REST API HTTP + JSON use karti hai.
Controller/route HTML bhi return kar sakta hai. REST API generally JSON return karti hai, frontend alag ho (Vue/Postman).
Example
@app.route('/api/users/<int:id>')
def get_user(id):
u = User.query.get_or_404(id)
return jsonify(id=u.id, name=u.name)
MAD1 HTML apps mein 'API' kabhi-kabhi routes ko hi keh dete hain. Agar Vue nahi to bolo: server-rendered Flask, JSON APIs optional.
Boolean return: technically jsonify(True) ho sakta hai, lekin meaningful JSON object better. Flask view None return kare to error.
Test: Postman se GET/POST.
Parsing: request.get_json() body se, request.args query se.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
41
What are HTTP methods?
Times asked5
Official solution
SimpleHTTP methods batate hain request kya karna chahti hai. Common: GET POST PUT PATCH DELETE.
GETread/fetch. Safe, URL se. Page kholna, search.
POSTcreate/submit. Form, login.
PUTpoora replace/update. Idempotent.
PATCHpartial update.
DELETEhataana.
HEAD: sirf headers. OPTIONS: CORS preflight.
Flask: @app.route('/x', methods=['GET','POST'])
Agar methods na likho to default sirf GET.
HTML form native sirf GET/POST. PUT/DELETE JS/fetch ya hidden _method se.
GET se data fetch ho sakta hai, create nahi karna chahiye. POST se theoretically fetch ho sakta hai lekin cache/semantics galat.
DELETE fetch ke liye nahi. GET POST ka kaam officially nahi karta — side effects GET pe mat rakho.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
42
Explain GET.
Times asked1
Official solution
Examiner code pe ungli rakh ke poochta hai — panic mat karo, 4-line formula bolo.
1) Yeh file/line kya role hai (model / route / template / config)?
2) Input kahan se aata hai (form, URL <id>, session, JSON)?
3) DB pe kya query/write?
4) Output kya (render_template / redirect / jsonify)?
Example
@app.route('/book/<int:id>', methods=['POST']) — logged-in user session se, trek id URL se, Booking add, slots--, redirect history.
Unknown line: imports (request, url_for, flash), decorators, if checks, commit — har keyword ka reason ready rakho.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
43
Explain POST.
Times asked1
Official solution
Examiner code pe ungli rakh ke poochta hai — panic mat karo, 4-line formula bolo.
1) Yeh file/line kya role hai (model / route / template / config)?
2) Input kahan se aata hai (form, URL <id>, session, JSON)?
3) DB pe kya query/write?
4) Output kya (render_template / redirect / jsonify)?
Example
@app.route('/book/<int:id>', methods=['POST']) — logged-in user session se, trek id URL se, Booking add, slots--, redirect history.
Unknown line: imports (request, url_for, flash), decorators, if checks, commit — har keyword ka reason ready rakho.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
44
Explain PUT.
Times asked1
Official solution
Examiner code pe ungli rakh ke poochta hai — panic mat karo, 4-line formula bolo.
1) Yeh file/line kya role hai (model / route / template / config)?
2) Input kahan se aata hai (form, URL <id>, session, JSON)?
3) DB pe kya query/write?
4) Output kya (render_template / redirect / jsonify)?
Example
@app.route('/book/<int:id>', methods=['POST']) — logged-in user session se, trek id URL se, Booking add, slots--, redirect history.
Unknown line: imports (request, url_for, flash), decorators, if checks, commit — har keyword ka reason ready rakho.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
45
Explain PATCH.
Times asked1
Official solution
Examiner code pe ungli rakh ke poochta hai — panic mat karo, 4-line formula bolo.
1) Yeh file/line kya role hai (model / route / template / config)?
2) Input kahan se aata hai (form, URL <id>, session, JSON)?
3) DB pe kya query/write?
4) Output kya (render_template / redirect / jsonify)?
Example
@app.route('/book/<int:id>', methods=['POST']) — logged-in user session se, trek id URL se, Booking add, slots--, redirect history.
Unknown line: imports (request, url_for, flash), decorators, if checks, commit — har keyword ka reason ready rakho.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
46
Difference between GET and POST.
Times asked7
Official solution
SimpleGET data mangta hai (read), POST data bhejta hai (create/submit).
GETURL mein dikhta hai, bookmark ho sakta hai, browser back/refresh safe hai, data URL query mein jaata hai. Search, page open, login form dikhana.
POSTbody mein data jaata hai, URL mein password nahi dikhta, refresh pe dubara submit ho sakta hai. Login, register, form save.
Example
# page dikhana
@app.route('/login', methods=['GET', 'POST'])
def login():
if request.method == 'GET':
return render_template('login.html')
# POST: form submit
email = request.form.get('email')
...
GET se theoretically data bhej sakte ho (?q=flask), lekin create/update ke liye nahi use karna — data log/history mein save ho jaata hai, length limit hoti hai.
HTML form default GET hota hai; method='POST' likhna zaroori hai login/register pe.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
47
Difference between PUT and POST.
Times asked6
Official solution
SimplePOST nayi cheez create karta hai, PUT existing cheez ko replace/update karta hai.
POST /books → naya book add. Har baar naya ID banega. Idempotent nahi — 2 baar POST = 2 records.
PUT /books/5 → id=5 wale book ko poora update. Same PUT dubara bhejo to same result (idempotent).
PUT se create bhi ho sakta hai (agar ID client decide kare), lekin REST convention: create = POST, replace = PUT, partial = PATCH.
HTML <form> PUT nahi bhejta, isliye Flask apps mein edit pe bhi POST use hota hai. Examiner ko yeh reason clearly 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
48
Difference between PUT and PATCH.
Times asked7
Official solution
SimplePUT poori resource replace karta hai, PATCH sirf kuch fields update karta hai.
PUTfull update. Jo fields nahi bheji, woh empty/default ho sakti hain. Idempotent — same request 5 baar bhejo, result same.
PATCHpartial update. Sirf name change karna hai to sirf name bhejo, baaki fields same rehti hain.
ExampleUser {name: Ram, city: Delhi, age: 20}
PUT /user/1 {name: Shyam} → city/age lose ho sakte hain agar poora object nahi bheja.
PATCH /user/1 {name: Shyam} → sirf name Shyam, city Delhi, age 20 same.
MAD1 Flask forms mein aksar POST se update karte hain kyunki HTML form PUT/PATCH native support nahi karta. Theory mein farq yeh 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
49
Can GET perform the work of POST?
Times asked1
Official solution
SimpleGET data mangta hai (read), POST data bhejta hai (create/submit).
GETURL mein dikhta hai, bookmark ho sakta hai, browser back/refresh safe hai, data URL query mein jaata hai. Search, page open, login form dikhana.
POSTbody mein data jaata hai, URL mein password nahi dikhta, refresh pe dubara submit ho sakta hai. Login, register, form save.
Example
# page dikhana
@app.route('/login', methods=['GET', 'POST'])
def login():
if request.method == 'GET':
return render_template('login.html')
# POST: form submit
email = request.form.get('email')
...
GET se theoretically data bhej sakte ho (?q=flask), lekin create/update ke liye nahi use karna — data log/history mein save ho jaata hai, length limit hoti hai.
HTML form default GET hota hai; method='POST' likhna zaroori hai login/register pe.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
50
Can PUT be used for creating resources?
Times asked1
Official solution
SimplePOST nayi cheez create karta hai, PUT existing cheez ko replace/update karta hai.
POST /books → naya book add. Har baar naya ID banega. Idempotent nahi — 2 baar POST = 2 records.
PUT /books/5 → id=5 wale book ko poora update. Same PUT dubara bhejo to same result (idempotent).
PUT se create bhi ho sakta hai (agar ID client decide kare), lekin REST convention: create = POST, replace = PUT, partial = PATCH.
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 delete kar sakta hai, normal user nahi.
Example (Flask):
# Authentication
if user and check_password_hash(user.password, form_password):
session['user_id'] = user.id
# Authorization
if session.get('role') != 'admin':
abort(403) # logged in ho, lekin allowed nahi
Project example: student login = authentication. Student admin dashboard nahi khol sakta = authorization.
Validation alag cheez hai (form sahi bhara hai ya nahi, jaise age 18+).
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
55
Explain authentication in your project.
Times asked1
Official solution
Examiner code pe ungli rakh ke poochta hai — panic mat karo, 4-line formula bolo.
1) Yeh file/line kya role hai (model / route / template / config)?
2) Input kahan se aata hai (form, URL <id>, session, JSON)?
3) DB pe kya query/write?
4) Output kya (render_template / redirect / jsonify)?
Example
@app.route('/book/<int:id>', methods=['POST']) — logged-in user session se, trek id URL se, Booking add, slots--, redirect history.
Unknown line: imports (request, url_for, flash), decorators, if checks, commit — har keyword ka reason ready rakho.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
56
Explain authorization in your project.
Times asked1
Official solution
Examiner code pe ungli rakh ke poochta hai — panic mat karo, 4-line formula bolo.
1) Yeh file/line kya role hai (model / route / template / config)?
2) Input kahan se aata hai (form, URL <id>, session, JSON)?
3) DB pe kya query/write?
4) Output kya (render_template / redirect / jsonify)?
Example
@app.route('/book/<int:id>', methods=['POST']) — logged-in user session se, trek id URL se, Booking add, slots--, redirect history.
Unknown line: imports (request, url_for, flash), decorators, if checks, commit — har keyword ka reason ready rakho.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
57
Checksum verification (hash checksum).
Times asked1
Official solution
SimpleChecksum file ka hash (jaise SHA256) — file change hui ya nahi verify.
Portal pe submitted ZIP ka checksum diya hota hai. Local file ka hash nikaalo, match hona chahiye.
Linux: sha256sum project.zip
Mismatch = galat file / corrupt download. Examiner integrity check karta hai ki tumhari submitted copy hi run ho rahi hai.
Inline: style='color:red' element pe. Highest priority, lekin reuse nahi. Debugging mushkil.
Internal: <style> tag HTML head mein. Us page tak limited.
External: style.css file. Large project ke liye best — ek jagah change, saari pages update.
Example same button pe teeno:
/* external */ .btn { color: blue; }
/* internal */ .btn { color: green; }
<!-- inline --> <button class='btn' style='color:red'> → red jeetega
ID (#box) class (.btn) se strong, class element (button) se strong.
!important sabko override karta hai — avoid karo.
Large project: external CSS preferred.
Inline: style='color:red' element pe. Highest priority, lekin reuse nahi. Debugging mushkil.
Internal: <style> tag HTML head mein. Us page tak limited.
External: style.css file. Large project ke liye best — ek jagah change, saari pages update.
Example same button pe teeno:
/* external */ .btn { color: blue; }
/* internal */ .btn { color: green; }
<!-- inline --> <button class='btn' style='color:red'> → red jeetega
ID (#box) class (.btn) se strong, class element (button) se strong.
!important sabko override karta hai — avoid karo.
Large project: external CSS preferred.
Inline: style='color:red' element pe. Highest priority, lekin reuse nahi. Debugging mushkil.
Internal: <style> tag HTML head mein. Us page tak limited.
External: style.css file. Large project ke liye best — ek jagah change, saari pages update.
Example same button pe teeno:
/* external */ .btn { color: blue; }
/* internal */ .btn { color: green; }
<!-- inline --> <button class='btn' style='color:red'> → red jeetega
ID (#box) class (.btn) se strong, class element (button) se strong.
!important sabko override karta hai — avoid karo.
Large project: external CSS preferred.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
61
Difference between Inline and Internal CSS.
Times asked1
Official solution
Yeh live UI/CSS change hai. Examiner jo element bole uski CSS turant badlo.
list: [1,2,3] — append, mutable, duplicate ok. Arrays jaisa lekin mixed types.
tuple: (1,2) — immutable, dict key ban sakta hai.
dict: {'name':'Ram'} — fast lookup by key. JSON objects dict ban jaate hain.
set: unique items.
Array (JS) ≈ Python list. JS object ≈ Python dict.
Mutable: list, dict. Immutable: tuple, str, int.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
71
Lambda Function.
Times asked1
Official solution
Simple mix of small concepts examiners poochte hain:
Enum: fixed choices (status = pending/approved). Python Enum ya DB Enum column.
Lambda: one-line anonymous function. key=lambda x: x.name sort ke liye.
datetime: dates/times. timedelta(days=1) yesterday. default=datetime.utcnow.
os.getenv('SECRET_KEY') environment se config, hardcode nahi. .env alternative: actual OS env, config.py, vault.
HTML metadata: <meta charset>, <meta name='viewport'> — page ke baare mein, body content nahi.
HTTP metadata: headers (Content-Type, Set-Cookie).
Request payload: body data (JSON/form).
Namespace: naam collide na hon (Blueprint name, Python packages).
Plugins: extra packages (Flask-Login). Package vs module: package folder with __init__, module ek .py file.
list: [1,2,3] — append, mutable, duplicate ok. Arrays jaisa lekin mixed types.
tuple: (1,2) — immutable, dict key ban sakta hai.
dict: {'name':'Ram'} — fast lookup by key. JSON objects dict ban jaate hain.
set: unique items.
Array (JS) ≈ Python list. JS object ≈ Python dict.
Mutable: list, dict. Immutable: tuple, str, int.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
73
Variable declarations (var, let, const).
Times asked1
Official solution
Simplevar old function-scope, let block-scope changeable, const block-scope reassign nahi.
var x = 1; // hoisted, function scoped — avoid
let count = 0; count = 1; // theek
const PI = 3.14; // reassign error, object ke andar field change ho sakti hai
Modern JS: let/const use karo, var 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
74
What is Cascading Effect (CSS)?
Times asked1
Official solution
Yeh live UI/CSS change hai. Examiner jo element bole uski CSS turant badlo.
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
76
Explain project improvements you would like to make.
Auth: session['user_id'] + role check. CRUD: add/commit, query.all, field update, delete.
Live change maange to: related model → route → template, phir browser refresh karke dikhao.
Example (generic create):
obj = Model(name=request.form.get('name'))