Answer:
The correct answer to the following question will be "Entity relationship".
Explanation:
- A relationship model for describes interlinked interests in a particular field of knowledge.
- A ER model consists of the types of entities that classify matters of interest and specify relationships around entities that may be instances.
- A relationship model of entity is a visual representation of entities and their relationships, usually used for data organization in databases or data systems in the form of a computer model or even as an entity interaction diagram.
Therefore, "Entity-relationship" is the right answer.
Search engine is a software to help find you results over the internet.
Examples of search engines are: Google, Safari, Yahoo etc.
Answer:
Complete design is attached below.please have a look.
Explanation:
Answer:
import random
def buildArray(a, b):
for i in range(b):
random_num = random.randint(10, 99)
a.append(random_num)
return a
def sumArray(arr):
total = 0
for e in arr:
total += e
return total
values = int(input("How many values to add to the array: "))
array = []
print(buildArray(array, values))
print("Total: " + str(sumArray(array)))
Explanation:
*Added parts are highlighted.
Create a method called sumArray that takes one parameter, arr
Initialize total as 0
Create a for loop iterates through arr
Add each value in the arr to the total
When the loop is done, return the total
After you build your array, call your method, sumArray, pass the created array as parameter and print the total