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

What is the difference between an if-statement, an if-else statement, and an if-else-if statement? How are they similar?

This is in computer science principles

Answers

Answer:

Explanation:

If statement is saying one perspective. However, if else if is many different.

sales management at ursa major solar wants to allow users create new account records with pre populated values.which feature should administrator

Answers

Question:  sales management at ursa major solar wants to allow users create new account records with pre populated values.which feature should administrator

Answer:  Sales representatives at Universal containers often schedule in

person meetings at customer offices. Management wants to track   activities for this meeting category to clearly display customer office meetings in the account , contact or opportunitity page  layouts, as well as adding this data to reports.

Explanation:

Choose the term that completes the sentence.
A bubble (sort/function/search) starts by comparing the first item in the list to the rest of the items.

If the first one is greater than a later item, the items are swapped.

Answers

Answer: BUBBLE SORT

I hope I've been helpful to you.

Answer:

Sort

Explanation:

I Answered this in Edge.nuity and it was correct

Select four Microsoft programs.
a. Serrer
b. Visio
C. Office
d. Windows 7
e. Red Hat

Answers

Answer:

Windows, office serrear and Visio

Explanation:

How do graphic designers showcase their work?
Graphic designers create(Blank)
to showcase their work.


THIS IS A BIG TEST IM BEHIND AND CANNOT FAIL PLZ

Answers

Answer:

Platforms!

Explanation:

Answer:

portfolios

Explanation:

A portfolio is a collection of work done by a graphic designer. Graphic designers use them to display their work to their clients.

What are the most common forms of information?

Answers

Answer: web search

Explanation:

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

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

WHY DOES THIS HAPPEN!?!??!?

Answers

Answer:

whats the qeustain?

Explanation:

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

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

Collaboration, listening, and negotiating are considered __________ skills.

interpersonal
mathematical
personal
verbal


VERBAL IS NOT THE ANSWER SOMEONE HELP

Answers

Answer:

interpersonal

Explanation:

Interpersonal skills are the types of skills that enhance the individuals' social interaction and communication means with others whereby there is the establishment of social rules and references.

It involves social communication activities such as collaboration, listening, and negotiation.

Hence, in this case, the correct answer is "INTERPERSONAL SKILLS.

Answer:

A. is correct

Explanation:

computer network reduces the cost of operation​

Answers

Answer:

Computer Networks can allow businesses to reduce expenses and improve efficiency by sharing data and common equipment, such as printers, among many different computers. At the same time, the network may be connected by cables, telephone lines, infrared beams etc, which is cheaper and helps to reduce the expenses.Explanation:

What does the "zoom tool" do in Photoshop?
O
A. All of the above
o
B. It gives the illustrator the ability to zoom in and out of the image
o
C. It gives the illustrator the ability to edit the image at a closer look
O D. It gives the illustrator the ability to erase the image better by having a closer look

Answers

Answer:

A. All of the above

Explanation:

It’s A All of above

The data type of 17.3 should be ________________.

int
float
str
list
Please answer quick.​

Answers

Answer:

float

Explanation:

Answer:

17.3 should be a float

Explanation:

Float type is a data that is contain a decimal number

A student who might find digital learning challenging.

Answers

Digital learning exists mostly online, while traditional learning takes place in a classroom building.

Answer: it is "A"

|Likes meeting other students.|

anyone else parents take your phone and you ask for it nicely and they say no and you ask why and they ignore you

Answers

Answer:

that's the same situation with me but with other objects cuz me no have ph0nE

Explanation:

when i was a smol chiLd i would get beat if i didnt  know my multiplication table l0l

yes, hate it so much

69.147.76.15 is an example of what?​

Answers

Answer:

IP address.

Explanation:

An IP address is an acronym for internet protocol address and it can be defined as a unique number assigned to a computer or other network devices, so as to differentiate each device from one another in an active network system. Thus, an IP address is typically used to uniquely identify each computer or network devices connected to the internet or network.

Hence, 69.147.76.15 is an example of an IP address.

In Computer networking, IP address are classified into two (2) main categories and these are;

1. Local (internal) IP address.

2. Global (external) IP address.

Generally, when this IP address such as 69.147.76.15 is translated by a domain name system (DNS), it is mapped to the domain name yahoo.com which is much more understandable or comprehensible to the end users.

can some one please help

Answers

Answer:

the thing is black for me. retake?

Explanation:

Grades are numbers or ________ that show how a student performed in a course.

Answers

It’s either letters or percentages

short note on first generation computer​

Answers

Answer:

The period of first generation was from 1946-1959. The computers of first generation used vacuum tubes as the basic components for memory and circuitry for CPU

Which tab in MS Word would you select to insert a shape into a document? Question 6 options: Insert Review View File

Answers

Answer:

Insert

Explanation:

Under the insert tab, shapes will be an option to put in under the illustrations category.

Answer:

um insert?

Explanation:

im assuming its insert bc you said "to insert a shape into a document" so yh

i hope this helped?

Which actions help to protect a computer and keep it running properly? Check all that apply.

performing regular scans
deleting any unwanted files
backing up files and other data
saving Internet browsing history
saving and storing all junk files

Answers

backing up files and othed date
saving and storing all junk files
deleting any unwanted scans

Answer:

ABC

Explanation:

100% EDGE 2022

HELP PLZZ Which statement is true? Select 3 options.


A. A function must have a return value.

B. A function can use variables as parameters.

C. The definition of a function must come before where the function is used.

D. The definition of a function can come before or after it is used.

E. A function can have more than one parameter.

Answers

Answer:

B. C. E.

hope this helps :D

Answer:

The definition of a function must come before where the function is used.

A function can have more than one parameter.

A function can use variables as parameters.

Explanation:

I have a problem with my Nintendo DS lite does anyone know how to fix it?

Answers

Try checking if the battery is still working, they usually tend to give out at times.

heeeeeeeeeeeelp idek plz help

Answers

Answer:

b

Explanation:

What is the purpose of a div?
Group of answer choices

all of the above

to add a background color or image to a web page section

to change the styling of multiple contained elements

to group elements

Answers

Answer:

I'd choose A, all of the above.

Reasoning Why:

I'll be taking you on a step to step process on why I inputted the answer.

The <div>, is basically like a container that you can group tougher, why this is great is because you can edit the div using a background-color effecting that group such as the following..

EXAMPLE OF BACKGROUND-COLOR DIV (background-color)

<!DOCTYPE html>

<html>

<head>

<title>Brainly Example | HTML Div</title>

<style>

#byexample{

background-color:red;

/*Example of the Background-color attrib*/

/*You can also use the background-image attrib, however I recommend you checkout W3Schools, on that topic.*/

}

</style>

</head>

<body>

<div id="byexample">

<p>Just some random text to demonstrate.</p>

</div>

</body>

</html>

END OF EXAMPLE

You can also, in the <div> change multiple styles of an element in the div. However, if do want to change the styles of a single element you would need to nest it.

<!DOCTYPE html>

<html>

<head>

<title>Brainly Example | HTML Div</title>

<style>

#byexample #text{

background-color:red;

color:yellow;

}

</style>

</head>

<body>

<div id="byexample">

<p id="text">Just some random text to demonstrate.</p>

</div>

</body>

END OF EXAMPLE

Lastly, you can group elements using divs, as stated in openclassroom (website).

Anyways, I hope this helped!

Happy coding!

Can someone tell me how to fix the keyboard on ipad?- its in the middle of my screen andd i dont know how to do it

Answers

Answer:

Here

Explanation:

To move keyboard to bottom of screen, you just need to tap and hold the keyboard icon at the bottom-right corner of the keyboard, choose Dock option. To fix iPad keyboard in middle of screen, please tap and hold the keyboard icon, then choose Dock.Nov 5, 2020

Fill in the blanks : To store 3 character a computer occupies...................bytes memory space​

Answers

Answer:

Umm was there supposed to be a picture????

Explanation:

Hope you have a wonderful Christmas Eve time with your family!!❄️

Eight bits are called a byte. One byte character sets can contain 256 characters. The current standard, though, is Unicode, which uses two bytes to represent all characters in all writing systems in the world in a single set.

What is memory space?

Memory refers to the location of short-term data, while storage refers to the location of data stored on a long-term basis. Memory is the power of the brain to recall experiences or information.

Memory is most often referred to as the primary storage on a computer, such as RAM. Memory is also where information is processed. It enables users to access data that is stored for a short time.

Learn more about Memory here,

https://brainly.com/question/23423029

#SPJ2

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
Other Questions
What is the highest numeral in a binary code? A person invests 4000 dollars in a bank. The bank pays 6.25% interest compoundedannually. To the nearest tenth of a year, how long must the person leave the moneyin the bank until it reaches 9600 dollars? i have to say something here bc it need 20 letters djidhenendiix 1. What cellular process does a mitochondrion perform for the cell?A.the creation of carbohydrates and lipidsB.the release of energy for cell activitiesC.the division of genes in cell reproductionD.the sorting and packaging of proteins2.Which organelle in a plant cell captures radiant energy from the Sun?A.nucleusB.mitochondrionC.ribosomeD.chloroplast 3. The cell membrane of an animal cell was damaged, preventing the cell from performing one of its functions. Which cell function would be lost, and how would this loss affect the cell?A.The cell would no longer be able to provide the first barrier around the cell wall, causing the cell wall to expand.B.The cell would no longer be able to take in nutrients and excrete wastes, preventing it from making needed materials.C.The cell would no longer be able to maintain the necessary genetic material, preventing it from making copies of itself and dividing.D.The cell would no longer be able to use sunlight to create energy, preventing it from getting the energy it needs to grow and reproduce. Count the left-handed and right-handed spirals on the cacti in the photograph.You should get two consecutive terms of the Fibonacci sequence. What arethe numbers?A. 34 and 55B. 5and 8C. 21 and 34D. 13 and 21E. 8 and 13 Choose the transition word that indicates contrast.(1 point)The author examined the environmental effects, (Choose from Below) the economic effects were just as significant.Choices:Likewisesimilarlyalthoughfurthermore HELPP QUICKKK its timedd what is the sexual reproduction process of a komodo dragon. Please help, I really need help, will mark brainliest 90 points !!!!!!!!!!!!!!! Need Help !!!!! Essay Theme: The Challenges of Online and In-Person Learning in a Pandemic Environment I need at least 6 paragraphs !!!!!!!! Which material would get electrons from the source to the load the fastest What could be the coordinates of point E?O (2,-1)O-1,2)O (-3,-1)O(-1,-3) What was the mainpurpose for the Houseof Wisdom in Baghdadduring the AbbasidCaliphate dynasty?A. It was a place for learning.B. It was where people could bequarantined during plagueepidemics.C. It was a place to put criminalsto be rehabilitated.D. It was built to be the largestmosque in the Islamic empire. What was the purpose of salons? I WILL GIVE BRAINLIEST! PLEASE ANSWER FAST! Find the value of x The fact that Samira may miss out on a scholarship opportunity by staying on the freshman team illustrates The population of Oklahoma is approximately __________.A.2.5 millionB.3 millionC.3.75 millionD.4.5 million help meeeeeeeeeeeeeeeeeee What is the definition of citizenship?the legal protections of an individualthe legal age at which a resident can votethe nation in which an individual was bornthe legal recognition of a resident of a nation