Probes and Drones
Hope this helps and please give brainliest!
A computer uses unallocated space also know as free space to keep a file that has been deleted in its disk until a new file takes it spot and overwrites it.
Answer:
Information
Explanation:
Project managers used to be common only in the field of information technology.
Answer:
Here is the JavaScript program:
function Palindrome(word) {
return word == word.toLowerCase().split("").reverse().join("") ? true : false; }
inputWord = prompt("Enter a word to check its if its palindrome or not?");
alert(Palindrome(inputWord));
Explanation:
The function Palindrome takes a word as argument.
return word == word.toLowerCase().split("").reverse().join("") ? true : false; }
This statement first converts the word, which is a string to lower case letters using toLowerCase() method. Next split() method splits the word string into an array of strings, then reverse() method reverses the this array and join() method joins all the elements of the array back to the string. At last the conditional statement checks if the resultant string (reverse of word) is equal to the original word (that was input by user). If both the word and its reverse are equal/same then the program outputs true otherwise returns false.
inputWord = prompt("Enter a word to check its if its palindrome or not?"); statement uses prompt command to take input from the user. inputWord holds the word that user enters.
alert(Palindrome(inputWord)); statement calls Palindrome() method by passing the inputWord (word entered by user) to check if the input word is a palindrome or not. alert() method displays an alert box ( a message) with true if the inputWord is a palindrome otherwise it displays false.