It can help you more be aware of whats going on and what you need to do.
Answer:
Initially if x = a = 2437 and y = 875, condition (1) that is x>y is true and output would be x = 1562 with y = 87
Explanation:
According to pseudo code the code will run until x becomes equal to y. Initially if x = a = 2437 and y = 875, condition (1) that is x>y is true. So next step would be x=x-y and output would be x = 1562 with y = 875. With initial values x = a = 2437 and y = 875, x becomes equal to y after 21 iterations and output is x=y=1
X Y
- 2437 875
- 1562 875
- 687 875
- 687 188
- 499 188
- 311 188
- 123 188
- 123 65
- 58 65
- 58 7
- 51 7
- 44 7
- 37 7
- 30 7
- 23 7
- 16 7
- 9 7
- 2 7
- 2 5
- 2 3
- 2 1
- 1 1
Options:
A Infrastructure mode
B Ad hoc mode
C a wireless access point
D static IP addresses
E APIPA
Answer:
A. Infrastructure mode
C. a wireless access point
Explanation: A DHCP is a server that makes use of s standard protocol called dynamic host configuration protocol to automatically assign internet protocol (IP) addresses and other computer parameters to clients. It gives them the opportunity to effectively make use of other network services such as DNS( domain name system) and NTP(network time protocol).
Answer:
function countWords(sentence) {
return sentence.match(/\S+/g).length;
}
const sentence = 'This sentence has five words ';
console.log(`"${sentence}" has ${countWords(sentence)} words` );
Explanation:
Regular expressions are a powerful way to tackle this. One obvious cornercase is that multiple spaces could occur. The regex doesn't care.
Project managers (PMs) are responsible for planning, organizing, and directing the completion of specific projects for an organization while ensuring these projects are on time, on budget, and within scope.