Imagine that the final exams for five courses need to be sched- uled, and only two time slots are available. There are plenty of classrooms, but no student can take two exams simultaneously. The classlists for the five course are • Classlist for course 1: c1 = {Akiko,Erin,Sandy} {Carl, Dan, Wilma} • Classlist for course 2: c2 = • Classlist for course 3: c3 = {Akiko,Bart,Terry} • Classlist for course 4: c4 = {Erin, Dan, Val} • Classlist for course 5: c5 ={Carl, Bart,José}
Q: Write a program to simulate the following figure to design a base class Employee (name, address,…
A: As no programming language is mentioned, it is solved using basic C++
Q: QUESTION 3 How do you model the following situation with a UML class diagram: There are multiple…
A:
Q: onsider the following Scenario, there are 40 students in your cl
A: Summary: -We got the output
Q: Consider
A: #include <iostream>using namespace std;class Person{protected: // attributes of Person…
Q: a. Can a faculty member work in more than one department at the same time? Explain. b. Can a…
A: a. Can a faculty member work in more than one department at the same time? Explain. Using minimum…
Q: Consider an online company project management system in which users can access and share documents…
A: - We need to select the correct meaning of inheritance. - The options :: First option states it…
Q: Consider a scenario of banking app, which provides various services to its customers like make…
A:
Q: While mapping an object model to a relational database, we have two options for realizing…
A: With vertical mapping, each class has its own table containing only its fields. it is used when…
Q: By using Creately tool, draw the class diagram corresponding to the following scenario: • Each…
A: Class diagram is a static diagram. It represents the static view of an utility. class diagram isn't…
Q: Q1. Consider the MyReader class as given below. Identify any two problems (Problem 1, Problem 2) in…
A: In Class diagram, class representation consists of class name, attributes and methods
Q: Based on UML diagram, write a full program to implement the relationship of the classes. The program…
A: Note: This code should be rewritten instead of copying to the compiler otherwise it will throw a…
Q: Consider a Person class (which keeps track of a Person’s name) and a Student class (which keeps…
A: OOP or Object-Oriented Programming is a software model that is designed around data or objects…
Q: Q4. Apply the dynamic programming which studies in the class to make change for an amount N=10 using…
A: Please upvote. I am providing the correct answer below. This problem is a variation of the…
Q: Draw a class diagram to represent the following scenario. • A hospital receives a number of patients…
A: The Answer is in Below Steps
Q: Execute the following JAVA code in Netbeans and design a UML class diagram modelling your program.…
A: The program comprises of 2 enums CarType and Location. Car is an abstract class, having 2 instance…
Q: onsider the scenario of a Pharmacy Management System. The following UML Class diagram shows a…
A: Note: Since you have not provided the language to write the code, I am using Java language to write…
Q: Employee, Department, and Manager classes for a human resources system. List some states and…
A: Relationship: The relationship between Employee and Department class is "Association" which implies…
Q: GMS is a gymnasium management system that helps any gym receptionist or help desk staff to manage…
A: Class relationship diagram using UML
Q: Information system Question 2: Suppose you have the following scenario: People who use the Palm…
A: Given : Suppose you have the following scenario: People who use the Palm Tree System are either…
Q: The following is a list of requirements for an inventory system that will be used by a manufacturing…
A: Answer is given below .
Q: cturer would put together to produce a whole car. Create a class diagram that models some of the…
A: Below is the required C++ program. Program Approach: Define a class name as Car. Inside the car…
Q: DESCRIPTIONS OF PROBLEM: Define a superclass Person and class Date based on the UML diagram given…
A: UML stands for Unified Modeling Language and it is used to model the Software into different models…
Q: Task 1: Design a Class Author as shown in the diagram: Singer FirstName: String MiddleName: String…
A: Please find the code below for both:
Q: A detailed UML diagram about (1)student registration, (2)library/bookstore, and (3)Online Game that…
A: As per the guidelines, we have answered the first part of the given question with student…
Q: The following UML diagram is provided for a Student object: Uml instructions Student -name:string…
A: Student class UML class diagram: The Student and testStudents are two java files. The Student class…
Q: ate setter() , getter() for the data members. Then create has a relation (Aggregation) between…
A: Write a java program in which Create a class Address which has its own information such as city,…
Q: Suppose now that the university is going to extend their system by creating two derived classes…
A: HERE student is base class AND GradStudent and Ugstudent are child of base class student. A derided…
Q: Write a program to simulate the following figure to design a base class Employee (name, address,…
A: For private field name, as we are not setting it through constructor, we must have setter and getter…
Q: create a uml class diagram on this code: from abc import ABC, abstractmethod class…
A: ABC implementation is not given and thus just class implementation is shown
Q: How do you model the following situation with a UML2 class diagram: A doctor treats multiple…
A: The answer is
Q: For this project, you will implement an email client-server simulator using the object-oriented…
A: //Message.javaimport java.util.Calendar;import java.util.Date;public class Message{ private String…
Q: Make a UML Class Diagram based on the following scenario: As a Software Analyst in Techno Bhd., you…
A: Please find the UML class diagram below: The diamond symbol is the aggregation symbol. The diagram…
Q: Define a class based on the UML class diagram according to your NSU ID. Choose NewDate if your…
A: Solution : package javaapplication; import java.util.calendar; import java.util.Date; import…
Q: Q.1 For this question, write a complete UML class diagram for the class described below. Use a line…
A: Solution:: (1)UML Diagram Land ---------------------------------------------…
Q: Consider the following details of all classes for class hierarchy shown in the Figure. ClassCar has…
A: EXPLANATION Below is the program for the given question. Hope you understand it well. If you have…
Q: The Logistic (sigmoid) function in the range [0, 1] returns a value of 0.499 for a given X input…
A: Introduction: In linear regression, the logistic function is a type of sigmoid, a class of functions…
Q: Consider the following situation: A trip might comprise of multiple tours, a tour can be included in…
A: A composition association relationship represents a whole–part relationship and is a form of…
Q: You will create Cart class as a context class to get total price and add product. ◦ To implement…
A: The program has three classes. One is Cart with attributes get total price and products. Second is…
Q: Page:Z/3 Q2. (b) Consider the the class diagram shown below. What are the good/bad choices made…
A: Bad choices: Relationship between publication and library is aggregation which is not good…
Q: Consider an example of declaring the examination result. Design three classes: Student, Exam and…
A: Given: Consider an example of declaring the examination result. Design three classes:Student, Exam…
Q: *.. 1: Given the following UML diagram. Answer the following questions Gradeskeport - studentID: int…
A: Algorithm: Start Create a class named GradesReport with studentID, studentName, academicYear,…
Q: Consider the class hierarchy shown in this figure: Employee Hourly Based Employee Salary Based…
A: Inheritance allows a class to inherit all the methods and properties from another class. The class…
Q: Based on UML diagram, write a full program to implement the concept of aggregation classes. The…
A: Source code to implement aggregation classes: #include <iostream>#include <string>using…
Q: Given main(), define a course base class with methods to set and get the courseNumber and…
A: Here I have deinfed the class Course. Inside the class I have created 2 variables of type String.…
Q: Write a small note on the following with one programming example of each: a) Virtual Destructor (Max…
A: Virtual Destructor: Object pointers for base class objects can contain the addresses of derived…
Q: Given the base class Instrument, define a derived class StringInstrument for string instruments.…
A: Program: Programs contain a set of instructions in order to solve a complex problem. The main…
Q: Consider six classes i.e. Person, Department, Laboratory, and University having following…
A: public class University{ //declaring all the members public String universityName; public…
Q: Consider online shopping system where customer is able to see all the products provided by different…
A: 1) Class Diagram In this diagram there are 6 classes. 1. Customer class 2. Business class 3. Home…
Q: A. Please draw a class diagram for the following classes and relationships We have classes:…
A: Below is the required UML class diagram: - Explanation: - This symbol shows composition, means an…
Q: actor (MIF), and the Polymorphism Factor (PF) for the software system whose design model is shown in…
A: It is defined as an abstraction of the software development process. The models specify the stages…
Step by step
Solved in 2 steps with 1 images
- Create a class diagram for the Indiana University library.The Indiana University library has books, journals, and the daily newspaper. These are the things from the library. Every piece of library material is labeled with an id number and a title. Only books are available for loan to Indiana University students and faculty members, out of the whole collection. Staff members can borrow periodicals to use for their research projects. IU users (staff and students) who wish to borrow books must have their ID cards scanned by the librarian, who must then keep track of the borrower's ID, the loan date, and when the book is due back. The library keeps track of the names, ID numbers, and phone numbers of its patrons. Every user is issued a library card. Create a class diagram based on the information provided above. Please make sure that you display traits, multiplicities, and relationships when applicable.In this question, you will consider the development of a Virtual Learning Environment (VLE)through which students manage their studies. They can watch videos, attend onlinewebinars, access forums etc. a)You are given the following requirement:“Students can select a module from a list, if they have been registered to the selectedmodule, they can see the contents.”Write out a step-by-step process for the VLE described above that a tester can use totest this requirement. b) For the VLE system, we want to ask some users to answer a questionnaire to dousability testing. Design two questions to cover effectiveness, two questions to coverefficiency and two questions to cover satisfaction. c) Write TWO requirements for the VLE, using the EARS syntax.In a university there are different classrooms, offices and departments. A department has a name and it contains many offices. A person working at the university has a unique ID and can be a professor or an employee. "A professor can be a full, associate or assistant professor and he/she is enrolled in one department. •Offices and classrooms have a number ID, and a classroom has a number of seats. • Every employee works in an office. 1. Draw the class diagram for the scenario above
- 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,…SUNSHINE AIRLINE COMPANY The ER Diagram for the SUNSHINE AIRLINE COMPANY is based on the following: - For each airplane type, we keep track of a unique airplane type ID (AirplaneTypelD), number of engines (NoOfEngines), and number of seats (NoOfSeats). - For each airport, we keep track of a unique airport ID (AirportID), and the length of the main runway (LengthOfRunway). - Each airplane type is able to land at one airport at least, but may be able to land at many airports. Each airport accommodates landing of at least one airplane type, but may accommodate landing of more airplane types. SUNSHINE AIRLINE COMANY (ERD) XXX YYY zzz PPP AAA Relationship BBB Symbol1 Symbol2 In the ER Diagram for the SUNSHINE AIRLINE COMPANY, which word should replace gg? O LengthOfRunway O NoOfEngines O AirplaneTypelD O AirportID O NoOfSeats
- SCENARIO A manufacturing company produce equipment and sell them. The company needs a system to manage stock operations. It is explained below. Equipments are manufactured by using parts. Name, manufacturing date, current status of manufacturing must be known. Some of the equipments must be tested. We want to define all parts with their name, description and type. Only the defined parts can be bought. Once parts are bought, they are located into shelves in warehouses. Each physical part uniquely identified with number. We want to know when each part is bought. Each bought part may have different warranty period. We have to use the bought part in manufacturing by taking this into account. Warehouses are located in different part of the company. Size, type of the warehouses may be different. Equipments are manufactured for customers. It is needed to know the equipments of customers. Some of the customers pay the transportation cost. Name, address, tax number type of the customer will…An airline can reconfigure the seating in an aircraft to respond to demand and to maximise revenue. The seating is arranged in rows and can be configured in different classes which have more or fewer seats per row and more or less separation between the rows. Each row consists of identical seating. The table below shows the four options. The Row separation includes the size of the seat itself and measures from the rear of the seat to the rear of the seat in front of it, or the front bulkhead. All measurements are in metres. Class No. of Seats Row separation Revenue per Seat Minimum Rows Maximum Rows First 4 1.98m £9,541 0 3 Business 8 1.93m £6,133 3 20 Premium Economy 10 0.86m £692 2 41 Economy 10 0.78m £404 5 48 The aircraft the company uses have 45 metres of available space and a legal limit of 374 passenger seats. One possible valid configuration is: 12 first class seats (taking up 3 rows and 5.94 metres) 56 business class seats (taking up 7 rows and 13.51 metres)…An airline can reconfigure the seating in an aircraft to respond to demand and to maximise revenue. The seating is arranged in rows and can be configured in different classes which have more or fewer seats per row and more or less separation between the rows. Each row consists of identical seating. The table below shows the four options. The Row separation includes the size of the seat itself and measures from the rear of the seat to the rear of the seat in front of it, or the front bulkhead. All measurements are in metres. Class No. of Seats Row separation Revenue per Seat Minimum Rows Maximum Rows First 4 1.98m £9,541 0 3 Business 8 1.93m £6,133 3 20 Premium Economy 10 0.86m £692 2 41 Economy 10 0.78m £404 5 48 The aircraft the company uses have 45 metres of available space and a legal limit of 374 passenger seats. One possible valid configuration is: 12 first class seats (taking up 3 rows and 5.94 metres) 56 business class seats (taking up 7 rows and 13.51 metres)…
- You are to create a solution for a Pharmaceutical company. Entities to be represented are: Drugs, Sales Representatives, Bills and Vouchers. • A Drug is characterized by its name (string), its price (int) and its manufacturer (a manufacturer ===> composition). A Manufacturer is characterized by his name (string) and the list of drugs they sell (array of drugs) => composition. • A Sales Representative (sometimes referred to as rep) is characterized by his/her name(string), the total amount sold (double), his/her salary (int). o Sales Representatives can be of two types (inheritance): Reps with a fixed income and a commission Reps with a commission only A Voucher is characterized by its number (int), a client name (a customer), and the quantity sold of each drug. All reps and vouchers and bills are payable. As such, students need to implement an interface called Payable and implement it in the aforementioned classes. 1. You need then to create GUI interfaces where the user can manage all…Tyger Valley Pet Shelter (TVPS) receives food donations from a group of pet food manufacturers. TPS relies on each manufacturing company for a particular need. For example, Veggie Land supplies all the vegetables and Premier Seed Suppliers supplies all the seeds. The different food types are allocated to the animals according to their category. For example, food type 'seeds' is allocated to category 'Birds', while food type 'vegetables' is allocated to the categories 'Mammals' and 'Birds'. Each animal category is subdivided into different pet types. For example, the mammal record could relate to pet types 'Dog' and 'Cat'. TPS has recruited you to be their database designer. The database will store information on their suppliers, food types, animal categories and pet types: Record a unique ID, company name, contact number and possibly an e-mail address for each manufacturer. When recording information about the different food types, ensure that the expiry date is also stored. When…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…