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
Alexeev081 [22]
4 years ago
12

Design a database to keep data about college students, their academic advisors, the clubs they belong to, the moderators of the

clubs, and the activities that the clubs sponsor. Assume each student is assigned to one academic advisor, but an advisor counsels many students. Advisors do not have to be faculty members. Each student can belong to any number of clubs, and the clubs can sponsor any number of activities. The club must have some student members in order to exist. Each activity is sponsored by exactly one club, but there might be several activities scheduled for one day. Each club has one moderator, who might or might not be a faculty member. Draw a complete E-R diagram for this Database.
(a) All entities with their attributes must be represented, indicating all candidate keys. You must indicate and justify all assumptions you have made.

(b) Describe non-trivial domains for attributes where needed.

(c) Make a decision about the cardinality and participation constraints of all relationships, and add appropriate symbols to the E-R diagram.

Computers and Technology
2 answers:
alekssr [168]4 years ago
8 0

Answer:

Complete design is attached below.please have a look.

Explanation:

dimaraw [331]4 years ago
4 0

Answer:

This is a typical example of a constraint max/min. The method used to solve this problem is called

the method of Lagrange multipliers. Let’s generalize the situation:

Given: A function: f(x, y, z) and a constraint that we can write as g(x, y, z) = 0.

Goal: Find min or max of f(x, y, z) for (x, y, z) satisfying g(x, y, z) = 0.

To have a “visual grasp” for the concept of Lagrange multipliers one can think about the following

problem:

Take a balloon (here approximated by a perfect sphere centered at the origin) and a box (think of

a cube for example). We want to find the maximum radius of the balloon (this is the function to

maximize) that can fit inside the box (this is the constraint). We start inflating the balloon and we

realize that the maximum radius is obtained when the balloon touches the box. At the touching

point(s) the surface of the balloon and the one of the box are tangent to each other!

This simple experiment is not a special case. In fact in general1

if P0 = (x0, y0, z0) is a point sitting

on the level surface given by the constraint where max/min for f occur, then at this point the level

surface of the constraint is tangent to the level surface of f passing through P0:

If the two surfaces are tangent, then all normal vectors to the two surfaces are parallel to each other.

In particular their gradients at P0 are parallel, that is

O~ f(P0) = λO~ g(P0) (3.1)

for some parameter λ. This parameter is called the Lagrange multiplier.

We discovered that the max/min points for a function f(x, y, z) constraint by g(x, y, z) = 0 are

found among the solutions (x, y, z, λ) for the system

O~ f(x, y, z) − λO~ g(x, y, z) = 0

g(x, y, z) = 0.

Notice that this system contains four equations and four unknowns:

∂

∂x

f(x, y, z) − λ

∂

∂x

g(x, y, z) = 0

∂

∂y

f(x, y, z) − λ

∂

∂y

g(x, y, z) = 0

∂

∂z

f(x, y, z) − λ

∂

∂z

g(x, y, z) = 0

g(x, y, z) = 0.

(3.2)

but in general it is not a linear system!

One can present the method of Lagrange Multipliers in a more efficient (but less illuminating) way.

Define in fact the new function

L(x, y, z, λ) = f(x, y, z) − λg(x, y, z).

The critical points of L solve the vector equation

O~ L(x, y, z, λ) = 0.

But remember that now the variables are (x, y, z, λ) so we need to take four partial derivatives for

L. If one does so then again (3.2) is obtained!

You might be interested in
The gene form of a trait is called a(n) ​
Rom4ik [11]

Answer:

alleles

Explanation:

7 0
4 years ago
Which of the following will display a string whose address is in the dx register: a.
worty [1.4K]

Answer:

a)

Explanation:

Function 9 of interrupt 21h is display string.

8 0
3 years ago
How the (i)?? Help me to slove this
cupoosta [38]

Answer:

#include <fstream>

 ifstream inFile("bookBorrower.txt");

 ofstream outFiles ("overPayment.txt");

Explanation:

fstream has ifstream and ofstream for input and output, respectively.

4 0
2 years ago
Program C++ I need help!
nikitadnepr [17]

Answer:#include <iostream>

using namespace std;

int main()

{

   int factorial = 1;

   for (int i = 5; i > 0; i--) {

       factorial = factorial * i;

   }

   cout<<factorial;

   return 0;

}

Explanation:

3 0
3 years ago
Joe wants to use pictures from the internet in a word processing program which is the most important aspect that Joel should con
MrRa [10]
I would say B-copyright.
6 0
4 years ago
Read 2 more answers
Other questions:
  • The ____ is designed to placeshift multimedia content; that is, to allow individuals to view their multimedia content at a more
    7·1 answer
  • Suppose in a class of 100 students, there is a homework due every week. The professor wants to encourage students to hand in the
    8·1 answer
  • What can you search on Microsoft Word or Powerpoint Clipart or Google (Clip art) to find more pictures like the ones below but w
    7·1 answer
  • Two technicians are discussing fully charged battery voltage readings. technician a says that it should read approximately 12.6v
    8·1 answer
  • Should i change my profile pic<br> dont delete
    15·2 answers
  • A _ fire extinguisher should be used on a computer fire
    15·1 answer
  • Match the file extensions to the file types. Some file types may be used more than once.
    11·1 answer
  • Using a process known as ____, network-based IDPSs look for attack patterns by comparing measured activity to known signatures i
    7·1 answer
  • Your friend gave you a flash drive containing photos from a weekend event. After you copy the files, you notice a bunch of .DS f
    6·1 answer
  • Suppose the following groups are defined to shorten a system’s access control lists: – Group1: Alice, Bob, Cynthia, David, Eve –
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!