2- Write a Python program that determines a student's grade. The program will read three types of scores(quiz, midterm, final exam scores) and determine the grade based on the following rules : if the average score >=90% =>grade=A -if the average score >= 70% and <90% => grade=B -if the average score>=50% and <70% =>grade=C -if the average score<50% =>grade=F Example Input: Quiz score: 80 Mid-term score: 68 Final score: 90 Output: Your grade is B.
Q: d P(S|~C)=0.5 -- R is conditional on C, with P(R|C)=0.8, and P(R|~C)=0.2 -- W is conditional on S…
A: A Bayesian network is a graphical model that represents a set of variables and their probabilistic…
Q: Consider two potential OS alterations that virtualization could bring about in the future.
A: Virtualization has been a game-changer in the world of computing, allowing multiple operating…
Q: Is there any advantage to contacting someone on the phone?
A: In today's world we have access to many communication methods such as email, text and phone calls.…
Q: A number of Linux commands are identical to their corresponding Unix commands. Why does this keep…
A: Many Linux commands are completely functioning on other OSes as a result of porting and…
Q: D Skype can use your computer's internal and camera, or you can configure external devices for audio…
A: Answer: Microphone Explanation: Skype can use your computer's internal microphone and camera for…
Q: Does the Object-Oriented Design concept have a name? Developing Object-Oriented Software
A: Object-Oriented Design (OOD) is a fundamental concept in computer science that is widely used in…
Q: par portion that followed by a host ID portion that identifies individual hosts An organization has…
A: The answer is
Q: Create and deploy a programme that can read up to 25 pairs of names and postal (ZIP) codes for each…
A: The code reads each line of input, splits it into the first name, last name, and postal code using…
Q: Given the nature of a set, the Set interface might be implemented using a number of different…
A: A LinkedList is a data structure that consists of a sequence of nodes where each node stores a value…
Q: X Y Z Do 2. Show the truth table for AND gate. D D F
A: SOLUTION - From the circuit the F value will be - F = X'Y + XZ
Q: ESTION 2 Complete the Photoresistor lesson. This lesson uses bitshift operator (<<<) to update the…
A: There are 3 operators which are come under bifshift operator: >> : Arithmetic right shift…
Q: Create a class called "Rectangle" that has two private member variables: "length" and "width". The…
A: According to our guidelines, we are allowed to solve only the first question. Please post the other…
Q: In what type of space does a computer flourish?
A: The computer is an essential device in today's world, performance and durability are important to…
Q: Is it possible to design an expanding opcode to allow the following to be encoded in a 16 bit…
A: In computer architecture, the design of instruction sets plays a crucial role in determining the…
Q: Create a class called "Rectangle" that has two private member variables: "length" and "width". The…
A: The provided C++ code is a basic program that compares the areas of two rectangles. It is designed…
Q: 1 - In C++ the declaration of floating point variables starts with the type name double, followed by…
A: is only one rule. To create an LR parser for the given grammar, we need to construct an LR(0)…
Q: ctives R, J, and I. greatly app
A: The term "instruction set architecture" refers to a computer's blueprint for its collection of…
Q: I need help Designing a compiler for a Simple Programming Language involves creating a software…
A: The question is about designing a computer program that can translate code written in a programming…
Q: Use a heap to implement a simulator for a process scheduling system. In this system, jobs will be…
A: A process scheduling system is an essential component of modern operating systems. It is responsible…
Q: In a system with dispersed nodes, there are several software components that are shared by all…
A: A system with dispersed nodes, also known as a distributed system, is a collection of independent…
Q: Discuss why two separate, standard internet transport protocols exist: TCP and UDP. How are they…
A: TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) are two basic internet…
Q: please answer the promt using python: The random.choice(card_values) function will return: 6, 11,…
A: Given that, The random.choice(card_values) function will return: 6, 11, 4, 4, 10, 8, 7, 10, 2
Q: Which registers are used as passing parameters in a function or as a return value normally? The code…
A: A) The "push" statements on lines 4 and 5 are used to store the contents of registers r4 and r5 on…
Q: Given ip address 130.30.0.0 Complete a table for the first 4 subnets in the network and give the…
A: subnets are used to divide a larger network into smaller, more manageable sections. This can be done…
Q: Algebraic Preis’ Algorithm Algorithm due to Preis provides a different way to solve the maximal…
A: We'll demonstrate two different Python implementations of this technique. We will follow the stages…
Q: using python Use the list n = [34, 24, 14, ‘eleven’, 21, 31, 41] to answer the following question:…
A:
Q: What are the potential security risks associated with the widespread use of cloud computing, and how…
A: The widespread use of cloud computing has introduced several potential security risks for…
Q: Create a simple text-based console game that implements at least three (3) interfaces. Below is a…
A: The java code is given in the below step with an output screen shot
Q: What are some of the ethical and legal issues that arise from the use of big data analytics and…
A: Privacy: The collection, storage, and analysis of large volumes of personal data can lead to…
Q: osition Q Initialise all distTo[] values to infinity and distTo[s] to 0, then carry out the…
A: To prove the proposition for the generic shortest-paths algorithm, we'll use induction. Base case:…
Q: Designing data environments containing dispersed data necessitates making decisions concerning how…
A: In this question we have to understand and discuss on Designing data environments containing…
Q: ) until the mouse button is released. Define the spaceship using a se
A: To create a JavaFX application that fulfills your requirements, follow these steps: Create a new…
Q: A router seems superfluous.
A: A router is a device that is essential in today's computer networks. It is in charge of routing…
Q: spot is, how it operates,
A: Internet is simply called as Net. Internet is a collection of interconnected devices which shares…
Q: Does this imply that software engineers must deliver maintainable code even if their employers do…
A: The answer is given below step.
Q: If we were to run the following program for the list = {21, 32, 43, 54, 65, 76, 87, 98, 109, 130},…
A: 1) Program in question does below steps We define an array of integers list with the values. We…
Q: need help with my context free language. It needs to do the following 1. Developing a language model…
A: You need help with creating a context-free language model in Java that can generate grammatically…
Q: Take the initiative in fighting crime in Kampala. In order to enhance the administration of these…
A: The increasing rate of crime in Kampala calls for effective measures to be put in place to curb the…
Q: Briefly explain what this code is doing and also give its output when n=3. #include using namespace…
A: The code is a C++ program that takes an integer input n from the user, and then enters a while loop…
Q: JAVA: I am getting this error : Repeated column in mapping for collection:…
A: In this question we have to resolve the error for the Java code with the given error type Let's…
Q: The OSI reference model says that there must be seven, but this isn't always the case. Why try to…
A: The OSI (Open Systems Interconnection) reference model is a conceptual model that standardizes the…
Q: Which type of referencing occurs in the formula, $F$12/$G$1 + $M$2? Select an answer: relative mixed…
A: The is about identifying the type of referencing used in a given formula in Microsoft Excel. The…
Q: New features or an expansion of the scope may arise. Give contrastive examples of the concepts. How…
A: In software development, it is common for new features or an expansion of the scope to arise during…
Q: How many unique types of computer code are currently in use? Give a concise summary of each.
A: Computer code is a fundamental component of computer science and technology. There are various types…
Q: Write a function that returns the result of the following expression: (x² + y²) / z² It should throw…
A: Step-1: StartStep-2: Declare variables x,y and zStep-3: Start while loop that runs forever (or until…
Q: In C++, write a program that calculates and prints a monthly paycheck for an employee. The net pay…
A: - We need to create a C++ program to calculate the taxes for the salary provided.
Q: Exists a third component to the operating system of a computer?
A: A computer's operating system is made up of many components that work together to manage hardware…
Q: public class Date { privateintyear; privateintmonth; privateintday; public Date() {…
A: The task requires creating three static methods in the Driver class: displayMenu(),…
Q: How can we ensure that iOS applications have undergone extensive testing
A: Ensuring that iOS applications have undergone extensive testing is crucial to guarantee their…
Q: 3. Absolute value template Write a function template that accepts an argument and returns its…
A: Include the necessary header files iostream and cmath. Define a template function absoluteValue with…
Here kutout so called :Quiz score: 80
Mid-term score: 68
Final score: 90.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images
- Program Unit Score Calculator Console App Write a Python Console Application program that allows the user to enter the marks for different assessments in a unit, and computes the total mark and grade for the unit. Here is the program logic specification: There are six assessment activities Quiz1, Quiz2, Quiz3, Quiz4, Lab Journal, Major Assignment and Final Exam. The four quizzes are worth 5 marks each, the Lab Journal is worth 10 marks, the Major Assignment is worth 30 marks and the Final Exam is worth 40 marks. The algorithm for computing the total mark for the unit is: Total Mark = Quiz1+Quiz2+Quiz3+Quiz4+Major Assignment+ Lab Journal + Final Exam The following screenshot shows a successful test run:JAVA Programming Problem 2 - Diving In the sport of diving, seven judges award a score between 0 and 10, where each score may be a floating-point value. The highest and lowest scores are thrown out and the remaining scores are added together. The sum is then multiplied by the degree of difficulty for that dive. The degree of difficulty ranges from 1.2 to 3.8 points. The total is then multiplied by 0.6 to determine the diver’s score. Write a computer program that will ultimately determine the diver’s score. This program must include the following methods: A method name inputValidScore that inputs one valid score for one judge for one diver. This method will return the valid score. A method named inputAllScores that creates an array to store the scores for all judges for the diver. This method will fill the array with a valid score from each judge. This method does not take input arguments, but it does return the array of scores. A method named inputValidDegreeOfDifficulty that inputs a…Python Returning Funtion function name: bound_0_to_100 parameters:a number grade returns: the grade with a minimum of 0 and a maximum of 100 behavior: In addition to exceeding 100, sometimes a grade will be so spectacularly bad that it falls below 0. In that case we want to normalize it to 0 so all grades fall into the range [0, 100]. ex: bound_0_to_100(75) returns 75, bound_0_to_100(103) returns 100, and bound_0_to_100(-5) returns 0
- C++ Programming Exercise: 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 month's interest on $1,000 is 1000 X 0.006 = 6. Becuase the payment is $25 and the interest of 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 X 0.006 = 5.886,…Computer Fundamentals and Programming 2 Write a program that determines a student’s grade. The program will accept 3 scores and computes the average score. Determine the grade based on the following rules: - If the average score is equal or greater than 90, the grade is A. - If the average score is greater than or equal to 70 and less than 90, the grade is B. - If the average score is greater than or equal to 50 and less than 70, the grade is C. - If the average score is less than 50, the grade is F. Source Codes and Print Screen of the OutputNeeds to be done in C# language. Problem Write a program that computes and displays the charges for a patient’s hospital stay. First, the program should ask if the patient was admitted as an in-patient or an out-patient. If the patient was an in-patient, the following data should be entered: • The number of days spent in the hospital• The daily rate• Hospital medication charges• Charges for hospital services (lab tests, etc.) The program should ask for the following data if the patient was an out-patient: • Charges for hospital services (lab tests, etc.)• Hospital medication charges The program should use two overloaded functions to calculate the total charges. One of the functions should accept arguments for the in-patient data, while the other function accepts arguments for out-patient information. Both functions should return the total charges. Input Validation: Do not accept negative numbers for any data.
- Note: C++ language Write a program that determines the price of an item after discount according to the following rule: if the original price is greater than 100.00 then the discount is 10%, otherwise the discount is 7% in Summer seasons and 5% in Winter seasons. The program should read: 1- the original price of an item and 2- the current season (s for Summer, p for Spring, f for Fall and w for Winter) and prints on the screen the price after the discount.After 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 rankingsQUESTION 5 This is a MULTIPLE ANSWER question, which means you are able to select one or more answers as being correct. Note that this does not necessarily mean that there are multiple correct answers. In any case, select all the answers you believe are correct. (NB: There are no part marks awarded for multiple answer questions.) Consider the following Python code, where the variables level and threshold have integer values: alarm = 3 if level = threshold: if level < 100: alarm = 1 alarm = 2 What initial values for variables level and threshold guarantee that variable alarm ends up with the value of 2 after the code has executed? When level is 200 and threshold is 99 When level is 4 and threshold is 5 ☐ When level is 200 and threshold is 100 When level is 400 and threshold is 300 When level is 5 and threshold is 4 When level is 3 and threshold is 4 When level is 1 and threshold is 2 O When level is 10 and threshold is 10
- Python Programming TasksQuestion 3Businesses some time market their contact no as: 111-GET-SONY. This technique makes easy for the customers to remember the brand name. To do so they use the alphabets that are printed on the numbers on dial pads of Tele/Mobile phones as follows: A, B, andC = 2D, E, and F = 3 G, H, and I = 4 J, K, and L = 5 M, N, and O = 6 P, Q, R, and S = 7 T, U, and V = 8 W, X, Y, and Z = 9. However, the telecom systems needs proper numbers for dialing. Create anapplicationthatshould prompt the user to enterthe no in specified format such as XXX-XXX-XXXXand then translates the number to their numeric equivalent. Input: 111-GET-SONYOutput: 111-438-7669 Question 4Write a program imitating a website where users can signin/signup, view certain information which can only beseen by signed in users, logout or exit the application.Initially you would have asequence userswithfollowing structure:users =…Python Code Needed Problem: A company wants a program that will calculate the weekly paycheck for an employee based on how many hours they worked. For this company, an employee earns $20 an hour for the first 40 hours that they work. The employee earns overtime, $30 an hour, for each hour they work above 40 hours. Example: If an employee works 60 hours in a week, they would earn $20/hr for the first 40 hours. Then they would earn $30/hr for the 20 hours they worked overtime. Therefore, they earned: ($20/hr * 40hrs) + ($30/hr * 20 hrs) = $800 + $600 = $1400 total. For this assignment, you must create pseudocode and a flowchart to design a program that will calculate an employee’s weekly paycheck. Write pseudocode to design a programming solution by outlining a series of steps and using appropriate indentation and keywords. As you write your pseudocode, be sure to consider the following: What input does the computer need? What steps does the program need to follow to process the input?…C++ Language code and explain Zodiac Sign Identifier - Ask the user's birth month and birth day and return the corresponding Zodiac Sign he/she belongs: Evaluate the user's birth month and day by checking the following: If born from, Mar 21 to Apr 19 - Aries Apr 20 to May 20 - Taurus May 21 to Jun 20 - Gemini Jun 21 to Jul 22 - Cancer Jul 23 to Aug 22 - Leo Aug 23 to Sep 22 - Virgo Sep 23 to Oct 22 - Libra Oct 23 to Nov 21 - Scorpio Nov 22 to Dec 21 - Sagittarius Dec 22 to Jan 19 - Capricorn Jan 20 to Feb 18 - Aquarius Feb 19 to Mar 20 - Pisces Example: What is your month of birth? 1 - January (31 days) 2 - February (27 days, if Leap Year 28 days) 3 - March (31 days) 4 - April (30 days) 5 - May (31 days) 6 - June (30 days) 7 - July (31 days) 8 - August (31 days) 9 - September (30 days) 10 - October (31 days) 11 - November (30 days) 12 - December (31 days) Please enter your birth month: 8 Please enter day of your birth: 16 Please enter your year of birth: 1997 Your birthday is every…