Question # 3

Dropdown

Finish the code for this bubble sort.

length = len(myList)

for n in range(length - 1):

for test in range(n + 1, length):

if myList[n] _____ myList[test]:

temp = myList[n]

myList[n] = myList [test]

myList[test] = temp

print(myList)

Answers

Answer 1

Answer:

The answer is >

Explanation:

I did the assignment on edge this was the correct answer

Answer 2

The complete code is length = len(myList), for n in range(length - 1):, for test in range(n + 1, length):, if myList[n] > myList[test]:.

What is coding?

Computer code, or a set of instructions or a system of rules defined in a specific programming language, is a term used in computer programming (i.e., the source code).

Although learning to code is not difficult, it might be scary at first. The initial stages of learning something new might be difficult. With practice, persistence, and patience, coding becomes simpler. If you're thinking about learning to code, it's simple to get caught up in the challenge.

Languages written in an imperative, functional, logical, or object-oriented style are common. These coding language paradigms are available for programmers to select from in order to best meet their demands for a given project.

Therefore, the correct term to complete the code bubble sort is >.

To learn more about coding, refer to the link:

https://brainly.com/question/20712703

#SPJ2


Related Questions

6
development with reference to Nepal.
Mention the objectives of sustainable development,
How can you relate the role of environment while can​

Answers

Answer:

objective of sustainable development are:

Explanation:

1.to help in poverty alleviation

2.to conserve the environment effectively

3.to gain human development and progress

4.to use resources and means carefully

Which of the following is an object-oriented language?

A. C
B. C++
C. BASIC
D. COBOL

Answers

Answer:

C++

Explanation:

Significant object-oriented languages include: (list order based on TIOBE index) Java, C++, C#, Python, R, PHP, Visual Basic.NET, JavaScript, Ruby, Perl, Object Pascal, Objective-C, Dart, Swift, Scala, Kotlin, Common Lisp, MATLAB, and Smalltalk.

The programs' structure is made obvious via OOP. OOP makes the C++ code easier to maintain, alter, and debug by encouraging “Don't Repeat Yourself” (DRY) programming practices. OOP allows for quicker development times and less code needed to create fully reusable apps. Thus, option B is correct.

What role of C++ as an object-oriented language?

The following are several justifications for calling C++ a partial or semi-object oriented language. The primary action is not a class action.

Object-oriented programming is supported by C++, but it is not a feature of the language itself. You don't even need to use an object once to construct a legitimate, well-coded, and brilliantly styled C++ program.

Therefore, Object-oriented programming can be implemented using C++'s core features. It contains classes and objects as well as the OOP principles of inheritance, encapsulation, abstraction, and polymorphism. It also has access to specifiers.

Learn more about language here:

https://brainly.com/question/29751978

#SPJ2

The First Amendment of the Constitution is one of the most important parts of the Bill of Rights. What specific rights does this amendment guarantee to every American citizen?

Answers

Answer:

The First Amendment to the U.S. Constitution protects the freedom of speech, religion and the press. It also protects the right to peaceful protest and to petition the government

Explanation:

if this answer is correct make me as brainlelist

Answer:

its guarantees the freedom of speech, religion, and the freedom of the press.

Explanation:

In which situation is coauthoring of presentations primarily utilized?

A reviewer must be able to make changes to a presentation after an author creates it.
Multiple authors must be able to simultaneously make changes to a presentation.
Multiple reviewers have to be able to view one another’s changes after they are made.
One author and one reviewer work on a presentation at different times.

Answers

Answer:

A i belive

Explanation:

Answer:

B) Multiple authors must be able to simultaneously make changes to a presentation.

Explanation:

Co indicates being part of a whole. So this means that two or more authors are working on this project simultaneously. Such as co-management; two bosses working together in an equal position.

Major innovations made from the establishment of abucus to the 5th computer generation

Answers

Answer:

Cogs and Calculators

It is a measure of the brilliance of the abacus, invented in the Middle East circa 500 BC, that it remained the fastest form of calculator until the middle of the 17th century. Then, in 1642, aged only 18, French scientist and philosopher Blaise Pascal (1623–1666) invented the first practical mechanical calculator, the Pascaline, to help his tax-collector father do his sums. The machine had a series of interlocking cogs (gear wheels with teeth around their outer edges) that could add and subtract decimal numbers. Several decades later, in 1671, German mathematician and philosopher Gottfried Wilhelm Leibniz (1646–1716) came up with a similar but more advanced machine. Instead of using cogs, it had a "stepped drum" (a cylinder with teeth of increasing length around its edge), an innovation that survived in mechanical calculators for 300 hundred years. The Leibniz machine could do much more than Pascal's: as well as adding and subtracting, it could multiply, divide, and work out square roots. Another pioneering feature was the first memory store or "register."

Apart from developing one of the world's earliest mechanical calculators, Leibniz is remembered for another important contribution to computing: he was the man who invented binary code, a way of representing any decimal number using only the two digits zero and one. Although Leibniz made no use of binary in his own calculator, it set others thinking. In 1854, a little over a century after Leibniz had died, Englishman George Boole (1815–1864) used the idea to invent a new branch of mathematics called Boolean algebra. [1] In modern computers, binary code and Boolean algebra allow computers to make simple decisions by comparing long strings of zeros and ones. But, in the 19th century, these ideas were still far ahead of their time. It would take another 50–100 years for mathematicians and computer scientists to figure out how to use them (find out more in our articles about calculators and logic gates).

Explanation:

Whenever you are designing a project for commercial use (making money) and need to use photographs with people in them you must obtain a__________release.

Answers

Answer:

Copyright

Explanation:

can someone please help its late

Answers

Answer:

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

Explanation:

The labels to AS engine are given below from left to right respectively.

FanCompressorCombustionTurbineMixer Nozzle

Fan: Drawer air into the engine

Compressor: Compressor spins the air very fast. This sequeezes or compresses the air

Combustion: Air and fuel are mixed together and ignited in the combustor and it gets super hot and gas expanded.

Turbine: The hot gases enter the turbine, causing the blade on it to spin.

Mixer: The mixer combines the hot air with outside air in the engine. This reduces the heat and noise that is coming from the engine.

Nozzle: nozzle is where the exhaust is coming out from the engine, creating thrust. It works according to newton's third law.

Could u give me brief summary of New Years

Answers

....................................

Answer:

happy new year friend

sorry for late..

Help with my Nintendo DS please I now it’s not school related but I need it for my little sister

Answers

Answer:Go to settings and do factory reset!

Explanation:

Match the image to its type.


Rgb messes up taking pics from a iPhone 11 to a computer sorry it looks bad

Answers

Warm Colors:

Red flowersOranges

Cool Colors:

Blue skiesPurple butterflies

Neutral Colors:

Brown woodWhite birds

Reds, oranges, and yellows are considered warm, and greens, teals, blues, and purples are considered cool. Colors such as white, black, brown, or gray are all neutral.

If you had three extra siblings, what would be your birth order and what personalities would you like them to have?

Answers

Answer:

mixed personalities l

that will be cool

Answer:

I already have 4 step brothers, 2 real brothers, 1 step sister, and a half sister, so 3 more people would be a lot. If I got to pick their personalities and gender, I would want 1 more sister and 2 more brothers. I would watn a more alt brother, a more fem brother, and an indie sister. Kinda just an aesthetic type for them.

PLEASE HURRY!!
Look at the image below!

Answers

The answer would be 2&5 because this is correct
The answer should be 2&5 I’m not 100% sure on this but it makes the most sense

Soft skills are more likely to be transferable than hard skills?

True or false

Answers

Answer:

The correct answer is true.

Explanation:

Examples of Soft skills are

Communication TeamworkPositive Attitude etc.                              

These skill can be applied to any job. That is why we have said that soft skill are transferrable.

Now let look at hard skill,

Hard skill like programming in python. Making the architecture of computer. These skill can not be transferred to a new job like authoring a book.

so, hard skills are not easily transferrable.

can some one please help

Answers

Answer:

the thing is black for me. retake?

Explanation:

What is one way to make a presentation stand out by using PowerPoint Online?

Use different images and videos throughout the presentation.

Use a plain white background throughout the presentation.

Use the same font and font size throughout the presentation.

Use the same slide format throughout the presentation.

Answers

Answer:

Answer: Use different images and videos throughout the presentation.

Explanation:

I just took this test and got it correct :)

Answer:

give person on top brainlist they are right i got 100 percent

Explanation:

thank you

If you got band from a local library, what would be the reason for it besides shouting and talking? You're answer has to fit you're personality?

Answers

Answer:

I would get a band from the library because I check out ten books and returned them in a week. I also would just be in the library all the time and they would get frustrated. That or I would spend hours talking to a librarian about my favorite books and they would get fed up with me.

What are the most common forms of information?

Answers

Answer: web search

Explanation:

Give short answers.
h.
How have computers affected education?
i.
What roles do computers play at home?

j.What effects have computers had on the practice and enforcement of law?

k. How have computers changed entertainment?

Answers

Answer:

H) Well it depends how you put it. I'm Doing virtual School for my education. And it is so easy when we have technology out their to provide the help that we need. So I think it has affected education pretty good. You can Also google the answers.

I) Looking up Answers at home

J) Parents can check up on their child's school work and see if they can help them. Also The law is involved in Education.

K) It depend's on how you put it

Explanation:

Short Answers

For Internet Protocol (IP) v6 traffic to travel on an IP v4 network, which two technologies are used

Answers

Answer:

These technologies are: Dual Stack Routers, Tunneling, and NAT Protocol Translation.

Explanation:

Dual Stack Routers -  This is the process in which a router’s interface is attached with IPv4 and IPv6 addresses

Tunneling -Tunneling is used as a medium to help the different IP versions  communicate with the transit network.

NAT Protocol Translation -  This helps the IPv4 and IPv6 networks communicate with each other since they do not understand the IP addresses of each other since, they are different IP versions.

The two technologies that are used when Internet Protocol (IP) v6 traffic travel on an IP v4 network are datagrams and ipv6.

A datagram can be defined as a transfer unit that is associated with a packet-switched network.

Internet Protocol version 6 (IPv6) is a protocol used for packet-switched inter-networking.

The IPv6 is a protocol used for end-to-end datagram transmission through multiple Internet Protocol networks.

In conclusion, the two technologies that are used when Internet Protocol (IP) v6 traffic travel on an IP v4 network are datagrams and ipv6.

Learn more in:

https://brainly.com/question/14851068

Can someone help me I am coding.

Answers

Answer:

i will help u

Explanation:

what did you want

Anyone know the logic notation of this following logic circuit?

Answers

Answer:

Concept: Logic Circuit

You have two variables A and B A and B go to the XOR logic command.B goes to the NOT operator Lastly the result of both XOR & NOT go to the OR operator Please rate positively and give brainlist

b) Describe the computer processing that is required to maintain the correct growing
conditions.​

Answers

Answer:

Explanation:To get the best plant growing conditions, the temperature and humidity (moisture in the air) have to be controlled.

The greenhouse therefore has temperature and humidity sensors linked to a computer, and the computer has a control program storing details of the correct temperature and humidity settings. The greenhouse is fitted with a heater, sprinkler and window motor which are also linked to the computer.

If the humidity falls below the values stored in the program, the computer activates the sprinklers and closes the windows. If the temperature falls outside the values stored in the program, the heater is activated by the computer.


An identifier that allows multiple elements in an HTML document to be
styled in the same way

Answers

Answer:

CSS , (Possibly Divs)

Explanation:

I have picked CSS, and possibly Div's as my main explanation and answer here is why.

CSS - Cascading Style Sheets, this allows you to edit multiple elements in a HTML document, such as the color or any CSS attribute.

If you would like to learn more about CSS, and the multiple options that CSS provides such as Internal Styles, External Styles, lastly In-line styles. I highly recommend the resource "W3Schools".

DIV's - Divs are basically like a container, where you can input styles into this container that can effect those elements such as if I want the background-color, of the div it would effect all the elements inside that div. However, I said this could be a possibility since it isn't CSS where it is styled however you can group these elements to one div. You can also edit the CSS of the Div to effect it.

Name the stringed instrument that's known for its haunting sound, wide pitch capability, and large numbers in the orchestra.

A. Harp
B. Violin
C. Viola
D. Clarinet

The subject is Music Technology.

Answers

Answer:

VIOLIN

Explanation:

The VIOLIN is the stringed instrument that's known for its haunting sound, wide pitch capability, and large numbers in the orchestra.

I think the correct answer would be harp!! BRANLIEST plz

What do you mean by word-wrap?

Answers

Answer:

it is also know as line breaking

Explanation:

is breaking a section of text into lines so that it will fit into the available width of a page, window or other display area

Match the terms with their definitions

Answers

Answer:

Malware goes with the third definition, single sign-on goes to the fourth definition, phishing goes to the second definition, and clickjacking goes to the first definition.

Hope this helps! :)

Malware = a term used for software designed to damage your computer or steal your personal information

Single sign-on = when you use a single credential to log into multiple websites

Phishing = when random links mislead you into giving your password or other vital information to an unscrupulous website or person

Clickjacking = when you unknowingly click a malicious link, thinking it to be a legitimate link
:)

which of the following types of correspondence is used to inform the reader of new information such as a policy change

Answers

Answer: Memo

Explanation: Have a good day, pls mark me brainliest <3

Read the following scenario. How might Sarah correct successfully complete her task?
To permanently remove a file from her computer, Sarah doubled-clicked on the My Computer icon and searched for her
file under the “Uninstall or change a program" menu option. A

Answers

Answer:

Explanation:

A: To permanently remove a file from her computer, Sarah doubled-clicked on the My Computer icon and searched for her file under the “Uninstall or change a program” menu option.

or

b: empty the recycle bin : You can permanently delete a program file installed in the computer by following the procedure in option A. The option above will take you to the control panel and you'll be able to select the program you'd want to permanently remove. If you had initially deleted a file like a picture or a document or anything else that you necessarily do not need, it will go to recycle bin. You can head over there and select the Empty the Recycle Bin option to permanently delete the file.

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.

select the correct option
and thanks

Answers

M cucumber
Should be the ans

Answer:

Cucumber

Explanation:

Cucumber has the largest portion. .08 kg/tray/day. The entire graph equals 100%, and the cucumbers take up 17.8% of it.

Other Questions
Which device converts the mechanical energy of a spinning magnet into electrical energy? Jonathans math test scores were 87, 93, 85, 62, and 95. What was his mean score? Choose ASA, SAA, or neitherto describe this figure.ABASASAAneither Earth's first atmosphere was composed of mainly which of the following gases?O hydrogen and heliumO carbon dioxide and oxygenO nitrogen and oxygenO carbon monoxide and ozone On July 1, 2021, Markwell Company acquired equipment. Markwell paid $175,000 in cash on July 1, 2021, and signed a $700,000 noninterest-bearing note for the remaining balance which is due on July 1, 2022. An interest rate of 5% reflects the time value of money for this type of loan agreement. (PV of $1, PVA of $1) (Use appropriate factor(s) from the tables provided.) For what amount will Markwell record the purchase of equipment? a) $834,048. b) $841,666. c) $741,666. d) $875,000. How did the geography of China contribute to the development of a unique culture? O Mountains, rivers, and deserts created barriers to the outside world. The lack of geographic barriers meant that ancient China had contact with foreigners. The people of the Han dynasty had a lot of interaction with civilizations in India. The many rivers in China allowed for the Han to interact with many civilizations. HURRY THE FIRST RIGHT GETS BRAINLYEST Tonya works 60 hours in 3 weeks. Select ALL the true statements OR YOU WILL FAIL THE GRADE. A. Tonya works 100 hours in 4 weeks.B. Tonya works 140 hours in 7 weeks.C. Tonya works 20 hours a week.D. Tonya works 5 hours a day, 5 days a week.E. At this rate, Tonya will work 240 hours in 16 weeks PLEASE HELP WILL GIVE BRAINLIEST I NEED THIS ASAP what are the meanings of the words 1. Censorship2. Acupuncture 3. Canal4. Daoism 5. Legalism 6. Dynasty7. Feudalism PLEASE HURRY) The graph indicates the running route for TobiasWhich best describes his runA. From time 0 to 6, he went fast and then slowed down.B. From time 6 to 10, he was at his slowest.C. From time 12 to 14, he went very slow.D. From time 14 to 18, he went toward the starting point. Please help me on this write a c++ program that prints the intial letter of any name Whoever gets the specific and correct answer will get Brainlist. Goooood luckkk On a team, 6 girls and 5 boys scored a total of 57 points. The difference between the number of points scored by the 6 girls and the number of points scored by the 5 boys is 27. Each girl scored the same number of points and each boy scored the same number of points. Find the number of points scored by each girl and each boy. Ill mark you brainlist Ill mark you brainlist write in y=mx+b form Ill mark you brainlist Ill mark you brainlist 1 - Saber o conocer? Multiple choice Activity DUE December 2nd 10:00 AM Instructions Listen and select the form of saber or conocer that should replace the beep in each sentence. Questions Modelo You hear: (Beep) cantar. You choose: S because the sentence is S cantar. 1. S Conozco 2. Saben Conocen 3. Sabemos Conocemos 4. S Conozco 5. Sabes Conoces 6. Sabes Conoces Is - .6251327657 a rational number? what is the domain of the function represented by the graph? A nucleotide consists of what landmark acts as a center of the four quadrants in the abdomen? PLEASE HELPPPPPPPPPPP