Question types

11. FILE HANDLING question types

241 questions across 1 question group — pick any mix to generate a Computer paper with step-by-step answer keys.

241
Questions
1
Question groups
5
Question types
Sample Questions

11. FILE HANDLING questions

One sample from each question group in this chapter. Select any group above to see the full set with answer keys.

Q 1MCQ1 Mark
Which class is used to input data from the keyboard?
  • A
    Console
  • B
    Scanner
  • a and b both
  • D
    Reader

Answer: C.

View full solution
Q 2MCQ1 Mark
Which class is used to input data in hidden from the keyboard?
  • Console
  • B
    Scanner
  • C
    Reader
  • D
    Input

Answer: A.

View full solution
Q 3MCQ1 Mark
Which class is used to access data from a file?
  • A
    Console
  • Scanner
  • C
    Reader
  • D
    Input

Answer: B.

View full solution
Q 4MCQ1 Mark
Which class does Java provide to perform File operations?
  • java.io.File
  • B
    java. File
  • C
    java.File.io
  • D
    java.io.Scanner

Answer: A.

View full solution
Q 5MCQ1 Mark
Java provides classes to perform operations in the following manner.
  • A
    Sequentially
  • B
    To directly jump to nth record
  • a and b both
  • D
    None of these

Answer: C.

View full solution

Generate a 11. FILE HANDLING paper free

Pick question groups from the list above, set marks and difficulty, and export a branded PDF with step-by-step answer keys. First 3 chapters free — no signup.

Download App