An advertising department has recently purchased an image editing software package for one of its workstation computers. This computer is accessible to all employees
a) Identify three hardware specification requirements other than RAM which may need to be taken into account before installing the package
B) The software package States a minimum hardware requirement of 1GB of RAM. The workstation has 2GB of RAM installed. Explain the benefits of the additional RAM when using this program
Answers
Answered by
1
//Java Program to demonstate the use of if statement.
public class IfExample {
public static void main(String[] args) {
//defining an 'age' variable
int age=20;
//checking the age
if(age>18){
System.out.print("Age is greater than 18");
}
}
}
// Java program for implementation of Selection Sort
class SelectionSort
{
void sort(int arr[])
{
int n = arr.length;
// One by one move boundary of unsorted subarray
for (int i = 0; i < n-1; i++)
{
// Find the minimum element in unsorted array
int min_idx = i;
for (int j = i+1; j < n; j++)
if (arr[j] < arr[min_idx])
min_idx = j;
// Swap the found minimum element with the first
// element
int temp = arr[min_idx];
arr[min_idx] = arr[i];
arr[i] = temp;
}
}
Similar questions