-
1
what is flaskTimes asked 1Official solution
SimpleFlask Python ka micro web framework hai — routes, templates, request/response handle karta hai.
from flask import Flask app = Flask(__name__) @app.route('/') def home(): return 'Hello' app.run(debug=True) # default port 5000__name__ se Flask ko pata chalta hai templates/static kahan se load karni hai. Hataoge to resource paths toot sakte hain.
Faydesimple, flexible, MAD1 syllabus. Nuksaan: bade features (admin, auth) khud jodne padte hain.
app.run() development server start karta hai. Production mein gunicorn/waitress.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 vueTimes asked 2Official solution
SimpleVue = UI ka smart assistant. Data badlo, screen khud update. MAD1 Jinja har click pe naya HTML.
Progressive frontend framework. Components, reactivity, directives.
MAD2 SPA: ek index.html, Vue Router pages, Flask sirf JSON.
Fayde: easy, SFC, docs. Vs React: templates HTML-like, course sikhata hai. Vs plain JS: baar-baar DOM mat chhedo.
Example
<!-- HelloWorld.vue --> <template> <h1>{{ msg }}</h1> </template> <script> export default { data() { return { msg: 'Hello' } } } </script>Project example: Navbar.vue + views (Login, Dashboard). data() / setup() reactive. fetch APIs.
Viva tipFayde: easy, SFC, reactivity. Vs React: chhota learning curve. Vs plain JS: UI state auto-update.
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 SQLAlchemyTimes asked 3Official solution
SimpleSQLAlchemy Python ka sabse popular ORM hai. MAD1 mein Flask-SQLAlchemy wrapper use hota hai.
db = SQLAlchemy(app)
class Book(db.Model): id = db.Column(db.Integer, primary_key=True) title = db.Column(db.String(80), nullable=False) Operations: db.session.add(obj), .commit(), .delete(obj), Model.query.all(), .filter_by(), .get_or_404(id). db.Model ek class hai (function nahi). db object engine + session + metadata hold karta hai.SQLALCHEMY_TRACK_MODIFICATIONS=False extra signals band karta hai, performance warning hatati 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
which all databases supported in SQLAlchemyTimes asked 1Official solution
SimpleSQLAlchemy MAD1 ka common ORM. Flask-SQLAlchemy wrapper se db.Model, db.session.
Example
user = User(email='a@b.com') db.session.add(user) db.session.commit() users = User.query.filter_by(role='admin').all()Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet
-
5
what are sql aggregate functionTimes asked 1Official solution
SimpleCOUNT SUM AVG MIN MAX. Dashboard stats.
SQL aggregate functions.
Pehle 1-line definition, phir related MAD2 layer (Vue SFC / Flask route / models.py / tasks.py / Redis).
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
db.session.query(func.count(Booking.id)).scalar()Project example: func.count(Booking.id).
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
explain groupby in SQLTimes asked 2Official solution
SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.
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
-
7
what is v-modelTimes asked 1Official 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
-
8
what is v-bindTimes asked 1Official solution
Simplev-bind one-way: JS → HTML attribute. UI se data automatic nahi aata.
Images src, disabled, class object, href. Colon shorthand.
Dynamic class
:class="{ active: isOn }".Directives Vue ke special attributes hain — HTML ko superpower:
v-if/v-show,v-for,v-bind(:),v-on(@),v-model.v-if DOM se hataata/jodta. v-show sirf CSS display. Rare/permission: v-if. Bar-bar toggle: v-show. v-model two-way form. v-bind one-way JS→attribute.
:keyv-for pe zaroori warna Vue galat reuse.v-htmlXSS. Secret UI ke liye sirf v-if kaafi nahi — API 403 bhi.MAD1 Jinja server HTML. MAD2 yeh directives browser mein reactive.
Example
<img :src="posterUrl" :alt="title"> <button :disabled="loading">Save</button> <div :class="{ active: isOn }">Project example: Poster :src="show.poster". Submit :disabled="loading".
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 is jsonifyTimes asked 1Official solution
Simplejsonify Python dict/list ko JSON response + proper Content-Type deta hai.
Example
return jsonify(message='ok', count=3), 200Community 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 is APITimes asked 3Official solution
SimpleAPI = interface jisse systems baat karein. Web API usually JSON return karti hai.
Example
@app.route('/api/lots') def api_lots(): return jsonify([{'id': l.id, 'name': l.name} for l in Lot.query.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
-
11
what is webhookTimes asked 2Official solution
SimpleCode explain formula: input kya aaya → auth/validation → DB change → response/UI.
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
-
12
Exhaustive demo of projectTimes asked 2Official 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
-
13
asked to modify the user's bookings summary to show number of tickets booked in a particular bookingTimes 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
-
14
why ticket cancellation facility not implemented - as it was not core requirementTimes asked 2Official solution
SimpleJo miss hai honestly bolo + why (time). Agar examiner maange to quick plan: kahan add karoge.
Community answers
No replies yet
No community answers yet
Open My solution to be the first to share yours.
My solution
Not submitted yet