Olete.in
Articles
Mock Tests
🧪 ANT MCQ Quiz Hub
ANT Mcq Question Set 1
Choose a topic to test your knowledge and improve your ANT skills
1. What is true about Ant?
Ant is an open source code
Ant is Java-based build tool sponsored by Apache Software Foundation.
Ant is kind of like Make.
All of the above
2. Ant stands for?
Apache Neat Tool
Another Next Tool
. Another Neat Tool
Apache Next Tool
3. ANT provides the cross-platform deployment that can run on any platform.
TRUE
FALSE
Can be true or false
Can not say
4. _____ is a popular dependency manager
Make
Ivy
Jar
none of the above
5. A built tool is software which is used to ?
build project
build directory structure
copy necessary files to that directory
All of the above
6. What are the features of Ant?
Open source
Cross plaform
Extensible
All of the above
7. Which of the following is true about target?
Targets can have dependencies on other targets
Dependencies are denoted using the depends attribute
Both A and B
none of the above
8. Which of the following property defines the name of current project?
ant.file
ant.project.name
ant.name
name of attributes
9. Ant does not need to set class path.
Yes
No
Can be yes or no
Can not say
10. Ant can be used for?
Small Project
Large Project
Both type of project
none of the above
11. Which of the following is true about Apache IVY?
Apache IVY is a dependencies management tool similar to Maven but is ANT based.
It is highly flexible and configurable
Easy to use as Maven
All of the above
12. Which terms refers to the name of the company, individual developer or team name who creates the project or library?
Module
Organisation
Artifact
Type
13. Which represents continuous development, nightly build?
milestone
release
integration
none of the above
14. Type identifies the artifact category like jar, war, src, doc etc?
TRUE
FALSE
Can be true or false
Can not say
15. Which of the following are features of Apache Ivy?
ANT Based
Non-intrusive
Highly Flexible
All of the above
16. Which tag of Ivy Settings File, set an ivy variable. Cardinality: 0..n?
settings
property
classpath
include
17. Which is the use of parsers tag?
To define module cache parsers
To define module latest parsers
To define module descriptor parsers
To define module version parsers
18. ____ task is used to resolve dependencies to a specified location in project workspace.
install
retrieve
cachepath
resolve
19. publish task is used to publish current artifacts and its resolved descriptor files to mentioned repository.
TRUE
FALSE
Can be true or false
Can not say
20. typedef define new types in ivy.
Yes
No
Can be yes or no
Can not say
21. What Is Apache Nifi?
NiFi is helpful in creating DataFlow
It means you can transfer data from one system to another system as well as process the data in between.
Both A and B
none of the above
22. A __________ is a message or event data or user data, which is pushed or created in the NiFi.
NifiFile
FlowFile
TaskFile
none of the above
23. _____ is a main component in the NiFi, which will really work on the FlowFile content and helps in creating, sending, receiving, transforming routing, splitting, merging, and processing FlowFile.
Dataflow
Component Task
Reporting Task
Processor
24. Is There A Programming Language That Apache Nifi Supports?
Yes
No
Can be true or false
Can not say
25. NiFi 1.0 there is ____________ philosophy is considered.
0-master
1-master
2-master
3-master
26. Apache NiFi consist of a ?
web server
flow controller
processor
All of the above
27. _______ process is used to fetch files of a specific format from a specific directory.
SetFile
GetFile
PutFile
File Access
28. ______ processors are used to route the flowfiles to different processors or data flows according to the information in attributes or content of those flowfiles.
Data Ingestion
Database Access
Routing and Mediation
Attribute Extraction
29. ______ processors are used to run processes or commands in any operating system.
Data Transformation
Sending Data
Splitting and Aggregation
System Interaction
30. Template is a re-usable workflow.
TRUE
FALSE
Can be true or false
Can not say
31. AWT stands for ?
All Window Toolkit
Abstract Work Toolkit
Abstract Window Toolkit
Abstract Window Text
32. The subclass of a java.awt.Component class is known as a ?
system
component
container
component manager
33. What is the super class of all components of Java?
java.all.Component
all.awt.Component
java.awt.Component
awt.Component
34. The subclass of a java.awt.Container class is known as a container.
TRUE
FALSE
Can be true or false
Can not say
35. How many layout managers defined in java.awt package?
2
3
5
None of the mentioned
36. A ___________ dictates the style of arranging the components in a container.
border layout
grid layout
panel
layout manager
37. Which method used to place some text in the text field?
getText(String str)
setText(String str)
putText(String str)
none of the above
38. What is the listener used to handle the events of a text field?
java.awt.ActionListener interface
java.awt.event.ActionListener
awt.event.ActionListener interface
java.awt.event.ActionListener interface
39. Which method used to change the foreground (text) color of components like text field?
setBackground(Color clr)
setForeground(Color clr)
setColor(Color clr)
setEditable(boolean state)
40. getLabel() method used to retrieve the label of a button.
Yes
No
Can be yes or no
Can not say
41. EJB stands for ?
Express Java Bean
Enterprise JS Bean
Enterprise Java Bean
Enterprise Java Business
42. How many types of enterprise bean in java?
2
3
4
5
43. _____ encapsulates business logic.
Message Driven Bean
Entity Bean
Object Bean
Session Bean
44. How many types of session bean?
1
2
3
4
45. A Stateless session bean is a business object that doesn't maintain the conversational state with the client.
TRUE
FALSE
Can be true or false
Can not say
46. _____ is a messaging service to create, send and receive messages asynchronously.
RMS
JMS
GDS
KAD
47. What are the advantages of JMS?
Asynchronous
Reliable
Both A and B
none of the above
48. In ___________, one message is delivered to one receiver only.
CTP Model
ATP Model
ZTP Model
PTP Model
49. In which model, one message is delivered to all subscribers?
Publisher model
Subscriber model
Both A and B
none of the above
50. Message Driven Bean (MDB) encapsulates business logic. It is invoked by passing the message. It is like JMS receiver.
TRUE
FALSE
Can be true or false
Can not say
Submit