ANT/ANT Mcq Question Set 2 Sample Test,Sample questions

Question:
 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 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

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

Posted Date:-2022-02-09 01:21:26


Question:
 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

Posted Date:-2022-02-09 01:17:54


Question:
______ is mainly used for improving the application performance by helping to load the child objects on demand.

1. Load

2.Configuration

3. Lazy loading

4.CGF

Posted Date:-2022-02-09 01:12:02


Question:
A ________ represents a unit of work with the database and most of the RDBMS supports transaction functionality.

1.Query objects

2.Session

3.Criteria objects

4. Transaction

Posted Date:-2022-02-09 01:14:55


Question:
A ____________ is an object that maintains the connection between Java object application and database.

1.cookie

2. session

3.cache

4.persist

Posted Date:-2022-02-09 01:11:21


Question:
Hibernate has _____ cache types

1. 1

2. 2

3.3

4.4

Posted Date:-2022-02-09 01:12:26


Question:
Hibernate ORM stands for ?

1.Class Relational Mapping

2. Class Object Mapping

3.Object Relational Mapping

4.none of the above

Posted Date:-2022-02-09 01:10:36


Question:
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

Posted Date:-2022-02-09 01:18:17


Question:
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

Posted Date:-2022-02-09 01:22:34


Question:
SessionFactory provides an instance of Session.

1.TRUE

2. FALSE

3.Can be true or false

4.Can not say

Posted Date:-2022-02-09 01:11:44


Question:
The Hibernate architecture consists of?

1.persistent object

2. session factory

3. transaction

4.All of the above

Posted Date:-2022-02-09 01:15:55


Question:
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. 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

4.All of the above

Posted Date:-2022-02-09 01:18:47


Question:
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.numerous bug fixes & improvements as documented in Jira and in the release notes

4.All of these

Posted Date:-2022-02-09 01:17:33


Question:
What do you think about the statement - "session being a thread-safe object"?

1.Yes

2.. No

3.Can be yes or no

4.Can not say

Posted Date:-2022-02-09 01:15:34


Question:
What is ant?

1.Build Tool Only For Java

2.Build Tools Only For .Net

3.A language

4.Build Tool

Posted Date:-2022-02-09 01:21:48


Question:
Which of the following are advantages of Hibernate?

1.Clean Readable Code

2.Hibernate Query Language

3.Exception Handling

4.All of the above

Posted Date:-2022-02-09 01:10:54


Question:
Which one is not a property of the Ant?

1. ant.java.version

2.ant.version

3.ant.create

4.ant.home

Posted Date:-2022-02-09 01:22:11


Question:
Which one is the properties of the Ant?

1.Basedir

2. Baiddir

3.Bootdir

4.None of the mentioned

Posted Date:-2022-02-09 01:17:07


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

1. printf

2.println

3.echo

4.None of the mentioned

Posted Date:-2022-02-09 01:22:57


Question:
Which session method begin a unit of work and return the associated Transaction object?

1. clear

2.cancelQuery

3.Transaction beginTransaction

4.TRANSACTION_NONE

Posted Date:-2022-02-09 01:15:13


More MCQS

  1. ANT Mcq Question Set 1
  2. ANT Mcq Question Set 2
  3. ANT Mcq
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website 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!