1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Debora [2.8K]
3 years ago
8

Grading on the curve is a method of grading that is based on the belief that letter grades for any given class should be distrib

uted along a bell curve. Typically, after a test is marked, the average score becomes an "average" grade, possibly a C- or B . Scores falling above and below this average are graded accordingly. While this method of grading has both proponents and opponents, we are going tp (pretend to) apply this form of marking to a set of assignments. You will receive a set of integer scores for a particular assignment. As grades are determined by where they lie on the bell curve, we are interested in finding the minimum grade needed to be in the top X % of marks. For example, if we grade on the bell curve, the top 20% of these marks will receive the grade 'A'. You are to determine the minimum grade required for a student to be in the top X % on the assignment. Write the body of the program.
Computers and Technology
1 answer:
maks197457 [2]3 years ago
6 0

Answer:

A=input("Enter Number of Marks:")

b=[]

sum=0

i=0

for i in range(0,int(A)):

   b.append(input("Enter Marks"))

   sum+=int(b[i])

percentage1= (sum/int(A))*100

if percentage1>=20:

   print("Grade A")

elif percentage1<=30 & percentage1>=20:

   print("Grade B")

else:

   print("Grade C")

Explanation:

The above program is in Python. And we are using here a dynamic list. And we are storing A marks in it. And then we are finding its average, and finally assigning the Grade as mentioned.

You might be interested in
Write code to take a String input from the user, then print the first and last letters of the string on one line. Sample run: En
Ainat [17]
<h2>Answer:</h2>

//import the Scanner class to allow for user input

import java.util.Scanner;

//Begin class definition

public class FirstAndLast{

   //Begin the main method

    public static void main(String []args){

       

       

       //****create an object of the Scanner class.

       //Call the object 'input' to receive user's input

       //from the console.

       Scanner input = new Scanner(System.in);

       

       //****create a prompt to tell the user what to do.

       System.out.println("Enter the string");

       

       //****receive the user's input

       //And store it in a String variable called 'str'

       String str =  input.next();

       

       //****get and print the first character.

       //substring(0, 1) - means get all the characters starting

       //from the lower bound (index 0) up to, but not including the upper

       //bound(index 1).

       //That technically means the first character.

       System.out.print(str.substring(0,1));

       

       //****get and print the last character

       //1. str.length() will return the number of character in the string 'str'.

       //This is also the length of the string

       //2. substring(str.length() - 1) - means get all the characters starting

       // from index that is one less than the length of the string to the last

       // index (since an upper bound is not specified).

       // This technically means the last character.

       System.out.print(str.substring(str.length()-1));

       

       

       

    }  // end of main method

   

} //end of class definition

<h2>Explanation:</h2>

The code has been written in Java and it contains comments explaining important parts of the code. Kindly go through the comments.

The source code and a sample output have also been attached to this response.

To run this program, copy the code in the source code inside a Java IDE or editor and save it as FirstAndLast.java

Download java
<span class="sg-text sg-text--link sg-text--bold sg-text--link-disabled sg-text--blue-dark"> java </span>
4c53f66d970acf88b251b2cf41bcdaf6.png
3 0
3 years ago
What is the promotion and advertising stage of a product or service called?
Eddi Din [679]

Answer:

Marketing

Explanation:

8 0
4 years ago
his exercise creates a program to convert the temperature values form Fahrenheit to Celsius for a list of 10 temperature values
MissTica

Answer:

def fahrenheit_to_celsius(temperature):

   c = (temperature - 32) / 1.8

   return c    

temperature_list = [-10, -5, 0, 10, 20, 32, 40, 50, 60, 75.2]

i = 0

while i < 10:

   print(str(temperature_list[i]) + " degrees Fahrenheit = " + str(fahrenheit_to_celsius(temperature_list[i])) + " degrees Celsius")

   i += 1

Explanation:

*The code is in Python.

Create a function named fahrenheit_to_celsius that takes one parameter, temperature

Convert the temperature to celsius using the formula

Return the result of the conversion

Create a list holding ten temperatures

Create a while loop that iterates 10 times. Inside the loop, call the function to convert the each temperature in the list and print the result

5 0
3 years ago
Scenario:
erik [133]

Answer:

She wanted to impress her friends with the latest phone.

Explanation:

Edu 2021

5 0
3 years ago
Read 2 more answers
​The US-CERT newsletter has alerted you about vulnerabilities in some software installed in your organization. To detect if ther
NISA [10]

Answer:

Knowledge-based intrusion detection system.

8 0
4 years ago
Other questions:
  • You’ve been hired to help with installing cable at a new office building for the local branch of the Social Security Administrat
    14·1 answer
  • What happens if you give false information on your driver license application?
    12·1 answer
  • Once I install my secondary hard drive what two tasks need to be done?
    13·1 answer
  • To under a clip art you must do the following.
    14·1 answer
  • What method is used to manage contention-based access on a wireless network?
    7·1 answer
  • What did major networks do to combat audience erosion in the 1990s?
    15·1 answer
  • What of the following is not a benefit of active listening
    8·2 answers
  • Now now now now mowewweedeeee
    13·1 answer
  • What are the top 10 most dangerous computer viruses ?
    13·1 answer
  • which of the following is the most appropriate way to write css style for the font family property in html
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!