Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

1.

The two build files generated by android studio are in ____.

Answer»

The TWO build files generated by android studio are in ________________.
(1)build DIRECTORY
(2)ROOT folder of project
(3)root folder of project and APP directory
(4)root folder of project and build directory

Answer:- (3)root folder of project and app directory

2.

Which of the following is a quality plugin of Gradle?

Answer»

Which of the FOLLOWING is a QUALITY plugin of GRADLE?
(1)PMD
(2)Sonar RUNNER
(3)All the options mentioned
(4)Checkstyle

Answer:- Answer of above question is (3)All the options mentioned

3.

In gradle the init task creates a Gradle project, which contains _____

Answer»

In gradle the init task CREATES a Gradle project, which contains _______________.
(1)settings.gradle file
(2)gradle WRAPPER files
(3)build.gradle file
(4)All the OPTIONS mentioned

Answer:-(4)All the options mentioned

4.

Gradle is an imperative build tool.

Answer»

Gradle is an imperative build tool.
(1)True
(2)False

ANSWER:- Answer of above question is (2)False

5.

Which plugins are configured while integrating gradle with Jenkins?

Answer»

Which plugins are configured while integrating gradle with Jenkins?
(1)None of the options MENTIONED
(2)Gradle Plugin And plugin of repository USED
(3)Only Gradle plugin
(4)Gradle Plugin and JAVA plugin

ANswer:-(2)Gradle Plugin And plugin of repository used

6.

The scala plugin applied in the gradle can deal with ____________.

Answer»

The scala plugin APPLIED in the gradle can deal with ____________.
(1)Scala code
(2)All the OPTIONS mentioned
(3)pure Java code
(4)mixed Scala and Java code

Answer:-(2)All the options mentioned

7.

Gradle dependencies are stored in builds.

Answer»

Gradle dependencies are stored in BUILDS.
(1)TRUE
(2)FALSE

Answer:-(2)False

8.

Which of the following is Gradle's in-built task?

Answer»

Which of the following is Gradle's in-built task?
(1)COPY task
(2)All the options mentioned
(3)ZIP task
(4)Rename task

Answer:-(2)All the options mentioned

9.

The build task added by the java plugin ___________.

Answer»

The build task ADDED by the java PLUGIN ___________.
(1)Assembles production class library
(2)Performs a FULL build of the project.
(3)Performs assembling of JAR files
(4)Performs build of archives in the project

Answer:-(2)Performs a full build of the project.

10.

Which method is used to attach a predicate to a skipping task?

Answer»

Which method is USED to attach a predicate to a skipping task?
(1)skip()
(2)onlyIf()
(3)if()
(4)skip() or onlyIf()

ANSWER:-(2)onlyIf()

11.

Java plugin is a binary plugin.

Answer»

Java plugin is a BINARY plugin.
(1)FALSE
(2)TRUE

Answer:-(2)True

12.

In gradle, JAR files are published to _________.

Answer»

In gradle, JAR files are PUBLISHED to _________.
(1)remote location
(2)LOCAL directory
(3)All the options MENTIONED
(4)multiple locations

Answer:- (3)All the options mentioned

13.

Gradle requires a Java JDK or JRE and Groovy to be installed.

Answer» GRADLE requires a JAVA JDK or JRE and Groovy to be installed.
(1)TRUE
(2)False

Answer:-(2)False
14.

Which task is executed to use Gradle Build Init plugin?

Answer»

Which task is executed to use GRADLE Build Init plugin?
(1)init
(2)standard or init
(3)skipping
(4)standard

Answer:- Answer of above QUESTION is (1)init

15.

To build Android project, which version of gradle is required?

Answer»

To build Android PROJECT, which VERSION of GRADLE is required?
(1)Gradle 1.12 and above
(2)Gradle 1.7 and above
(3)Gradle 2.2.1 and above
(4)Gradle 2.1 and above

Answer:- Answer of above question is (3)Gradle 2.2.1 and above

16.

How to check gradle version?

Answer»

How to check gradle VERSION?
(1)gradle -version
(2)gradle -V
(3)gradle version
(4)gradle -v or gradle -version

Answer:-(4)gradle -v or gradle -version

17.

Which task is added by wrapper plugin to the project?

Answer»

Which TASK is added by wrapper PLUGIN to the project?
(1)ASSEMBLE
(2)wrapperDependencies or wrapper
(3)wrapper
(4)wrapperDependencies

AnsweR:-(3)wrapper

18.

The war plugin enables the default JAR archive generation of the Java

Answer»

The war plugin enables the default JAR ARCHIVE GENERATION of the Java plugin.
(1)TRUE
(2)False

Answer:-(1)True

19.

The external dependencies for the build script are defined using _____

Answer»

The external DEPENDENCIES for the build SCRIPT are defined using ___________.
(1)name of the organization that created the dependency
(2)name of the dependency
(3)version number
(4)All the options mentioned

Answer:-(4)All the options mentioned

20.

Gradle is a _______ based build tool.

Answer»

Gradle is a _______ BASED build tool.
(1)C#
(2).NET
(3)JVM
(4)Javascript

Answer:-(3)JVM

21.

Gradle supports multiple project templates called archetypes ________.

Answer»

Gradle supports MULTIPLE PROJECT TEMPLATES called archetypes ________.
(1)False
(2)True

Answer:-(1)False

22.

When gradle plugins are applied to a project, it is possible to ______

Answer»

When gradle plugins are applied to a project, it is possible to _____________.
(1)create new tasks
(2)All the OPTIONS MENTIONED
(3)extend build language
(4)SUPPORT additional languages

Answer:-(2)All the options mentioned

23.

Gradle Build Init plugin is an automatically applied plugin.

Answer»

Gradle BUILD INIT PLUGIN is an automatically applied plugin.
(1)True
(2)False

Answer:-(1) True

24.

Running Gradle builds with the Daemon executes the build quickly.

Answer»

Running Gradle BUILDS with the DAEMON EXECUTES the build quickly.
(1)True
(2)False

Answer:-(1) True

25.

Lifecycle tasks typically have task actions.

Answer»

Lifecycle TASKS TYPICALLY have task ACTIONS.
(1)False
(2)True

Answer:- (1)False