Answer:
3 bits
Explanation:
Capacity of main memory=16 Bytes=24
The number of address bits= 4 bits.
The size of the word= 1 Byte=20
The word bits=0.
Number of lines =4
Number of sets required=21
The sets bits is =1
The number of offset bits=20=0
Number of tag bits= total number of address bits - (word bits + offset bits + set bits)
= 4 - 0 -0- 1
= 3 bits
The difference is that system on a desk top preforms all the basic tasks like file management, memory management handling input and output and controlling peripheral devices such ad disk and printers where as some smart phone work on specific hardware
Answer:
Program is in C++
Explanation:
C++ Code
1) By using For Loop
void forLoopFunction(int value){
for(int start=value; start>0; start--){
cout<<start<<endl;
}
}
Explanation
Start for loop by assigning the loop variable to parameter value and condition will be that loop variable will be greater then 0 and at the end decrements the loop variable.
2) By usin WhileLoop
void whileLoopFunction(int value){
while(value>0){
cout<<value<<endl;
value--;
}
}
Explanation
In while loop first add the condition as variable must be greater then 0 and then print the value with endl sign to send the cursor to next line and at the end of the loop decrements the variable.
Answer:
overflow error
Explanation:
Sometimes, when adding two binary numbers we can end up with an extra digit that doesn't fit.
Do you see that part where it says "Using the ... 2012 Sales Spreadsheet, ..." ? It means that in order to answer this question, you need to have the 2012 Sales Spreadsheet, and you need to look at it and get stuff from it like numbers and stuff. Where is it ? ?