Answer:
Explanation:
The following program creates a function called region_Matches that takes in two strings as arguments as well as an int for starting point and an int for amount of characters to compare. Then it compares those characters in each of the words. If they match (ignoring case) then the function outputs True, else it ouputs False. The test cases compare the words "moving" and "loving", the first test case compares the words starting at point 0 which outputs false because m and l are different. Test case 2 ouputs True since it starts at point 1 which is o and o.
class Brainly {
public static void main(String[] args) {
String word1 = "moving";
String word2 = "loving";
boolean result = region_Matches(word1, word2, 0, 4);
boolean result2 = region_Matches(word1, word2, 1, 4);
System.out.println(result);
System.out.println(result2);
}
public static boolean region_Matches(String word1, String word2, int start, int numberOfChars) {
boolean same = true;
for (int x = 0; x < numberOfChars; x++) {
if (Character.toLowerCase(word1.charAt(start + x)) == Character.toLowerCase(word2.charAt(start + x))) {
continue;
} else {
same = false;
break;
}
}
return same;
}
}
Answer: Accenture is developing a tool to help businesses detect gender, racial and ethnic bias in artificial intelligence software. 5 It lets users define the data fields they consider sensitive—such as race, gender or age—and then see the extent to which these factors are correlated with other data fields.
Explanation:
Note that in the above case, if a person save the input as num,
this will print the input 9 times.
<h3>How do you go about this code?</h3>
Therefore, since there is 9 times:
So
num = input("Enter a number: ")
print(num * 9)
If a person actually want to do a real math calculations, then one need to input needs to be inside the number.
num = float(input("Enter a number: "))
print(num * 9)
This is one that do not bring about any errors where the user do not input a number.
Learn more about coding from
brainly.com/question/23275071
#SPJ1
Answer:
I dont believe learning computers is a skill but I believe learning it as a passion.
Explanation:
Here's your answer..
Some common computer skills include:
Analytics
Social Media
Graphic Design
Microsoft Office
Spreadsheets
Email Communication
Marketing Automation
Data Visualization
Hope it helps
Pls mark brainliest
Answer:
A hacktivist is someone who <em>hacks computers or Web sites in an attempt to promote a political ideology</em>
Explanation:
Computer hacking is the process in which attacker or outsiders try to access the data of the company or some personnel data to damage the reputation.
Now a days, computer hacking in terms of politics is also adopted by different attackers to damage the reputation of some politician. <em>This type of hacker are called hacktivist.</em>