Sail E0 Webinar

MCQs

Total Questions : 10
Question 1. Which one is the properties of the Ant?
  1.    Basedir
  2.    Baiddir
  3.    Bootdir
  4.    None
 Discuss Question
Answer: Option A. -> Basedir




Question 2. Why ant is a great build Tool?
  1.    Ant is a Java-based build tool designed to be cross-platform, easy to use, extensible, and scalable
  2.    Ant can be used in a small personal project as well as ant can be used in a large, multi-team software project
  3.    Ant syntax is very easy to learn
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above




Question 3. How many ways can we set properties into build ant file?
  1.    Supplying both the name and value attribute
  2.    Supplying both the name and re fid attribute
  3.    Setting the file attribute with the filename of the property file to load
  4.    All of the above
 Discuss Question
Answer: Option D. -> All of the above




Question 4. What are the key features of the 2.1.0 release are
  1.    The Key features of Ivy is enhanced Maven2 compatibility, with several bug fixes and more pom features covered
  2.    New options for the Ivy Ant tasks and command line
  3.    configuration intersections and configuration groups
  4.    numerous bug fixes & improvements as documented in Jira and in the release notes
  5.    All of these
 Discuss Question
Answer: Option E. -> All of these




Question 5. What are Apache ant Functionalities?
  1.    Ant is an open source project available under the Apache license. Therefore, its source code can be downloaded and modified
  2.    Additionally, Ant uses XML build files which make its development easy
  3.    Cross Platform
  4.    Use of XML along with Java makes Ant makes it the perfect solution for developing programs designed to run or be built across a range of different operating systems
  5.    All of the above
 Discuss Question
Answer: Option E. -> All of the above




Question 6. What are the ways to Debug my ant script?
  1.    By echoing at the place to debug. The problem is easily known. This is similar to printf() function in C and System.out.println() in Java
  2.    By using project.log (message") in the javascript or the customized ant task
  3.    By running ANT with "“verbose / -debug options. These options provide more information on what is the process going and at which location
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Question 7. What is ant?
  1.    Build Tool Only For Java
  2.    Build Tools Only For .Net
  3.    A language
  4.    Build Tool
 Discuss Question
Answer: Option D. -> Build Tool




Question 8. Which one is true method foe message printing in xml file?
  1.    printf
  2.    println
  3.    echo
  4.    none
 Discuss Question
Answer: Option C. -> echo




Question 9. Which one is not a property of the Ant?
  1.    ant.java.version
  2.    ant.version
  3.    ant.create
  4.    ant.home
 Discuss Question
Answer: Option C. -> ant.create




Question 10. List some basic functions performed by Ant.
  1.    Compiling Java code into bytecode
  2.    Placing this bytecode in a package
  3.    Deployment to production systems
  4.    All of these
 Discuss Question
Answer: Option D. -> All of these




Latest Videos

Latest Test Papers