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 III

Answer : D

Explanation

XSSFCreationHelper is a class under the org.apache.poi.xssf.usermodel package. It implements the CreationHelper interface. It is used as a support class for formula evaluation and setting up hyperlinks.

Answer : D

Explanation

XSSFPrintSetup is a class under the org.apache.poi.xssf.usermodel package. It implements the PrintSetup interface. It is used to set print page size, area, options, and settings.

Q 3 - Which of the following type of cell represents blank cell in Apache POI?

A - XSSFCell.CELL_TYPE_BLANK

B - XSSFCell.CELL_BLANK

C - XSSFCell.BLANK

D - None of the above.

Answer : A

Explanation

XSSFCell.CELL_TYPE_BLANK represents blank cell in Apache POI.

Q 4 - Which of the following type of cell represents boolean cell in Apache POI?

A - XSSFCell.CELL_TYPE_BOOLEAN

B - XSSFCell.CELL_BOOLEAN

C - XSSFCell.BOOLEAN

D - None of the above.

Answer : A

Explanation

XSSFCell.CELL_TYPE_BOOLEAN represents boolean cell in Apache POI.

Q 5 - Which of the following type of cell represents error cell in Apache POI?

A - XSSFCell.CELL_TYPE_ERROR

B - XSSFCell.CELL_ERROR

C - XSSFCell.ERROR

D - None of the above.

Answer : A

Explanation

XSSFCell.CELL_TYPE_ERROR represents error cell in Apache POI.

Q 6 - Which of the following type of cell represents number cell in Apache POI?

A - XSSFCell.CELL_TYPE_NUMERIC

B - XSSFCell.CELL_NUMERIC

C - XSSFCell.NUMERIC

D - None of the above.

Answer : A

Explanation

XSSFCell.CELL_TYPE_NUMERIC represents number cell in Apache POI.

Q 7 - Which of the following type of cell represents text cell in Apache POI?

A - XSSFCell.CELL_TYPE_STRING

B - XSSFCell.CELL_STRING

C - XSSFCell.STRING

D - None of the above.

Answer : A

Explanation

XSSFCell.CELL_TYPE_STRING represents text cell in Apache POI.

Q 8 - Which of the following class is used to style cell in Apache POI?

A - XSSFStyle

B - XSSFCellStyle

C - Style

D - None of the above.

Answer : B

Explanation

XSSFCellStyle class is used to style cell in Apache POI.

Q 9 - Which of the following class is used to add a font to a cell in Apache POI?

A - XSSFFont

B - XSSFCellFont

C - Font

D - None of the above.

Answer : A

Explanation

XSSFFont class is used to add a font to a cell in Apache POI.

Answer Sheet

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