Answer:
The delimiter use is "::".
Explanation:
The Java inbuilt String.split( ) function is use to split a String into an array of String.
The split( ) takes delimiter as arguments/parameter which determines at which point the string is to be broken down into different part/token.
From the above code snippet;
Each line in the file a.txt that is not null is splitted using the statement below:
String[ ] v = line.split("::");
The line is splitted using "::" as delimiter and the resulting array is then assigned to the variable 'v'.
For instance, a line in the file could take the form:
John::Smith::Music
When it is splitted,
String lname = John;
because lname make reference to index 0 of the array.
String fname = Smith;
because fname make reference to index 1 of the array.
String dept = Music;
and dept make reference to index 2 of the array.
Answer:
It is called B. REJ
Explanation:
REJ means Rapid Economic Justification. This is a methodology or framework to help IT professionals analyze IT investments. The main aim of this framework for business optimization
Answer:
a parameter is fixed over time, while an exogenous variable is allowed to change over time.
Explanation:
A parameter can be defined as a value that can be passed to a function. Thus, a parameter refers to a value that must be passed into a function, subroutine or procedure when it is called.
This value can be passed to a function either by reference or by value.
Basically, parameters can serve as a model for a function; when used as an input, such as for passing a value to a function and when used as an output, such as for retrieving a value from the same function.
A variable can be defined as a placeholder or container for holding a piece of information that can be modified or edited. Thus, a variable stores information which is passed from the location of the method call directly to the method that is called by the program.
An exogenous variable can be defined as a that's independent of other variables in a system i.e it's not affected by other variables.
This ultimately implies that, the difference between a parameter and an exogenous variable is that a parameter is fixed over time, while an exogenous variable is allowed to change over time and as such it has a relationship with other variables in a system.
Answer:
The answer is nearest-neighbor learning.
because nearest neighbor learning is classification algorithm.
It is used to identify the sample points that are separated into different classes and to predict that the new sample point belongs to which class.
it classify the new sample point based on the distance.
for example if there are two sample points say square and circle and we assume some center point initially for square and circle and all the other points are added to the either square or circle cluster based on the distance between sample point and center point.
while the goal of decision tree is to predict the value of the target variable by learning some rules that are inferred from the features.
In decision tree training data set is given and we need to predict output of the target variable.
Explanation: