Skip to main content
PGT · Computer Science
CBSE
ICSE

PGT Computer Science interview questions and answers (2026)

PGT Computer Science interview prep for CBSE and ICSE schools — real panel questions with model answers, and a Class 12 Python demo lesson plan.

Updated July 2026 10 min read 13 questions

What this interview actually looks like

An honest breakdown of how Indian schools run this interview — not a generic template.

  1. 1Written test (30–45 min) — 3–4 Python problems (one file-handling, one SQL, one data-structure).
  2. 2Demo lesson (15–20 min) — Class 11 (functions / lists) or Class 12 (SQL / stack). Topic often given the same day.
  3. 3Subject panel (20–30 min) — HOD CS + one senior teacher. Expect one live-code question.
  4. 4Principal / HR round (15 min) — school fit, salary, joining date.
The panel
HOD Computer Science, senior PGT CS, Principal. Some schools include the IT / systems head.
Timing
2–3 hours. Live-code on the whiteboard is common — practise coding without a syntax checker.
Dress code
Formal — shirt with formal trousers, or sari / salwar kameez.
What to carry
  • Two printed CVs + one Class 12 lesson plan
  • Original degree (MCA / M.Tech / M.Sc CS), B.Ed, CTET where applicable
  • A USB with 2–3 working Python + SQL demos in case they ask for one
  • One printed problem you can code on the board in 3 minutes

Questions with model answers

Grouped by round. Each answer is 2–4 sentences — long enough to be real, short enough to remember. Dots show how often each is asked.

What they're really asking — Can you write correct code on a whiteboard while explaining?

def is_palindrome(s): s = s.lower(); return s == s[::-1]. Then talk it through: lowercase to make it case-insensitive, slice with step -1 to reverse, compare. Mention edge cases you're skipping — non-alphanumeric characters, unicode — and how you'd handle them if needed. Board panels test whether you code without autocomplete, not whether you produce the cleverest solution.

What they're really asking — Can you compress a Class 11 concept clearly?

Both are ordered sequences. List is mutable — you can append, remove, modify. Tuple is immutable — once created, no changes. Use a tuple when the data shouldn't change (coordinates, RGB colours, database row); use a list when it will (a shopping cart). Tuples are also slightly faster and can be dictionary keys; lists can't. Give one example of each on the board.

Demo lesson planner

A 15-minute demo you can teach on Monday

Panels don't score creativity — they score structure, board work and closure. This is the skeleton that works.

Safe demo topics
  • Class 12 — SQL joins with a two-table example
  • Class 12 — File handling: writing a log to disk
  • Class 11 — Functions with default arguments
  • Class 11 — Lists vs tuples with a small program
What panels score you on
  • Live coding without autocomplete
  • Explaining while writing
  • Realistic error handling shown, not skipped
  • Cold-calling students
  • Clean board layout — indentation matters
The 15-minute skeleton
Hook
0–2 min

State a real problem — 'we need to log every failed login attempt to a file' — before naming the topic.

Concept
2–5 min

Explain the syntax on the board with a minimal example.

Live code
5–10 min

Type or write out a working example. Predict output before running.

Student practice
10–13 min

Give a variation. Circulate; help those who freeze.

Recap
13–15 min

Cold-call two students. Close with one board-exam-style question.

Ask them back — questions for the interviewer

Most candidates freeze at “do you have any questions for us?” These signal that you take yourself seriously.

  1. How many periods per week does a PGT CS teacher get, and how many lab batches?
  2. What's the ratio of students per lab machine — 1:1, 2:1, or worse?
  3. Do you have a school-wide policy on AI-assisted coding by students?
  4. What's the CPD budget for CS workshops (CSTA India, Google Educator, etc.)?
  5. How do you handle students who need extra lab time — is it institutionalised or informal?
  6. What's the appraisal cycle — board results, project quality, or feedback?

Ready to apply?

PGT Computer Science openings across Indian schools, updated daily.

See open PGT Computer Science jobs

Other interview guides