The number of swappings needed to sort the number 8, 22, 7, 9, 31 in ascending order, using bubble sort is

Answers

Answer 1

Answer:

3

Explanation:

swap the 7 with the 22

swap the 7 with the 8

swap the 9 with the 22


Related Questions

What an algorithm to calculate area of squre.​

Answers

algorithm to calculate area of the square

input x.

sq=x*x.

print sq.

The formula for calculating the surface area of a square is A = L x W
Area = Length x Width

The formula for Perimeter is P = 2L + 2W
Which simply means add all the sides
(Perimeter = 2 Length + 2 Width

These formulas only work for 2d shapes not 3d.

To calculate Volume of a cube its
V= L x W x H
Volume= Length x Width x Height

Hope this helps

There are many best practices for digital recordings. Select the three best practices from the list below. select the best microphone for your situation use a variety of surroundings and settings be conscious of your lighting wear headphones while listening to your recording only film the footage you need

Answers

Explanation:

1. Wear your headphones while listening to your recording: It is important to make sure there are no echoes or background noises in the room.

2. Pay attention to your surroundings: It is important to eliminate any unwanted motions or unwanted noises associates with motion.

3. Use a tripod or a table microphone: It is important not to be distracted by background noise or confuse it with background noise from your recording.

a. Fill in the blanks with suitable words: A software that controls and manages all the activities of the computer ... b. A software that converts the program written in any programming language into machine language.. A software that is designed to perform specific tasks for the user c. d. A software package used for creating text document e. A software package used for editing images​

Answers

Explanation:

i don't know

Aarti, a museum employee, has created a table in access titled “Roman Achitecture”. She has included a field that links users images of buildings.

Answers

Answer:

memo

Explanation:

Aarti, a museum employee, has created a table in access titled “Roman Achitecture”. She has included a field that links users images of buildings

What are the uses of magnetic force?​

Answers

Explanation:

Computer hard drives use magnetism to store the data on a rotating disk. More complex applications include: televisions, radios, microwave ovens, telephone systems, and computers. An industrial application of magnetic force is an electromagnetic crane that is used for lifting metal objects.

Answer:

Examples of magnetic force is a compass, a motor, the magnets that hold stuff on the refrigerator, train tracks, and new roller coasters. All moving charges give rise to a magnetic field and the charges that move through its regions, experience a force.

I Hope this will help you if not then sorry :)

state whether the following statement are true or false​

Answers

The following statement is true , Please mark me brainliest

What is the output?
>>> password = "sdf345"
>>> password isalpha()
>>>

Answers

Explanation:

the output password is isalpha()

Assume there are two variables, k and m, each already assigned a positive integer value and further assume that k's value is smaller than m's. Write the code necessary to compute the number of pertect squares between k and m. (A perfect square is an integer like 9, 16, 25, 36 that is equal to the square ot another integer (in this case 393, 4*4, 5*5, 6*6 respectively). Assign the number you compute to the variable q. For example, if k and m nad the values 10 and 40 respectively, you would assign 3 to q because between 10 and 40 there are these perfect squares: 16, 25, and 36.

Answers

Answer:

Lets us take k, m = 10, 40

q = 0

i = k

while i <= m:

   if int(i*0.5)*2 == i:

       q += 1

   i += 1


b. "The actual use and implementation of computer started after third generations".
Justify this statement in your own words.

Answers

Answer:

The use of computers and planning of them didnt start until after the third generation.

Explanation:

Hope it helps✌✌

Answer: The computers of third generation used IC which replaced transistors. Now' the computers were more faster ,smaller and reliable so people started to use them often for many purposes ..So the actual use and implementation of computer started after third generations

hardware and software are........... to each other​

Answers

Answer:

Hardware and software are interconnected to each other​

Hope this is what you´re looking for!

is computers takes lots of time to do any mathematical calculations.​

Answers

Answer:

I think the answer is a computer take lost of time to do any mathematical calculations because problem in the book or questions.

Hope this helps you ^^

Which kind of image is indispensable and needs added text to go with it?

Answers

Answer:

A chart and a graph

Explanation:

What is the purpose of requirements gathering and analysis?

Answers

Answer:

The purpose of Requirements Analysis is to discover unknown requirements, i.e., to turn unknown requirements into known requirements. Users' needs that were not expressed during requirements gathering and elicitation can be uncovered through Requirements Analysis.

Explanation:

write down the appropriate technical term of following statements.​

Answers

Answer:

it is not seeing full. please give full

write a program to check the password( qbasic)​

Answers

Answer:

Assuming this is in python:

def check_password(password):

   

   correct_password = "qbasic"

   

   if password == correct_password:

       return True

   else:

       return False

def main():

   

   user_input = input("Type in your password: ")

   

   if check_password(user_input):

       print("Correct!")

   else:

       print("Wrong, try again")

     

       

main()

Explanation:

Hope this helped :) If it wasn't suppose to be in python, tell me so I can make it in the correct programming language.

Have a good day :)

Considering what you know about dominant and recessive genes, what are the possible genotypes for brown eyed babies? What are the possible genotypes for blue eyed babies? Explain how you came to this response making sure to discuss dominant and recessive genes.

Answers

Answer:

B = Brown, b = blue

BB & BB = 100% Brown, 0% Blue

BB & Bb = 100% Brown, 0% Blue

Bb & Bb = 75% Brown, 25% Blue

Bb & bb = 50% Brown, 50% Blue

bb & bb = 0% Brown, 100% Blue

Explanation:

Reference the Punnett square. The brown gene when mixed with a blue gene  in one of the four squares is always dominant.

List out differences in the ways global communities were formed before and after the advent of the internet and social media.

Answers

Answer:

is a remarkably complex technical system built on the creative contributions of scientists around the world from the 1950s to the present. Throughout its evolution, the Internet and other networks have been promoted by governments, researchers, educators, and individuals as tools for meeting a range of human needs. A combination of high-level policy and grassroots improvisation has produced social benefits including easier and more widespread access to computers and information; increased scientific collaboration; economic growth; the formation of virtual communities and an increased ability to maintain social ties over long distances; the democratization of content creation; and online political and social activism. The Internet’s rapid growth has also spawned technical crises, such as congestion and a scarcity of network addresses, and social dilemmas, including malicious and illegal activities and persistent digital divides based on income, location, age, gender, and education. Such problems continue to demand creative solutions from scientists, policy makers, and citizens.

Several general themes characterize the technical development of the Internet. First, from the 1950s to the present there has been a steady increase in the size of data networks and the variety of services they offer. Rapid growth and diversity have forced network designers to overcome incompatibilities between computer systems and components, manage data traffic to avoid congestion and chaos, and reach international agreement on technical standards. These challenges have led to fundamental advances in research areas such as operating systems and queuing theory. A second trend has been the modeling of network functions as a series of layers, each of which behaves according to a standard protocol, a set of rules for interaction that is implemented in software or hardware. Layering reduces the complexity of the network system and minimizes the amount of standardization necessary, which makes it easier for networks to join the Internet. A third important feature of the Internet’s technical development has been an unusually decentralized and participatory design process. This has opened the system to innovation from a variety of directions and has encouraged informal worldwide collaboration. The following sections describe some of the major milestones in the evolution of the Internet and its predecessors.

Plz help help help


What was the first electromechanical digital computer?

For your kind information I would like to tell you that don't search on internet because it will show ENIAC and that is not the answer the answeris may be ABC or MARK I. I am just confused, Please help me

Answers

Explanation:

For your kind information the answer of the question is MARK I.

Answer:

What was the first electromechanical digital computer?

=⟩ Mark I was the first electromechanical digital computer.

Hope it helpful to you

You are the Administrator for a large company that has offices around the world. Each office has employees in the Sales department and each location has created their own Sales folder for storing important Sales related files. You would like to implement a Window Role to minimize the duplication of files within the Sales department. Which File System can you install as a Windows Role to help you accomplish this goal?

Answers

Answer:

Transactional File System

Explanation:

To minimize the duplication of files within the Sales department. Transactional File System can make multiple file system changing, and if there is an error on one of the files then there will be no change.

Similarities between in line css and internal css

Answers

Answer:

inline css is used to style a specific html element. for this css style, you'll only need to add the style attribute to each html tag, without using selectors. this css type is not really recommended, as each html tag needs to be styled individually. managing your website may become too hard if you only use inline css.

Explanation:

queens

describe in detail what each step would look like if you ran into a software error.

Answers

Answer:

First you have to identify the problem.

Second Gather information.

Third iterate through potential solutions.

Fourth Test your solution.

Explanation:

There are many different ways to handle errors in software but this is the way I do it.

Hope this helps :)

After running into a software error, a user needs to first determine the reason for the error, work towards a solution and then execute the solution discovered.

Software Error

A software error occurs when an error or unusual behaviour is observed in a piece of software and which can be reproduced after certain actions are performed that are in line with the stated rules of the software developer. In other words, a software error does not occur if the software was not used as directed by the software developer.

You can learn more about software errors here https://brainly.com/question/18497347

#SPJ6

What is a protocol in digital technology plwwes help

Answers

Protocol, in computer science, a set of rules or procedures for transmitting data between electronic devices, such as computers. In order for computers to exchange information, there must be a preexisting agreement as to how the information will be structured and how each side will send and receive it.

You are the IT Director for Stormwind training studios. Your company has decided to start using Microsoft Intune for all of their software deployments. You want to set up a notification system so that you see all alerts and your IT Manager only gets notified for Critical alerts. How do you accomplish this

Answers

Answer:

Well, if the IT Manager gets only critical alerts on a phone, then the IT Manager has to go to settings and make sure to have all alerts on.  

Explanation:

The IT Manager, probably has his notifications, critical alerts, on only. So the IT Manager should have his notifications to ALL. Where he will be able to see all of the alerts.

hlo plss help.
.....,, ​

Answers

Answer:

please sulto garera kichnu hola

Answer:

a) Analog computer

b) Laptop

c) super computer

d) Microcomputer

e) Hybrid computer

f) Digital computer

g) Laptop computer

Please mark me as brainlist

What is thesql command to list the total sales by customer , month , and product, with subtotals by customer and by month and a grand total for all product sales

Answers

Answer:

The answer is below

Explanation:

The the sql command to list the total sales by customer , month , and product, with subtotals by customer and by month and a grand total for all product sales is:

SELECT S.CUS_CODE, T.TM_MONTH, S.P_CODE,

SUM(S.SALE_UNITS*S.SALE_PRICE) AS "TOTSALES"

FROM DWDAYSALESFACT AS S INNER JOIN DWTIME AS T ON S.TM_ID =

T.TM_ID

GROUP BY S.CUS_CODE,T.TM_MONTH,S.P_CODE WITH ROLLUP;

Research and describe plug-ins and their usage in graphic design.

Answers

Answer:

Plug-ins are software developed to work with another software that is already installed in the computer. They are basically add-on software that enhance a functionality of an existing software. These plug-ins can be used for different purposes based on which software they support. There can be plug-ins for search engines, audio-video players, photo-editing software, graphical design software, and more.

Plug-ins may be developed by the same company which developed the software that the plug-in is supposed to work with. It may also be developed by independent developers who just want to solve or add an element to the existing features of a software.

Plug-ins are mostly free and are released after the target software is tested and released.

Plug-ins offer a lot of assistance in graphical design. It works with the design software for adding or enhancing affects and styles to the original work. Some of the functions that popular plug-in software provide are:

• to improve color, sharpness, and focus (perspective) of the images

• to create (and enhance) natural lighting effects within the image

• to sharpen or define (emphasize) particular parts of the image

• create motion blur

• change point-of-focus of the image

• alter the level of opacity of brushes

• alter the size of brush strokes (different from the ones that already exist)

• Control and enhance the intensity of dark areas in an image

• eliminate distortion due to camera shake

• create metallic edges for elements in the image

• introduce mood and blended contrast effects

Explanation:

This is what it said when I submitted my answer

what is internet?
what is online?​

Answers

Answer:

internet: The Internet is a vast network that connects computers all over the world. Through the Internet, people can share information and communicate from anywhere with an Internet connection.

online: controlled by or connected to a computer., while connected to a computer or under computer control.

________ is the type of security loss that involves computer criminals invading a computer system and replacing legitimate programs with their own unauthorized ones that shut down legitimate applications and substitute their own processing to spy, steal, and manipulate data.

Answers

Answer:

Usurpation

Explanation:

In context of CIBS-210 it is known as Usurpation

A security operations team was alerted to abnormal DNS activity coming from a user's machine. The team performed a forensic investigation and discovered a host had been compromised. Malicious code was using DNS as a tunnel to extract data from the client machine, which had been leaked and transferred to an unsecure public Internet site. Which of the following BEST describes the attack?
A. Phishing
B. Pharming
C. Cache poisoning
D. Data exfiltration

Answers

Answer:

D. Data exfiltration

Explanation:

Data theft can be defined as a cyber attack which typically involves an unauthorized access to a user's data with the sole intention to use for fraudulent purposes or illegal operations. There are several methods used by cyber criminals or hackers to obtain user data and these includes DDOS attack, SQL injection, man in the middle, phishing, sniffing, data exfiltration, etc.

The type of attack in this scenario is best described as data exfiltration.

Data exfiltration can be defined as a form of data security breach that typically involves an unauthorized transfer of data from a host computer by using a malware and a malicious code.

Hence, data exfiltration occurs when a malicious code uses a domain name server (DNS) as a tunnel to extract data from an end user's computer (client machine) and transferring it to an unsecure public Internet site.

The mainframe computer are the ____ and most ____ computers..​

Answers

Answer:

Mainframe computer are the larger system computers and most expensive computer.

Other Questions
At the bakery shop, each baker works at his or her own speed, making the samenumber of cakes each day. Marissa makes 28 cakes in 2 weeks, Carlos makes 60cakes in 20 days, and Shelby makes 5 cakes in 2 days.When the shop owner graphs the relationship between the number of cakesmade and days, who has the steepest graph? Explain. You read about a proposed amendment to require all students to remain in high school until they are able topase all required courses. You argue that it will not become an amendment Based on Amendments 11 to 27,why would you argue that it will NOT become an amendment?A It will not pass because amendments only change voting rights and taxes,B. It will not pass because amendments only affect people over 18 years old,C. It will not pass because most proposed amendments do not passD It will not pass because proposing amendments is no longer allowed Sally can paint a room in 4 hours while it takes Steve 7 hours to paint the same room. How long would it take them to paint the room if they worked together? Rewrite the following sentence:I'm happy to help you with your problems (mind) Can I get some help im not understanding this thing Which is the best example of a down payment?A. Margo leases an apartment and pays $500 cash as a security deposit when she moves in.B. Robby pays 10 percent cash up front and gets a loan for theremaining 90 percent of the cost of a condominium.C. Billy orders a piano, pays half the cost up front, and has to pay the other half when the piano is delivered.D. Jan signs a cell phone plan that includes a little of the cost of her new phone as part of her bill every month. Maria has already written Two-fifths of her 1,000 word essay. If she continues writing at the same pace of 6One-half words per minute, which expression shows the amount of time it will take her to write the rest of the essay?1000 times two-fifths times 13/ 2 1000 times two-fifths divided by 13/ 21000 times three-fifths times 13 / 2 1000 times three-fifths divided by 13/2 The seasonal product team needs a vendor who can quickly adjust to changes in product demand. The planning team has sent over a table comparing how the four available vendors have been performing. Can you identify which vendor to recommend?. A scientist counted 3,921 total eggs in49 sea turtle nests. Each nest had aboutthe same number of eggs. Which is thebest estimate of the number of eggsshe counted in each eggs? Replace * with a monomial in such a way, that the trinomial becomes a perfectsquare.*+12x+1 The crow ate all of the cherries on her tree in passive voice The length of the opposite side of a right triangle is 2cm longer than the length of the adjacent side. The hypotenuse is 4cm longer than the adjacent side. Use a quadratic equation to determine the perimeter of the triangle. PLEASE HELP please help me on this question plizzzzwhat is the green colouring matter found in plants called Two horizontal curves on a bobsled run are banked at the same angle, but one has twice the radius of the other. The safe speed (no friction needed to stay on the run) for the smaller radius curve is v. What is the safe speed on the larger radius curve?A) v/2B) v / 2C) 2vD) v2I shall answer it here so this can help other students outFirst, FN = mg/cosOn a banked curve, FNx is the only acceleration forceFNx = mv^2/rFNx = FNsinmg/cos * sin = mv^2/rcancel out the mass (m) and sin*1/cos is tangtan = v^2/rrgtan = v^2(rgtan) = v (this is the velocity for the smaller radius.)call larger radius velocity Xfor larger radius, it becomes 2r, so (2rgtan) = Xunderstand you can do xy = x * y(rgtan) * 2 = X ((rgtan) = v)v * 2 = X (where X is velocity with larger radius) Cells that do not have a nuclear membrane are called HELPPPP I WILL GIVE POINTS AND BRAINLIEST just and area that me and my friends can talk in What is the meaning of (typical consumer)? if 3 chickens in 3 days layed 3 eggs how many eggs would be layed by 12 chickens in 12 days Quotation marks are used to set off _____.