Answer:
There are two error in this program--
- In header file inclusion, file is not defined.
- In the statement "result = ++(num1 + num2);" , bracket is fixed after the increment operator.
Explanation:
- For the first error, the user needs to add the file because "#include" is used to add the library for the program which states about the function and symbols used in the program.
- The second error is because there must be a variable with the increment operator ( increment operator is being used to increase the value of a variable by 1), but there is a small brace fix in between the operator and operands.
Answer:
The correct answer is: newspaper editor.
Explanation:
Newspaper editors are responsible for creating and updating newspaper material, as well as other outlets such as magazines and, thanks to technology, online papers and newsletters. Such experts must have outstanding grammar and be informative as they are the last knowledge filter before they are sent to the public.
Answer:
PLANING
Explanation:
They include: planning, organizing, leading, and controlling. You should think about the four functions as a process, where each step builds on the others. Managers must first plan, then organize according to that plan, lead others to work towards the plan, and finally evaluate the effectiveness of the plan.
Answer: provided in the explanation segment
Explanation:
taking a step by step process for this, we will analyze this problem,
we have that the Word size = 8 bytes
Cache size = 128 KB = 128×2¹⁰ bytes = 2¹⁷ bytes
(a). we are asked to cal for fully associative mapping with line size of 4 words.
- fully associative mapping with line size of 4 words = 4 × 8 = 32 bytes
- offset = log₂³² = 5 bit
- tag = 32 - (5+0) = 27 bit
- index bit = 0
(b). Direct mapping with the line size of 8 words:
- here the line size = 8×8 = 64 bytes
- no of lines = 2¹⁷/2⁶ = 2¹¹ lines
- offset = log ₂(2⁶) = 6 bit
- index = log ₂(2¹¹) = 11 bit
- tag = 32 - (5 +11) = 15 bit
(c). 2-way set associated mapping with the line size of 1 word:
- no of lines = 2¹⁷/2³ = 2¹⁴ lines
- offset = log₂(2³) = 3 bit
- no of sets = 2¹⁴/2 = 2¹³ sets
- index = log₂(2¹³) = 13 bit
- tag = 32 - (3+13) = 16 bit
(d). 8-way set associated mapping with the line size of 2 words:
8-way set associated mapping with the line size of 2 = 2*8 = 16 bytes
- no of lines = 2¹⁷/2⁴ = 2¹³ lines
- no of sets = 2¹³/2³ = 2¹⁰ sets
- offset = log₂¹⁶ = 4 bit
- index = log ₂(2¹⁰) = 10 bit
- tag = 32 - (4+10) = 18 bit
cheers i hope this helps!!!!