From a list of Employees E1,E2.........,E40 a company ABC wants to select 10 employees randomly to work on a project. Help the manager by writing a program to find the 10 random employees who will work on the projec
Q: You have been consulted to develop a currency converter for a Forex Bureau. The client wants an…
A: Note: We are authorized to answer more than one question at a time. Since you have asked more than…
Q: Task 2: Grading A professor will give the number of students and their grades. You need to calculate…
A:
Q: Even though you didn't study for the exam at all, you have ___ score ___mine. You must have cheated…
A: Full Sentence: Even though you didn't study for the exam at all, you have more scores than mine. You…
Q: Admission to college is just beginning and Chef has also just finished his high school. There are N…
A: Please check step 2 for code & step 3 for a screenshot of the code and output.
Q: Create a scenario that involves solving the real-life problem using a piecewise function and give a…
A: To Do: To create a scenario.
Q: Task 1: Rock, Paper, Scissors (Topics: Variables, user-input, flow-control, function) Task 1…
A: import random def printOutcome(userSelection, computerSelection) : if(userSelection ==…
Q: Please written by hand two students team up to develop two programs that share a named pipe. The two…
A: Find an implementation below.
Q: Write a program to find out which one is Pass From the following students by Using CLIPS 1. Usman 2.…
A: Answer is given below-
Q: Your program should work like this, using the exact rules above. All hands will be in lower case.…
A: Algorithm: Start the program. Read the input from the user. 1 for rock 2 for paper and 3 for lizard.…
Q: Make a storyboard showing the different task of buying a ticket. Then show it to your 2 potensial…
A: User 1: This user appears to the good enough.It will more elaborate sample might be the better to…
Q: Which could be the negation of a conditional statement? a. I complete my project or I will not be…
A: Negotiation of conditional statement: The objection to a conditional statement is valid only if the…
Q: 8. Write a program that plays Rock-Paper-Scissors with the user and displays the cumulative score.…
A: The asked python program has been coded in the next step.
Q: Task 1 [Computing the Fare Price] Goal: This task is to compute the ticket price for a person based…
A: conditional statements are used to verify condition and based on condition statements are executed.…
Q: Mutliple choice. A. National good will always be a communal good. B. Not all communal good are…
A: Given: Choose from Multiple options.
Q: You are given a variety of n integers a1, a2, ..., an, and a set b of k unmistakable integers from 1…
A: Here have to determine about the Make It Increasing programming problem statement.
Q: find a^b where result is big number greater than long range how to print the result without…
A: Question : find a^b where result is big number greater than long range how to print the result…
Q: a code about supermarket inventory system using c++ a. supermarket inventory
A: It is defined as a powerful general-purpose programming language. It can be used to develop…
Q: Briefly describe what a financial calculator will do if made into a program? Prepare an IPO chart…
A: Actually, the program is executable software that runs on a computer. The code has given below;
Q: The I-th stage is named with an integer artificial intelligence (0≤ai≤n−i). At the point when the…
A: Here have to determine about the Even Harder programming problem statement.
Q: • P(x): x was sick • Q(x): x went to work R(x): x attended the meeting What is the form of the…
A: 1) Here the statement holds true for all employees. Thus we need to use universal quantifier. Also…
Q: Generating values of a beta random variable by the acceptance-rejection method. Write a program to…
A: alpha=2 beta=4 n=100O x=runif (n,0,1) accept= c () for ( i in 1:length(x)) { u=runif (1,0,1) if…
Q: Hi. I wonder if there is another way to write this code def example(c, i u, a): return c[i, u] == 0…
A: Rewrite the given function in another format. Given Function: def example(c, i, u, a): return…
Q: Design a system for a restaurant in which users can order multiple food items from the following…
A: Step 1:- Note:-I am writing the program in the c++ programming language Program Approach:- Use one…
Q: how to do this? Project Name: Employees’ Information Problem Definition: Create and design a…
A: how to do this?Project Name: Employees’ Information Problem Definition: Create and design a…
Q: is a popular type of bar chart that illustrates a project schedule. Gantt chart Calendar chart…
A: Given: As per our policy, "Since you have asked multiple questions, we will solve the first question…
Q: The use of computers in education is referred to as computer-assisted instruction (CAI). One problem…
A: Given: The use of computers in education is referred to as computer-assisted instruction (CAI). One…
Q: Earlier we wrote a BMI calculator. Enhance the program so that it displays a message indicating…
A: NOTE - Here I have used the Python programming language. Here I have taken input from the user for…
Q: Hello! I'm a beginner in programming and I was wondering how a simple code would be written for the…
A: Let's see step by step: So here demonstrating a simple program where a user interacts with computer…
Q: Create a program pythat assumes people are paid double time for hours over 60. They get paid for at…
A: if syntax for python if <condition> : #statement else if <condition>: #statement…
Q: I'm new to coding and my professor wants us to write out a psuedocode for our recent project…
A: Pesudocode: It is an informal way of programming explanation which does not need any strict…
Q: It is known that "If you send me a message in Facebook, then I will finish my review in discrete…
A: Formal proof of validity
Q: Write the sentence in symbolic form. Use v, p, and t as defined below. v: "I will take a vacation."…
A: Given, v: "I will take a vacation." p: "I get the promotion." t: "I will be transferred." We need to…
Q: This is an assignment that must be executed in the lab. You are asked to complete the following: A-…
A: Here according to the question, In HTML Add a new user (teacher/student) to the system. The…
Q: . Given a situation where Alex and Andrew share a bank account with Current Balance RM600 for their…
A: A race condition will happen when the shared region (critical region) was used parallelly by…
Q: Write a program which takes 5 students quizzes in a course. Consider each student has given 10…
A: Actually, program is a executable software that runs on a computer.
Q: Characterize these variables:o m = 0o b = 0o L = 0.001 (this is the learning rate; it assists the…
A: We will be using python program to solve this question.
Q: C program of Juan works on a field and for his work he receives 1/3 of the crop. If his share is…
A: Program description: n is the user input integer variable used to store the share of Juan.…
Q: Make a program in C++ that helps a company to increase the wages of workers as follows: 1. Type of…
A: Here I have taken input from the user and then stored the value entered by the user into a variable.…
Q: The ABC Lumber Co. asks you to write a Phyton program that would produce a table of g properties of…
A: Python program to produce the table of g properties of the rectangular cross-section lumber. The…
Q: From a list of bid bonds, find out whether the bonds can be equally divided between 2 people with…
A: Step 1: take n array elements Step 2: find sum of array elements Step 3: if sum is odd then it is…
Q: For this C++ hw do the following: Your game, the player’s goal is to reach campus exactly. The…
A: Starting with the main() method – Take a variable for the distance left. Take a variable for the…
Q: The severity of the tickets would be randomized and write a python program to create a script that…
A: import random import time import datetime import requests import json import sys # Function to…
Q: need just the typed letter of the below screen shots Just mention screen shot 1 and type the exact…
A: Required: I need just the typed letter of the below screen shots Just mention screen shot 1 and…
Q: Please write a Quality Plan which includes quality assurance and Testing for the computer game…
A: The answer is given below
Q: Admission to college is just beginning and Chef has also just finished his high school. There are N…
A: Input-Output Details: First line will contain TT, number of testcases. Then the testcases follow.…
Q: Part C: Interactive Driver Program Write an interactive driver program that creates a Course object…
A: 1.Basically driver classes are the utility classes that are used to carry out some task. 2.In java…
Q: ou are considering implementing an algorithm that will keep daily stock and sales in your business…
A: To find a data structure that will store stock sales
Q: One of the following is not true O a. When a parent forks a child, parent might give the child part…
A: The answer is given below.
From a list of Employees E1,E2.........,E40 a company ABC wants to select 10 employees randomly to work on a project. Help the manager by writing a
Step by step
Solved in 2 steps with 1 images
- The CarMin dealership has approached you to write a program to keep track of the sales commissions paid to the sales team each time they sell a used car. The amount of the commission that a salesperson earns is based on the type of vehicle sold. Currently CarMin is trying to incentivize it salesforce to try and sell Hybrids and SUVs because these vehicles generate the most profit within the dealership. vehicle types have the highest commissions. These Vehicle Type Bonus Commission Hybrid 4.0% of Selling Price Coupe 1.5% of Selling Price Sedan 1.5% of Selling Price SUV 3.0% of Selling Price Minivan 2.5% of Selling Price Create a program for use by the sales manager to track commissions by vehicle type. It is unknown how many cars the dealership will sell in a given month. The program should allow the manager to continuously enter a vehicle type and selling price each time a vehicle is sold. You must validate the vehicle type and selling price using…The CarMin dealership has approached you to write a program to keep track of the sales commissions paid to the sales team each time they sell a used car. The amount of the commission that a salesperson earns is based on the type of vehicle sold. Currently CarMin is trying to incentivize it salesforce to try and sell Hybrids and SUVs because these vehicles generate the most profit within the dealership. vehicle types have the highest commissions. These Vehicle Type Bonus Commission Hybrid. 4.0% of Selling Price Coupe. 1.5% of Selling Price Sedan. 1.5% of Selling Price SUV 3.0% of Selling Price Minivan 2.5% of Selling Price Create a program for use by the sales manager to track commissions by vehicle type. It is unknown how many cars the dealership will sell in a given month. The program should allow the manager to continuously enter a vehicle type and selling price each time a vehicle is sold. You must validate the vehicle type and selling price using appropriate validation.…Installation of a Shopee Billboard Max. score: 100 You are installing a billboard and want it to be at the maximum height. The billboard will have two steel supports, one on each side. The height of each steel bracket must be equal. You have a number of rebar rods that can be welded together. For example, if the bars are of length 1, 2, and 3, they can be welded together to form a length of 6 brackets. Return the maximum possible installation height of the billboard. Return 0 if the billboard cannot be installed.
- A rod is used to hang a load (force) of 1000 N.There are 4 ingredients with their respective strengths.Create a program to create a bar diameter table, if using the 4 materials.Example: Copper Steel Material. Aluminum. Bronze Strength(N/mm2) 2000. 1600. 1400. 1700Rod Diameter: Ingredient. Copper Steel. Aluminum. BronzeDiameter. (mm) …. …. …. …..Note: Strength is the maximum stress the material can withstandStress S = force/sectional area S=force/A A = force/SmaxCross-sectional area A = 3.14 x d2 /4 d = root(4xA/3.14)Instructions: Make a list to store the ingredient names and strengths Create in a python programThe CarMin dealership has approached you to write a program to keep track of the sales commissions paid to the sales team each time they sell a used car. The amount of the commission that a salesperson earns is based on the type of vehicle sold. Currently CarMin is trying to incentivize it salesforce to try and sell Hybrids and SUVS because these vehicles generate the most profit within the dealership. These vehicle types have the highest commissions. Vehicle Type Bonus Commission Hybrid 4.0% of Selling Price Coupe 1.5% of Selling Price Sedan 1.5% of Selling Price SUV 3.0% of Selling Price Minivan 2.5% of Selling Price Create a program for use by the sales manager to track commissions by vehicle type. It is unknown how many cars the dealership will sell in a given month. The program should allow the manager to continuously enter a vehicle type and selling price each time a vehicle is sold. You must validate the vehicle type and selling price using appropriate validation. If any…Loan negotiation is usually not a straightforward task. A type of loan is the discount installment loan. This type of loan has the following characteristics. Supposing a loan has face value of GHC 1000, interest is 10% and the duration is 24 months. The interest is compounded by multiplying the face value by 0.12 to produce GHC 120. The figure (120) is then multiplied by the loan period of 2 years to give GHC 240 as the total interest owed. This amount is immediately deducted from the face value leaving the customer with only GHC 760. Repayment is then made in monthly equal installments based on the face value. This means that the monthly payment will be GHC 1000 divided by 24 which is approximately 41.67. This method of calculating the monthly repayment is not too bad if the consumer needs only GHC 760 but the calculation is a bit complicated if the consumer needs GHC 1000. a. Write a program that will take 3 inputs 1. Theamounttheconsumerneeds 2. Theinterestrate 3.…
- Loan negotiation is usually not a straightforward task. A type of loan is the discount installment loan. This type of loan has the following characteristics. Supposing a loan has face value of GHC 1000, interest is 10% and the duration is 24 months. The interest is compounded by multiplying the face value by 0.12 to produce GHC 120. The figure (120) is then multiplied by the loan period of 2 years to give GHC 240 as the total interest owed. This amount is immediately deducted from the face value leaving the customer with only GHC 760. Repayment is then made in monthly equal installments based on the face value. This means that the monthly payment will be GHC 1000 divided by 24 which is approximately 41.67. This 4method of calculating the monthly repayment is not too bad if the consumer needs only GHC 760 but the calculation is a bit complicated if the consumer needs GHC 1000. a. Write a program that will take 3 inputs1. The amount the consumer needs2. The interest rate3. The duration…n an ancient land, the beautiful princess Eve (or handsome prince Val) had many suitors. Being royalty, it was decided that a special process must be used to determine which suitor would win the hand of the prince/princess. First, all of the suitors would be lined up one after the other and assigned numbers. The first suitor would be number 1, the second number 2, and so on up to the last suitor, number n. Starting at 4 the suitor in the first position, she/he would then count three suitors down the line (because of the three letters in his/her name) and that suitor would be eliminated and removed from the line. The prince/princess would then continue, counting three more suitors, and eliminate every third suitor. When the end of the line is reached, counting would continue from the beginning. For example, if there were 6 suitors, the elimination process would proceed as follows: 123456 initial list of suitors, starting count from 1 12456 suitor 3 eliminated,…A retail company assigns a $5000 store bonus if monthly sales are more than $100,000; otherwise a $500 store bonus is awarded. Additionally, they are doing away with the previous day off program and now using a percent of sales increase to determine if employees get individual bonuses. If sales increased by at least 4% then all employees get a $50 bonus. If they do not, then individual bonuses are 0. Step 3: The second module in the program was isBonus(). Since there are two types of bonuses now, rename this module and the module call to storeBonus(). Write an if then else statement within this module that will set the bonus amount to either 5000 or 500. Also, pass the variable storeAmount to the module as a reference. Complete the missing lines. (Reference: Dual Alternative Decision Structures, page 125). //MODULE 2 //this module will determine what the bonus levels are Module ___________(Real monthlySales, Real Ref ___________) If monthlySales >=100000 Then…
- Using C++ Dice game with varying dice (d4-d20) The game will consist of two or more players. Each player will attempt to reach a set number (say 100) By rolling dice and adding up the results of the dice roll. if the player rolls a certain number (in this case a 6) then the player gets two more tries, if they roll a 6 two more times, they lose their turn and gain no points that round. The goal to get to 100 first. During a round, each player takes a turn. At the beginning of the game, each player rolls a dice, with the higher roll going first each round. A player’s total score is the sum of their turn scores, the users will have the ability to choose either to stop or to continue after first roll, if a player decides to stop, then their turn ends and their score for that turn is their maximum roll during that turn, if the player decides to continue, they roll the dice again. At the end of the game the program should display the winner your program should have at least four of…When you borrow money to buy a house, a car, or for some other purpose, you repay the loan by making periodic payments over a certain period of time. Of course, the lending company will charge interest on the loan. Every periodic payment consists of the interest on the loan and the payment toward the principal amount. To be specific, suppose that you borrow $1,000 at an interest rate of 7.2% per year and the payments are monthly. Suppose that your monthly payment is $25. Now, the interest is 7.2% per year and the payments are monthly, so the interest rate per month is 7.2/12 = 0.6%. The first months interest on $1,000 is 1000 0.006 = 6. Because the payment is $25 and the interest for the first month is $6, the payment toward the principal amount is 25 6 = 19. This means after making the first payment, the loan amount is 1,000 19 = 981. For the second payment, the interest is calculated on $981. So the interest for the second month is 981 0.006 = 5.886, that is, approximately $5.89. This implies that the payment toward the principal is 25 5.89 = 19.11 and the remaining balance after the second payment is 981 19.11 = 961.89. This process is repeated until the loan is paid. Write a program that accepts as input the loan amount, the interest rate per year, and the monthly payment. (Enter the interest rate as a percentage. For example, if the interest rate is 7.2% per year, then enter 7.2.) The program then outputs the number of months it would take to repay the loan. (Note that if the monthly payment is less than the first months interest, then after each payment, the loan amount will increase. In this case, the program must warn the borrower that the monthly payment is too low, and with this monthly payment, the loan amount could not be repaid.)(Statistics) This is the formula for the standard normal deviate, z, used in statistical applications: z=(X)/ X is a single value. refers to an average value. refers to a standard deviation. Using this formula, you need to write a program that calculates and displays the value of the standard normal deviate when X=85.3,=80,and=4. a. For this programming problem, how many outputs are required? b. How many inputs does this problem have? c. Determine a formula for converting input items into output items. d. Test the formula written for Exercise 7c, using the data given in the problem.