Question Number Below mentioned is an algorithm. Step1:Get the number of process. Step2:Get the id and service time for each process.
Q: following: Add Task manually and from a file. View Tasks. Find All Tasks titles that added by “Ali"…
A: It is defined as a collection of information that is organized so that it can be easily accessed,…
Q: Point out the error. A MapReduce job normally separates the incoming data into pieces that are…
A: Answer: A MapReduce job usually splits the input data-set into independent chunks which are…
Q: Create a system that will Schedule an Appointment, Search a Patient, Update Appointment Details and…
A: As you have not mentioned any approach to solve this problem I am doing it in the simplest way using…
Q: If S.value for some semaphore S is -4, then the number of processes waiting on that semaphore is: -2…
A: - A semaphore value gets negative only when some processes are waiting . - If value of a semaphore…
Q: Create java application with user friendly menu and sub menu which allows user to 1. a.Add…
A: Find a simple similar implementation below.
Q: ue/false Task can only be published by
A: Lets see the solution.
Q: #include #include #include int value = 5; int main() pid t pid; pid = fork(); if (pid value +=…
A: Given: C code Required: to compile the code and provide the output
Q: ASSEMBLY In order to INVOKE a procedure, it must have a PROTO created for it, first. True False
A: The statement above is True.
Q: 128. A flowchart can be traced down for an algorithm, process is known to be a. Plan of action b.…
A: Answer is b) Flowcharting
Q: Name at least three tasks performed by the WinMain (startup) procedure.
A: Answer:
Q: WHICH ONE OF THE FOLLOWING INDICATES A SITUATION WHERE EACH PROCESS HOLDS AT LEAST ONE RESOURCE…
A: Given :
Q: Q. The Creation of process is called as _______________.
A: This question is related to processing system in linux.
Q: Which of the following statements is true when parent process creates a child process: O a. Both…
A: Option a. Both parent and child processes may share the same resources
Q: Activity Predecessors Time(weeks) H None H 8 H 6. E 4 S N,E T 7 Y S,T
A: Answer: I choose 1st predecessors from predecessor table every predecessors assign activity in next…
Q: What do you know about minutes of meeting? Also write down a sample of minutes of meeting which you…
A: Meeting: A meeting is when multiple people gather together to talk about several subjects. Meetings…
Q: What is the best way to gather data for a complete operations manual? What is the maximum number of…
A: Answer: This question based on searching pattern. so we will discuss that searching techniques Ans…
Q: The program should create a group. . The program should create three child processes and add them to…
A: Answer:
Q: Enter the number of participants: 5 Enter their ages: 21 52 47 60 3 The following are the ages of…
A: Algorithm first declare the two variables of integer type. Ask the user to enter the total…
Q: Which of the following is a static (as opposed to a dynamic) entity? a) b) Task Program c) d)…
A: Given: To choose the correct option.
Q: What is the total number of processes created (including the original process that is called summer)…
A: Lets see the solution.
Q: delete the record for job code 504. After completing this task examine the results with a select…
A: DELETE is command used to delete records
Q: PYTHON # Part 1: Tasks # Info # Bunch of task # Task has status: Not Started, In Progress,…
A: Solution Celery task statuses can be customizedCelery tasks have a state at all times. The state of…
Q: Using Python Program 2. Create a simple program that records, update, displays and delete student…
A: The program is implemented in python with structure approach. It uses a list of list to store the…
Q: C++ We want to build an address book that is capable of storing name, address & phone number of a…
A: C++ Code for given scenario: #include<iostream>#include…
Q: Draw flow chart for each following process: The largest of A,B and C
A: Algorithm to find largest of three numbers: Step 1: Start Step 2: Prompt for the value of A, B, and…
Q: Project Description A telephone book system, also known as a telephone directory, telephone address…
A: Create a java file named telephoneBook.java import java.util.*;public class PhoneBook { public…
Q: Task 4: The InstantRide User Satisfaction team is a core team for InstantRide, and they focus on…
A: SQL query to return the USER_ID, and the TRAVEL_TIME column which is calculated using the TIMEDIFF…
Q: What are the steps in creating data flow digrama
A: Answer: The steps in creating data flow diagram are as follows:- A data-flow diagram is a way of…
Q: Here is a periodic task-set shown in the table. Schedule the tasks using Earliest Deadline First…
A: Earliest deadline first is an optimal algorithm for real time embedded systems. It selects the tasks…
Q: The following Process Example represents a.. purchase order order data D. Customer Enter Ordens…
A: The given process example represent is
Q: program
A: Given :- In the above question, a program is mention in the above given question Need to compute…
Q: is this statement correct or not. A process is a collection of non related work tasks. write the…
A: Answer: We need to write correct answer for the given statement
Q: The request and release of resources are ___________
A: The answer:
Q: Display the Developer, Task Names and Task Duration for all tasks with the status of done. in java…
A: 1)THE CODE IN JAVA import java.util.Random; // main class public class Main { // main function…
Q: which of the following would run a task at 4pm on saturday? a) 0 16 *** /home/brain/runtask.sh b)…
A: According to the question below the Complete Solution: 0 16 ** 6 /home/brain/runtask.sh
Q: We want to build an address book that is capable of storing name, address & phone number of a…
A: Programming language is missing in the question. So we will answer this program in Java. If you want…
Q: Make a simple Banking system. Add task save that data in file after that read it from file and…
A: Below code is showing all operation like add,update and delete…
Q: The choice of operations and services offered on the screen through ……………………. (Choose one) a. None…
A: The choice of operations and services offered on the screen through pointers
Q: 13. Fill in the table below with the purpose of each group type. Use the Help menu item for more…
A: According to Bartleby Guidelines we need to answer only one question so i have answered question 13…
Q: Create a flow chart about the banking system.Begin with creating the initial bank account to create…
A: Flow chart is a step by step process in which contains sequence of process steps connected by flows.…
Q: If a team is unable to complete all the points of work allocated for an iteration, the team should…
A: Iteration Planning is an occasion where all colleagues decide the amount of the Team Backlog they…
Q: answer the question task 1 - 1
A: NOTE Below is the answer for the given question. Hope you understand it well. If you have any…
Q: Task Performance Student List Objective: At the end of the exercise, the students should be able to:…
A: the code is given below:-
Q: A procedure defined within a ________ can access only those variables declared locally within the…
A: Question. A procedure defined within a ________ can access only those variables declared locally…
Q: Which of the following is used to show the time to do a task, starting date, and ending date inside…
A: The right answer is C - Gantt Chart. Gantt chart is used to schedule work in a timely manner,…
Q: Display a table of processes that includes only the process IDs, names, and whether they’re…
A: INTRODUCTION: PowerShell is a task automation system that consists of a command-line shell, a…
Q: ng sequence of 'logs' fror timeline and add logs to r
A: Physical Backups are snapshots of the physical files that are used to store and restore your…
Q: Q. To identify the process by their name or command ps is used _________ option.
A: This is related to Commands in linux.
Question 2 solution needed
Code needed
Step by step
Solved in 7 steps with 1 images
- A real estate agency pays a sales representative monthly minimum income of 1000, 54 TL, additional allowance according to his/her title, plus 200 TL for each property sold by the sales representative in that month and a certain amount of the sales amount. Additional allowance amounts by title and bonus rates are given in the tables below: Title Additional Allowance (TL) Trainee (1) Beginner (2) 250 350 Expert (3) 500 Senior (4) 750 Sales Amount (TL) Bonus Rate (%) 0- 499.999,99 0.25 500.000- 999.999,99 0.5 1.000.000- 1.999.999,99 0.75 2.000.000-... 1 By adhering the rules stated above, find the total salary amount of a sales representative for a particular month, by obtaining the title of a sales representative from the user (1 for the trainee, 2 for the novice, 3 for the specialist, 4 for the senior), the number of real estate sold this month and the total sales amount made by the sales representative. Write a MATLAB code that prints the total salary on the screen using the…A real estate agency pays a sales representative monthly minimum income of 1000, 54 TL, additional allowance according to his/her title, plus 200 TL for each property sold by the sales representative in that month and a certain amount of the sales amount. Additional allowance amounts by title and bonus rates are given in the tables below: Title Additional Allowance (TL) Trainee (1) 250 Beginner (2) 350 Expert (3) Senior (4) 500 750 Sales Amount (TL) Bonus Rate (%) 0- 499.999,99 0.25 500.000- 999.999,99 0.5 1.000.000- 1.999.999,99 0.75 2.000.000-.. 1 By adhering the rules stated above, find the total salary amount of a sales representative for a particular month, by obtaining the title of a sales representative from the user (1 for the trainee, 2 for the novice, 3 for the specialist, 4 for the senior), the number of real estate sold this month and the total sales amount made by the sales representative. Write a C code that prints the total salary on the screen using the switch-case…A warehouse is where the company stores its products and the storage bins in the warehouse are specified identified to their aisle, location in the aisle, and its shelf. There are a total of 40 aisles, 64 horizontal locations in each aisle, and 6 shelves. What is the least number of products the company can have so that at least two products must be stored in the same bin?
- auto workshop is a vehicle service center located in the city of Muscat, which provides vehicle maintenance/repair services. The charges of vehicle maintenance/repair are based on the type of the service. Details of charges are as follow: Basic Tuning: 50 OMR Software Re-installation: 60 OMR Parts Replacement: 100 OMR Body Paint: 120 OMR The workshop offers 10% discounts to the customers who have membership of the service center. You are required to draw a flow chart diagram and write a C++ computer program that takes customer’s name, car plate number, membership status(Y/N) and the required service (mentioned above). The program outputs the input data and maintenance charges based on the service provided by the service center with discount, if applies.Problem: Read your name, distance to college, cgpa and allowance. Find new allowance based on the following conditions: If your cgpa is more than 3.5 and distance is more than or equal to 50 You get double the allowance. If your cgpa is more than 3.0 and distance is more than or equal to 50 You get 1.5 times of allowance Otherwise No change is allowance. Print your name, cgpa, distance to college and new allowance.Nomenclature is a system for giving names to things within a particular profession or field. The XYZ Exporters and Co. is a new firm in Pakistan having two units in Karachi & Lahore. They decided to generate employee numbers using a specific pattern by applying nomenclature. This pattern consists of unit identification, department identification, employee appointment month, year and he/she will be having a unique registration number. The top management of XYZ Exporters and Co. has approved the following pattern for the employee numbers. Unit Code - Department Code / Joining Month Code - Joining Year - Employee Unique Number This Firm currently has five departments, HR, IT, Exports, Accounts & Finance, & Production, and two units Karachi & Lahore and their codes are as under: Department Name Department CodeHuman Resource 01Information Technology 02Export 03Accounts & Finance 04Production 05 Unit Name Unit CodeKarachi 1Lahore 2 Month Month CodeJanuary M01February…
- Q: Front office of any hotel is responsible for all room reservations, room allocations and fınal settlement of bills. Any company or person can reserve room for their future stay. They have to indicate from what date to what date they need the room. They also have to indicate how many rooms are required. Sometimes the reservations could be cancelled or dates or number of rooms changed. For reservation, cancelled or modification of rooms, customer receives an acknowledgement from the hotel. Draw sequence diagram for reserve room scenario, also draw the class diagram.The following is a table of applicants to be considered for admission into 07BSAM: POINTS MATH SYMBOL 123 450 NAMES STUDENT NUMBER ENG SYMBOL To qualify for admission, an applicant should have at least 25 points, minimum of B symbol in Mathematics and a minimum of E symbol in English. If an applicant has a C symbol in Mathematics, then the applicant must pass an entrance test to be considered for admission. Hints: There are three modes of study: The Full-time mode, the Part-time mode and the Distance mode. Applicants can choose which mode they want provided there is space in that mode. Each of the Full- time and the Part-time modes cannot accommodate more 30 admitted students. After these two modes are full, every other qualified applicant is admitted in the Distance mode. The admission exercise is first come first served. Write a pseudocode that identifies the applicants that qualify for admission and outputs their names, student numbers and modes of study. Use a FOR-LOOP /…QUESTION 1 An admission charge for Bandar Orchid Wetlands varies according to the age of the customer as in Figure 1. The system will receive the input for the number of persons for each category as in Figure 2. Then, it will calculate and display the total charge (include SST 8%) and the category Figure 3. [Assume all items are required. The process is not involving any decision]. Category (Age) 50 and above 13- 49 7-12 4-0 Charge (RM) 30.00 35.00 25.00 15.00 Below 4 Figure 1: Charges for Visitors Free The Bold items are the input from the user. WELCOME TO BANDAR ORCHID WETLANDS Enter the number of persons for each category Age Over 50 Age 13 - 50 Age 7 - 12 Age 4 - 6 Age Below 4 1 2 Figure 2: The Input Total for Over 50 (1 Fersons): BM 30.00 Total for 13 - 50 (2 Persons): RM 70.00 Total for 7 - 12 (4 Persons): RM 100.00 Total for 4 - 6_(O Persons): RM 0.00 Total for Below 4 (FREE) : RM 0.00 ITEMS RM 200.00 12.00 TOTAL 3ST (6R) SUB-TOTAL = 212.00 THANK YOU.ENJOY YOUR HOLIDAY!! Figure…
- SeriResort has four type of room packages, The rate for each package is shown in the following table: Type of Package Code Rate Per Day (RM) Premium 1 300 Family 2 200 Deluxe 3 150 Standard 4 100 Each guest has to pay 10% SST. The information needed to make a reservation at the resort are the guest’s name, type of package, number of days and type of booking (o – online, M – Manual). A discount of 10% will be given for online booking For each reservation, a receipt must be printed as shown below: SERI RESORT Guest Name xxxxxxxxxxxxxxx Type of Package xxxxxxxxxxxxx Number of Days xx Total Charges (RM) : xxx.xx SST 10% (RM) : xxx.xx Total Payment : xxxxx.xx Draw a flowchart to solve the given.The same description as Problem I. You are asked to display order's item list and meal cost to customer. Each meal must have at least one main item, but side item and drink are optional. Also, a 10% coupon code is available to use. So the main items can be decorated by the side items, drink and coupon. This gives a customer flexibility to order any number of sides or drinks for a meal. Please note that each side item and drink can be multiple or partial. The cost of multiple or partial side and drink is adjusted proportionally, for example, cost of 2 orders of Coke is 2x$1.00, 40% order of Fries is 0.4x$1.5. However, coupon can be used only once per order. We would like to use the Decorator pattern and Singleton pattern to create the receipt to show order's item name, quantity, item unit price, item cost, any coupon applied and final cost. The singleton is to ensure that the coupon can be applied only once in an order. Here is price for each item Main items, Hamburger: $6.5;…The system to be developed for Williams and Son needs to produce the following slip for a customer once the sale has been concluded. Williams & Son VATnr: 0123456 Product Price Screwdriver R 100 Super glue R 20 Total: R120 Please note: For the purpose of this assignment, assume that a customerwill only purchase one unit of each item.