An employee is given 10% of their salary as a bonus when the employee works for more than 4 years or a salary when is 10000 and above, otherwise, 5% of their salary as the bouns is given, Write a Python program that reads the salary of employees, and the number
Q: Implement the following class. Refer to the below notes for more details. Car code: String //default…
A: Please upvote. I am providing you the correct answer below.
Q: When a business/firm grows and has their data in different places and on different…
A: Integration of data is important to combine the various documents and spreadsheets stored at…
Q: Why has the adoption of networking technology increased or decreased the risk for businesses that…
A: Answer:- Networking is usually considered to have created more risk for businesses that use…
Q: What exactly is the invisible web, and how huge is it in terms of are
A: Invisible web: The Invisible Web is the area of the WWW (world wide web), that isn't list capable…
Q: Give three examples of deadlocks that are not caused by a computer system.
A: Deadlock: It is a situation where two entities are not proceeding with respect to each other or are…
Q: why are the following statements NOT considered to be disjunctive normal form? A * (B + ~C) ~(A +…
A: The answer for the given question is as follows.
Q: What is the purpose of a Branch Prediction Buffer (BPB) or Branch HistoryTable (BHT), and what is…
A: A branch prediction buffer or a Branch History Table is a small memory that is indexed by the lower…
Q: Recent improvements in processing power have mostly been due to use of human beings to make…
A: Processing Power Processing power, often known as CPU power, CPU cycles, and other terms, refers to…
Q: Computer fundamentals In this case, multithreading does not outperform a single-threaded solution.
A: Introduction: In functional programming, single threading is widely employed. Multithreading is a…
Q: Write a C++ full program that calculates the average score of each student as well as the grade for…
A: Hello student, hope you are doing good. The c++ code of the given question is attached below.
Q: Exercise 1: Write function headers for the following functions (and indicate whether the function…
A: NOTE:“Since you have posted a question with multiple sub-parts, we will solve first three subparts…
Q: Large address space 2n where n = word length May be nested, multilevel, cascaded - e.g. EA = (((A)))…
A: Introduction
Q: How can the combiner approach save network time in the map reduce paradigm? Explain with an example.
A: Solution: How can the combiner approach save network time in the map reduce paradigm? Explain with…
Q: In a Linked List-based Queue, what is the worst case of insertion time complexity? Use an example to…
A: Insertion in queue based linked list always put new elements at last. If the element is itself first…
Q: k) L11 = All strings containing exactly two a's. I) L12 = All strings containing at least two d's.
A: Here in this question we have asked to write the regular expression for exactly 2a and at least 2a.
Q: Optimal Binary Search Tree The task is to determine whether there exist two different optimal…
A: The optimal cost for freq[i..j] can be recursively calculated using the following formula. We need…
Q: I use visual studio code specifically python inside of the program so keep that in mind when…
A: Here is the approach : Create three class Circle , Triangle , Rectangle . For three classes…
Q: nName is provided as X, Y in a 100 by 100 room Use square root function in cmath sqrt() to calculate…
A: code : #include <bits/stdc++.h>using namespace std; struct person{string name;int x,…
Q: iv) Write a C++ program to input the three dimensions(in ft) of a cuboid-shaped room from the user…
A: Write a C++ program to input the three dimensions(in ft) of a cuboid-shaped room from the user and…
Q: Explain memory management and what swapping is all about.
A: As per the given question, we need to explain memory management and the concept of swapping. Both…
Q: Explain the advantages and downsides of taking use of online learning possibilities.
A: Given: We have to explain the advantages and downsides of taking use of online learning…
Q: How is the IoT being introduced into the lives of ordinary people? Give five examples.
A: The Internet of Things (IoT) refers to the physical items equipped with sensors, computing power,…
Q: What is the worst case running time for an efficient algorithm that create a max heap from an array…
A: Below is the complete information for the given question in detail.
Q: Compare and contrast Windows Explorer and the Windows command line DIR command in terms of a.…
A: INTRODUCTION: Here we need to compare and contrast Windows Explorer and the Windows command line DIR…
Q: 1. The following pseudocode implements a stack of characters. What is the output of the pseudocode?…
A: Hi there, Please find your solution below, I hope you would find my solution useful and helpful.…
Q: Why is the following term considered disjunctive normal form; A + ~B but the term…
A: A disjunctive normal form it is canonical normal form that consists of the disjunction of…
Q: For a number of reasons, some businesses prefer a scattered computer system over a centralised…
A: Systems with a central hubAll users are linked to a central network owner or "server" in a…
Q: Information technology What happens if you run a programme that has an error?
A: Introduction: Error can be of many types. The basic two types of errors are : Syntax Errors…
Q: Explain the syntax of C++'s Message Passing Formalism. When it comes to memory allocation, what is…
A: Message passing in C++ Message passing is the process of sending and receiving messages as the same…
Q: 14. Which set of Ethernet standards is used in copper Ethernet networks? A. Base-T B. Base-LX C.…
A: Ethernet Ethernet is a group of wired computer networking technologies that are extensively used in…
Q: If the motherboard supports DIMM memory, will RIMM working memory function on a chipset that…
A: Introduction: If a motherboard does not accept memory modules of a given type, speed, or size, they…
Q: Write a C++ program that reads the file that includes numbers and find the Maximum number in that…
A: Find the code implementation below.
Q: Maite a Python Program to take an liat of poaitive into, privt a new liet containing the first even…
A: def evenNumbers(numList): # function to add even number to the even list for num in numList:…
Q: Determine the output of the given program segment. Assume the following initialization: int x =5, y…
A: C++ is a high-level programming language created by Bjarne Stroustrup at Bell Labs in 1979. C++ may…
Q: Question 5. a) Which data structure that would you use to represent the site map of Facebook? The…
A: Facebook uses a graph data structure for the site map. it consists of a group of entities and their…
Q: efine DMA and explain what it does in a computer system.
A: Introduction: DMA (Direct Memory Access) is a technology that allows a peripheral device to directly…
Q: What exactly is the invisible web, and how huge is it in terms of area?
A: Introduction: Bergman's work was the only effort to quantify the magnitude of the Invisible Web that…
Q: What is the difference between a bounded and unbounded stack implementation?
A: Stack: Stack is a linear data structure that complies with a specific order of element insertion and…
Q: Explain why the TCP/IP stack is important for data communication.
A: Overview : 1) TCP/IP is the world's most World Wide Web's core communication system that enables…
Q: What are the definitions of the terms "digital data" and "digital device"?
A: Introduction: An electronic device that can create, generate, send, share, communicate, receive,…
Q: After implementation the 2`s complement division algorithm for the operation (14/4) the contents of…
A: Dividend = 14Divisor = 4First we have to initialize the registers with corresponding values (Q =…
Q: 16. What's the data transfer rate in an FDDI network if only the primary fiber link is used? A. 2…
A: Introduction: The American National Standards Institute (ANSI) established the Fibre Distributed…
Q: This project assumes that you have completed Project 1. Place several Student objects into a list…
A: Solution:- code " # import random to use random shuffle function.import random class…
Q: Use an appropriate example to explain Entity Relationship Diagram.
A: Entity Relationship Diagram Entity–relationship diagram describes a structure of the database with…
Q: How can you tell if a project is financially viable? What is the significance of TCO?
A: INTRODUCTION: Many governments undertake some form of economic viability analysis (also known as…
Q: Please create a 30603a.sql with any editor (e.g. VS code) and create a university database including…
A: student faculty department course CREATE DATABASE CREATING TABLES AND DESCRIBING TABLES INSERTING…
Q: Complete the below given code
A: 1. implements 2. n 3. setPriority(p) 4. start()
Q: pipelining is fetching instructions over the internet execution of multiple instrcutions by a…
A: Pipelining is the process of accumulating instruction from the processor through a pipeline. It…
Q: 5.8 (FIND THE HIGHEST SCORE) Write a program that prompts the user to enter the number of students…
A: According to the information given:- We have to write a java program to find the highest score.
Q: If a task cannot continue because it is waiting for some event (say, waiting for a user to input a…
A: Ready State: After the creation of the process, when the process is ready for its execution then…
Step by step
Solved in 3 steps with 1 images
- Nasra An electricity company charges their consumers according to the units consumed per month according to the given traffic: Unit Consumed Charge per unit 200 baisa Up to 100 units More than 100 units and up to 200 units 250 baisa More than 200 units and up to 400 units 300 baisa Morethan 400 units 400 baisa In addition to the above, every consumer has to pay 200 baisa as Service charge per month. Write a Python program named electricity.py that read the units consumed as an input and calculate the total charges payable by the customer. The following is the formula to calculate total charge. Total charge = units consumed * Charge per Unit + service charge Run and test your program. Once done, submit the file named electricity.py at the link below.3prep Write a Python program for an online MoonBucks coffee order. Coffee is sold by the pound, and the price per pound depends upon the quantity ordered according to the table shown below. Partial pounds are not sold. Shipping is $1.00 per pound, but free for coffee orders over $150 before tax. The user must enter the number of pounds desired from the keyboard. The program will then display the cost of the coffee, the 7% sales tax, shipping charges (if any) and the total amount due. All four values should be displayed in currency format with the $ sign right up against the first digit. See SAMPLE OUTPUTS below.MoonBucks Coffee Company - Coffee Prices40 pounds or more $7.50 per lb.20 pounds or more $8.75 per lb.10 pounds or more $10.00 per lb.1 to 9 pounds $12.00 per lb. Start with a comment that includes your name and course number. Include pseudocode that describes all steps required to solve the problem. Employ variable names that…For grading system (0 to 100) for the course MATH, SCIENCE and ENGLISH create a program that will calculate the AVERAGE GRADE and, assigned grades (A, B, C) based on the percentage obtained by a student.if the percentage is above 90, assign grade A if the percentage is above 75, assign grade B if the percentage is above 65, assign grade C. Write a JAVA or PYTHON programm * МАТH 80 SCIENCE 75 ENGLISH 90 FINAL GRADE 81.67 EQUIV. GRADE В 介仓
- Python programming only FIX THE ERRORS IN THE CODE EXERCISE Here is a program on calculating grades. Please correct the errors in the program.# Calculating Grades (ok, let me think about this one)# Write a program that will average 3 numeric exam grades, return an average test score, a corresponding letter grade, and a message stating whether the student is passing. # Average Grade# 90+ A# 80-89 B# 70-79 C# 60-69 D# 0-59 F# Exams: 89, 90, 90# Average: 90# Grade: A# Student is passing.# Exams: 50, 51, 0# Average: 33# Grade: F# Student is failing.exam_one = int(input("Input exam grade one: "))exam_two = input("Input exam grade two: "))exam_3 = str(input("Input exam grade three: "))grades = [exam_one exam_two exam_three]sum = 0for grade in grade: sum = sum + gradeavg = sum / len(grdes)if avg >= 90: letter_grade = "A"elif avg >= 80 and avg < 90 letter_grade = "B"elif avg > 69 and avg < 80: letter_grade = "C'elif avg <= 69 and avg >= 65: letter_grade = "D"elif:…Blissful number: a number where every digit is greater than its immediate left digit is called a Blissful number. (e.g. 12345 is a blissful number). A single digit number is not a blissful number.Now write a python program that takes a number from the user and checks whether it is a blissful number or not.========================================================Sample Input135789Sample Output135789 is a blissful numberExplanation1:5 is greater than 3. 7 is greater than 5. 8 is greater than 7. And 9 is greater than 8. In other words, every digit is greater than its immediate left digit. Therefore, 35789 is a blissful numberAfter calculating the ranking score according to the ALES (Academic Postgraduate Exam) score, foreign language score and graduation grade point average of the candidate applying for graduate education, write the program in python, which will be able to enter the ranking on the screen. (All points are given over a hundred.) Ranking Score = 50% of ALES + 25% of foreign language score + 25% of graduation grade point average It is calculated by the formula. If the ranking score is 60 and above, it can enter the ranking, otherwise it cannot. Example: Enter ALES score: 80.91 Enter the foreign language score: 80.50 Graduation GPA: 75.56 ------------------------- Your ranking score: 79.47 May enter the rankings
- When Jacob Steinberg began his trip from California to Vermont, he filled his car’s tank with gas and reset its trip meter to 0. After traveling 324 miles, Jacob stopped at a gas station to refuel; the gas tank required 17 gallons. Jacob wants a program that calculates and displays his car’s gas mileage at any time during the trip. The gas mileage is the number of miles his car can be driven per gallon of gas. Desk-check your solution’s algorithm using 324 as the number of miles driven and 17 as the number of gallons used; then desk-check it using 280 and 15.A movie in a local theater is in great demand. To help a local charity, the theater owner has decided to donate a portion of the gross amount generated from the movie to the charity. This example designs and implements a program that prompts the user to input the movie name, adult ticket price, child ticket price, number of adult tickets sold, number of child tickets sold, and percentage of the gross amount to be donated to the charity. The output of the program is as follows: ** The input to the program consists of the movie name, adult ticket price, child ticket price, number of adult tickets sold, number of child tickets sold and percentage of the gross amount to be donated to the charity. Sample Input: Enter the movie name : Darna Enter the price of an adult ticket: 4.50 Enter the price of a child ticket : 3.00 Enter the number of adult tickets sold : 800 Enter the number of child tickets sold : 1850 Enter the percentage of donation : 10 Sample Output: Movie Name : Darna Number…Python programming only FIX THE ERRORS IN THE CODE EXERCISE Here is a program on calculating grades. Please correct the errors in the program.# Calculating Grades (ok, let me think about this one)# Write a program that will average 3 numeric exam grades, return an average test score, a corresponding letter grade, and a message stating whether the student is passing. please use the code below just need any errors in it corrected like profreading an essay im having trouble with it
- using C language A parking garage charges a $2.00 minimum fee to park for up to three hours andan additional $0.50 per hour for each hour or part thereof over three hours. Themaximum charge for any given 24-hour period is $10.00. Assume that no car parksfor longer than 24 hours at a time. Write a program that will calculate and print theparking charges for each of three customers who parked their cars in this garageyesterday. You should enter the hours parked for each customer. Your programshould print the results in the below format, and should calculate and print thetotal of yesterday's receipts. The program should use the functioncalculateCharges to determine the charge for each customer.Python Programming Only Please: The Fast Freight Shipping Company charges the following rates: Weight of Package Rate per Pound2 pounds or less $1.50Over 2 pounds but not more than 6 pounds $3.00Over 6 pounds but not more than 10 pounds $4.00Over 10 pounds $4.75 Write a program that asks the user to enter the weight of a package then displays the shipping charges.A farmer plants a lettuce seed every 14 days in the field. Write a Python program that asks the user to enter how many days have passed since the farmer started then displays: 1) The number of lettuce seeds that have been planted in the field 2) The number of days remaining until the next seed is planted Assume the user inputs only non-negative numbers. Note: If 20 days have passed, the farmer has planted 2 lettuce seeds and will plant the next seed in 8 more days. And output format would be in this format: Lettuce Seeds planted: 2 Next seed is planted in 8 day(s)