Answer:
Swap daemon
Explanation:
Swap daemon manages the physical memory by moving process from physical memory to swap space when more physical memory is needed. The main function of the swap daemon is to monitor processes running on a computer to determine whether or not it requires to be swapped.
The physical memory of a computer system is known as random access memory (RAM).
A random access memory (RAM) can be defined as the internal hardware memory which allows data to be read and written (changed) in a computer.Basically, a random access memory (RAM) is used for temporarily storing data such as software programs, operating system (OS),machine code and working data (data in current use) so that they are easily and rapidly accessible to the central processing unit (CPU).
Additionally, RAM is a volatile memory because any data stored in it would be lost or erased once the computer is turned off. Thus, it can only retain data while the computer is turned on and as such is considered to be a short-term memory.
There are two (2) main types of random access memory (RAM) and these are;
1. Static Random Access Memory (SRAM).
2. Dynamic Random Access Memory (DRAM).
Answer:
Here the code is given as follows,
Explanation:
Code:-
#include <stdio.h>
int isSorted(int *array, int n) {
if (n <= 1) {
return 1;
} else {
return isSorted(array, n-1) && array[n-2] <= array[n-1];
}
}
int main() {
int arr1[] = {3, 6, 7, 7, 12}, size1 = 5;
int arr2[] = {3, 4, 9, 8}, size2 = 4;
printf("%d\n", isSorted(arr1, size1));
printf("%d\n", isSorted(arr2, size2));
return 0;
}
Output:-
Answer:
Click the Home tab, click Format, click Rename Sheet, type the name, and press Enter
Explanation:
im not really sure but i think this is the answer
have a good day
/* package whatever; // don't place package name! */
import java.util.*;
import java.lang.*;
import java.io.*;
class NestedLoops {
public static void main (String [] args) {
int numRows = 4;
int numCols = 5;
int i,j;
char ch = 'A';
// Note: You'll need to declare more variables
/* Your solution goes here */
for ( i = 0; i < numRows; i++) { // Outer loop runs for numRows times
for ( j = 0; j < numCols; j++) { // Inner loop runs for numCols times
System.out.print(i+1);
System.out.print((char)(ch+j));
System.out.print(" ");
}
}
System.out.println("");
return;
}
}