In a private university, students can enrol for at least 1 to a maximum of 5 subjects in a semester. Subjects that are to be offered in that particular semester will be assigned to a class. One class should have at least 5 students and up to a maximum of 40 students. Multiple classes for a subject can be created if the students number enrolled for the subject is large. A subject might not be offered on that semester depending on the needs. A lecturer can be assigned to zero and up to a maximum of 4 classes on that particular semester. Draw the class diagram to represent the above scenario. Each entity should have at least 1 attribute as its identity. Provide the relevant associations between these entities and include the multiplicities.
Q: . A technician takes X hours to visit the stores in a couple of streets in one shift, and when he…
A: As per the given conditions, the technician is able to take X hours to finish a shift. as of The…
Q: Polycarp can just settle one errand during the day. Consistently he recorded what task he tackled.…
A: Here have to determine about program of Polycarp tackled errands problem statement.
Q: A problem that was defined in the 13 century can be summarized as follows. A newborn pair of rabbits…
A: class rabbit { static double PHI = 1.6180339; static int f[] = {…
Q: You are organizing a conference that has received n submitted papers. Your goal is to get people to…
A: A concept of game theory where the optimal outcome of a game is one where no player has an incentive…
Q: We call the density of a task T, C/min(D, P), where C is the computation time, D is the relative…
A: When we say a system a schedulable ? A system is schedulable when an algorithm always produces a…
Q: In a lake, the population of a particular fish species is about 1 million. Fish reproduce by 20% of…
A: Solution,
Q: The cook must participate in the presence before each class, i.e. call out the names of the students…
A: The java code for the above problem is given below:
Q: An epidemic of a new strain of flu (i.e., one for which a vaccine is not avail- able) begins with a…
A: Step 1:- Program Approach:- 1.Declare the user-defined function whose name is calc(int x). This…
Q: Consider the following case study: "Springfield University offers a number of courses. A course…
A: The below is the Domain model for the given case study As I don't have any software to draw this, I…
Q: Write a form algorithm for the following problem with Condition 1 using Round Model, where a round…
A: Given Write a form algorithm for the following problem with Condition 1 using Round Model, where a…
Q: An Uni has n students who are regular competitive programmers. According to the ACM ICPC rules, each…
A: Code : #include<iostream> #include<algorithm> using namespace std; int main() { int…
Q: t for registration is group of four divisions has to be created from Accept total number of…
A: Note: Answering the question in python as no language is mentioned. Input : Input size of the…
Q: The cook must participate in the presence before each class, i.e. call out the names of the students…
A: The first line of the input contains a single integer T denoting the number of test cases. The…
Q: 2. A safe has 5 locks v, w, y and z; all of which must be unlocked for the safe to open. The keys to…
A: The number of locks given in the question is 5: v, w, x, y, and z. For unlocking these locks there…
Q: b) An airline cargo company has l aeroplane which it flies from Bangladesh to Canada on a daily…
A: Note: since programming language is not mentioned we are providing solution in python programming
Q: In a lake, the population of a particular fish species is about 1 million. Fish reproduce by 20% of…
A:
Q: Let's assume that you are a member of a sports team, and your team is participating in a tournament.…
A: We need to use a Template method, since there is a chance at each stage of the problem
Q: Question A washing machine works on the principle of Fuzzy System, the weight of clothes put inside…
A: Step-1: StartStep-2: Declare a variable weight and take input from userStep-3: if weight is eqaul to…
Q: ibrary must build shelving to shelve 200 4-inch high books, 150 8-inch high books, 300 10-inch high…
A: Lets see the solution.
Q: Suppose you have a set of proposed activities along with start time a; and finish time f; where 0 <…
A: We need to find maximum number of activities that can be performed by a single person.
Q: If the time taken by the worker is input through the keyboard, find the efficiency of the worker.
A: # include <iostream.h> void main() { str[] efficiency ; int hours; cout>>"Enter number…
Q: A ski rental agency has n pairs of skis, where the heigh are n skiers who wish to rent skis, where…
A: Greedy Approach: For the above problem, the optimal solution will be when both the arrays are…
Q: Suppose a business person launches new cinema at Islamabad and ask his team to develop a ticket…
A: /* Java program */ class CustomQueue { // variable which stores the capacity of queue…
Q: A paint company is trying to recycle unpopular paint colours by mixing them together to create…
A: MATLAB is a programming platform designed specifically for engineers and scientists to analyze and…
Q: It has been observed by management that some faculty member at the university demonstrates a…
A: Code: import java.util.*; public class Faculty { //below are the functions with…
Q: You are organizing a conference that has received n submitted papers. Your goal is to get people to…
A: A concept of game theory where the optimal outcome of a game is one where no player has an incentive…
Q: This mini project has two parts. Given coordinates of five points: A(x1, y1), B(x2, y2), C(x3, y3)…
A: As per policy we can answer only one question for answer of other please ask separately.
Q: You are organizing a conference that has received n submitted papers. Your goal is to get people to…
A: An individual can receive no incremental benefit from changing actions, under the assumption that…
Q: A large apple farm distributes their apples in boxes that they can source from any one of a number…
A: GIVEN: A list of possible capacities of boxes that holds apples. TO FIND: The size of a small batch…
Q: In WW2, allies have placed their mines on the ground which can be considered as a gird of size N*M.…
A: # cook your dish here mod=1000000007 def mmul(A,B): s=len(A) C=[[0 for i in range(s)]for j…
Q: (a) Suppose there are seven finals to be scheduled. Suppose that the following pairs of courses have…
A: This scheduling problem can be solved using a graph model with vertices representing courses and…
Q: e club on a day. b)Computer club wants to use on Monday or Thursday. c)Drama club wants on…
A: Q. Suppose you are trying to make a schedule for use of the auditorium for different clubs in a…
Q: A club with 20 women and 17 men needs to choose three different members to be president, vice…
A:
Q: A electricity bill service provider uses a program that computes the monthly bill of customers as…
A: Program Plan: Include standard header file and namespace Create a function calculateBill() if…
Q: Consider the doctor-patient problem. There is a Doctor's clinic which has one Doctor, one patient…
A:
Q: In a school, there are four teachers X1,X2, X3,X4 and five batches Y1,Y2,Y3,Y4,Y5. Given that…
A: The Answer is in step-2.
Q: Colonel Blotto and Count Baloney are opposing commanders in a battle. There are three locations…
A:
Q: Java
A: Here we are using java code
Q: It has been observed by management that some faculty member at the university demonstrates a…
A: The program is implemented in C++ with structured approach. The function absent() is overloaded four…
Q: The cook must participate in the presence before each class, i.e. call out the names of the students…
A: Step-1: StartStep-2: Declare variable testCase and take input from userStep-3: Start a loop till…
Q: In a lake, the population of a particular fish species is about 1 million. Fish reproduce by 20% of…
A: The answer is given below..
Q: It has been observed by management that some faculty member at the university demonstrates a…
A: Coded using Java.
Q: In a lake, the population of a particular fish species is about 1 million. Fish reproduce by 20% of…
A: Answer
Q: NOTE: Answer is required in Java Eclipse Suppose a business person launches new cinema at Islamabad…
A: The ask is to build a Cinema Ticket Window Management System using Java.
Q: For tax purpose an item may be depreciated over a period of several years. With the straight-line…
A: Actually, program is a executable software that runs on a computer.
Q: For Scheduled Job, we can preset a time or an action with this to run the scheduled job: Group of…
A: Answer in step2
Q: Consider the following design problem. A farmer is building a wire fence on his land. He has planted…
A: Algorithm: diff = no of ways when color of last two posts is different same = no of ways when…
Q: In a company, worker efficiency is determined on the basis of the time required for a worker to…
A: 1) Below is C Program to find worker efficiency on basis of time required for worker to complete a…
Q: After college, a group of students of a certain height planned to go to the movies. The cinema they…
A: In software engineering, merge sort is a productive, broadly useful, and correlation-based sorting…
Step by step
Solved in 2 steps with 1 images
- Every company having customers maintains customer accounts and supports a complete life cycle of the account from its creation until it is closed. There are differences in what are the stages (states) in the account's life cycle, and what are conditions or events causing account to change its state.For the user account to be created, it has to meet some initial requirements. For example, user id (used as a login name) must be unique, at least for the existing accounts. After account was created, it might need to be verified. Verification depends on the company and could include e-mail, phone, and/or address verification. If account was not verified during some predefined period of time, that account could be moved to the suspended accounts. New, active, or suspended accounts could be cancelled at any time by client's request. Note, the precondition for this usually includes payment of any outstanding balances, and might require some separate account state or substate to handle this…Assignment As an initiation into the study of ethics, carefully read each of the following scenarios. After reflection, come up with your own answer to each of the questions. Scenario 1 Alexis, a gifted high school student, wants to become a doctor. Because she comes from a poor family, she will need a scholarship in order to attend college. Some of her classes require students to do extra research projects in order to get an A. Her high school has a few older PCs, but there are always long lines of students waiting to use them during the school day. After school, she usually works at a part-time job to help support her family. One evening Alexis visits the library of a private college a few miles from her family's apartment, and she finds plenty of unused PCs connected to the Internet. She surreptitiously looks over the shoulder of another student to learn a valid login/password combination. Alexis returns to the library several times a week, and by using its PCs and printers she…A publishing company produces books on various subjects. The books are written by authors who specialize in one particular subject. The company employs editors who, not necessarily being specialists in a particular area, each take sole responsibility for editing one or more book publications. Every book require some items for publication. These items supplied by suppliers. One supplier can supply many items. Shop owner buys books from the publisher. Shop owner can buy many books but one book can be bought by one shop owner only. Books are uniquely identified by book ID. Propose EER diagram to this system?
- ABC is a pharmaceutical company that recruits volunteers for clinical trials on drugscurrently under development at the company. The company conducts multipleclinical trials concurrently. Each clinical trial is assigned a trial code together with description of theclinical trial, start date, end date, and the lead scientist. Each clinical trialinvolves at least one treatment, and each treatment belongs to only one trial.Treatment has its conduct date. When volunteers sign up for a treatment of a clinical trial, their contact detailsincluding full name, address, contact number, email address, as well as theirunique volunteer number are recorded. Each volunteer is involved in at leastone treatment, while each treatment is tested on at least 30 volunteers. In addition, medical details for each volunteer including weight, height, bloodtype, race, gender, and medical condition are also recorded separately. At each treatment each volunteer involves a specific drug of certain type,…ABC is a pharmaceutical company that recruits volunteers for clinical trials on drugscurrently under development at the company. The company conducts multipleclinical trials concurrently. Each clinical trial is assigned a trial code together with description of theclinical trial, start date, end date, and the lead scientist. Each clinical trialinvolves at least one treatment, and each treatment belongs to only one trial.Treatment has its conduct date. When volunteers sign up for a treatment of a clinical trial, their contact detailsincluding full name, address, contact number, email address, as well as theirunique volunteer number are recorded. Each volunteer is involved in at leastone treatment, while each treatment is tested on at least 30 volunteers. In addition, medical details for each volunteer including weight, height, bloodtype, race, gender, and medical condition are also recorded separately. At each treatment each volunteer involves a specific drug of certain type,…A company hires out tools and equipment to customers and requires a computerized system to record details of bookings. The customer appears at the reception desk and ask if there is an item available for immediate hire. When dealing with a booking or allocating an available item to a customer, the receptionist has to check whether the customer has previously hired equipment from the company or is a new customer. For a new customer, the receptionist has to enter the customer's details. Otherwise, the receptionist has to retrieve the existing customer's record and update any details if necessary. If the item is available then the customer can get it, otherwise, the receptionist might suggest other alternatives. If the alternative is accepted, then the receptionist allocates the tool and updated the customer record. Draw an activity diagram that models the data processing of hiring.
- The National Bank of Erehwon handles money and maintains bank accounts on behalf of clients. A client is a person who does business with the bank. A client may have any number of accounts, and an account may belong to multiple clients (e.g., spouses, business partners). The client record is used for identification and contact data. For each account, the bank maintains the current balance on hand. Clients are identified by a five digit number starting with 10001. Accounts are identified by a seven digit number starting with 1000001. When an account is first opened, its balance is set to zero. During the course of day-to-day business, Erehwon Bank applies transactions to accounts, including deposits, withdrawals, bill payments, and debit purchases or returns. For each transaction, the date and time, amount, and account are recorded, along with reference data applicable to that type of transaction: Deposits and withdrawals require the branch number to be recorded.…The National Bank of Erehwon handles money and maintains bank accounts on behalf of clients. A client is a person who does business with the bank. A client may have any number of accounts, and an account may belong to multiple clients (e.g., spouses, business partners). The client record is used for identification and contact data. For each account, the bank maintains the current balance on hand. Clients are identified by a five digit number starting with 10001. Accounts are identified by a seven digit number starting with 1000001. When an account is first opened, its balance is set to zero. During the course of day-to-day business, Erehwon Bank applies transactions to accounts, including deposits, withdrawals, bill payments, and debit purchases or returns. For each transaction, the date and time, amount, and account are recorded, along with reference data applicable to that type of transaction: Deposits and withdrawals require the branch number to be recorded.…The National Bank of Erehwon handles money and maintains bank accounts on behalf of clients. A client is a person who does business with the bank. A client may have any number of accounts, and an account may belong to multiple clients (e.g., spouses, business partners). The client record is used for identification and contact data. For each account, the bank maintains the current balance on hand. Clients are identified by a five digit number starting with 10001. Accounts are identified by a seven digit number starting with 1000001. When an account is first opened, its balance is set to zero. During the course of day-to-day business, Erehwon Bank applies transactions to accounts, including deposits, withdrawals, bill payments, and debit purchases or returns. For each transaction, the date and time, amount, and account are recorded, along with reference data applicable to that type of transaction: Deposits and withdrawals require the branch number to be recorded.…
- The National Bank of Erehwon handles money and maintains bank accounts on behalf of clients. A client is a person who does business with the bank. A client may have any number of accounts, and an account may belong to multiple clients (e.g., spouses, business partners). The client record is used for identification and contact data. For each account, the bank maintains the current balance on hand. Clients are identified by a five digit number starting with 10001. Accounts are identified by a seven digit number starting with 1000001. When an account is first opened, its balance is set to zero. During the course of day-to-day business, Erehwon Bank applies transactions to accounts, including deposits, withdrawals, bill payments, and debit purchases or returns. For each transaction, the date and time, amount, and account are recorded, along with reference data applicable to that type of transaction: Deposits and withdrawals require the branch number to be recorded.…The National Bank of Erehwon handles money and maintains bank accounts on behalf of clients. A client is a person who does business with the bank. A client may have any number of accounts, and an account may belong to multiple clients (e.g., spouses, business partners). The client record is used for identification and contact data. For each account, the bank maintains the current balance on hand. Clients are identified by a five digit number starting with 10001. Accounts are identified by a seven digit number starting with 1000001. When an account is first opened, its balance is set to zero. During the course of day-to-day business, Erehwon Bank applies transactions to accounts, including deposits, withdrawals, bill payments, and debit purchases or returns. For each transaction, the date and time, amount, and account are recorded, along with reference data applicable to that type of transaction: Deposits and withdrawals require the branch number to be recorded.…The National Bank of Erehwon handles money and maintains bank accounts on behalf of clients. A client is a person who does business with the bank. A client may have any number of accounts, and an account may belong to multiple clients (e.g., spouses, business partners). The client record is used for identification and contact data. For each account, the bank maintains the current balance on hand. Clients are identified by a five digit number starting with 10001. Accounts are identified by a seven digit number starting with 1000001. When an account is first opened, its balance is set to zero. During the course of day-to-day business, Erehwon Bank applies transactions to accounts, including deposits, withdrawals, bill payments, and debit purchases or returns. For each transaction, the date and time, amount, and account are recorded, along with reference data applicable to that type of transaction: Deposits and withdrawals require the branch number to be recorded.…