Ant Mock Test



This section presents you various set of Mock Tests related to Ant. 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

Ant Mock Test I

Answer : C

Explanation

ANT stands for Another Neat Tool.

Answer : D

Explanation

All of the above options are correct.

Answer : D

Explanation

All of the above options are correct.

Answer : A

Explanation

A target is a collection of tasks that you want to run as one unit.

Answer : C

Explanation

Targets can have dependencies on other targets. For example, a deploy target may have a dependency on the package target, the package target may have a dependency on the compile target and so forth. Dependencies are denoted using the depends attribute.

Answer : C

Explanation

depends attribute can have a comma separated list of all targets that this target depends on. It is an optional attribute.

Answer : C

Explanation

If attribute allows the execution of a target based on the trueness of a conditional attribute. It is an optional attribute.

Answer Sheet

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