A programmer has a need to round many numeric values to the nearest integer. Which of the following best explains the benefit of using a list as a data abstraction in this situation

Answers

Answer 1

Answer:

Keeping the numeric values in a list makes it easier to apply the same computation to every data element.

Explanation:

A list or array in programming is a data structure, that has the location for each item it holds indexed. It eliminates the need to constantly create a variable to compute items of the same data types.

The list can store items of the same data type and iterate over them to compute the same calculation on each of them.

Answer 2

Lists are values which are seperated by commas and populated within square brackets. They are mutable and values could be easily accessed, appended, deleted or replaced. Hence, the use of a list for data abstraction is beneficial in that the round function could be easily applied to all the values in the list.

Rounding the values in the list coukd be easily done using for loop which takes each value in the list one at a time, rounds them to the nearest integer and places them into another list.

Using the a python list comprehension thus:

Given a list of numeric Values :

my_list = [1.2, 1.4, 1.5, 1.7]

rounded_int = [round(x) for x in my_list]

Learn more : https://brainly.com/question/20533392


Related Questions

The ______ occurs in first-come-first-served scheduling when a process with a long CPU burst occupies the CPU. Group of answer choices

Answers

Answer:

convoy effect

Explanation:

The Convoy effect is an episode in Operating System, in which if the burst time of the first process is high among all the processes, then it effects the First-Come-First-Serve algorithm.

Just like in real incidents, when a convoy is heading first in the slows down the vehicles behind; same happens in the Operating System. If long CPU burst occupies first in the ready queue, then it slows, or even in some cases, block other low processes. This effect is also known as starvation.

Therefore, the correct answer is convoy effect.

answer this now
and thanks

Answers

Answer:

the process of burning something

Answer:

Option D) the process of burning something

Explanation:

Combustion, or burning, is a high-temperature exothermic redox chemical reaction between a fuel and an oxidant, usually atmospheric oxygen, that produces oxidized, often gaseous products, in a mixture termed as smoke. 

Which part of project management considers if employees will work at home or in the office?

Analysis
Resources
Scope
Time

Answers

Answer:

i think its time

Explanation: you have to manage your time for the project and you wouldnt think of all the other things.

Answer: It might be resources because not everyone at home will have the same books, etc that is used in a project while making it.

Explanation:

identify the information that's safe to send via e-mail

Answers

Answer:

nonehdbdjsjnajsjfjsap

Explanation:

baba booey

5. What is a domain name used for?​

Answers

Answer:

Domain names serve to identify Internet resources, such as computers, networks, and services, with a text-based label that is easier to memorize than the numerical addresses used in the Internet protocols. A domain name may represent entire collections of such resources or individual instances.

Explanation:

*Hope this helps*

help plz, u just gotta select all that apply :)

Answers

Answer:

Concept: Graph Analysis

We want to know all those that produce around 0.01 kg: Parsly, Coriander, Mint, Strawberry Rate positively and give brainlist


Nick is moving from Alabama to Texas. A friend of his remarked that Nick may have to pay higher taxes there. What is the cheapest and quickest
way for Nick to find out if his friend is right?
А.
hire a lawyer
B.
speak to an accountant
C.
talk to other friends
D
look up the Texas state website

Answers

Answer:

d is look up the Texas state website

Explanation:

because tell u about texas and taxes

Why are backlinks a useful way to see if information on a website is reliable

Answers

Answer: It would help because the backlink could have the necessary details about the information being told. Hope it helps!

Which examples demonstrate common education and qualifications for Manufacturing Production Process Development careers? Check all that apply. Answer: A. Hugo uses CAD software to create a product design. D. Latisha is a Mechanical Engineer with a bachelor's degree. E. Oliver carefully calculates the dimensions of a product.

Answers

Answer:

A D E

Explanation:

I got it right on Edge.

Answer:

A D E

Explanation:

just did the work

:)))))

What is globalization? O A. A constant change in weather patterns that is occurring all over the globe OB. A movement for countries to turn to an economy based on bartering C. The movement from many local economies to one economy that is global O D. The tendency for global companies to create small local businesses ​

Answers

Answer:

The movement from many local economies to one economy that is global

Explanation:

Globalization is when companies and governments from around the world come together through interaction.

⚠️ HURRY TIME IS TICKING ⚠️
Sierra needs to ensure that when users are entering data into a datasheet or form that they are limited in the values that they select. Which option should she use as the data type?
• Lookup list
• Bound value
• Short-text
• Date/time

Answers

Answer:

To ensue that data entering data is limited, Usually A dropdown list is used but here in the available option

Lookup list is correct.

Explanation:

Let explain why we have selected Lookup list

A lookup list is used to look for some value in a list.

For example in Excel we select a column for search which is basically limiting the value which we search.

Bound Value

we usually have 2 bounds ,

lower and upper bound

lower bound is the smallest value in a set while upper bound it the highest value in a set.

Short Text:

Short text is used to minimize the word.

For example instead of United States we simply write US

Date/Time are used for data/time value.

so the most appropriate answer is Lookup list.

put each sentence in the correct place please :)

Answers

the first image matches with the last sentence.

the second image (fireworks) match with the first sentence.

the third image (rocket) matches with sentence two.

and the last image matches the third sentence.

Answer:

sentence 1 -> picture in box 2

sentence 2 -> picture in box 3

sentence 3 -> picture in box 4

sentence 4 -> picture in box 1

how do I take a picture of myself on an apple computers?

Answers

Answer:

with the camera

Explanation:

Answer:

press the camera and take a pic??

Explanation:

Which of the following identifies the most appropriate courses to take in high school for someone interested in becoming a mechanical engineer?
drafting- and math-related courses
math- and science-related courses
computer- and design-related courses
science- and computer-related courses

Answers

Answer: New questions in Health

Which member of the multidisciplinary team would help a patient improve his flexibility in the joints after a knee-replacement surgery? A. a physiot…

What are two advantages of a multidisciplinary team approach? better diagnosis in complex cases shared responsibility for decisions more opportunit…

MARKING PEOPLE AS BRAINLIST PLEASEEE HELP Where is the carbon dioxide picked up and the oxygen unloaded in the body? A:Arteries B:Veins C:Capillar…

Which healthcare professional would be primarily responsible for treating a patient for his anxiety disorder after a surgery? A. a nurse B. a nutr…

Do Now: What might be a situation where it might be important to identify 3 points somebody? What are different strategies that scientists could use …

Explanation:

Imagine you're in charge of managing an annual fest at your school. You have to select students and assign them different tasks. Write a short essay on the qualities and traits you would be looking for while selecting students. Explain why you think these qualities and traits are important. Also, describe how the lack of such qualities and traits would affect the work.

Answers

Answer:

Quality traits are important in many ways. A persons traits identifies them of how they treat you or how you might treat them. It is important to find good working people for the job. For example if one student is good at a specific task I might put them in that task or if another is good at stocking shelves or finding books I might put them in the library to help students find books. It is important as a supervisor to find people that listen and follow instructions not people that mess around and are unorganized. These qualities and traits are important to see the real potential of the employees. Finding the right people for the job will help the school and you as the supervisor to manage these employees. Making a application or employment sheet will help to find the right people making a sheet with some questions and have the potential employees fill it out to find their traits and skills.

Explanation:

Sorry I didn't have much background information on what you wanted me to write hope this works you can edit and change stuff though.

Also run this through Grammarly's plagiarism tester to see if it is plagiarism!

If you would like to compare information on two different Web pages, you should _____.
scroll through the pages
the home page
use tabs
organize bookmarks

Answers

Answer:

Use Tabs

Explanation:

I had this lesson on odyessy ware and this was right the other guy is wrong

Answer:

Use Tabs is also correct on Edge nuity

Explanation:

i have Keyboarding and Apps

2. Media sharing websites let you post photos and videos to share with other people. What are the benefits and drawbacks of using these websites?

Answers

Media sharing websites let you post photos and videos to share with other people. The benefit is that we are up to date and get all the news as well as information worldwide.

What is company's website?

The website of the company is all web sites which is operated by any occupied company or via any occupied company conducts the business. Any business website is a website that is designed in such a way that it can represent the identity of a business on the internet.

Company's name and fame id totally depends upon advertisement and its products and websites play an important role in order to make company popular and due to this reason company used the website or designed the website in unique and knowledgeable manner.

Therefore, Media sharing websites let you post photos and videos to share with other people. The benefit is that we are up to date and get all the news as well as information worldwide.

Learn more about website here:

https://brainly.com/question/19459381

#SPJ2

How do you do that ( the bit that I circled in the picture)

Answers

Answer: You just type answer, return/enter, put your answer and then hit return/enter again

Explanation:

state the functions of all the parts of the computer​

Answers

Answer:

Parts of a computer with their functions

The computer case. This is the part that holds all of the internal components to make up the computer itself. ...

Motherboard. ...

CPU: Central Processing Unit. ...

RAM: Random Access Memory. ...

Graphics Card. ...

Sound Card. ...

Hard Drive. ...

SSD: Solid State Drive.

Explanation:

What are the advantages and disadvantages of top-down and bottom-up programming? How would you decide which one to use? Do you approach problems in your real life from a bottom-up or top-down approach?

Answers

Answer:

Question: What are the advantages and disadvantages of top-down and bottom-up programming?

Answer:

Top-down programming is a process of writing programming codes that contain specific instructions for a computer to carry out the instructed task. Usually, Top-down programming comes as software that enables the division of problems that are initially complex into simpler parts. An example is a kind of software developed to give loans to worthy clients. The software may be broken down further to check the bank statements of the client, calculate the earning and spending capacity of the client, Amount paid on utilities.

Advantages of Top-down programming:

1. Top-down programming makes teamwork possible as a system is divided into sub-systems which individuals can handle separately before merging the sub-systems together.

2. Checks and testing become easy.

Disadvantages of Top-down programming:

1. Breaking systems into parts may be time-consuming as there is a need for more planning before working on individual sub-systems.

2. Error could be possible.

Bottom-up programming is a software of a method of design which is opposite to what the top-down programming does as the bottom-up programming works on the sub-systems first and then combine later into a bigger system. This makes use of the existing resources with the aim of generating a bigger result.

Advantages of Bottom-up programming:

1. Adaptability - Bottom-up programming makes adaptability easier.

2. When used in a company it gives all workers the room to make a contribution towards achieving bigger results, improving operations generally.

3. It makes one start a bigger project with the available resources.

Disadvantages of Bottom-up programming:

1. Result could be affected as some workers lack the needed experience to execute some tasks successfully.

2. Lack of desired unity among workers with differences in objectives resulting to endangering the result.

Question: How would you decide which one to use?

Answer:

It depends on the picture of how the result would look like, the goal of the organization employing it, the skill-set among workers available to do the task, the nature of the task. If a larger goal is to be achieved, smaller sub-systems could be used and joined at the end to get a system meaning bottom-up programming would be used. In cases for instance where output is to be determined for instance staff salaries, the output would be broken into simpler units to allow solutions for separate units then we could use top-down programming.

Question: Do you approach problems in your real life from a bottom-up or top-down approach?

Answer:

I approach problems from a top-down approach because it allows checks and testing easy, and the act of breaking systems into sub-systems makes it easy for me to approach each sub-system with a result-oriented plan.

Answer:

Some advantages of top-down are that you can start off from what you know and figure out what you need to complete it, the advantage to bottom-up is that you can make something new . if you are starting something from scratch and you don't know what the end goal might be you would use bottom-up but if you already have an idea or the final product of what you want you would go with the top-down approach.

Hope this helpedHave a great day!

The Internet:

O A. only gives us access to our local communities.

O B. hinders our ability to influence people.

O C. limits us to local social networking sites.

O D. enables us to join global online communities.​

Answers

Answer:

D- it enables us to join global online communities.

Explanation:

Thanks to social media and other websites, content you produce can be seen all over the world.

The French horn was originally used as a hunting horn.

A. True
B. False

Subject: Music Technology.

Answers

Answer:

A. True

Explanation:

The French horn is a brass instrument delivered from the hunting horn. The first development of the instrument was in service of the hunt or signal of danger. Additionally, they were used in Jewish religious rituals. It was less complex than the instrument used today. Around the beginning of the 18th century, it started to be widely used as a musical instrument.

Today, it is played by the musicians called hornists, and there are usually four horns in the symphony orchestra. There are few variations of the instrument – single horn, double horn, compensating double horn, and triple horn.

please help, thank you

Answers

Answer:

radish spinach swiss chard

Explanation:

radish, swiss Chard, spinach

As a programmer, why do you think that skills and training are needed? Give 5 reasons.

Answers

1. without them you wouldn’t be able to program
2. need for job interviews
3. important to be good and make the money
4. can be adaptable
5. easy to move from a business to another
1) because you don’t want the thing you are programming to not work
2) you can make the robot do exclusive stuff
3) you need to know how to be a programmer
4) The robot can do my evil task
5) you can scare your little sis with a scary robot doll face

James wants to create a web page where he can write two paragraphs of text. The first paragraph of text should be colored red and the
second blue. Which snippet of code show the principle behind how James creates this page?

Answers

Answer:

The first code does it

Explanation:

Each of the attached code snippet is divide into two parts.

The CSS partThe html part

From the four code snippets, the first one answers it.

The syntax to format the paragraph of an html text using css is:

p#paragraph-id{

color:color-name

}

Analysing each element

p# -> This implies that a paragraph is to be formatted

paragraph-id -> This represents the id of the paragraph

{} -> The open and close curly braces house the properties to be formatted

color:color-name -> implies that the color of the element be changed to color-name (e.g. red or blue)

In the body tag of the html code, the first paragraph has an id of para1 and the second has para2 as its id.

i.e. <p id = "para1">......

So, the first paragraph will be formatted red while the second will be blue

A CD and a DVD are both secondary storage devices, explain to a friend the difference between both​

Answers

Answer:

i dont have any friends to explain it to

Explanation:

ILL GIVE BRAINLIEST HELLP.
in windows 8, the _____ manager is the app that allows you to manage your hardware drivers on your computer .
a. device
b. drivers
c.system
d.utilities

Answers

Answer:

Device Manager

Explanation:

The Device Manager is used to check for hardware that have been installed on your system such as RAM, CPU, GPU etc. However, it has the option to update drivers for any hardware that you such desire.

You are running an 802.11g wireless router in mixed mode. You have three 802.11g wireless NICs connected to the router. A new user connects to an 802.11b wireless NIC. What will happen

Answers

Complete Question:

You are running an 802.11g wireless router in mixed mode. You have three 802.11g wireless NICs using the router. A new user connects using an 802.11b wireless NIC. What will happen?

Group of answer choices.

A. The user with 802.11b will access the network at 11Mbps while the users with 802.11g will access the network at 54 Mbps.

B. The user with 802.11b will not be able to communicate on the network.

C. The user with 802.11b will access the network at 11 Mbps. The users with 802.11g will access the network at 54 Mbps unless they are communicating with the 802.11b device,which will be at 11 Mbps.

D. All users will access the network at 11 Mbps.

Answer:

D. All users will access the network at 11 Mbps.

Explanation:

A 802.11g is one of the wireless network standards developed by the Institute of Electrical and Electronics Engineers (IEEE) which operates on a 2.4 GHz microwave bandwidth and as a result can only transmit over a short distance. The 802.11g has a data transfer rate or throughput of 54 megabits per seconds (Mbps).

Basically, the 802.11b is a similar standard to the 802.11g wireless standard that typically allows the transmission (transfer) of data for up to 11 megabits per seconds (Mbps).

In this scenario, you are running an 802.11g wireless router in mixed mode. You have three 802.11g wireless NICs using the router. A new user connects using an 802.11b wireless NIC.

Hence, what will happen is that, all the users will access the network at 11 Mbps.

what does good time management mean​

Answers

Answer:

When you are consistent with your work and not wasting time

Explanation:

Time management to me means using your time wisely and thing you have to get done do those things first before doing something that is not a must. Being wise with your time will help you complete goals and more in life.

Have a good day and a merry Christmas

Why does it matter if a network is set up as a LAN, or a WAN?

Answers

Answer:

A small office or business will typically only need a LAN. The local network will ensure that different files can be transferred through your office leading to a connected business environment. If you have a larger business or multiple branches, that's when you're going to need a WAN. -Google.

Answer:

A small office or business will typically only need a LAN. The local network will ensure that different files can be transferred through your office leading to a connected business environment. If you have a larger business or multiple branches, that's when you're going to need a WA

Explanation:

Other Questions
All volcanoes have at least one vent, or opening. Which of the following does not erupt through volcanic vents? A. lava B. liquid water C. gases D. ashes Mark can type 20 words per minute. Carol can type 22 words per minute. Mark starts typing at 1:00 pm and Carol starts typing 6 minutes later. At 1:15 pm, both Mark and Carol stop typing. Together, how many words did Mark and Carol type between 1:00 and 1:15 pm? A species that is carried into a new location by people is called an an _________________ species. * Q: Which power of Congress helps ensure domestic tranquility?A. Providing a check for executive powerB. Passing laws to guarantee protections under the Bill of RightsC. Resolving disputes between states < ?D. Passing laws to improve the economy Lincoln is creating a PowerPoint presentation on concussions in American football for anupcoming speech. Which graph should Lincoln choose for a visual representation of thenumber of football players with concussions between 1920 and 2017? will mark brainliest Dan runs 7 miles in 60 minutes. At the same rate, how many miles would he run in 24 minutes? Story elevenHere is the beginning: What they dont understand about birthdays and what they never tell you is that when youre eleven, youre also ten, and nine, and eight, and seven, and six, and five, and four, and three, and two, and one. And when you wake up on your eleventh birthday you expect to feel eleven, but you dont. You open your eyes and everythings just like yesterday, only its today. And you dont feel eleven at all. You feel like youre still ten. And you areunderneath the year that makes you eleven. Like some days you might say something stupid, and thats the part of you thats still ten. Or maybe some days you might need to sit on your mamas lap because youre scared, Question:Lines 1011: Describe the language in these lines. Why might the author have chosen this kind of language? HURRY IM BEING TIMED ILL AWARD BRAINLIEST FOR BEST ANSWER For what value of the variable is each of the following fractions equal to zero: 2y +3/10 if a great number of radio waves are reflected back from a particular area, what does that tell the scientists about the weather in that area "Everybody stares at me These two teeth are gone as you can see I don't know just who to blame for this catastrophe!" what type of language is this? The inequality x -3 is satisfied by point (0, -2). True Falseplease explain!! PLEASE HELP whats the answer for this problem On line 10, the words "Being" and "Author" refer to the same idea and are written as proper nouns. How is the meaning of the word "Author" on line 10 different than how the word author was used in question 4a? Question 2 of 20Which of the following is the range of the function based on the input-outputtable below?Hoursof training51015Payper month110012001300201400251500301600170035A. (1100, 1200, 1300, 1400, 1500, 1600, 1700}B. 1700, 35,1600, 30, 1500,25)C. (5.10, 15, 20, 25, 30, 35)D. (5, 1100, 15.1200, 25, 1300) A sequence is recursively defined by f(1)=3,f(n)=2* f(n-1) for n >=2. Write the equation for the nth term Which word best describes values? What would happen to the rate of a reaction with rate law rate = k [NO]^2[H2] ifthe concentration of NO were halved?A. The rate would be four times larger.B. The rate would also be halved.C. The rate would be one-fourth.D. The rate would be doubled. How long is a guy wire reaching from the top of a 21ft. Pole to a point on the ground 15ft. From the pole