Python Write a program that requests five grades as input. Your program should drop the lowest two grades. It should then display the range and average of the remaining three grades. Your program should use a function that returns two values. Name your file: grades.py
Q: What are REST web services and why are they so prevalent?
A: About REST web services RESTful web services are designed to work optimally over the Internet. REST…
Q: What is the meaning of the word "Web-Sphere"?
A: In this question we need to explain the meaning of the word "Web-Sphere."
Q: Given a main program that reads the number of one word names followed by the list of names, complete…
A: Below I have provided C++ Programming. Also, I have attached the screenshot of the code and output…
Q: How can linear programming be used to make the most prudent financial decisions?
A: When a linear function is subject to several constraints, it is maximized or minimized using the…
Q: In other words, process modeling should not be limited to the creation of information technology…
A: Process modelling is the use of diagrams to show how business processes work: Like a flow chart,…
Q: This is an example of a ? Choose the most specific answer. tree O graph O digraph O weighted graph
A: Complete answer is given below:
Q: How were the usability and user experience objectives of the evaluation divided?
A: Introduction: The effectiveness of the programme is a key success factor in software development. In…
Q: This is due to the huge computational capacity of computers. Please explain how computers have…
A: Together, we are advancing through the greatest revolution in human history. Its effects can be felt…
Q: Write a C# code to find the second largest integer in an array using only one loop.
A: The below code snippet is Find the second highest value in an array using C#
Q: What disadvantages does symmetric encryption's key management have?
A: INTRODUCTION: Symmetric encryption employments a single key to scramble and decode. In the event…
Q: What is the result of multiplying ptr by four? Assuming ptr is an int reference, the following…
A: Multiplying by 4: Find the number you are multiplying by 4 in step one. That quantity in this issue…
Q: Briefly describe how color codes are used by the BFS algorithm. Explain the significance of each…
A: BFS Algorithm, or breadth first search: It is a graph traversal method that explores every…
Q: Demonstrate how process modeling may benefit any project, not only the creation of information…
A: Information Technology Systems: An information technology system (IT system) is often an information…
Q: Do you understand the meaning of a "poison packet attack"? Use a few instances to illustrate your…
A: It is also called as ARP Spoofing. In this, hacker sends malicious ARP packets to LAN Network.…
Q: What is homoscedasticity in particular?
A: The homogeneity of variances is another name for the concept of homoscedasticity. In its most basic…
Q: What are the distinctions between relational, conceptual, and conceptual data modeling?
A: The above question is solved in step 2 :-
Q: Use three (3) sentences to describe each of the UP Chart's phases in their own unique paragraph.
A: A project is divided into four phases under the Unified Process: Conceptualization (milestone)…
Q: The use of print statements or manual walkthroughs for debugging has both advantages and…
A: Launch: A developer will use "print" statements to instrument their application throughout the…
Q: Given a main program that reads the number of one word names followed by the list of names, complete…
A: Below I have provided C++ Programming. Also, I have attached the screenshot of the code and output…
Q: What do you name software that performs a certain function, such as virus scanning, file…
A: Utility Programs: A utility programme is a system application that carries out a certain task,…
Q: Define "pointer arithmetic" in the largest meaning possible.
A: It is also called as "Address Arithmetic". It is a method of calculating the address of an object…
Q: What determines the order of events in a text-based system, such as a command line?
A: The question concerns the sequence control when a user executes a program in a text-based…
Q: Define WAP, and explain the model working of it.
A:
Q: What specific benefits does the iPad have over the Kindle Fire?
A: Apple's version of a tablet computer with a touchscreen is the iPad. The first generation iPad was…
Q: The context for the literature evaluation must be established first. Before developing and…
A: In surveys, books, and certain articles, literature reviews are critical: The review of a literature…
Q: The number of encryption operations required to transmit a big file is comparable for block chaining…
A: Introduction The solution to the given question is: DES DES(Data Encryption Standard) Cypher Block…
Q: End-to-end encryption decryption may be problematic for application-level proxies. Provide a…
A: End-to-end security: A system using a proxy raises a number of security issues. Concerning…
Q: Explain the four basic object-oriented principles (OOP) in the context of the prior form hierarchy,…
A: The following four OOP fundamentals are listed: 1. Encapsulation 2.Passing down 3.Abstraction…
Q: What are three choices that may be used in a project depending on the layout of a decision tree?…
A: A decision tree is a particularly particular sort of probability tree that enables you to choose a…
Q: What is the meaning of the word "Web-Sphere"?
A: What is the Web? The World Wide Web is often known as the "Web," and it is a portion of the…
Q: OSCAR OSCAR ID ACTOR_ID LAST_NAME MOVIE ID TITLE MOVIE MOVIE ID → TITLE NUMBER OF WINS NUMBER OF…
A: Following is the ER Diagram We have 4 entities 1. Oscar 2. director 3. Actor 4. movie
Q: How does one put user information into a database?
A: Given: Data are kept in a database for later use, such as obtaining, processing, updating, or…
Q: 1. Write one reason for why validating user input in HTML or JavaScript (i.e., "client side") is…
A: The Answer is in step-2.
Q: What is so challenging about a game that just employs run-length encodings?
A: The solution to the given question is: It's difficult to create games using run-length encoding…
Q: The expression Branch (Tip 1) (Tip 2) is a value of the datatype: Odata Tree = Tip Tree | Branch Int…
A: First option is wrong: because you may specify a function Object() { [native code] } to be an infix…
Q: What are the benefits of a post-implementation evaluation? Who should govern the situation, and why?
A: Introduction: A post-implementation assessment is crucial because it allows for a comparison between…
Q: What factors should be considered before correcting errors? In addition, please describe the…
A: The following are the many considerations that should be made while fixing problems and errors:…
Q: Example of Output: Input a string:..... 2. Demonstrate by writing a program to calculate the…
A: Here is the c++ Program: See below steps for code and output:
Q: Describe the implementation of the web server's native authentication and authorisation services and…
A: Answer: 1. Its security measures are as follows: In the improved version, a new Security Context…
Q: Which category includes word processors, spreadsheets, e-mail, web browsers, and games?
A: Word processing programmes, spreadsheet programmes, email programmes, web browsers, and game…
Q: How is polymorphism implemented?
A: One of the key components of object-oriented programming is polymorphism. We are able to carry out a…
Q: What is the definition of Web service provision?
A: A SOAP-based web interface for provisioning is provided by Provisioning Online Services (PWS). The…
Q: Based on Don Norman's concept of user issues, explain how formative evaluation may be used to…
A: Answer: Introduction: These evaluations occur throughout the redesign process, and the information…
Q: Justification for why you consider a web server to be the ultimate system
A: What is a Server? A server is a computer, gadget, or application created specifically to manage…
Q: Describe the implementation of the web server's native authentication and authorisation services and…
A: Introduction: The following are its security measures: A new Security Context feature in the updated…
Q: Before making a final choice, it is vital to examine both technical ramifications and commercial…
A: The configuration of network nodes (such as switches and routers) and links is represented by the…
Q: List and describe the qualities of the perfect cryptographic hash function.
A: Hash function for cryptography The term "cryptographic hash function" refers to a hashing algorithm…
Q: What is Debugging utilized for when it comes to programming?
A: Introduction: It's termed debugging when a programme or piece of software is debugged to find and…
Q: How is polymorphism implemented?
A: The ability to interpret data in several formats is known as polymorphism. Poly signifies many,…
Q: This is due to the huge computational capacity of computers. Please explain how computers have…
A: Introduction A computer is an electrical device with a high processing capacity.
Python
Write a program that requests five grades as input. Your program should drop the lowest two grades. It should then display the range and average of the remaining three grades. Your program should use a function that returns two values. Name your file: grades.py
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 2 images
- answer in python Design and write a program that calculates and displays the number of minutes over the monthly contract minutes that a cell phone user incurred. The program should allow users to enter into a file minutes allowed in a month, minute used during a month and minutes over during a month for 12 months. The program reads the data from the file. The program validates the data as follows: - The minimum minutes allowed should be at least 200, but not greater than 800. Validate data accordingly. - The minutes used must be over 0. Validate data accordingly. Once correct data is read, the program should calculate the number of minutes over the minute allowed. If minutes were not over, print a message that they were not over the limit. If minutes were over, for every minute over, a .20 fee should be added to the monthly contract rate of 74.99. Be sure not to add the .20 fee for minutes 1 to the number of minutes allowed, but rather just minutes over. Display in a file the number…Finish this program from the code posted below! Note: There should be two files Main.py and Contact.py You will implement the edit_contact function. In the function, do the following: Ask the user to enter the name of the contact they want to edit. If the contact exists, in a loop, give them the following choices Remove one of the phone numbers from that Contact. Add a phone number to that Contact. Change that Contact's email address. Change that Contact's name (if they do this, you will have to remove the key/value pair from the dictionary and re-add it, since the key is the contact’s name. Use the dictionary's pop method for this!) Stop editing the Contact Once the user is finished making changes to the Contact, the function should return. Code:from Contact import Contactimport pickledef load_contacts():""" Unpickle the data on mydata.dat and save it to a dictionaryReturn an empty dictionary if the file doesn't exist """try:with open("mydata.dat", 'rb') as file:return…Here are the two programs which you may choose from to do this program: 1. Using Files - Student Line Up Modify the Student Line Up program described in Programming Challenge 14 which states: "A teacher has asked all of her students to line up according to their first name. For example, in one class Amy will at the front of the line, and Yolanda will be at the end. Write a program that prompts the user to enter the number of students in the class, then loops to read that many names. Once all of the names have been read, it reports which student would be at the front of the line and which one would be at the end of the line. You may assume that no two students have the same name. You are now to do this program reading names from a file. Names should be read in until there is no more data to be read. I am providing for you a file named LineUp.txt for you to use in writing this program. I suggest that you write it first without the file and then modify to add the file.
- Python - Next Birthdate In this task, we will write a program that reads birthdate data from a given CSV file, and given the current date, determines which person's birthday will be celebrated next. Create a function with the following signature: nextBirthdate(filename, date) filename: parameter, which represents the CSV filename. date: parameter, which represents the current date. The function should open the CSV file, read the birthdate data, and determine which person's birthday will be celebrated next, given the current date. The name of the person should be returned. In other words, given a date, find the person whose birthday is next. Sample Run birthdates.csv Draven Brock, 01/21/1952 Easton Mclean, 09/02/1954 Destiny Pacheco, 10/10/1958 Ariella Wood, 12/20/1961 Keely Sanders, 08/03/1985 Bryan Sloan,04/06/1986 Shannon Brewer, 05/11/1986 Julianne Farrell,01/29/2000 Makhi Weeks, 03/20/2000 Lucian Fields, 08/02/2018 Function Call nextBirthdate("birthdates.csv", "01/01/2022") Output…Python Programming Create a program that allows user to enter student names and scores, the program is to also allow defining the subject the grades are being entered for. The entered information is to be stored in a DataFrame. First, the program is to ask user how many tests are the grades for. If 3 entered for instance, the program is to ask user to enter test names. Next, the program is to ask the user the number of students they would like to enter grades for. Then the program is to ask user to enter dictionary information as following: Student Name List of grades (3 grades minimum) An example of the outcome is shown in the following picture:python function that creates and saves data in a file. the saved data represents exam grades. in the function , you will create n random numbers in the range 1-100, where n is the number of students. The function can be called as follows: createFile(filename, n) main function, in which the user inputs the file name and the number of students, then the main calls function createfile. the main should preform validation for n (should be > 0), and the filename(should end with .txt)
- Line Numbers Write a program that asks the user for the name of a file. The program should display the contents of the file with each line preceded with a line number followed by a colon. The line numbering should start at 1. PythonFunction files can have zero, one, or several output arguments. False True OExpense Pie Chart (in python) Create a text file that contains your expenses for last month in the following categories: -Rent -Gas -Food -Clothing -Car Payment -Misc Write a Python program that reads the data from the file and uses matplotlib to plot a pie chart showing you how you spend your money.
- in c++ Write a program to generate a random number between 1 - 100, and then display which quartile the number falls in. First quartile is 1 - 25Second quartile is 26 - 50Third quartile is 51 - 75Fourth quartile is 76 - 100To generate a random number, follow these steps: include necessary header files#include <cstdlib> //for random functions#include <ctime> //for time functionsset constants for the minimum and maximum values of the desired rangeconst int MIN_VALUE = 1; //minimum range valueconst int MAX_VALUE = 100; //maximum range valueseed the random number generator (RNG) with a unique unsigned int value - system time!unsigned seed = time(0); //system time in seconds since 1/1/1970srand(seed); //seed the RNGget a random number in the desired rangeint num = (rand() % (MAX_VALUE - MIN_VALUE + 1)) + MIN_VALUE;The program should: contain header comments as shown in classdisplay a "hello" message (more descriptive than shown in sample)generate a random number between 1 -…PLEASE COMMENT CODE In a python program, create a new file and call it “ tracking”. Write to it four lines each contains information about an order like this: 1-00654-021 Dell charger Toronto-WEST 99-49-ZAD011-76540-022 ASUS battery Milton-EAST 34-56-CBH561-09239-026 HP HD Scarborough-NORTH 12-98-AZC451-12349-029 Mac FD North York-LAWRENCE 34-49-ZWL01Add the file two more lines: 1-34567-055 Lenovo SSD Milton-ON 34-09-MT04 1-90432-091 Lenovo battery Oakville-ON 78-KL98 Define a function that searches for a brand (e.g. Dell, ASUS, etc.). Test the function in your program.Python Please! Create a program that will allow a user to do either of the following things: Get input from the user to write the following information to a file: Student name Assignment average grade Mid-term test grade Fi-nal project grade Fi-nal test grade Allow the user to search the file by student name and output a weighted average (15%, 25%, 25%, and 35%, respectively) based on the grades for that student in the file. The user should be able to choose either of the two options until they want to stop.