Class 9 Computer Science — Chapter 2: Introduction to Python
8 practice questions · 3 Easy · 3 Medium · 2 Hard
Practise Class 9 Computer Science Chapter 2, "Introduction to Python", with 8 NCERT-aligned multiple-choice questions. The set is split into 3 Easy, 3 Medium and 2 Hard questions, so you can warm up on the fundamentals and then push into the exam-level problems that separate top scorers in CBSE Board exams and the JEE & NEET foundation years.
"Introduction to Python" is one of the chapters where logic, syntax and computational-thinking questions really pays off. Each MCQ on this chapter is timed and uses exam-grade marking (+2 correct, −1 wrong, 0 skipped), training the same accuracy-under-pressure that real papers demand. Every question carries a short explanation, so a wrong answer becomes a quick lesson rather than a dead end — the fastest way to close gaps before a test.
Use this chapter as targeted revision: attempt the Easy set first to confirm your basics on Introduction to Python, then move to Medium and Hard to test application and problem-solving. Your accuracy, streaks and XP save automatically, and the chapter feeds into your overall Class 9 Computer Science mastery score. A few sample questions are shown below; sign in free to practise all 8.
Sample questions
Which prints "Hello" in Python 3?
print() is the built-in output function in Python 3.
Which is a VALID Python variable name?
Variables can contain letters, digits, underscores; cannot start with a digit or be a keyword.
Output of 7 // 2 in Python is:
// is integer (floor) division — 7//2 = 3.
Introduction to Python — FAQs
What does Class 9 Computer Science Chapter 2 (Introduction to Python) cover on XamBaaz?+
It covers 8 NCERT-aligned MCQs on "Introduction to Python" — 3 Easy, 3 Medium and 2 Hard — each with a timed quiz and an instant explanation, suitable for CBSE Board exams and the JEE & NEET foundation years.
Are these "Introduction to Python" questions free to practise?+
Yes — sign in with Google to practise "Introduction to Python" free. Full unlimited access is ₹999/year (limited-time launch price), with no per-chapter charges.
How should I revise "Introduction to Python" for the exam?+
Start with the Easy quiz to confirm your fundamentals, then attempt Medium and Hard for application-level practice. Review each explanation, retry the questions you miss, and track your accuracy on this chapter until it is consistently high.
Practise all 8 questions free
Timed quizzes, instant scoring, streaks and XP. Sign in with Google — no card needed.
Start this chapter free →