MCQ
………………… condition tested using file operators is True if a file with the specified name exists and has size greater than 0.
  • A
    –r name
  • B
    –d name
  • –s name
  • D
    –f name

Answer

Correct option: C.
–s name
 . –s name

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free