The best line to be added to the teacher’s lesson plan, which is supposed to emphasize the benefits of global communication, would be (D) learning in a global community enables you to expand your horizons and learn new languages.
The other options are not suitable because they highlight the negative side of global communications, which is not something that the teacher’s lesson intends to do.
Answer:
Explanation:
<u>Application Differences:</u>
<u>SRAM</u>
SRAM stands for Static Random Access Memory DRAM stands for Dynamic Random Access Memory
Faster access is due to the usage of transistors to store single bit of data
SRAMs are used for cache memories due to faster access time
<u>DRAM</u>
DRAM stands for Dynamic Random Access Memory
DRAMs are used for main memories due to comparatively slower access time.
DRAMs use capacitor to store bits where each capacitor holds a single bit
<u>Parameter differences</u>
<u>Speed:</u> SRAMs are faster due to presence of transistors. DRAMs are slower due to presence of capacitors
<u>Size:</u> Due to complexity involved in the internal circuits, SRAMs are smaller in capacity for same size of the chip. DRAMs are larger as compared to SRAMs since their capacity for a given physical size is more.
<u>Cost:</u> SRAMs are costlier and the per bit storage cost is more than that of the DRAMs. DRAMs are cheaper and the per bit storage cost is less than that of the SRAMs
CORRECT QUESTION:
For the given program, how many print statements will execute?
public static void printShippingCharge(double weight) { if((weight > 0.0) && (weight <= 10.0)){ System.out.println(weight * 0.75); }
else if((weight > 10.0) && (weight <= 15.0)) { System.out.println(weight * 0.85); }
else if((weight > 15.0) && (weight <= 20.0)) { System.out.println(weight * 0.95); } }
public static void main(String args[]) {
printShippingCharge(18);
printShippingCharge(6);
printShippingCharge(25); }
Answer:
Two of the print statements will output values
Explanation:
These two calls to the printShippingCharge are the ones that will output values: printShippingCharge(18); and printShippingCharge(6);
The first if statement is true when the value of weight is 6 (weight > 0.0) && (weight <= 10.0)
The Third if statement is true when weight is 18 (weight > 15.0) && (weight <= 20.0)
NOTE: That I made correction to the variable weight. The question isn't consistent with the variable name. It used weight and itemWeight at different points this will lead to a compiller error
This contains pretty much what you need:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>The Page Title</title>
</head>
<body>
<h1>First paragraph</h1>
<p>This is a paragraph of text.</p>
<h2>Second level paragraph</h2>
<p>
Here is an unordered list of options:
<ul>
<li>First</li>
<li>Second</li>
<li>Third</li>
</ul>
Here is another unordered list of options:
<ul>
<li>First</li>
<li>Second</li>
<li>Third</li>
</ul>
Here is an ordered list of options:
<ol>
<li>First</li>
<li>Second</li>
<li>Third</li>
</ol>
</p>
<h4>Third level</h4>
</body>
</html>
Answer:
The format painter lets you copy all of the formatting from one object and apply it to another one.
Explanation: