Answer:
See Explaination
Explanation:
public class testscope
{
//start of main function
public static void main(String[] args)
{
//varible declration
int i;
int x;
//loop for 10 times
for(i=0; i<10; i++)
{
//initialize value of x to 10
x = 10;
}
//the scope of variable x is visible outside of for loop
System.out.println("The value of x is: "+x);
}
}
See attachment for sample output
nb:
You can clearly see in the output of Java program the value of x is not printed and program return errors. It means the variable x declared inside for loop does not has scope outside the for loop.
Answer:
Time to live.
Explanation:
The Time to Live is used for the purpose of the expiration table in the rows dynamically.The Time to live is represented in the time limit to stay in the database the Time to live It is no longer possible to fetch the data that has passed its closing timeout value also it is not displayed in the store metrics.
The Time to live is available on the host in the log informing the system how long the record will stay in the database after it has been generated or last modified.
The bubble sort makes multiple passes through a list. It compares adjacent items and exchanges those that are out of order. Each pass through the list places the next largest value in its proper place. In essence, each item “bubbles” up to the location where it belongs.
Answer:
d. involves analyzing end-user business requirements in order to refine project goals
Explanation:
In the software development life cycle, the implementation stage is the stage where the computer programmers begin the actual coding of the application required by the end-user. At this stage, the developer takes into account the needs and specifications of the customer.
For example, if the end-user wants a software application that can track payment records, the researcher at this stage begins using the right software to code programs that can effect this function.