1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
frez [133]
3 years ago
14

Categorize the following relationships into generalization, aggregation, or association. Beware, there may be n-ary associations

in the list, so do not assume every relationship involving three or more classes is a generalization.
A. A country has a capital city.B. A dining philosopher uses a fork.C. A file is an ordinary file or a directory file.D. Files contain records.E. A polygon is composed of an ordered set of points.F. A drawing object is text, a geometrical object, or a group.
G. A person uses a computer language on a project.H. Modems and keyboards are input/output devices.I. Classes may have several attributes.J. A person plays for a team in a certain year.K. A route connects two cities.L. A student takes a course from a professor.
Computers and Technology
1 answer:
Oksana_A [137]3 years ago
5 0

Answer:

Answer explained below

Explanation:

a. A country has a capital city.------------ aggregation(city is part of country)

b. A dining philosopher uses a fork. ----------- association(philosopher and fork are different entities)

c. A file is an ordinary file or a directory file. ------- generalization( both ordinary and directory files are having attributes of files)

d. Files contain records.--------- aggregation( records are part of File)

e. A polygon is composed of an ordered set of points. ----------- aggregation( points are parts of polygon)

f. A drawing object is text, a geometrical object, or a group. --------- generalization( text and geometrical objects are drawing object)

g. A person uses a computer language on a project. -------- aggregation( person and computer language are part of project)

h. Modems and keyboards are input/output devices. -------- aggregation( Modems and keyboards both are I/O devices)

i. Classes may have several attributes.------- aggregation( attributes are part of classes)

j. A person plays for a team in a certain year. ----------- aggregation(player is part of team)

k. A route connects two cities. --------- aggregation( route consists of two cities)

l. A student takes a course from a professor. ----------- association( student and course are separate entities)

You might be interested in
A degree-constrained minimum spanning tree is a minimum spanning tree (MST) where the maximum vertex degree is limited to a cert
Bingel [31]

Answer:

A spanning tree is a subset of Graph G, which has all the vertices covered with minimum possible number of edges. Hence, a spanning tree does not have cycles and it cannot be disconnected..

By this definition, we can draw a conclusion that every connected and undirected Graph G has at least one spanning tree. A disconnected graph does not have any spanning tree, as it cannot be spanned to all its vertices.

Spanning Trees

We found three spanning trees off one complete graph. A complete undirected graph can have maximum nn-2 number of spanning trees, where n is the number of nodes. In the above addressed example, n is 3, hence 33−2 = 3 spanning trees are possible.

General Properties of Spanning Tree

We now understand that one graph can have more than one spanning tree. Following are a few properties of the spanning tree connected to graph G −

A connected graph G can have more than one spanning tree.

All possible spanning trees of graph G, have the same number of edges and vertices.

The spanning tree does not have any cycle (loops).

Removing one edge from the spanning tree will make the graph disconnected, i.e. the spanning tree is minimally connected.

Adding one edge to the spanning tree will create a circuit or loop, i.e. the spanning tree is maximally acyclic.

Explanation:

8 0
3 years ago
On what level has social media connected us to one another?
valentina_108 [34]
4) on a global level.
3 0
3 years ago
Write a program that asks the user how many names they have. (If they have a first name, two middle names, and a last name, for
tankabanditka [31]

Answer:

The solution is implemented in python:

numnames = int(input("Number of Names: "))

nametitle = ["Surname: ","Firstname: ","Middlename: ","Middlename 2: "]

names = []

for i in range(numnames):

   name = input(nametitle[i])

   names.append(name)

   

print("Your fullname is: ",end=" ")

for i in names:

   print(i,end=" ")

Explanation:

This prompts user for number of names

numnames = int(input("Number of Names: "))

This lists the name titles in a list

nametitle = ["Surname: ","Firstname: ","Middlename: ","Middlename 2: "]

This initializes an empty list

names = []

The following for loop get names from the user

<em>for i in range(numnames):</em>

<em>    name = input(nametitle[i])</em>

<em>    names.append(name)</em>

   

The following instructions print the user fullnames

<em>print("Your fullname is: ",end=" ")</em>

<em>for i in names:</em>

<em>    print(i,end=" ")</em>

5 0
2 years ago
Three of these simple machines are similar to one another. Choose the one that does not belong with this group. pulley, wheel an
mr_godi [17]

Answer:

wedge

Explanation:

the rest all move by pulling while the wedge needs to be hit

6 0
2 years ago
Gina was waiting for her friend at the airport. When she arrived, her friend could see the joy on Gina’s face. Which component o
Aneli [31]

Answer:

c

Explanation:

3 0
2 years ago
Other questions:
  • A network administrator has statically configured the LMI type on the interface of a Cisco router that is running Cisco IOS Rele
    7·1 answer
  • Which windows utility should you use to organize the files on your disk to improve efficiency?
    15·1 answer
  • . SQL is a(n) _____ language.
    8·1 answer
  • What key should i press to leave the cell as it orginally was
    9·1 answer
  • Which of the following is not a command for determining if MySQL is running on Linux (Ubuntu)?
    7·1 answer
  • Clickable text or image that takes you to a different site
    15·1 answer
  • Expectation on Information Technology Fundamental​
    12·1 answer
  • Cable Internet access can be described with which feature?
    5·2 answers
  • Mention any four features which a standard computer laboratory should have​
    8·2 answers
  • Question 2 of 10
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!