how to do average test score codehs 5.2.8

Answers

Answer 1

Answer:

Python

num_students = int(input("How many students do you have? "))

num_test_scores = int(input("How many test scores per student? "))

# Initialize an accumulator for test scores.

total = 0.0

# Get a student's test scores.

for student in range(num_students):

# Print the student's name.

print("Student", student + 1)

# Get the student's test scores.

for test_num in range(num_test_scores):

score = float(input("Test number", test_num + 1, end=''): '))

# Add the score to the accumulator.

total += score

# Calculate the average test score.

average = total / num_students

# Display the average.

print("The average test score is", average)

This code will ask the user for the number of students and the number of test scores per student. It will then initialize an accumulator for test scores and get a student's test scores. The code will then calculate the average test score and display it.

Explanation:

Code calculating the average test score

Answer 2

Python

num_students = int(input("How many students do you have? "))

num_test_scores = int(input("How many test scores per student? "))

# Initialize an accumulator for test scores.

total = 0.0

# Get a student's test scores.

for student in range(num_students):

# Print the student's name.

print("Student", student + 1)

# Get the student's test scores.

for test_num in range(num_test_scores):

score = float(input("Test number", test_num + 1, end=''): '))

# Add the score to the accumulator.

total += score

# Calculate the average test score.

average = total / num_students

# Display the average.

print("The average test score is", average)

What does this code ask for?

This code will ask the user for the number of students and the number of test scores per student. It will then initialize an accumulator for test scores and get a student's test scores. The code will then calculate the average test score and display it.

This is only one of the advantages Python has over other programming languages like C, C++, or Java. Additionally, Python uses comparatively less lines of code than other programming languages with bigger code blocks to accomplish the same operations and tasks.

Learn more about Python here:

brainly.com/question/30427047

#SPJ2


Related Questions

Windows can't find the driver for your digital camera. Where is the best place to find the driver?
Call the local camera store.
The manufacturer's website.
The Window's store.
Search the Internet.

Answers

B. The manufacturing website will be the easiest way to find the driver.

Answer:

The manufactured website

Explanation:

2. To ________
is to create an image with artistic tools.
3. _______
is the number of pixels an image holds.
4. Typography is the use of text in _____
5. Changing a vector image to a raster image is ____
6. _____
saves the original image.
7. The ___
and _____
determine the look of the object.
8. A vector uses _____
9. The quality of an image is compromised when _______
are stretched.

2. To ________is to create an image with artistic tools.3. _______is the number of pixels an image holds.4.

Answers

Answer:2.render 3.resolution 4.visual communication 5.rasterizing 6.nondestructive 7.stroke&fill 8.lines&path 9.pixels

Explanation:

explain briefly how learning how to follow can make a person a good leader

Answers

By  learning how to follow, one can  be a good leader because: Looking up to a leader and following them help to:

Keep one's ego in check and one can be able to be a good ego manager.They create strong credibility. They help use to focus our efforts for maximum impact.

How does being a good follower make you a good leader?

As a good follower, a person can be able to have the boldness and confidence to be able to respectfully talk about a lot of things with their leader if you see that you're not going in the right way.

Note that  one can trust your leader and this will boast up the spirit of your input and engagement in all.

Hence, By  learning how to follow, one can  be a good leader because: Looking up to a leader and following them help to:

Keep one's ego in check and one can be able to be a good ego manager.They create strong credibility. They help use to focus our efforts for maximum impact.

Learn more about good leader from

https://brainly.com/question/12522775

#SPJ1

Your computer monitor’s power switch is in the ‘ON’ position; however, the display is blank. Which of the following is NOT a likely cause of the problem? *
1 point
the interface cable may be loose
the network adapter is malfunctioning
monitor may be in sleep/hibernate mode
the monitor controls are improperly adjusted

Answers

Answer : Monitor may be in sleep/hibernate mode.

What is shoulder browsing? A. accessing someone else’s computer without permission B. deceptively observing people type in personal information C. distributing illegal software D. using internet search engines for information

Answers

B. Deceptively observing people type in personal information.

Essentially, think of it as someone standing behind you, looking over your shoulder, watching everything you do on a computer.

Answer:

b

Explanation:

which of the following describes the securities underwriting process? a company sells its securities to an investment bank, who then sells the securities to market participants. an investment bank determines if a company can afford to go public. an investment bank responsible for market liquidity quotes a bid price and an ask price for a security. an investment bank helps to connect a private company with sources of capital.

Answers

The option that describes the securities underwriting process is option A: a company sells its securities to an investment bank, who then sells the securities to market participants.

What is the banking underwriting process?

The process through which the lender determines whether a borrower is creditworthy and deserving of a loan is known as underwriting. The key to a favorable portfolio quality is an efficient underwriting and loan approval procedure, and one of the main responsibilities of the function is to minimize unnecessary risks.

Note that Underwriting in the securities market is figuring out the risk and cost of a specific investment. This method is most frequently used during initial public offerings, when investment banks first purchase or underwrite the issuing entity's securities before putting them up for sale.

Learn more about securities underwriting process from

https://brainly.com/question/14279993
#SPJ1

hris has received an email that was entirely written using capitalization. He needs to paste this text into another document but also ensure that the capitalization is removed.

What should Chris do?

Answers

He should un caps lock it

What other size PCIe slot might you find on a motherboard? a. PCIe x16 b. PCIe x10 c. PCIe x3 d. PCIe x4.

Answers

Answer:PCIe x4

Explanation:

What is the basic unit of measurement for RAM specs

Answers

Answer: RAM, random access memory is measured in GIGABYTES. Bsbdjdjdj

Answer: The basic unit of measurement for RAM specs is byte.

full detail about computer and its history


Answers

Answer:

The computer as we know it today had its beginning with a 19th century English mathematics professor name Charles Babbage. He designed the Analytical Engine and it was this design that the basic framework of the computers of today are based on. ... It was called the Atanasoff-Berry Computer (ABC).

Explanation:

it is necessary to interpret manufacture's specification before using any processing equipment in order to?​

Answers

Answer:

a. have an accurate and safe operation of the equipment.

Explanation:

The main reason for this is to have an accurate and safe operation of th equipment. Most devices are made differently and the manufacturers' job is to make sure that the equipment works as intended and is safe for the user. The cannot control how the user uses the equipment and therefore, create the specifications so that the user will read them and understand how to properly operate the equipment so that neither the user nor the equipment gets damaged.

FIFTY POINTS IF YOU CAN HELP ME!!!!
You have been looking for a part-time job and it looks like you have found a good fit. You researched the listings on a job board, emailed your résumé to the company’s HR department, and got a phone call back. They gave you login information for a private system so you could take an online test, and now you’ve just had an online video interview. Which networking features have you used so far in your job search?

Answers

Answer:

Research jobs in digital media. Using a job-posting site like Indeed, Monster, Career Builder, or other sites, search for a job in your area. Once you identify a job in digital media that you may want to do, research the qualifications and education needed to perform this job, Write a paper of at least 300 words that includes: many things?

Explanation:

In Python in order for a sort to work, which of the following is required?


The members of the list are all integers.


The members of the list are all strings.


The members of the list are all numeric.


They can be compared using a greater than operation.

Answers

Answer:

They can be compared using a greater than operation.

Explanation:

In Python, in order for a sort to work,They can be compared using a greater than operation. Therefore, option D is correct.

What is a python ?

A high-level, all-purpose programming language is Python. Code readability is prioritized in its design philosophy, which makes heavy use of indentation. Python uses garbage collection and has dynamic typing. It supports a variety of paradigms for programming, including functional, object-oriented, and structured programming.

Python is an object-oriented, interpretive programming language. Classes, dynamic typing, very high level dynamic data types, exceptions, modules, and exception handling are all included. It supports a variety of programming paradigms, including procedural and functional programming in addition to object-oriented programming.

Python is today among the most well-known and frequently used programming languages in the world, despite having its origins as a side project bearing the moniker Monty Python. Python is used for data analytics, machine learning, and even design in addition to web and software development.

Thus, option D is correct.

To learn more about a python, follow the link;

https://brainly.com/question/18502436

#SPJ2

2. Give technical terms for
a) A feature which computer never gets tired.
b) A memory to be used on fifth generation of computer.
c) Computer that used continues data
. d) An illegal activity that harms people by using computer.
e) A machine developed by Charles Babbage in 1833AD. ​

Answers

Answer:

Cccccccccccccccccccccccccccccccccc

your company purchases several windows 10 computers. you plan to deploy the computers using a dynamic deployment method, specifically provision packages. which tool should you use to create provisioning packages?

Answers

To create provisioning packages for deploying Windows 10 computers using a dynamic deployment method, you should use the Windows Configuration Designer tool.

Windows Configuration Designer (formerly known as Windows Imaging and Configuration Designer or Windows ICD) is a powerful graphical tool provided by Microsoft to create provisioning packages. It allows you to customize and configure various settings, policies, and applications to be applied during the deployment process.

Using Windows Configuration Designer, you can create provisioning packages that define the desired configurations for Windows 10 computers. These packages can include settings such as network configurations, security settings, regional preferences, installed applications, and more.

The tool provides an intuitive interface that guides you through the process of creating the provisioning package. You can select the desired configuration options, customize settings, and preview the changes before generating the package.

Once the provisioning package is created using Windows Configuration Designer, it can be applied during the deployment process to configure multiple Windows 10 computers with consistent settings and configurations. The provisioning package can be installed manually or through automated deployment methods like Windows Autopilot or System Center Configuration Manager (SCCM).

In summary, to create provisioning packages for deploying Windows 10 computers using a dynamic deployment method, you should use the Windows Configuration Designer tool. It enables you to customize settings and configurations, which can be applied during the deployment process to ensure consistent and efficient provisioning of Windows 10 computers.

Learn more about Designer here

https://brainly.com/question/32503684

#SPJ11

What are 3 inputs and outputs of an ipad?

Answers

Answer:

do u mean pros and cons?????

Explanation:

imagine that your company compiles its customer information into a database. how can this information be used to help your direct marketing campaign? what kinds of privacy issues could be relevant?

Answers

A customer database can be a valuable resource for a company's direct marketing campaign by providing information about the characteristics and preferences of its customers.

However, it's important to consider data privacy issues when using customer information in a direct marketing campaign.

Some potential privacy issues to consider include:

Data security: The customer database should be secure to prevent unauthorized access or misuse of the information.

Data accuracy: The customer information should be accurate and up-to-date to ensure that the marketing efforts are targeted and relevant.

Data protection: The company should have appropriate policies and procedures in place to protect the customer information, such as limiting access to authorized personnel and obtaining customer consent before using the information for marketing purposes.

Data retention: The company should have a clear policy on how long it retains customer information and should delete it when it is no longer needed.

To know more about Data privacy, visit: https://brainly.com/question/27034337

#SPJ4


You can enter more than one element of data in the same field. *

True
False

Answers

Answer:

true

Explanation:

im smart

a) Show that ¬(p∨(¬p∧q)) and ¬p∧¬q are logically equivalent by using series of logical equivalence. (3 marks)
b) Determine whether (p∧q)→(p∨q) is a tautology. (4 marks)
c) With the aid of a truth table, convert the expression (¬p→q)∧(¬q∨r) into Disjunction Normal Form (DNF) (5 marks)

Answers

a) To show that ¬(p∨(¬p∧q)) and ¬p∧¬q are logically equivalent, we can use a series of logical equivalences:

¬(p∨(¬p∧q))                    (De Morgan's Law)

≡ ¬p∧¬(¬p∧q)                    (De Morgan's Law)

≡ ¬p∧(p∨¬q)                     (Double Negation)

≡ (¬p∧p)∨(¬p∧¬q)                (Distributive Law)

≡ False∨(¬p∧¬q)                  (Negation Law)

≡ ¬p∧¬q                         (Identity Law)

Therefore, ¬(p∨(¬p∧q)) and ¬p∧¬q are logically equivalent.

b) To determine whether (p∧q)→(p∨q) is a tautology, we can construct a truth table:

p | q | (p∧q) | (p∨q) | (p∧q)→(p∨q)

-----------------------------------

T | T |   T   |   T   |     T

T | F |   F   |   T   |     T

F | T |   F   |   T   |     T

F | F |   F   |   F   |     T

Since the last column of the truth table always evaluates to true, (p∧q)→(p∨q) is a tautology.

c) Truth table for the expression (¬p→q)∧(¬q∨r):

p | q | r | ¬p | ¬p→q | ¬q | ¬q∨r | (¬p→q)∧(¬q∨r)

--------------------------------------------------

T | T | T |  F |   T  |  F  |   T  |       T

T | T | F |  F |   T  |  F  |   F  |       F

T | F | T |  F |   F  |  T  |   T  |       F

T | F | F |  F |   F  |  T  |   T  |       F

F | T | T |  T |   T  |  F  |   T  |       T

F | T | F |  T |   T  |  F  |   F  |       F

F | F | T |  T |   T  |  T  |   T  |       T

F | F | F |  T |   T  |  T  |   T  |       T

Converting the truth table into Disjunction Normal Form (DNF):

(¬p∧¬q∧r)∨(¬p∧q∧¬r)∨(p∧¬q∧r)∨(p∧¬q∧¬r)∨(p∧q∧r)

Therefore, the expression (¬p→q)∧(¬q∨r) in Disjunction Normal Form (DNF) is (¬p∧¬q∧r)∨(¬p∧q∧¬r)∨(p∧¬q∧r)∨(p∧¬q∧¬r)∨(p∧q∧r).

To know more about DNF, visit

https://brainly.com/question/31326308

#SPJ11

100 points to whoever can figure out what video vanoss road in a military truck in gta5 with his friends and wildcat jumps out of it

100 points to whoever can figure out what video vanoss road in a military truck in gta5 with his friends

Answers

The first ever vedios he did

plssss helppp meee with itt

plssss helppp meee with itt

Answers

..................................d

Best way to read in a String

Answers

switch it around and make it move and balance to read the string

In python, one can have a list of variables on the left side of the assignment operator. True/false

Answers

True. In Python, you can have a list of variables on the left side of the assignment operator. This is known as multiple assignment or unpacking. It allows you to assign multiple values to multiple variables in a single line of code.

To perform multiple assignment, you simply create a comma-separated list of variables on the left side of the assignment operator and a corresponding comma-separated list of values on the right side. The number of variables and values must match.

For example:

a, b, c = 1, 2, 3

In this case, the values 1, 2, and 3 are assigned to variables a, b, and c respectively.

You can also use multiple assignment with lists or tuples. For example:

my_list = [1, 2, 3]
a, b, c = my_list

Here, the values in the list [1, 2, 3] are assigned to variables a, b, and c.

To know more about Python visit:

https://brainly.com/question/30391554

#SPJ11

While making a digital portfolio, Sarah wants to add names and contact information of people she knows professionally. What should she
Include regarding these people?
Sarah should include
letters regarding names and contact information of people she knows professionally.
Reset
Next

Answers

In adding names and contact in a digital portfolio, Sarah should include the full name, street address, city, state, and zip code, and contact information.

What is a digital portfolio?

A digital portfolio is an electronic portfolio where a person includes it blog, names, pictures, texts, etc.

Thus, In adding names and contact in a digital portfolio, Sarah should include the full name, street address, city, state, and zip code, and contact information.

Learn more about digital portfolio

https://brainly.com/question/23758218

#SPJ1

Gps has fostered many benefits in our society, but have also added some risks. What is a risk of gps?

Answers

GPS is a global positioning system that tells direction and routes. Some risks that come along with GPS are inaccuracy, distraction, and lack of knowledge.

What is GPS?

GPS is a radio navigation system based on the satellite and is used to navigate the directions with the help of the signals. Though it has many benefits also has disadvantages. It sometimes does not show accurate routes and direction that is too long.

The navigation system causes distraction during driving and may cause an accident. Too much reliance on GPS causes a lack of knowledge in remembering the directions and places. It may sometimes lead to crime as the saved information and be leaked.

Therefore, GPS has advantages and disadvantages too.

Learn more about GPS here:

https://brainly.com/question/6905079

#SPJ4

What is the average (mean) number of hours spent on the computer? round your answer to one decimal point. 5.2

Answers

The average (mean) number of hours spent on the computer is equal to 4.7 hours.

What is an arithmetic average?

An arithmetic average is also referred to as mean and it can be defined as a ratio of the sum of the total number in a data set to the frequency of the data set.

How to calculate the mean?

Mathematically, the arithmetic average for a given data set can be calculated by using this formula:

Average = [F(x)]/n

Next, we would calculate the arithmetic average for the number of hours spent on the computer as follows:

F(x) = 1(3) + 2(6) + 3(11) + 4(25) + 5(18) + 6(16) + 7(7) + 8(4) + 9(1)

F(x) = 3 + 12 + 33 + 100 + 90 + 96 + 49 + 32 + 9

F(x) = 424.

For the total number of students, we have:

n = 3 + 6 + 11 + 25 + 18 + 16 + 7 + 4 + 1

n = 91

Substituting the parameters into the formula, we have;

Average = 424/91

Average = 4.7 hours.

Read more on arithmetic average here: https://brainly.com/question/28247210

#SPJ1

What is the average (mean) number of hours spent on the computer? round your answer to one decimal point.

What do you understand by database and
database management system Soft ware. Also
enlist functions of DBMS.

Answers

Answer:

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

Explanation:

A database management system(DBMS) is a software package designed to define,manipulate,retrieve and manage data in a database.A DBMS generally manipulates  the data itself the data format,field names,record structure and file structure.It also defines rules to validate and manipulate this data.

Database management system are setup on specific data handling concepts,as the practice of administrating a database evolves. The earliest database only handled individual single pieces of specially formatted data.Over time, the models for database management  systems have changed considerably.

The earliest types of database management systems consisted mainly of hierarchy and network models.

The hierarchy model is one where each node or component has a child parent relationship with one other node or components.In the network model,the difference is that a single component can have multiple relationships think of this as a single node being able to multicast connections.

However over time these models became overtaken by something called a relational database.In this relational database model individual components have attributes that are linked to their identities through a database table design.The rows and columns of an individuals database table include those identities and attributes in such a way that traditional structured query language or SQL can be used to pull various kinds of information on these relations models.

What is the value of sum after the code segment is executed?

What is the value of sum after the code segment is executed?

Answers

Answer:

16

Explanation:

16  is the value of the sum after the code segment is executed.

What is a code segment?

An encryption method in computation is a chunk of a file or the equal area of the virtual addresses of the program that includes active instructions. It is sometimes referred to as a text or plain text.

An executable section of a memory chip designated to a certain operation is referred to as a function code segment. The implementation of Process Conferred Verification compares.

Let's follow the plan for the segment of the code that is to be executed in this particular if and else execution.

6 < 4 will be termed False

The following will take place

num3=num2=4

So,

num2 >= num 3 will be termed False

There is no other statement available

Currently, the values are

num1=6

num2= 4

num3= 10

Sum=

= 6+2+ 10

= 16

Learn more about  code segment, here:

https://brainly.com/question/30592934

#SPJ3

What can you use on the Internet to look for information?

Answers

Answer:

I use Wikipedia to know anything

hard disk is a sequential data access medium. true or false?​

Answers

My answer is TRUE

Explanation:

Hope it help!!

Other Questions
If EF = 4x + 15 and FG = 39 and EG = 110. Find the value of EF. 7. Which of these is more important (a person's happiness or a person's health)? Explain why Other than the assassination of Archduke Franz Ferdinand, what major factor pulled one nation after another into World War I?a. System of alliancesb. Militarismc. Imperialismd. Nationalism Describe how energy is cycled through organisms during photosynthesis and cellular respiration A regular hexagon with an area of 413 in. The apothem of the stop sign is 7.2 inches. What is the length of the side of the hexagon? .Which worm has the thinnest body, when measured dorsoventrally (back to belly)? The thickest?Which worm has the shortest body, when measured anteroposteriorly {head to tail)? The longest? why sometimes on a hot day, a screen door might get stuck when you try to open it and not fit perfectly when you try to close it on january 5, merkel inc. purchases office equipment for its new branch office from norbert company. merkel requests that the equipment be delivered after the renovation of the branch location is completed. this agreement is referred as a: Helpppppppppppppppppppp which of the following are likely causes for the rise in population growth that occurred 8,000 years ago?The domestication of animals, the development of agricultural what are the ways to develop a habit and to get rid of a bad habit. using the public keys n = 91 and e = 5 the encryption of of the message 11 is Match these scales with where their half steps fall.Natural Minor?Half steps between scaledegrees 3 and 4; 7 and 8Harmonic minor?Half steps between scaledegrees 2 and 3; 5 and 6Ascendingmelodic minor?Half steps between scaledegrees 2 and 3; 5 and 6; 7and 8Major?Half steps between scaledegrees 2 and 3: 7 and 8 A social scientist believed that less than 30 percent of adults in the united states watch 15 or fewer hours of television per week. To test the belief, the scientist randomly selected 1,250 adults in the united states. The sample proportion of adults who watch 15 or fewer hours of television per week was 0. 28, and the resulting hypothesis test had a p-value of 0. 61. The computation of the p-value assumes which of the following is true? 5. A laborer who travels away from where he or she lives to find work is called aOOOcompounddiverse workermigrant workernomadic herder Anyone know that show called Happy Tree Friends?5 to the power of 9 light of wavelength 105 nm falls on a metal surface for which the work function is 5.00 ev. what is the minimum de broglie wavelength of the photoelectrons emitted from this metal? TRUE OR FALSE culture shock occurs only to migrants who involuntarily cross cultural boundaries. which king unified the Hebrews A.Moses B.Abraham C.Soul D.David The English founded colonies in North America for all of the following reasons except the desire for religious liberty. to gain riches from farming and trade. to provide refuge for debtors. to convert Native Americans.