-
1
downloaded the proj from portal and opened in vs codeTimes asked 1Official 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.pyCommunity answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
2
the first line of the code in app.py you have imported lot of things, what do u mean by request. (they can ask about other imported items as well so learn all)Times asked 1Official solution
SimpleLive Flask coding: chhota route likho, save, browser/curl se test. Syntax error terminal mein padho.
Example
@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
what is the code of internal server error?? (answer 500)Times asked 1Official solution
SimpleInt column mein string daalne pe SQLAlchemy/DB type error ya Integrity/StatementError. Empty table pe bhi same validation fail — row count matter nahi.
Example
# SQLite may coerce sometimes; Postgres: invalid input syntax for integer Spot(status='free', lot_id='abc') # lot_id int → errorCommunity answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
4
css styling priority? (answer: inline, internal(style tag), external(css file)Times asked 1Official solution
SimpleCSS look. Selectors element .class #id. Box model flex grid.
Inline vs internal vs external. Specificity inline high.
Look: Bootstrap utility classes (margin
m-3, flex, grid) ya khud CSS. Responsive = media query / Bootstrap breakpoints se mobile.Vue
scopedstyle leak nahi.:classbinding. Examiner colour/button live change maange to DevTools nahi, source class dikhao.CSS ≠ Bootstrap. Bootstrap CSS+JS framework. Inline style last resort.
Example
.btn { background: green; } .mt-2 { margin-top: .5rem; } /* bootstrap */ .my-3 { margin-top+bottom }Project example: style section SFC scoped + bootstrap.
Viva tipResponsive: Bootstrap grid / media queries. Bina CSS possible nahi really — browser default ugly. Flexbox 1D, Grid 2D.
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
open notepad and create a list (simply l= [1,2,3,4,5] ) and write the api route to display this list....first ask her do we need to also write the imports she'll say no and then ask get and post request also or just simple so shell say simple answer: @app.route('/display') def show(): return render_template('num.html" , 'l'); and then when we write the html file so there we will pass the list as : {{l}Times asked 1Official solution
SimpleLive Flask coding: chhota route likho, save, browser/curl se test. Syntax error terminal mein padho.
Example
@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
-
6
after logging in as admin she asked, can admin search the particular student and company? my app didnt had that feature so i said no i forgot to do thatTimes asked 1Official solution
SimpleSearch: form/query param → ilike filter → results template.
Example
q = request.args.get('q', '').strip() lots = Lot.query.filter(Lot.name.ilike(f'%{q}%')).all()Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
7
then she asked to login as a company and create a driveTimes asked 1Official solution
SimpleCRUD = Create Read Update Delete. Admin pe ek resource ke 4 ops dikhao.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
8
register as a student and apply to the drive. can a student apply to the same drive twice? (when a student has already applied so it should show a prompt as in already applied or something relative)Times asked 1Official 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) LogoutViva tipBolte-bolte dikhao. Code tab kholna jab poochhein.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
9
thats all. she was reallyy reallyyy sweet and helpedd where i got stuck. dont be nervous and be confident on what you knowTimes asked 1Official 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