Answer:
import java.util.Scanner;
public class num10 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter a word");
String word = in.nextLine();
String reversed = "";
//Get the length of the string entered
int length = word.length();
//Loop through the string and reverse th string
for ( int i = length - 1; i >= 0; i-- )
reversed = reversed + word.charAt(i);
//Compare the two strings "word" and "reversed"
if (word.equals(reversed))
System.out.println(word+" is a palindrome");
else
System.out.println(word+" is not a palindrome");
}
}
Explanation:
Since we know that a palindrome word is a word that reads the same forward and backward, The Idea here is:
- To obtain a word from a user.
- Use a for loop to reverse the word and store in another variable
- Use if....else to compare the two strings and determine if they are equal, if they are equal then the word is palindrome.
Answer:
A) "Identify, document, collect evidence and report to the client or the employer promptly if, in their opinion, a project is likely to fail, to prove too expensive, to violate intellectual property law, or otherwise to be problematic."
B) "Ensure that there is a fair agreement concerning ownership of any software, processes, research, writing, or other intellectual property to which a software engineer has contributed."
C) "Not knowingly use software that is obtained or retained either illegally or unethically."
Explanation:
All the above are connected to intellectual stuff and hereafter are the right possibilities. One requires to comprehend the definition of intellectual property. In fact, it is a software, a piece of script, art, etc. that a knowledgeable make using his intelligence. All the rights related to such is with the intellect. And that is why the above three choices is right.
The fourth choice has nonentity to do with intellectual stuff, and it deals with the skirmish of interest. And henceforth that is not a correct option.
I guess the solution to that problem is that you should expand your USB ports, in order for you to do that is the best solution is you should buy a USB hub so that the number of USB ports will expand, and then plug your USB hub to one of your computer's USB port. After plugging the USB hub, you can now plug your USB mouse, USB keyboard and USB printer to the ports of your USB hub.
Answer:
RAM provides much faster accessing speed to data than secondary memory. By loading software programs and required files into primary memory(RAM), computer can process data much more quickly. Secondary Memory is slower in data accessing. Typically primary memory is six times faster than the secondary memory.