Answer:
const readline = require('readline-sync');
let reg = /^(\d{3})(\d{3})(\d{4})$/;
do {
let number = readline.question("Enter a phone number: ");
if (number === '999') {
process.exit();
}
var r = number.match(reg);
if (!r) console.log("That is not right.");
else {
console.log(`(${r[1]}) ${r[2]}-${r[3]}`);
}
} while (true);
Explanation:
This is a javascript solution using regular expressions.
Answer:
I'm sorry but I don't think there is a way. You should try to get the password out of him and then close it. Don't forget to clear the history.
Explanation:
Answer:
I believe it is "Know what you are looking for and carefully filter information for accuracy."
Answer:
Peripheral
Explanation:
It has nothing to do with the other words because it means that something is not as important as something else
Answer:
The maximum Data transfer rate is 320 Mb/s
Explanation:
The minimum microprocessor bus cycle duration = 100 input clock cycles and Data bus clock = 4.0 GHz = 4 × 10⁹ Hz
The maximum bus cycle rate = Data bus clock/minimum microprocessor bus cycle duration
Therefore, The maximum bus cycle rate = 4.0 GHz/100 = 4 × 10⁹ / 100 = 4 × 10⁷ = 40 × 10⁶ = 40 M/s
8 bits is equal to 1 byte, therefore 64 bit is equal to (64/8 = 8) byte.
Data transferred per bus cycle = 64-bit = 8 bytes.
The maximum Data transfer rate per second = bus cycle rate × data transferred per bus cycle = 40 M/s × 8 bytes = 320 Mbytes/s = 320 Mb/s.
The maximum Data transfer is 320 Mb/s