The basic internal components found in a computer tower also called as computer case are the following:
1. The motherboard
2. The power supply
3. Hard drives
4. Fan
5. Random Access Memory - RAM
6. CD - Rom's and DVD - Rom's
7. Ports and Hubs
These are found inside your PC case.
First four tasks = 8 seconds
Next four tasks = 8 seconds
Last two tasks = 8 seconds
The total number of seconds to perform all tasks is 24 seconds.
The throughput, which would be the number of tasks per second, is calculated by taking the number of tasks and dividing by the number of seconds:
10 tasks / 24 seconds = 5/12 or 0.4167 tasks per second
Answer:
a. (210^6)((210^7)/(2.510^8)) = 1.610^5 bits or 160,000 bits
b. 1.6*10^5 bits or 160,000 bits
c. Bandwidth delay product of link is maximum number of bits that can be in the link
d. Width of bit = Length of link / bandwidth-delay product so 1 bit is 125 meters long. Yes, this is longer than a football field.
e. Width of bit = s/R
Hope this helps :)
Answer:
This article shows how to use regex to remove spaces in between a String.
A string with spaces in between.
String text = "Hello World Java.";
We want to remove the spaces and display it as below:
Hello World Java.
1. Java regex remove spaces
In Java, we can use regex \\s+ to match whitespace characters, and replaceAll("\\s+", " ") to replace them with a single space.
Regex explanation.
`\\s` # Matches whitespace characters.
+ # One or more
StringRemoveSpaces.java
package com.mkyong.regex.string;
public class StringRemoveSpaces {
public static void main(String[] args) {
String text = "Hello World Java.";
String result = text.replaceAll("\\s+", " ");
System.out.println(result);
}
}
Output
Terminal
Hello World Java.
Answer:
PSD (Photoshop Document)
Explanation:
PSD (Photoshop Document) is an image file format native its one of Adobe's popular Photoshop Application. PSD files are commonly used for containing high quality graphics data.