Software has to be reliable so that it does not create conflict or negative feelings amongst those who use it.
In this world where humans increasingly rely on the internet and software for information, programmers have to take special care so as to ensure that the members of the society are not affected negatively.
For instance, there have been moments when software led to negative effects such as:
- when Goøgle's algorithm tagged a black couple as gorillas
- Facebøok's algorithm tagged black men as gorillas
- Goøgle maps gave people the wrong directions
These are but a few instances where algorithms have messed up.
We can therefore conclude that it is important that programmers take extra care when designing programs so that they do not lead to negative feelings.
<em>Find out more at brainly.com/question/21328677.</em>
Answer and Explanation:
Using Javascript:
Class Dog{
var healthScores=[];
Constructor(name, age, ...healthScores) {this.name=name;
this.age=age;
this.healthsScores=healthScores;
}
checkObject(new Dog){
If(new Dog.name===this.name,new Dog.age===this.age, new Dog.healthScores===this.healthScores){return true;
}
else{
console.log("objects are not equal");
}
}
}
To call the method checkObject:
var Tesa = new Dog(Tes,1,[45,46,82]);
var Bingo = new Dog(bing,2,[43,46,82]);
Bingo.checkObject(Tesa);
Note: we have used ES6(latest version of Javascript) where we passed the healthScore parameter(which is an array) to our constructor using the spread operator.
Answer:
function fibonacci(n):
if n is equal to 1 or n is equal to 2:
return 1
else:
return fibonacci(n-1) + fibonacci(n-2)
end of the function
Input the n
Print fibonacci(n)
Explanation:
* The above algorithm (pseudocode) is written considering Python.
Create a function called fibonacci that takes one parameter, n
If n is equal to 1 or 2, return 1 (When n is 1 or 2, the fibonacci numbers are 1)
Otherwise, return the sum of the two previous numbers (When n is not 1 or 2, the fibonacci number is equal to sum of the two previous numbers)
Ask the user for n
Call the function, pass n as a parameter and print the result
An entity is said to be existence -dependent if it can exist in the database only when it is associated with another related entity occurrence.
<h3>What is a database ?</h3>
A database in computing is a structured collection of data that is electronically accessible and stored. Large databases are housed on computer clusters or cloud storage, whilst small databases can be stored on a file system. Data modeling, effective data representation and storage, query languages, security and privacy of sensitive data, and distributed computing challenges, such as providing concurrent access and fault tolerance, are all part of the design of databases.
In order to collect and process data, a database management system (DBMS) communicates with applications, end users, and the database itself. The primary tools offered to manage the database are also included in the DBMS software.
To learn more about database from the given link:
brainly.com/question/518894
#SPJ4