Explanation:
not A or D,
about B and C I'm not sure
Answer:
By definition, <u>multiprocessing</u> refers to the processing of multiple processes at the same time by multiple CPUs.
By definition, <u>multiprogramming</u> keeps programs in main memory at the same time and execute them concurrently utilizing a single CPU doing a context switch.
The first difference is that multiprocessing uses multiple CPUs and multiprogramming to utilize context switch to do concurrency in one CPU. Another difference is that multiprocessing is more expensive but more efficient than multiprogramming due that it allows parallel processing.
Answer:
y=-3x-×-1 I think it's answer is it
Answer:
Following are statement is given below
int k=1,total=0; // variable declaration
while(k<50) // iterating the while loop
{
total=total+k*k;// calculating the square
k=k+1; // increments the value of k by 1
}
Explanation:
Following are the description of Statement.
- Declared a variable "total" and "k" of the "integer " type initialized the total to 0 and "k" to 1.
- Iterating the while loop for less then 50 .In this loop, we calculating the sum of square of first 50 number in the "total" variable .
- After that increment the value of "k" variable by 1 to execute the loop less then 50 .
Answer:
Option 3) Boolean is the correct answer
Explanation:
Let us see all the data types given in the options.
Alphabetic datatype stores alphabets and characters.
Float stores numbers with decimal points.
Boolean is a binary data type that can only have two values either one and zero or true and false.
Integer stores positive and negative numbers.
Looking at all the definitions we can conclude that Boolean will be the suitable variable to store the answers as the answer can only have one of the two values from true and false.
Hence,
Option 3) Boolean is the correct answer