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
LenKa [72]
3 years ago
7

Design an algorithm to find the weighted average of four test scores. The four test scores and their respective weights are give

n in the following format: testscore1 weight1 ... For example, the sample data is as follows: 75 0.20 95 0.35 85 0.15 65 0.30 The user is supposed to enter the data and press a Calculate button. The program must display the weighted average.
Computers and Technology
1 answer:
VMariaS [17]3 years ago
5 0

Answer:

data = [75, 0.2, 95, 0.35, 85, 0.15]

print (f'Average weight: {sum(data) / len(data)}')

Explanation:

This is python algorithm for finding average weight. To get average weight, you sum up all data involved and divide that amount by the number of data provided.

You might be interested in
True or false?
mylen [45]

Answer:

true

Explanation:

sometimes you've just gotta roll with it. the final parts of the statement is what gives away the answer.

3 0
3 years ago
Which one of the following will not be considered as a microcomputer?
coldgirl [10]
Technically a notebook, a microcomputer is something like an electronic that has a microprocessor.

Your answer is:
B. Notebook

Hope this helped :) 
6 0
4 years ago
Read 2 more answers
Write a program that asks the user for a CSV of the NYC Open Data Film Permits: There is a sample file for June 2019 film permit
Westkost [7]

Answer:

Before running this program, make sure you have installed pandas module for python.

pip install pandas

import pandas as pd

import numpy as np

csv_file = input("Enter CSV File Name : ")

df = pd.read_csv(csv_file)

count_row = df.shape[0]

print("There were %d Film Permits in Total." %(count_row))

borough_count = df['Borough'].value_counts()

print(borough_count)

location_count = df['ParkingHeld'].value_counts().head(5)

print(location_count)

Explanation:

4 0
3 years ago
Read 2 more answers
Is it legal to build cellphone tower
Marat540 [252]
If you build a cellphone tower without proper building permits and equipment without permission from local government than it would be illegal
3 0
3 years ago
Shelly recorded an audio composition for her presentation. Arrange the following steps that Shelly followed in the proper order.
Dimas [21]

Answer:

The answer to this question is given below in the explanation section.

Explanation:

Shelly recorded an audio composition for her presentation. She needs to follow the following proper orders to get composition done for her presentation.

  1. She connected her microphone to her computer.
  2. She selected the record option in her DAW.
  3. She added effects to her audio composition.
  4. She saved the audio composition in an appropriate file format.
  5. She saved her audio composition on an optical drive.
3 0
3 years ago
Other questions:
  • What does computer means?
    9·2 answers
  • Which of the following tasks would you most likely use a spreadsheet to complete
    15·1 answer
  • Hiding data within pictures, audio, or video files can be difficult to detect and find. What can be done to reduce this?
    9·1 answer
  • Assume that two arrays are parallel. Assume the first array contains a person's id number and the second contains his or her age
    5·1 answer
  • __________ are hosted on dedicated computers known as 'web servers'.​
    8·2 answers
  • Write a program that prompts the user to enter an oligonucleotide sequence, such as TATGAGCCCGTA.
    7·1 answer
  • Please help! In your own words explain the difference between a problem and an algorithm.
    13·2 answers
  • A digital presence created online by an individual or organization using a digital device is called a identity.
    7·1 answer
  • Which results are expected in a personality test but not a skills assessment?
    13·1 answer
  • If you have 60fps on your laptop tell me one way you can go to 240fps
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!