Answer:
Drive is only important when you work for Microsoft.
Answer:
cience
Explanation:
From the question, the string variable str was initialized to "Computer Science:
str.substring(10) implies that we get a substring starting from the character at the 10th index till the last index
In this case, the 10th index character is c
So, the instruction will return cience
Answer: Broadcast DHCPREQUEST
Explanation:
The DHCPv4 broadcast the DHCP REQUEST message by the client for accepting an IPv4 address which is basically offer by the server.
The DHCP REQUEST indicate that type of server that are basically chosen by the client for further interaction.
The DHCPREQUEST message basically used to notify that the client decline or accept the offer of server. In the DHCP protocol, it basically allow for broadcasting the individual destination in the network. The server basically sent the DHCP OFFER for receiving the DHCP REQUEST.
Answer:
Algorithm for the above problem:
- Take a string from the user input.
- store the input string on any variable.
- Reverse the string and store it on the other variable.
- Compare both strings (character by character) using any loop.
- If all the character of the string matched then print that the "Input string is a palindrome".
- Otherwise, print "The inputted string is not a palindrome."
Output:
- If the user inputs "ababa", then it prints that the "Input string is palindrome"
- If the user inputs "ababaff", then it prints that the "Input string is not palindrome"
Explanation:
- The above-defined line is a set of an algorithm to check the number is palindrome or not.
- It is defined in English because the algorithm is a finite set of instructions written in any language used to solve the problem.
- The above algorithm takes input from the user, compare that string with its reverse and print palindrome, if the match is found.
No its measured in Hertz Hz