Apache POI - Mock Test



This section presents you various set of Mock Tests related to Apache POI. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself.

Questions and Answers

Apache POI Mock Test I

Answer : A

Explanation

HSSF (Horrible Spreadsheet Format) - It is used to read and write xls format of MS-Excel files.

Answer : B

Explanation

XSSF (XML Spreadsheet Format) - It is used for xlsx file format of MS-Excel.

Answer : C

Explanation

HPSF (Horrible Property Set Format) - It is used to extract property sets of the MS-Office files.

Answer : D

Explanation

HWPF (Horrible Word Processor Format) - It is used to read and write doc extension files of MS-Word.

Answer : A

Explanation

XWPF (XML Word Processor Format) - It is used to read and write docx extension files of MS-Word.

Answer : B

Explanation

HSLF (Horrible Slide Layout Format) - It is used for read, create, and edit PowerPoint presentations.

Answer : C

Explanation

HDGF (Horrible DiaGram Format) - It contains classes and methods for MS-Visio binary files.

Answer : D

Explanation

HPBF (Horrible PuBlisher Format) - It is used to read and write MS-Publisher files.

Answer : D

Explanation

HSSFWorkbook class is a high-level class under the org.apache.poi.hssf.usermodel package. It implements the Workbook interface and is used for Excel files in .xls format.

Answer Sheet

Question Number Answer Key
1 A
2 B
3 C
4 D
5 A
6 B
7 C
8 D
9 D
apache_poi_questions_answers.htm
Advertisements