XamBaaz
💻

Class 10 Computer Science — Chapter 4: Python Programming

6 practice questions · 2 Easy · 2 Medium · 2 Hard

Free NCERT-aligned multiple-choice practice for Class 10 Computer Science, Chapter 4 (Python Programming). Practise timed Easy, Medium and Hard quizzes with instant explanations — built for CBSE Board exams, JEE Main and NEET UG. Here are a few sample questions; sign in free to practise all 6.

Sample questions

Q1Easy

Lists in Python are denoted by:

A.[ ]✓ correct
B.( )
C.{ }
D.< >
Why

Square brackets create lists; lists are mutable.

Q2Medium

Keyword to define a function in Python:

A.function
B.def✓ correct
C.func
D.lambda only
Why

def name(args): ...

Q3Hard

Output of: def f(x): return x*2 print(f(3))

A.6✓ correct
B.3
C.33
D.None
Why

3*2 = 6.

Practise all 6 questions free

Timed quizzes, instant scoring, streaks and XP. Sign in with Google — no card needed.

Start this chapter free →
← All Class 10 Computer Science chapters