Using Paython Write a program that asks a student for his grade (out of 100) in 3 exams and then print out his final grade (out of 100), given that the weight of the first exam is 30%, the second 30%, and the third 40%. Example Input: Exam1: 70 Exam2: 80 Exam3: 90 Example Output: Total Grade = 81 Explanation: 0.3 * 70 + 0.3 * 80 + 0.4 * 90 = 81
Q: What are two future operating system impacts of virtualization?
A: It is important for administrators to think about several methods, such as image production,…
Q: -Consider transferring an enormous file of L bytes from Host A to Host B. Assume an MSS of 400…
A: The Transmission Control Protocol (TCP) which refers to the one it is a transport protocol that is…
Q: "Requirements should be complete and consistent" means what?
A: The statement "requirements should be complete and consistent" means that the requirements for a…
Q: What is the impact of digital media and online communication on social identity and relationships?…
A: In this question we have to understand what is the impact of digital media and online communication…
Q: Which UML diagram is not primary? Their purpose?
A: Introduction: UML, which stands for "unified modelling language," is a notation used to graphically…
Q: Using the word_frequencies dictionary created print out the word that occurs most frequently in the…
A: Your answer is given below as you required with a code and output.
Q: Explain wide-area network data routing.
A: In this question we have to understand Explain wide-area network data routing. Let's understand and…
Q: Layered OS architecture. This strategy's pros and cons? Explain with an example.
A: Answer: Operating system layering has a clear benefit. Each layer may be constructed separately and…
Q: What is "network security"? Explain the business's common data encryption method.
A: Answer is
Q: nical considerations should be made while utilizing searc
A: Introduction: Most Internet users realize search engines' advantages. Many of us depend on them for…
Q: Do routers just route MAC addresses? For those who responded yes, please describe the item, and for…
A: Do routers just route MAC addresses? Answer: NO
Q: Can object-oriented design assess and build systems?
A: Object-oriented programming (OOP) arranges software design around data, or objects, rather than…
Q: illustrate the various broadband architecture compensation schemes.
A: 1) Broadband architecture compensation schemes are used to address the issue of signal distortion…
Q: Find a project-critical developer. Can your engineers and designers implement your ideas with…
A: Introduction: Whether you're just starting out as a team leader or are a seasoned manager, investing…
Q: Software development metrics may be explained if interested. Anything else?
A: Here are some other topics related to software development that you may be interested in: Agile…
Q: Multiprogramming or time-share systems have several users. Process protection difficulties for this…
A: The following scenario involves several users and a multiprogramming or time-sharing system: When…
Q: HTML apps may demonstrate Search Tree Structures use. These programs illustrate representation.
A: No, HTML cannot be used to create and construct applications that exhibit the Search Tree Structures…
Q: Specify just system development lifecycle analysis.
A: The answer to the question is given below:
Q: I'll explain distributed denial-of-service attacks if you don't know.
A: A Distributed Denial of Service (DDoS) attack is a type of cyber attack in which a large number of…
Q: Would you use the internet to help create a new era today?
A: Would you utilise the Internet to usher in a new technological era? The Internet provides an…
Q: Touching each other means what?
A: iMessage on the iPhone is intended to transmit handwritten and digital touch messages. However, you…
Q: Problems might arise as a result of vulnerabilities in wireless networks. Please provide some…
A: In this question we need to explain three concrete instances of problems which might arise due to…
Q: Please define "spatial locality" and "temporal locality."\
A: In this question we need to explain the terms spatial locality and temporal locality in computer…
Q: How may a software project fail after completion?
A: Based on the information: When a software project is finished, it may not be a success. Project…
Q: What do you consider to be the most important advantages that Big Data provides to the landscape of…
A: Introduction The exponential growth of data over the past few years is often referred to as "Big…
Q: Which software development factors are most important? For efficiency, please provide your opinions…
A: Metrics for software development are essential for monitoring software projects' quality,…
Q: The use of wireless networking includes a number of benefits as well as drawbacks. In order to avoid…
A: Wireless Network Advantages: Enhanced Mobility: Individuals accessing a wireless network can roam…
Q: Consider internal attacks on higher education. Please share your ideas on how to prevent similar…
A: Answer Introduction Sexual assaults unwanted or offensive sexual contact between the perpetrator and…
Q: What distinguishes ARM from Core i3?
A: Actually, the Advanced RISC Machines (ARM) family of 32-bit older CPU cores is mostly employed in…
Q: What circumstances make preventing deadlock cheaper than discovering it?
A: Your answer is given below.
Q: What approach preceded temporal extensions to achieve the same goal?
A: Before the development of temporal extensions, what mechanism served the same function as temporal…
Q: Think of software development as creative rather than manufactured. Describe which parts of software…
A: Software is a collection of instructions written and executed with a specific goal in mind. A…
Q: Consider internal attacks on higher education. Please share your ideas on how to prevent similar…
A: Intro Unwanted or inappropriate sexual contact between a perpetrator and a victim is a sexual…
Q: A rundown of the challenges involved in managing enormous volumes of data, along with explanations…
A: Meaning Big data in an enterprise refers to the enormous amount of data, which may be in organized…
Q: What is "full and consistent requirements"
A: The completeness and consistency of specified requirements for a software system are referred to as…
Q: How much of an emphasis should be placed on explaining this process in terms of its inputs and…
A: Analysis is a method of evaluating the performance of a business unit to determine whether business…
Q: Wireless networks' qualities cause several issues. Explain how user activities affect these issues.
A: Wireless networks have become an integral part of our daily lives, and the quality of these networks…
Q: System development involves multiple processes. Explain phase goals.
A: System development is a process that involves several phases, each with specific goals to achieve.…
Q: How do you define safety? Real-world safety is getting harder. Can an organization's infrastructure…
A: "I hope you don't get the virus," you (supposedly) imply while simultaneously indicating that the…
Q: I'll explain distributed denial-of-service attacks if you don't know.
A: Distributed denial of service (DDoS) assaults are a Do's attack. A DDoS assault employs a botnet, a…
Q: Which four software development qualities may be subdivided? While developing software, consider the…
A: Please comment on the following four criteria that should be addressed during software development…
Q: Show three virtualization tools. Contrast.
A: Virtualization is a technique to create a layer over hardware of a computer which splits memory,…
Q: "Full and consistent" standards-what does it mean?
A: According to the information given:- We have to define "full and consistent" requirements mean?
Q: Form to complete before calling Medlink
A: MedLink which refers to the one it is a suite of mobile apps that provide access to health and…
Q: Describe the various semantic categories, their uses, and their pros and cons
A: Words, sentence structure, and symbols are the focus of semantics, a key field of linguistics.…
Q: Find a project-critical developer. Can your engineers and designers implement your ideas with…
A: INTRODUCTION: Project documentation is a group of documents the project manager produces during…
Q: Cloud computing, social media blogging, and more are addressed in this course.
A: In the branch of computer science known as peer-to-peer social cloud computing, computing resources…
Q: Is "interdependence" relevant to system concepts? What's different?
A: Please find the detailed answer in the following steps.
Q: Using Python Write a program using functions to print the prime numbers in a given range [n, m].…
A: Using python language print the prime numbers between the given range follows these step: step 1:…
Q: Explain a static data structure use case. Several applications employ dynamic data structures.
A: Static data structures are intended for storing stationary "data sets." However, a static…
Using Paython
Write a program that asks a student for his grade (out of 100) in 3 exams and then print out his final grade (out of 100), given that the weight of the first exam is 30%, the second 30%, and the third 40%.
Example Input:
Exam1: 70
Exam2: 80
Exam3: 90
Example Output:
Total Grade = 81
Explanation: 0.3 * 70 + 0.3 * 80 + 0.4 * 90 = 81
Step by step
Solved in 4 steps with 2 images
- Statistics are often calculated with varying amounts of input data. Write a program that prompts for and takes any number of non-negative integers as input, and outputs the average and max. A negative integer ends the input and is not included in the statistics. Example program run (the user types only the numbers, in this case 15 20 0 5 -1): Enter numbers separated by spaces, with a negative number to quit: 15 20 0 5 -1 Average = 10 Max = 20 #include <iostream>using namespace std;/* program that prompts for and takes any number of non-negative integers as input, and outputs the average and max. A negative integer ends the input and is not included in the statistics. Example program run (the user types only the numbers, in this case 15 20 0 5 -1): Enter numbers separated by spaces, with a negative number to quit:15 20 0 5 -1 Average = 10 Max = 20*/ int main() { /* Type your code here. */ return 0;}At a certain university, students have to submit their exams online. The administration decides that for each minute of late submission, 5 points are deducted. Write a program that asks the user for his initial grade and the late submission time (in minutes), and then displays the final result. Sample Run 1: Enter your initial grade: 82 Enter the late submission time (in minutes): 6 Your final grade is 52 Sample Run 2: Enter your initial grade: 115 Grades should be between 0 and 100 Sample Run 3: Enter your initial grade: 43 Enter the late submission time (in minutes): 10 Your final grade is 0At a certain university, students have to submit their exams online. The administration decides that for each minute of late submission, 5 points are deducted. Write a program that asks the user for his initial grade and the late submission time (in minutes), and then displays the final result. Sample Run 1: Enter your initial grade: 82 Enter the late submission time (in minutes): 6 Your final grade is 52 Sample Run 2: Enter your initial grade: 115 Grades should be between 0 and 100 Sample Run 3: Enter your initial grade: 43 Enter the late submission time (in minutes): 10 Your final grade is 0 Sample Run 4: Enter your initial grade: 72 Enter the late submission time (in minutes): -2 Time should be positive
- In various applications, you are often asked to compute the mean and standard deviation of data. The mean is simply the average of the numbers. The standard deviation is a statistic that tells you how tightly all the various data are clustered around the mean in a set of data. For example, what is the average age of the students in a class? How close are the ages? If all the students are the same age, the deviation is 0. Write a program that prompts the user to enter any number of values into a double array, and then calculates and displays the mean and standard deviations of these numbers using the following formulas: mean)? 2i +x2 + .. + xn i=1 i=1 mean = deviation = п - 1In various applications, you are often asked to compute the mean and standard deviation of data. The mean is simply the average of the numbers. The standard deviation is a statistic that tells you how tightly all the various data are clustered around the mean in a set of data. For example, what is the average age of the students in a class? How close are the ages? If all the students are the same age, the deviation is 0. Write a program that prompts the user to enter any number of values into a double array, and then calculates and displays the mean and standard deviations of these numbers using the following formulas: (z - mean) z+z3+ *** +zn deviation = mean = n-1 Required Methods You must write your program so that the following methods are defined/implemented and used (called): • /* Compute the deviation of double values */ public static double deviation (double[] x) • /* Compute the mean of an array of double values */ public static double mean (double[] x) Sample Run (user input…Python programming In a department store sale, customers who purchase over 2000 are given 10% discount. Write a program that will accept for the purchase amount of a customer, solve for his/her discount if there’s any, ask for the money he/she is going to pay, then output the discounted price and the change of the customer.”
- USE PYTHON A small shop sells 280 different items. Each item is identified by a 3 – digit code. All items that start with a zero (0) are cards, All items that start with a one (1) are sweets, All items that start with a two (2) are stationery and All items that start with a three (3) are toys. Write a program which inputs the 3 – digit code for all 280 items and outputs the number of cards, sweets, stationery and toys.Write a program which prompts the user to enter an integer and prints a half diamond star pattern. Note: you can assume that the number will always be > 1. For example: Input Result 5 9 Enter number of columns: 5 * ** *** **** ***** **** *** ** * Enter number of columns: 9 * ** *** **** ***** ****** ******* ******** ********* ******** ******* ****** ***** **** *** ** * Answer: (penalty regime: 0.0 5 10 15 20 25 30 35 40 45 50 %)Write a program that helps a company manage salaries of its employees. Your program should ask for the number of hours worked and the hourly rate of an employee than, display the salary. This program should allow the user to enter the information of many employees until enters -1. Sample Run: Enter the number of hours worked (-1 to end): 32 Enter hourly rate of the worker: 100 Balary is 03200 Enter the number of hours Worked (-1 to end) : 40 Enter hourly rate of the worker: 5 Balary is 3200 Enter the number of hours worked (-1 to end): 42 Enter hourly rate of the worker: 10 Salary is 0420 Enter the number of hours worked (-1 to end) : -1
- Write a program that calculates the equivalent resistance of a circuit. n electrical resistors with resistance values R1, R2,.., Rn are said to be connected in parallel if the same voltage is applied across each. Their equivalent resistance Reg is related to the values R1, R2, ..., Rn by: 1 1 1 1 + +...+ R R R, R. "eq Write a program that prompts the user to enter the resistance of n resistors. The user should be prompted continuously by using a while loop until a zero or negative value is entered (the program should count the number of resistors n entered by the user and store the values in an array). Use another separate loop to print the resistance values entered by the user and the equivalent resistance Reg. Test your program with R1= 1 kn, R2= 2 kn, R3= 4 kQ and R4= 8 kQ.Write a program that helps a company manage salaries of its employees. Your program should ask for the number of hours worked and the hourly rate of an employee than, display the salary. This program still asks the user to enter the information of many employees until enters a zero value. Sample Run: Enter the number of hours worked (negative nbr to end): 32 Enter hourly rate of the worker: 100 Your salary is $3200 Enter the number of hours worked (negative nbr to end): 40 Enter hourly rate of the worker: 5 Your salary is $200 Enter the number of hours worked (negative nbr to end): 42 Enter hourly rate of the worker: 10 Your salary is 5420 Enter the number of hours worked (negative nbr to end): 0Statistics are often calculated with varying amounts of input data. Write a program that takes any number of integers as input, and outputs the average and max. Ex: If the input is: 15 20 0 5 the output is: 10 20 My Code: data = input("")data = data.split(" ")count = 0total = 0max = -99999 for val in data:total += int(val)count += 1 if int(val) > max:max = valavg = total/count print(int(avg), max) This code doesnt produce the correct MAX needed the out oupt for this code is. 10 5 should be 10 20