Viva prep · Real questions · Student experiences Enroll in Bootcamp

Search viva questions

Search by question text across the whole library — then narrow with subject, level, or proctor.

Question sets

  1. 1
    - What is v-model, how have you used it in your project
    Times asked 2
  2. 2
    - What are the different components of Vue
    Times asked 2
  3. 3
    - Point to specific functions or elements in your codebase
    Times asked 2
  4. 4
    - If you remove a certain element from your frontend, how will your UI react/be visible
    Times asked 2
  5. 5
    - Where do you store the values momentarily typed in any search box on your webpage
    Times asked 2
  6. 6
    - Define a new route in backend and connect it with frontend with POST functionality
    Times asked 2
  7. 7
    - Explain the flow of actions when you write a search query andf press submit on your website
    Times asked 2
Advice: Very rude examiner Always in a rush Highly uncooperative and doesnt listen to any explanation if you fumble even a bit If you cant answer a question, keeps increasing difficulty level of the next ones My project was on placement portal and he was asking me questions wrt trekking app Gives you extra gyaan if you dont know anything, like why didnt you study the course, why you dont know this line of code, how much did you score in theory, what grade did you get in MAD-1, etc. etc
  1. 1
    Did not even ask for a demo
    Times asked 2
  2. 2
    Coding:
    Times asked 6
  3. 3
    1. A route in flask to check if a number is even or odd
    Times asked 2
  4. 4
    2.Make an input box with a submit button on the side the submit button must be disabled if the number in input is >15
    Times asked 2
  5. 5
    Theory:
    Times asked 8
  6. 6
    3.What are triggers in db
    Times asked 2
  7. 7
    4.What is normalisation
    Times asked 2
  8. 8
    5.What is BCNF
    Times asked 2
  9. 9
    4.Dijkstra algorithm
    Times asked 2
  10. 10
    5.Time complexity and 3 notations
    Times asked 2
  11. 11
    6.Class and style binding
    Times asked 2
  12. 12
    7.What is the flow of the generation of the monthly report from vue to flask
    Times asked 2
  13. 13
    8.How is flask and celery connected
    Times asked 2
  14. 14
    9.What is CSRF
    Times asked 2
Advice: Not strict
  1. 1
    project demonstration took around 17-20 minutes
    Times asked 2
  2. 2
    write login route (less time so just started asking questions instead)
    Times asked 2
  3. 3
    what is SQLAlchemy
    Times asked 3
  4. 4
    have you used ORM
    Times asked 2
  5. 5
    show commits on git
    Times asked 2
  6. 6
    how much percentage was done via ai
    Times asked 2
  7. 7
    that's it
    Times asked 3
Advice: does not respond that much, neither corrects your answer. take your time with the demo.
  1. 1
    2.async and awaiting
    Times asked 2
  2. 2
    3.register route in notepad
    Times asked 2
  3. 3
    Very friendly understand and go with the student
    Times asked 2
Advice: Be cool study the question which are previous and make sure getting no error while running the app
  1. 1
    Can everything you did in your app be done without using vue.js using plain js
    Times asked 2
  2. 2
    Substitute of (vue directives) in plain JS, as in - instead of using v-if, hover etc how will you implement stuff without that using only plain JS
    Times asked 2
  3. 3
    What is DOM, what functionalities does it provide us with instead of just rendering html
    Times asked 2
  4. 4
    Have you used vue cli or cdn
    Times asked 2
  5. 5
    What is HTTP, name HTTP methods and what they are used for
    Times asked 2
  6. 6
    Can you send data in POST request body, can you do it in all methods? should you do it all methods, what methods should not have data in request body?
    Times asked 2
  7. 7
    Celery and Redis , Do we always need to store the cached results in index 1 of redis ?
    Times asked 2
  8. 8
    Asked if i did background jobs, I said yes., so he asked 3 different servers - celery, flask, vite - how do they interact with each other in your project ?
    Times asked 2
  9. 9
    Give me a quick overview of all the files and folders in your project,
    Times asked 2
  10. 10
    what are __init__.py files in your project ? is there a way to export files are packages without using __init__.py
    Times asked 2
  11. 11
    How to limit password to 13 letters long [in the database, not frontend or backend validation]
    Times asked 2
  12. 12
    Overview of database schema
    Times asked 1
  13. 13
    __tablename__ -> is it needed, if we comment out all the table names, should it work or not?
    Times asked 2
  14. 14
    what are REST APIs - what do we need to follow for an api to be called a REST API
    Times asked 1
  15. 15
    Do you know any other architectural styles for API design, benefits of REST API over others, why do we use REST api (i said it is stateless, so he asked how is that helpful if it is stateless? )
    Times asked 1
  16. 16
    Use of vue life cycle hooks, how do they help us as developers, and how do they help in User experience (one good thing it enables as developers and one good thing it enables as users)
    Times asked 2
  17. 17
    Asked to open the application, asked me to login. http://localhost:8080/#/login -> this was the URL asked what is that "#" where is it coming from, from where will you change it ?
    Times asked 2
  18. 18
    In the admin dashboard I had stats shown on cards, asked me to show the frontend and backend part that handles it and asked me to explain the api endpoint for it
    Times asked 2
  19. 19
    asked if i have search page available in admin dashboard -> asked me to implement a dummy feature (Frontend only): If you search for "IITM" in the search box, show a welcome message right below the search box, (using v-if)
    Times asked 1
  20. 20
    Asked to register as company (Backend only): If there are no companies register and company name is "AppDevTeam" then they should not be able to register as company (if they are the first one to register they should not be able to do it), print the error in the terminal "Cannot register"
    Times asked 2
  21. 21
    Asked me to show the error in the terminal (I returned a message with a 404 status code, he asked me to show it in the developer console)
    Times asked 2
  22. 22
    what logical change did you have to add to existing code to make this work At the end, he asked me if I have any questions for him, I asked him for feedback
    Times asked 2
Advice: Know each and every single thing in your project, even the minute details, he can ask you anything unexpected.
  1. 1
    -asked for the id then github
    Times asked 2
  2. 2
    -then i downloaded the submission ran it , first i messed up by running npm install in the backend folder
    Times asked 2
  3. 3
    -but i asked him if i can run it again he allowed me to
    Times asked 2
  4. 4
    - then asked me about the functionalities in the app while i was giving the demo
    Times asked 2
  5. 5
    - then he asked me to export csv report for a student
    Times asked 2
  6. 6
    -then he asked me for gen report for admin but it was a beat task so i went to change the time in crontab , i messed this up
    Times asked 2
  7. 7
    - asked me to open notepad and write a celery task to add 2 numbers and a route to get the two numbers, and then he asked to write another route for the result
    Times asked 2
  8. 8
    - i did small logical and syntax mistakes
    Times asked 2
  9. 9
    -he asked me what authentication u have used -JWT
    Times asked 2
  10. 10
    - what are vue directives , then examples of them
    Times asked 2
  11. 11
    - diff betwn session storage and local storage
    Times asked 2
Advice: He is patient at the beginning but as we procees he starts to interrupt and cross question , not a guy u want as proctor , whenever I messed up with anything he does not care and does not give any hint or help us , just tries to cross questions , are u sure ? and all , keep ur coding knowledge strong and be confident while answering Hope u dont get him as proctor All the Best
  1. 1
    10PM WENT ON FOR 1 HR 15 MINS 🫠 ID CARD DOWNLOAD PROJECT FROM PORTAL STARTED THE QUESTIONS WHILE I WAS INSTALLING THE DEPENDENCIES DIDNT EVEN SEE THE WHOLE DEMO JUST ADMIN PART
    Times asked 2
  2. 2
    WHY WOULD ANYONE USE VENV
    Times asked 2
  3. 3
    WILL NODE MODULES BE INSTALLED IN THE VENV
    Times asked 2
  4. 4
    WHERE DOES IT PLACE THE MODULES FOR NODE PART
    Times asked 2
  5. 5
    TELL ME ABOUT WHAT FILES AND FOLDERS YOU HAVE IN YOUR PROJECT
    Times asked 2
  6. 6
    IS YOUR FRONTEND /VITE OR VUE?
    Times asked 1
  7. 7
    WHAT OTHER THINGS DOES THIS VITE THING DO?
    Times asked 2
  8. 8
    IF YOU DELETE PACKAGE-LOCK.JSON WILL YOU FACE ANY ERRORS?
    Times asked 2
  9. 9
    IF YOU REMOVE THAT DIST FOLDER AND PLACE IT SOMEWHERE ELSE YOU CAN DO NPM RUN BUILD AGAIN?
    Times asked 2
  10. 10
    WHEN YOU HOVER OVER YOUR BEST TREK CARD, THIS ANIMATION HAPPENS, SHOW THAT ANIMATION IN THE CODE WHERE YOU HAVE INCORPORATED IT
    Times asked 2
  11. 11
    IN RGBA YOU PUT 4 VALUES, WHAT ARE THOSE 4 VALUES?
    Times asked 2
  12. 12
    LOGIN AS ADMIN AND SWITCH BACK TO VS CODE AND SHOW YOUR MODELS
    Times asked 2
  13. 13
    GIVE OVERVIEW OF DB SCHEMA
    Times asked 2
  14. 14
    WHAT IS LAZY=TRUE IN RELATIONSHIP
    Times asked 2
  15. 15
    WHAT IS BACK POPULATES
    Times asked 2
  16. 16
    ARE YOU USING ANY ORM, WHAT ARE ORMS USED FOR
    Times asked 2
  17. 17
    PROS AND CONS OF ORMS (i didnt know any cons)
    Times asked 2
  18. 18
    WHICH DATABASE ARE YOU USING? (SQLite)
    Times asked 2
  19. 19
    WHAT ENABLES SQL DATABASES TO HANDLE LARGE DATABASES
    Times asked 2
  20. 20
    YOU HAVE USED REST API RIGHT? WHEN WILL YOU SAY A PARTICULAR ENDPOINT FOLLOWS REST API?
    Times asked 2
  21. 21
    GET POST PUT PATCH AND DELETE ARE NATIVE TO REST API OR ORIGINAL IDEAS OF HTTP ITSELF? SUCH CONFUSING QUESTIONSSS
    Times asked 2
  22. 22
    WHAT ARE JS ASYNCH FUNCTIONS AND HOW DO THEY EXACTLY RUN, ASKED ME TO EXPLAIN SOME ASYNCH FUNCTION OF FRONTEND, WHERE ARE THEY EXECUTED
    Times asked 2
  23. 23
    DO YOU HAVE SEARCH FEATURE AVAILABLE FOR ADMIN? CODING QUESTIONS 🫠🫠
    Times asked 2
  24. 24
    IN ADMIN WHEN YOU SEARCH IITM, SHOW A WELCOME MESSAGE UNDER THE SEARCH BOX, EASY CAN BE DONE BY V-IF
    Times asked 2
  25. 25
    CRAZY QUESTION!! I COULDNT SOLVE PROPERLY BUT LOGIC WAS FINE BLACKLISTED USERS NOW IF THERE ARE BLACKLISTED USERS AND THERE PREFIX IS ODD LIKE USER1, USER3 ETC, THEN ADMIN CAN NOT BLACKLIST ANY OTHER USER WHOSE PREFIX IS ODD 😭 VIVA OVER BYE BYE
    Times asked 2
Advice: He bombarded me with theory questions and the coding question he asked was really difficult (backend one) PREPARE WELL FOR HIM!!!
  1. 1
    Show id, GitHub collaboration
    Times asked 2
  2. 2
    Download and setup your project
    Times asked 2
  3. 3
    Demo , begin with admin
    Times asked 2
  4. 4
    Write a route to fetch all shortlisted students
    Times asked 1
Advice: Explain the theory questions along with practical examples preferably from your project
  1. 1
    -Asked me to write api route for shortlisted students
    Times asked 2
  2. 2
    - all from sheet
    Times asked 2
Advice: Chill proctor just prepare according sheet you will do good
  1. 1
    run the app he will ask you to login as admin, staff, trekker and show some functionalisties. 3.show/explain how have you prevented overbooking.
    Times asked 1
  2. 2
    code questions: a) write query to get list of blacklisted staff b) change colour of sidebar.
    Times asked 1
Advice: He's very patient, polite and supportive. Just know your codebase well.
Maintaine By Lazy IITians Team + IITM BS students Regualr for More data you have