A. You may be unable to link to the site.
<span />
Answer:
#include <iostream>
using namespace std;
int main()
{
int day;
cout<<"Enter a number for the day of the week"<<endl;
cin>> day;
switch (day) {
case 1: cout << "Monday"<< endl; break;
case 2: cout << "Tuesday" << endl; break;
case 3: cout << "Wednesday" << endl; break;
case 4: cout << "Thursday" << endl; break;
case 5: cout << "Friday" << endl; break;
case 6: cout << "Saturday" << endl; break;
case 7: cout << "Sunday" << endl; break;
default: cout<<"Error, You entered an invalid day"<<endl;
}
return 0;
}
Explanation:
The program is written using a switch statement in C++ programming language. we start off by creating a variable day of type integer, which is received using the cin statement. We then use switch statement to test the value using the conditions stated in the question. We use the default statement which acts like an else statement to handle the an invalid situation
The thing that a person need to do that might fix this problem are:
- Ask a colleague on your team how they've handled similar issues in the past
- Ask you supervisor for guidance.
<h3>What are errors in quantitative analysis?</h3>
The term error is known to be a word that connote a mistake in a given work. Note that the types of errors in lab measurements are random error, systematic error, and others.
To be able to remove or correct error, one must have the knowledge of what the error is and when you do not know, it is good you ask others.
Therefore, The thing that a person need to do that might fix this problem are:
- Ask a colleague on your team how they've handled similar issues in the past
- Ask you supervisor for guidance.
Learn more about Error from
#SPJ1
See options below
Sort the spreadsheet so the row with missing data is at the bottom
Ask a colleague on your team how they've handled similar issues in the past
Ask you supervisor for guidance
Delete the row with the missing data point
Answer:
A. 31 bits
B. 13 bits, 18 bits
C. 256k
Explanation:
A.
We have total size of physical memory as 2gb
This means that 2¹ x 2³⁰
Using the law of indices,
= 2³¹
So physical address is equal to 31 bits
B.
We get page size = 8kb = 2³
1 kb = 2¹⁰
2³ * 2¹⁰ = 2¹³
So page replacement = 13 bits
Page frame number
= physical address - replacement bits
= 31 - 13
= 18 bits
C.
The number of frames is given as
2¹⁸ = 2⁸ x 2¹⁰ = 256K
So number of frames = 256K
D
Logical add space is 256K
Page size= physical pages = 8kb
Logical address layout= 28biys
Page number = 15 bits
Displacement = 12 bits
256k/8k = 32 pages in address space process