Tips for this examiner: Transitioning to the proctor interaction, the overall experience was very positive and encouraging. The proctor created a comfortable environment right from the beginning of the session. As soon as he joined the meeting, he greeted me warmly and asked how I was doing, which helped ease some of my initial nervousness. He was attentive enough to notice that I seemed slightly anxious and made a conscious effort to motivate and reassure me, which significantly improved my confidence during the interaction.
Throughout the viva, his tone remained polite, patient, and supportive, making it easier to communicate openly without feeling intimidated. After the viva concluded, I took the opportunity to ask for feedback on my performance. He responded thoughtfully and constructively, pointing out that I should focus more on improving both my understanding of theoretical concepts and my ability to implement code changes effectively. His feedback was clear, helpful, and delivered in a kind manner, making it easier to understand where I need to improve without feeling discouraged.
Change the profile page so that the information entered during signup can be edited.
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
Change the form so that the information can be updated, ensuring both the frontend and backend are updated accordingly.
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
Authentication and Authorization: - Where do I have authentication and authorization in my code? - What am I using for authentication and authorization?
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
const and let: - Why am I using const here? - Why am I using let here? - Explain based on the code.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
6
Caching: - What am I caching in the application? - Where is the caching code implemented?
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: The proctor is polite just answer to the best of ur knowledge.
Don't remember a lot coz it lasted 40 minutes But majority from Database
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
Asked me to code for a post route for creating new user and I messed up but given the answer to me as well
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
At the end he told me thank you for your time giving in the session have a nice day ahead.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
7
The duration got increased coz he was asking particular lines as well.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: He is super chill and one of the most amazing proctors. I actually messed at very end when he asked me to code I just messed up but he given me solution as well. Bhagwaan hai.
Celery: What does .delay() do when calling a Celery task?
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
Flask Coding: Write a simple POST route that accepts JSON data (username and email), creates a new user, and commits it to the SQL database.
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
Database Logic: If the database file is deleted and the backend is rerun, will the application still work? Where exactly is the database created in the code?
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
4
JavaScript Variables: What is the difference between const and let? Why did you use const for the search query variable instead of let?
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
JavaScript Operators: What is the difference between single =, double ==, and triple ===?
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
Caching: How exactly is Redis being used in your application?
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
7
Live UI Edits: Modify the login page to put the emoji on top and change "Welcome back" to "Good morning" on the next line.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
8
App Logic Demo: What happens if all the slots are full? What will the user get to see?
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
9
Background Jobs Demo: Demonstrate the CSV export functionality and the automated email reminders.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: He was super chill, Be confident and if u are unsure u can say him , he will guide u on that way, be sure of what u have done in the code
Based on the video of the viva, here are the technical and conceptual questions asked by the proctor to the student:
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
* **ORM Model Creation**: Can we write an SQLAlchemy model for a Report with an integer ID (primary key), a string title, and a boolean is_generated flag defaulting to False?
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
* **Celery Delay Method**: What is the functionality of the `.delay()` method when using Celery for background tasks in Python?
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
* **Redis Usage**: How are you using Redis in your application (e.g., message broker between Celery and Flask, and caching Vue front-end pages)?
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
* **Authentication**: How are you authenticating users (e.g., using JSON Web Tokens / JWT)?
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
* **Page Refresh Session Persistence**: If a user is logged in with a JWT-based authentication system and refreshes the page, will they get logged out?
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
7
* **Browser Close Behavior**: What happens if you close the browser and restart the application? Will the JWT token persist in local storage?
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
8
* **Storage Comparison**: How does local storage differ from session storage and cookies?
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
9
* **Database Re-generation**: If you delete the SQLite database file (`.placement-portal.db`) and restart the Flask server, will the database file get generated again, and will all the tables get recreated?
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
10
* **DB Add vs. Commit**: What is the difference between `db.session.add()` and `db.session.commit()` in SQLAlchemy?
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
11
* **CORS**: Are you using cross-origin resource sharing (CORS) in your application, and how is it configured?
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
12
* **JavaScript Variable Declarations**: Why did you choose `const` instead of `let` or `var` for variable declarations in JavaScript?
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
13
* **JavaScript Typing**: Is JavaScript a statically typed language or a dynamically typed language?
I was asked to show the GitHub Collab first then he started the viva
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
1)write a celery task to add two numbers which triggers every 5 min. I clearly told him I have used ai to write the celery and redis part he asked what have you implemented on your own I said api and db part
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
3
2)write code to make a user table with id, username and role in notepad
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
4
3)show backend jobs celery(output mail and all)
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
4)which line in code makes the database
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
5)he asked what have I used for cache I told jwt and showed him in browser there he asked what is local storage,cookies and session storage whats the difference
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
7
6)he asked me to show any view code i choose the login page over there he saw === was used he asked whats the difference between == and ===
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
8
7) he asked that's the router.push used for
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
9
I guess that's it then he gave some tips for level 2 and that's it
Times asked1
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: Just stay calm he's a chill guy he's more intrested in the database part and asks questions seeing your code mainly if you don't know anything just say him clearly he will change the question
All the best :)
He joined a little late around 12:06 AM and asked me the following questions:
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
2
i didn't had a js script which would be used to check on phone number length so he asked how u will code it, just tell me verbally so that i can get ur understanding.
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
he also asked several celery and redis questions which is basically in many ppls feedback, u can go through that as well.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
4
then he asked what approach would be usefull Vertical scalling or horzontal scalling in order to handle millions of upcoming api calls for the booking of treks slots, then I replied that there r no perfect solutions in distributed systems its just what we want to make tradeoffs with.
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
and then I just wasted time in demonstrating the app and giving him an idea of how i have implemented those stuffs in frontend or backend and got him impressed by me.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: Be calm and confident go through ur code so well that u can say about that for so looong
Then told me to open my project fully and start all the server ( it took time but he is patiently waiting, no interruptions, nothing)
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
Then he told me to login as staff
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
4
And then I started my demonstration (around 10- 12 mins )
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
5
Then saw my CSV where I generate 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
also saw my code also
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
7
Are you caching anything
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
8
Saw my search functionality
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
9
What kind of authentication and authorisation you used
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
10
What kind of authentication you used in your 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
11
Where is token stored
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
12
Sqlite and sqlalchemy
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
13
Asked about sqlite which is database and which is orm
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
14
Where exactly the local storage present
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
15
Have you used any orm
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
16
Asked about frontend
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
17
Axios
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
18
Const response ( asked for other variable declarations also)
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
19
Some more declarations
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
20
Can we redeclare const response again
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
21
Async and await
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
22
Ends
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
23
Then said
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
24
All the best for level 2 viva and give me some suggestions also to prepare for level 2 like which questions they may ask and coding questions also
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
25
That's all!
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: Proctor is so polite, patient, humble and supportive like he communicates very properly without making feel intimidated.
He patiently wait while you think about your answer. He is very calm.
He needs to check the knowledge so yeah prepare well.
Also focus on frontend theory well.
and complete the demonstration well and complete all the functionalities.
Be calm.
All the very best !
He asked theory stuff from my project, he'll ask you to do demo of your project, he'll guide you thru it, like register as a new company, register as a student, and see the functionalities he wants to test
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
4
Then he'll ask some theory stuff , he isn't asking for any code changes
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
I did placement portal so he asked if you blacklist a company, and if a student is shortlisted, what happens to the data then
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
And he asked me http codes and where I implemented put and patch in my 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
7
Http codes, basic stuff like 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
8
Can't remember more but more or less questions were from sheet
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
9
he also tested my celery and redis and asked me what cache is and about memoize
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
10
He also asked to show code and all for this
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
11
I changed crontab minute = /*1 for celery and mera gmail pe directly mail aaya he saw that and utna hi
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
12
If you use mounted anywhere he will ask that as well,
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: If it's level1 he'll most probably not ask for any code changes be confident and don't worry. All the best ! :)
I was allowed to download project from portal and add environments.
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
I started the server and panicked as the localserver was not working (it seems I missed the / path and added to /login only) . The proctor was very kind allowed me to check and find problem.
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
Then I hopped onto the demo of the app.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
4
I answered some question related to the user / admin / staff functionality that my app has (like what one can do and what one cannot 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
5
Then I showed my cache system in the app.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
6
As the UI part was showed I was directed to open the codebase and show 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
7
My celery worker was not working and I panicked so I began to explain it theoretically.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
8
Then I was told to open the models file and one question from there was asked.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: 1. The proctor is very sweet and patient and allows you to check and rectify your mistakes.
2. At the end of viva I was advised to practice my frontend implementation, celery, and the functionality of users that I have gave to users.
he asked me to do the setup 2.he asked me to show the github repo
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
i Gave him demonstartion of the app (demo is for 25 minutes)
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
he ask me difference between cdn vs cli (no coding change is asked ) At last he Said All the very best for your Viva2 i asked for feedback
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: Bhai matlab bhagwan hai ,,,literally he is so patient and so chill that he will greet you ,don't even intrupt means yaar just one of the best proctor till now .......
I began by accessing GitHub and navigating through the relevant repositories to familiarize myself with the project structure and available resources.
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
Following that, I downloaded the project files from the portal and set up the local environment to ensure the application could be run and tested properly.
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
I spent time exploring the project in detail, going through different modules, components, and files to build a general understanding of how the system is structured and how different parts interact with each other.
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
During the session, important theoretical concepts were discussed, including the distinction between authentication (verifying a user’s identity) and authorisation (determining what actions the user is permitted to perform).
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
Additionally, frontend concepts such as props and emit were explained, focusing on how data is passed between components and how child components communicate with parent components in a structured way.
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
After gaining this foundational understanding, I was assigned a practical task involving code modification within the existing 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
7
The task required adding a new button to the patient dashboard interface. This button was intended to utilize the weight data already present in the edit profile functionality.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
8
The expected functionality was that, upon clicking this button, it should connect to the history model and display the patient’s historical data accordingly.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
9
I successfully implemented the UI part of the requirement by creating and placing the button within the patient dashboard.
Times asked2
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
10
However, I faced challenges in implementing the backend linkage and data flow, specifically in connecting the button action to the history model and retrieving/displaying the relevant patient history.
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: Transitioning to the proctor interaction, the overall experience was very positive and encouraging. The proctor created a comfortable environment right from the beginning of the session. As soon as he joined the meeting, he greeted me warmly and asked how I was doing, which helped ease some of my initial nervousness. He was attentive enough to notice that I seemed slightly anxious and made a conscious effort to motivate and reassure me, which significantly improved my confidence during the interaction.
Throughout the viva, his tone remained polite, patient, and supportive, making it easier to communicate openly without feeling intimidated. After the viva concluded, I took the opportunity to ask for feedback on my performance. He responded thoughtfully and constructively, pointing out that I should focus more on improving both my understanding of theoretical concepts and my ability to implement code changes effectively. His feedback was clear, helpful, and delivered in a kind manner, making it easier to understand where I need to improve without feeling discouraged.
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
2
After this in navbar the told to change button from top-left to top-right and asked to change the color of button and told to change the place of update profile to navbar
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
Change the profile page so that the information entered during signup can be edited.
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
3
Change the form so that the information can be updated, ensuring both the frontend and backend are updated accordingly.
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
4
Authentication and Authorization: - Where do I have authentication and authorization in my code? - What am I using for authentication and authorization?
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
5
const and let: - Why am I using const here? - Why am I using let here? - Explain based on the code.
Baar-baar same expensive kaam (DB query, counting bookings) mat karo. Result Redis jaise store mein timeout ke saath rakh do.
Cache hit: key mil gayi, DB skip. Cache miss: DB se lao, SET karo, return karo.
Tradeoff: speed vs stale data. Admin naya venue add kare aur cache 50s ka ho to user purani list dekh sakta hai — isliye write pe invalidation zaroori hai.
Don't remember a lot coz it lasted 40 minutes But majority from Database
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
5
Asked me to code for a post route for creating new user and I messed up but given the answer to me as well
Times asked2
Official solution
SimpleServer-Sent Events: server → browser one-way stream (text/event-stream). WebSocket full duplex hai; SSE simpler notifications ke liye.
Example
# client
const es = new EventSource('/stream');
es.onmessage = (e) => console.log(e.data);
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
6
At the end he told me thank you for your time giving in the session have a nice day ahead.
Times asked2
Official solution
SimpleMAD1 mein usually session-based auth: login pe session['user_id'], har request pe verify.
Example
session['user_id'] = user.id
uid = session.get('user_id')
user = User.query.get(uid)
Viva tipSECRET_KEY set karo warna session insecure. logout pe session.clear().
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
7
The duration got increased coz he was asking particular lines as well.
Times asked2
Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: He is super chill and one of the most amazing proctors. I actually messed at very end when he asked me to code I just messed up but he given me solution as well. Bhagwaan hai.
@app.route('/ping')
def ping():
return jsonify(ok=True)
@app.route('/even/<int:n>')
def even(n):
return 'even' if n % 2 == 0 else 'odd'
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
3
Database Logic: If the database file is deleted and the backend is rerun, will the application still work? Where exactly is the database created in the code?
Times asked2
Official solution
SimpleDB file delete karke app dubara run: models se tables create (db.create_all / migrate). Data lost; schema wapas.
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
JavaScript Variables: What is the difference between const and let? Why did you use const for the search query variable instead of let?
4-line formula: input kahan se aaya, auth/validation kaunsa, DB ya cache ya Celery, kya return.
Related mix mat karo — cache ≠ Celery, authentication ≠ authorization, v-if ≠ v-show, Beat ≠ Worker. Follow-up ke liye ek difference ready rakho.
Project example: if user is None. Don't is for strings.
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
Caching: How exactly is Redis being used in your application?
Times asked2
Official solution
SimpleRedis fridge pe sticky note hai — poori kitchen (database) kholne ki zarurat nahi.
Redis in-memory key-value store hai. Data RAM mein rehta hai, isliye disk wale SQLite/Postgres se kai guna tez.
MAD2 mein Redis do kaam karta hai:
1) Cache — same venue/show/dashboard JSON baar-baar DB se mat nikaalo.
2) Celery message broker — Flask task queue mein daalta hai, worker uthata hai.
Source of truth database hi hai. Redis band ho to cache miss ho jaata hai aur Celery queue ruk sakti hai. Crash pe cache gayab ho sakta hai — isliye important data sirf Redis mein mat rakho.
Project example: GET /api/venues pehle Redis dekho. Miss pe SQLAlchemy query, phir SET with timeout. Celery worker Redis list se daily reminder uthata hai.
Viva tipCache ke liye db=1, broker ke liye db=0 rakhna smart hai taaki keys mix na hon. Viva mein redis-cli ping → PONG dikhana strong hai.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
7
Live UI Edits: Modify the login page to put the emoji on top and change "Welcome back" to "Good morning" on the next line.
Times asked2
Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
8
App Logic Demo: What happens if all the slots are full? What will the user get to see?
Times asked2
Official solution
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Viva tipAlgo HS256. Secret env var. jwt.io pe payload dikhao, secret public site pe mat paste.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
3
why we are using const response, not var and let
Times asked2
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
4
few other questions cant remember
Times asked2
Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
* **Authentication**: How are you authenticating users (e.g., using JSON Web Tokens / JWT)?
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
5
* **Page Refresh Session Persistence**: If a user is logged in with a JWT-based authentication system and refreshes the page, will they get logged out?
Times asked2
Official solution
SimpleMAD1 mein usually session-based auth: login pe session['user_id'], har request pe verify.
Example
session['user_id'] = user.id
uid = session.get('user_id')
user = User.query.get(uid)
Viva tipSECRET_KEY set karo warna session insecure. logout pe session.clear().
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
6
* **Browser Close Behavior**: What happens if you close the browser and restart the application? Will the JWT token persist in local storage?
Times asked2
Official solution
Simplevenv activate → dependencies → DB create/migrate → flask run. Browser pe localhost dikhao.
* **Storage Comparison**: How does local storage differ from session storage and cookies?
Times asked2
Official solution
SimpleMAD1 mein usually session-based auth: login pe session['user_id'], har request pe verify.
Example
session['user_id'] = user.id
uid = session.get('user_id')
user = User.query.get(uid)
Viva tipSECRET_KEY set karo warna session insecure. logout pe session.clear().
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
8
* **Database Re-generation**: If you delete the SQLite database file (`.placement-portal.db`) and restart the Flask server, will the database file get generated again, and will all the tables get recreated?
Times asked2
Official solution
SimpleSQLite file-based DB — setup easy, MAD1 ke liye perfect. Production heavy traffic pe Postgres better.
Example
SQLALCHEMY_DATABASE_URI = 'sqlite:///app.db'
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
* **CORS**: Are you using cross-origin resource sharing (CORS) in your application, and how is it configured?
Times asked2
Official solution
SimpleDifferent origin Vue vs Flask — browser CORS check. Server Allow-Origin.
Failed = frontend error even if curl works. Examiner curl vs browser.
HTTP verbs + status REST ki zabaan. GET read, POST create, PUT replace, PATCH partial, DELETE remove. GET typically no body.
AJAX/fetch page reload nahi. SPA poori isi pe. Postman se bina Vue ke API prove karo — examiner pasand.
Example
from flask_cors import CORS
CORS(app, resources={r'/api/*': {'origins': 'http://localhost:8080'}})
Project example: Flask-CORS localhost:8080.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
10
* **JavaScript Variable Declarations**: Why did you choose `const` instead of `let` or `var` for variable declarations in JavaScript?
Times asked2
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
11
* **JavaScript Typing**: Is JavaScript a statically typed language or a dynamically typed language?
Times asked2
Official solution
SimpleJavaScript browser/Node pe chalta hai — DOM, events, fetch/axios. MAD1 mein thoda JS; MAD2 mein Vue JS pe.
Viva tipPrivate repo access pehle de do. Main branch submitted ZIP se match honi chahiye.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
2
1)write a celery task to add two numbers which triggers every 5 min. I clearly told him I have used ai to write the celery and redis part he asked what have you implemented on your own I said api and db part
Times asked2
Official solution
SimpleRedis box hai, Celery us box se kaam uthane wala worker hai — same cheez nahi.
Redis: store (cache keys) + queue (broker lists).
Celery: Python library jo tasks define karti hai, .delay() se queue mein daalti hai, worker execute karta hai.
Dono localhost pe ho sakte hain. Alag Redis DB index use karo. Redis band = cache miss + Celery stuck.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirect
Viva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
5
5)he asked what have I used for cache I told jwt and showed him in browser there he asked what is local storage,cookies and session storage whats the difference
Times asked2
Official solution
SimpleMAD1 mein usually session-based auth: login pe session['user_id'], har request pe verify.
Example
session['user_id'] = user.id
uid = session.get('user_id')
user = User.query.get(uid)
Viva tipSECRET_KEY set karo warna session insecure. logout pe session.clear().
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
6
6)he asked me to show any view code i choose the login page over there he saw === was used he asked whats the difference between == and ===
Times asked2
Official solution
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.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
7
7) he asked that's the router.push used for
Times asked2
Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: Just stay calm he's a chill guy he's more intrested in the database part and asks questions seeing your code mainly if you don't know anything just say him clearly he will change the question
All the best :)
i didn't had a js script which would be used to check on phone number length so he asked how u will code it, just tell me verbally so that i can get ur understanding.
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
he also asked several celery and redis questions which is basically in many ppls feedback, u can go through that as well.
Times asked2
Official solution
SimpleRedis box hai, Celery us box se kaam uthane wala worker hai — same cheez nahi.
Redis: store (cache keys) + queue (broker lists).
Celery: Python library jo tasks define karti hai, .delay() se queue mein daalti hai, worker execute karta hai.
Dono localhost pe ho sakte hain. Alag Redis DB index use karo. Redis band = cache miss + Celery stuck.
Viva tipAgar possible ho to cache db=1, broker db=0 — keys mix nahi hoti.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
4
then he asked what approach would be usefull Vertical scalling or horzontal scalling in order to handle millions of upcoming api calls for the booking of treks slots, then I replied that there r no perfect solutions in distributed systems its just what we want to make tradeoffs with.
Times asked2
Official solution
SimpleProject overview: problem → roles → main entities → key flows (register, book, admin approve).
Viva tip1 minute elevator pitch ready rakho, phir demo.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
5
and then I just wasted time in demonstrating the app and giving him an idea of how i have implemented those stuffs in frontend or backend and got him impressed by me.
Times asked2
Official solution
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Baar-baar same expensive kaam (DB query, counting bookings) mat karo. Result Redis jaise store mein timeout ke saath rakh do.
Cache hit: key mil gayi, DB skip. Cache miss: DB se lao, SET karo, return karo.
Tradeoff: speed vs stale data. Admin naya venue add kare aur cache 50s ka ho to user purani list dekh sakta hai — isliye write pe invalidation zaroori hai.
Suggested flow1) Concept kya hai?
2) Mere code mein kahan?
3) Example / demo
4) Edge case
Example
# related file: models.py / routes / template
# formula: request → check/auth → DB → render/redirect
Viva tipExact line yaad nahi to honestly related part dikhao. Bluff mat karo.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
20
Async and await
Times asked2
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
21
Ends
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
22
Then said
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
23
That's all!
Times asked2
Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: Proctor is so polite, patient, humble and supportive like he communicates very properly without making feel intimidated.
He patiently wait while you think about your answer. He is very calm.
He needs to check the knowledge so yeah prepare well.
Also focus on frontend theory well.
and complete the demonstration well and complete all the functionalities.
Be calm.
All the very best !
Viva tipPrivate repo access pehle de do. Main branch submitted ZIP se match honi chahiye.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
3
He asked theory stuff from my project, he'll ask you to do demo of your project, he'll guide you thru it, like register as a new company, register as a student, and see the functionalities he wants to test
Lifecycle = component ki zindagi: created (instance, DOM nahi) → mounted/onMounted (DOM ready — fetch, Chart.js yahi) → updated → unmounted (clearInterval).
Dashboard API created mein isliye nahi ki $el/canvas missing ho sakta. Composition API: onMounted(() => {}) setup ke andar. Options: mounted() method. Mix mat.
Examiner 'konsa hook use kiya' — related .vue kholo, line padh ke bolo.
I was allowed to download project from portal and add environments.
Times asked2
Official solution
SimpleExaminer portal wala submitted ZIP chahta hai. Local extra changes mat dikhana.
Suggested flow1) Portal ZIP download
2) Extract
3) venv + pip install -r requirements.txt
4) flask run / python app.py
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
2
I started the server and panicked as the localserver was not working (it seems I missed the / path and added to /login only) . The proctor was very kind allowed me to check and find problem.
Times asked2
Official solution
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.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
3
Then I hopped onto the demo of the app.
Times asked2
Official solution
SimpleDemo script pehle se practice: 5–7 min, Admin + User roles, saare mandatory features.
Suggested flow1) Register/login user
2) Admin login — CRUD
3) Approval/blacklist
4) Booking/apply + edge case
5) Search
6) Logout
Baar-baar same expensive kaam (DB query, counting bookings) mat karo. Result Redis jaise store mein timeout ke saath rakh do.
Cache hit: key mil gayi, DB skip. Cache miss: DB se lao, SET karo, return karo.
Tradeoff: speed vs stale data. Admin naya venue add kare aur cache 50s ka ho to user purani list dekh sakta hai — isliye write pe invalidation zaroori hai.
Viva tipWorker + Redis bina Beat ke user-triggered chalega. Scheduled jobs ke liye Beat bhi chahiye.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
8
Then I was told to open the models file and one question from there was asked.
Times asked2
Official solution
Simplemodels.py = har table ki class: columns, PK/FK, relationships. Yeh Model layer hai.
Suggested flow1) Classes list karo
2) Har table ka kaam 1 line
3) Relationships (1-M / M-M)
4) Constraints (unique, nullable)
Example
class Lot(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(80), nullable=False)
spots = db.relationship('Spot', backref='lot', lazy=True)
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: 1. The proctor is very sweet and patient and allows you to check and rectify your mistakes.
2. At the end of viva I was advised to practice my frontend implementation, celery, and the functionality of users that I have gave to users.
Viva tipCDN scalable large teams ke liye weak (no SFC compile, caching 3rd party). Examiner 'which + why' poochta hai — jo use kiya wahi justify karo.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: Bhai matlab bhagwan hai ,,,literally he is so patient and so chill that he will greet you ,don't even intrupt means yaar just one of the best proctor till now .......
Viva tipPrivate repo access pehle de do. Main branch submitted ZIP se match honi chahiye.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
2
Following that, I downloaded the project files from the portal and set up the local environment to ensure the application could be run and tested properly.
Times asked2
Official solution
SimpleExaminer portal wala submitted ZIP chahta hai. Local extra changes mat dikhana.
Suggested flow1) Portal ZIP download
2) Extract
3) venv + pip install -r requirements.txt
4) flask run / python app.py
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
3
I spent time exploring the project in detail, going through different modules, components, and files to build a general understanding of how the system is structured and how different parts interact with each other.
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
4
During the session, important theoretical concepts were discussed, including the distinction between authentication (verifying a user’s identity) and authorisation (determining what actions the user is permitted to perform).
Times asked2
Official solution
SimpleMAD1 mein usually session-based auth: login pe session['user_id'], har request pe verify.
Example
session['user_id'] = user.id
uid = session.get('user_id')
user = User.query.get(uid)
Viva tipSECRET_KEY set karo warna session insecure. logout pe session.clear().
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
5
Additionally, frontend concepts such as props and emit were explained, focusing on how data is passed between components and how child components communicate with parent components in a structured way.
computed cache + reactive derive (filtered list). watch side-effect (query change pe API). methods events. ref() primitive, reactive() object. Vuex/Pinia global store; localStorage persist, store nahi.
SFC: template + script + style ek .vue file. Parent-child exam favourite: list parent, row child :item + @delete.
Project example: Card props venue emit select.
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
After gaining this foundational understanding, I was assigned a practical task involving code modification within the existing project.
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
7
The task required adding a new button to the patient dashboard interface. This button was intended to utilize the weight data already present in the edit profile functionality.
Times asked2
Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
8
The expected functionality was that, upon clicking this button, it should connect to the history model and display the patient’s historical data accordingly.
Times asked2
Official solution
Simplemodels.py = har table ki class: columns, PK/FK, relationships. Yeh Model layer hai.
Suggested flow1) Classes list karo
2) Har table ka kaam 1 line
3) Relationships (1-M / M-M)
4) Constraints (unique, nullable)
Example
class Lot(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(80), nullable=False)
spots = db.relationship('Spot', backref='lot', lazy=True)
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
9
I successfully implemented the UI part of the requirement by creating and placing the button within the patient dashboard.
Times asked2
Official solution
SimpleViva wrap-up hai. Short thanks + confirm submission ZIP latest hai.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
10
However, I faced challenges in implementing the backend linkage and data flow, specifically in connecting the button action to the history model and retrieving/displaying the relevant patient history.
Times asked2
Official solution
Simplemodels.py = har table ki class: columns, PK/FK, relationships. Yeh Model layer hai.
Suggested flow1) Classes list karo
2) Har table ka kaam 1 line
3) Relationships (1-M / M-M)
4) Constraints (unique, nullable)
Example
class Lot(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(80), nullable=False)
spots = db.relationship('Spot', backref='lot', lazy=True)
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
Advice: Transitioning to the proctor interaction, the overall experience was very positive and encouraging. The proctor created a comfortable environment right from the beginning of the session. As soon as he joined the meeting, he greeted me warmly and asked how I was doing, which helped ease some of my initial nervousness. He was attentive enough to notice that I seemed slightly anxious and made a conscious effort to motivate and reassure me, which significantly improved my confidence during the interaction.
Throughout the viva, his tone remained polite, patient, and supportive, making it easier to communicate openly without feeling intimidated. After the viva concluded, I took the opportunity to ask for feedback on my performance. He responded thoughtfully and constructively, pointing out that I should focus more on improving both my understanding of theoretical concepts and my ability to implement code changes effectively. His feedback was clear, helpful, and delivered in a kind manner, making it easier to understand where I need to improve without feeling discouraged.
Tag summary
No tags.
Video explanation
Created for educational purposes only. Questions are based on students' personal experiences and may not reflect actual exam content.