Apache Ant/ Apache Ant Mcq Sample Test,Sample questions

Question:
 An ant is a tool that performs scripts written in XML known as build files?

1.ant -file build-sigmap-project.xml -default_target

2.ant -bf build-sigmap-project.xml --default-target

3. ant -file -v build-sigmap-project.xml -d --target

4.ant -build file build-sigmap-project.xml


Question:
 What are the basic functions performed by Ant?

1.Deployment to production systems

2.Document creation and release notes preparation

3.Both A and B

4.All of these


Question:
 What are the concepts of ANT?

1.Openwrong

2.Cross Platform

3. Both A and Bcorrect

4.None


Question:
 Why ant is a Great build tool?

1.Ant syntax used XML format. We need only specifies our task only on build.xml file

2.Ant is easy to use .eliminating the full-time make file engineer common on large Make-based software projects

3.Both A and B

4.None


Question:
createMock(String name, Class(T) toMock) throws _________________ exception.

1. IndexOutOfBounds

2.IllegalArgumentException

3.NullPointer

4.NullPointer


Question:
How many ways we can set properties into build ant file?

1. Setting the URL attribute with the URL from which to load the properties

2.Setting the resource attribute with the resource name of the property file to load

3.Setting the environment attribute with a prefix to use

4.All of the above


Question:
What is ant functionality?

1. New tasks are used to extend the capabilities of the build process, while build listeners are used to helping hook into the build process to add extra error tracking functionality

2.As Ant is extensible and open, it can be integrated with any editor or development environment easily

3.Both A and B

4.None


Question:
What is ant?

1.Build Tool Only For Java

2.None of these

3.A language

4. Build Tool


Question:
When we’re talking about mock objects, a/an_________ is a feature built into the mock that verifies whether the external class calling this mock has the correct behavior.

1.Expectation

2. Explanation

3.Behavior

4.Amorous


Question:
Which one is true method foe message printing in xml file?

1.printf

2.println

3.echo

4.None


More MCQS

  1. Apache Ant Mcq
Search
Olete Team
Online Exam TestTop Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Testwebsite is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!