XamBaaz
💻

Class 12 Computer Science — Chapter 2: File Handling

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

Free NCERT-aligned multiple-choice practice for Class 12 Computer Science, Chapter 2 (File Handling). 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

open("a.txt", "r") opens for:

A.Reading✓ correct
B.Writing
C.Append
D.Delete
Why

Mode 'r' = read.

Q2Medium

Module to serialise Python objects:

A.pickle✓ correct
B.csv only
C.json only
D.os
Why

pickle.dump / pickle.load.

Q3Hard

Mode 'a' opens file for:

A.Append (write at end without erasing)✓ correct
B.Read
C.Erase + write
D.Random
Why

File pointer at end.

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 12 Computer Science chapters