his dream workplace with N-1 of his friends! Like any dream workplace, this a ons. To ensure absolute happiness of the employees, there are the following er works on exactly one day! You heard it right: no more, no less. ay, at most one worker may work. This provides the perfect work conditions: nd you. ker has a deadline; let's denote the deadline of the i-th worker by di. (This mea ich the i-th worker works must not be later than day di: the days are numbere
Q: In the project X if the cost is equal to 5000 $ if you know that the income of the project per year…
A: I have provided the answer with proper explanation in step 2.
Q: 3) There are n software engineers who are compatible with m developing teams. E.g SE; is compatible…
A: Team collaboration is very important in software development.
Q: (a) Assume that five generation units with third order cost function (F, (P)- A; P+ B;P+C; P; + D;)…
A: Note: Answering the question in python. Input : Value of i range Value of A , B and C, and D…
Q: Max and Min are the only two delivery men of Domino's Pizza. Assume the particular store received N…
A: According to the above listed problem statement we have to develop a python program that find out…
Q: (a) Consider 6 jobs having the processing times p, the due-dates d and the weights w of the jobs…
A: The total weighted completion time, the maximum lateness and the total weighted tardiness is given…
Q: 16. For certain claims A and B, Joe Palooka believes that P(A)= 0.3 and P(A V B)= 0.7. Choose the…
A: P(A) = 0.3 so P(~A) = 0.7 P(A or B) = P(A) + P(B) - P (A and B) = 0.7 => 0.3 + P(B) -0.7 = P(A…
Q: An Integer knapsack problem with 6 items is provided to you, you need to find the maximum benefit…
A: Given a Knap sack problem, It contains 6 items and each contains it's own weight and profit. The…
Q: The UWA local in Norwood, Ohio, has proposed wage concessions at that plant to raise employment.…
A:
Q: In order to separate patients who are likely infected with the novel Corona Virus (Convid19) from…
A: Required: In order to separate patients who are likely infected with the novel Corona Virus…
Q: Which of the following statements are true given A* (admissibility and consistency of heuristics ] ?…
A: Which of the following statements are true given A* (admissibility and consistency of heuristics ] ?…
Q: c. Maria decides to lower the iron requirement to 65 mg since she determines that the other…
A: Linear programming model is a technique to achieve the best result in a mathematical problem wherein…
Q: The motorway management perceives that the waiting time computed in (a) above is not acceptable and…
A: Answer is given below .
Q: The employee gets a 5% bonus if his sales exceed the The employee receives a commisnion of 8% of the…
A: Ans:- 600000
Q: Exercise 1 Santa is worried about his employee relations, since christmas preparations have led to a…
A: Answer: I have given answered in the handwritten format in brief explanation.
Q: Santa is worried about his employee relations, since christmas preparations have led to a lot of…
A: Actually, algorithm is an step by step process.
Q: Given the following set of tasks and their associated profits and deadlines, what is the most…
A: Introduction :Given , the table for task , profit and deadline .We have to maximize the profit.
Q: Consider the following set of tasks with their associated profits and deadlines, provided that 2…
A: Introduction :Given , A table of tasks with their corresponding profit and deadlinesWe have to…
Q: The employee gets a 5% bonus if his sales exceed the The employee receives a commission of 8% of the…
A: The answer is given below
Q: A group of firends Anna (A), Bjorn (B), Candice (C), David (D) and Ellen (E) want to enter a…
A: given data A group of firends Anna (A), Bjorn (B), Candice (C), David (D) and Ellen (E) want to…
Q: Q2.a. Employees of KB and SONS Consultants Limited are paid at an hourly basics of 25GHS per an hour…
A: Note: since you have not mention about programming language we have provided solution in c++ .…
Q: Q 2 A factory has different categories of machines such as lathe machines, turning machines,…
A:
Q: 3. Get the optimal rote by dynamic programming.
A: Dynamic programming algorithm to find the shortest path between the source to destination is Bellman…
Q: Consider the classical assignment problem: n jobs should be assigned to 12 people, one job per…
A: Solution to task Assignment Problem : Person 'a' do Job2: 3 Person 'b' do Job1: 6 Person 'c' do…
Q: Use Hungarian Method of optimization Given the following table of Operators (O) and corresponding…
A: The answer for the given question is as follows.
Q: t has been observed by management that some faculty members at the university demonstrate a…
A: Given: It has been observed by management that some faculty members at theuniversity demonstrate a…
Q: (true or false) Indicate for cach of the following three statements whether it is true or false.…
A: (a) For each direct programming issue we have a "dual" straight programming issue. Though in the…
Q: If an employee is paid hourly, he is paid a fixed amount for every hour of work. So, if he gets paid…
A: Answer in step2
Q: Which of the following is the size of the state space? Ο ΜΝ Ο ΜΝΤ Ο ΜΝB Ο ΜΝΤB O (MN)B+1 O 2MN MN O…
A: solution 8.2) The state space can be addressed utilizing the option C which is only a combination…
Q: It has been observed by management that some faculty member at the university demonstratesa…
A: CODE:- #include<iostream>using namespace std;class Teacher_salary{ public:…
Q: If f(x) = 2.x^3 and g(x) = x + 1. What is (g o f) (x)?
A: In this question, we are given two functions f(x) and g(x) and asked the value of (g o f) (x) . gof…
Q: Max and Min are the only two delivery men of Domino's Pizza. Assume the particular store received N…
A: According to the above listed problem statement we have to develop a NODE JS program that find out…
Q: No. of Fruit Total Fixed cost S Total Variable Total Cost S Marginal Cost $ Baskets Cost $ 0. 50 50…
A: The answer is given below:-
Q: 6) Which of the following is TRUE? A) Technological efficiency occurs if the maximum feasible amount…
A: D) All of the above answers are correct.
Q: Formulate an optimization model for this problem.
A: Time 12pm - 9pm Constraint Min 4 Hour Max 8 Hours Optimization Model Employee#1 after 4pm E1 - 5…
Q: Tom and Ron are the only two delivery men of Domino's Pizza. Assume the particular store received N…
A: Algortithm: Firstly take the input form the user the total possible delivery N Then Asked about the…
Q: 4 - If an employee is paid hourly, he is paid a fixed amount for every hour of work. So, if he gets…
A: This program can be done using if-else conditional statements in python. Inputs of no of hours…
Q: Required: a. Are there any extra (slack) resources available? b. If the Wisham family could obtain…
A:
Q: The employee gets a 5% bonus if his sales exceed the The employee receiven a commission of 8% of the…
A: actual sale is less than planned sale so his salary will not increased it will be same as basic…
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: Smax { Fli – 1, jl, vị + F[i – 1, j- wil } if j-w¿ > 0 if j-wi 0 and F[i,0] = 0 for i 20 Solve the…
A: Solution : By using the given formula we have to fill the remaining cells of the given table .…
Q: In a company, worker efficiency is determined on the basis of the time required for a worker to…
A: Code snippet:
Q: Employees of a certain firm are paid on hourly basis at the end of each week. If an employee works…
A: ALGORITHM:- 1. Take input from user for the corresponding information. 2. Initialize netSalary with…
Q: There are twelve gymnasts, among whom are Lia, Bella, and Priscilla. There is going to be world cup…
A: D. 144
Q: a At the imaginary university e/UT there are 101 students in their first year at M&CS. In their…
A: The answer is as follows
Q: (a) Suppose two members of the group of twelve insist on working as a pair---any team must contain…
A: Since you have asked multiple questions in a single request, we will be answering only the first…
Q: He is given a commission on the basis of the following schedule: Monthly Sales: Less than P50,000 1%…
A: a. Given total sales = P75,800 From the question, if sales>=P50000 && sales<=P99999,…
Computer science Cs 102
Step by step
Solved in 2 steps with 1 images
- 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…Hanry is a student. In School, there is a prestigious award so called a star. To be a star is not an easy task, a student with a good character only that can be called a star. In addition to that, a good character can be defined as a diligence and smart student. During his study, Hanry always present in all his subject and that makes him a diligence student. Not only that, Hanry also won award during his study, that makes him to get a predicate of smart student. Proves that Hanry is a star using backward chaining method!You are an administrator for the Kulliyyah and is assigned the task to schedule a set of classes for a given day. Unfortunately, there is only one lecture hall and therefore, two classes cannot run at the same time. This is usually an easy task, however, there are some criteria that you would have to consider. The criteria are as follows: 1. Each class has a duration class time. 2. Higher level courses has higher priority than other low level courses. 3. Some lecturers prefer to have morning classes instead of the afternoon classes because they come to the office much earlier than other lecturers so they should be scheduled earlier. Your job is to propose the best scheduling based on this criteria. To do this, you will write a C++ program that will first sort the classes by lecturer arrive time and then by course levels. Lecturers arriving early, can start first, but if they arrive at the same time, the higher level course will go first. Course 3301 for example, has higher…
- Scenario:One of the renowned supermarket in Dhaka City, “Shwapno” is celebrating their firstanniversary of opening. They have become very popular among people in a short amount oftime. As a method of celebration they have designed three interesting and exciting offer for theircustomers for that day only!! The offers are described as follows:Offer 1: This offer says, if the name of any customer starts with “S” OR ends with “o”, theywill receive a gift which contains 1 kg miniket rice and 1 litre soyabean oil. This offer isdedicated from their name, Shwapno.Offer 2: This offer says, if one customer have taken products and his/her total product weightis less than 1.50 kg, then Shwapno will give all the products to the customer for free. If the totalweight is 1.50 kg or more, the customer will have to pay the full amount.Offer 3: This offer says, if a customer is aged less than 15, then he/she will receive chocolates.If aged 15 or more, then no gifts for the customer.Implementation:Create…Jin Mori is like any other student who loves sleeping. Jin Taejin, his grandfather, imposes a waking schedule that Jin Mori must follow to avoid tardiness at his school. The schedule stated that on weekdays, Mori must be awake at "7:00" and at "10:00" at weekends. Taejin added an exemption for their school vacation. If it is their school vacation, the schedule is "10:00" for weekdays and "off" for weekends. If Jin will not follow the schedule, he is not allowed to practice his favorite martial art, taekwondo. Your job is to create a program that will serve as the alarm clock for Jin Mori. Expected Output: Test Case 1: Vacation: False Day: Monday Alarm Time: 7:00 Awake: Yes Be ready for your practice Mori! Test Case 2: (input) (input) (auto generated) (input) Vacation: False Day: Saturday Alarm Time: 10:00 Awake: No (input) (input) (auto generated) (input) You are not allowed to practice your taekwondo!Fergusonball players are given a star rating based on the number of points that they score and the number of fouls that they commit. Specifically, they are awarded 5 stars for each point scored, and 3 stars are taken away for each foul committed. For every player, the number of points that they score is greater than the number of fouls that they commit. Your job is to determine how many players on a team have a star rating greater than 40. You also need to determine if the team is considered a gold team which means that all the players have a star rating greater than 40. Input Specification The first line of input consists of a positive integer N representing the total number of players on the team. This is followed by a pair of consecutive lines for each player. The first line in a pair is the number of points that the player scored. The second line in a pair is the number of fouls that the player committed. Both the number of points and the number of fouls, are non-negative integers.…
- Computer Science Investing in stocks is a way to create assets that are supposed to provide financial security over time. In solving this problem, we assume that an investor buys several shares of stock at a certain price. These shares are going to be sold later on for a different price. Obviously, if the selling price is higher than the acquisition price, the investor makes a profit, registering capital gain. If the shares are sold at a lower price, the investor has a loss, which marks a negative capital gain. This whole process is done over a period of time, and you are required to create a scenario for buying and selling shares. The assumption is that the investor sells shares in the order in which they were purchased. The goal is to calculate the capital gain over time. Suppose that you buy n shares of stock or mutual fund for d dollars each. Later, you sell some of these shares. If the sale price exceeds the purchase price, you have made a profit—a capital gain. On the other…Admission to college is just beginning and Chef has also just finished his high school. There are N colleges, listed from 11 to N, and listed from 11 to N. Each college has only one seat left. To apply for a college, each student must submit the same examination, the result of which determines their future, that is, the best student (the highest scorer) gets the first choice of college. Each student has a list of favourite colleges. They will want to get to the top ranked college on their list. If they can't get into it, they'll want to get into a second-ranked college in the middle of their list, and so on. If one vacant college seat is filled, that year's admission closes at that college. Then, people who have applied for that college should look for a lower college in their preferred list as long as it still has vacancies. Looking at the information about MM students, about their exam scores (given as standards) and the college IDs they apply for, find out which college the Chef…Your English professor has announced the following grading policy: For each essay, the highest score in the class will be entered as a 100%; all other scores will be entered as the percent of that top score. For example, if the highest essay is a 50 out of 100, it will be counted as a perfect paper, and essays with a score of 40 out of 100 will be entered as an 80%. The final grade for the course will be determined using these adjusted percentages, with 90% and above an A, 80% and above a B, 70% and above a C and below 70% not passing. The students all get together and decide not to work hard on the next paper because if nobody does well, they will all do okay. This plan results in a Nash Equilibrium. A.) is a solid commitment device, and thus stable. B.) will be unstable because there is an incentive to break the agreement. C.) will be stable because there are no incentives to deviate. D.) requires everyone to follow their…
- Three prisoners have been sentenced to long terms in prison, but due to over crowed conditions, one prisoner must be released. The warden devises a scheme to determine which prisoner is to be released. He tells the prisoners that he will blindfold them and then paint a red dot or blue dot on each forehead. After he paints the dots, he will remove the blindfolds, and a prisoner should raise his hand if he sees at least one red dot on the other two prisoners. The first prisoner to identify the color of the dot on his own forehead will be release. Of course, the prisoners agree to this. (What do they have to lose?) The warden blindfolds the prisoners, as promised, and then paints a red dot on the foreheads of all three prisoners. He removes the blindfolds and, since each prisoner sees a red dot (in fact two red dots), each prisoner raises his hand. Some time passes when one of the prisoners exclaims, "I know what color my dot is! It's red!" This prisoner is then released. Your problem…in the College of Winterhold, young apprentices, gifted in the magic arts, must follow a rigorous program before completing their degree on Magika Arcana. The apprentices must complete the following courses: alteration (ALT), destruction (DEST), illusion (ILL), fire basics (FB), ice basics (IB), shock basics (SB), conjuration (CONJ), necromancy (NEC), alchemy (ALCM), summoning (SUMM), restoration (RESTO), wards (WARD), potions (POTS), introduction to the elements (ELEM) and dragon shouts (SHOUT). Apprentices can take one course per semester, and courses have the following pre-requisites: SHOUT requires ALT, DEST, ILL, CONJ, ALCM, and RESTO. DEST requires FB, IB, WARD, and SB. NEC requires CONJ. ALCM requires POTS and WARD. CONJ requires SUMM. Each of the following: FB, IB and SB require ELEM. POTS require ELEM and WARD. SUMM requires POTS and WARD Show a graph G = (V, E) modeling these prerequisites in such a way you can list two of each of the following: tree edges, back edges, cross…No one likes working on homework assignments one day after you enjoyed your party time, you realize that you have missed n homework deadlines! All the instructors were very angry at this, and they told you that the penalty will be based on your late days. So, now, you have to start working on your assignments. You have n assignments to make up, from today. For assignment i, you know you need t; days to finish it. You can only work on one assignment at a time. If you finish an assignment on day d, you can submit it immediately, and your the number of late days for that assignment is d, which is the number of points you lose for that course. Your total penalty, therefore, is the total number of late days you finally need for finishing all assignments. For example, suppose you have 3 assignments to make up, and they take time 4 days, 6 days, and 3 days, respectively. If you work on them in order, you need 4 days to finish the first assignment, and can submit it on day 4 (need 4 late…