in java !
For each of the following tasks, draw what the initial array looks like, diagram how you would solve the problem, and draw what the final array looks like. Then use your diagram to write a step by step process to solve the task. The diagram may show several separate steps, or you may want to use arrows to show how the data will be moved. It will be helpful to number the arrows in the order you draw them.


Given an unsorted array of integers create a sorted array by finding the
largest element in the array and swap it with the last position. Then find the largest
element in the array, ignoring the last position, and swap it with the second to last
position. Repeat until you are only considering the first position (element at index 0).
The initial array is : int array[] = {22, 15, 33, 4, 12, 2, 3, 19 };

Answers

Answer 1

Answer: The attached photo is the code I use to sort the array from Greatest to least. If this doesnt help, I'm sorry.

Explanation:

In Java !For Each Of The Following Tasks, Draw What The Initial Array Looks Like, Diagram How You Would

Related Questions

When you are entering text, what is the most efficient way to remove the previous four characters to correct a word that you entered incorrectly?

A. Press the DELETE key THREE times
B. Finish typing the word, and then run a spell check
C. Press the BACKSPACE key four times
D. Triple-click the word to select it, then retype it correctly

Answers

Answer:

C. press the Backspace key four times

Explanation:

When you are entering text, what is the most efficient way to remove the previous four characters to correct a word that you entered incorrectly is to Press the BACKSPACE key four times

Most times people do delete a character to the right of the insertion point by pressing delete and a character to the left of the insertion point by pressing backspace

It is often better to select the text you want to remove, then press the Delete key.

Conclusively, to quickly move an insertion point up to the start of the previous paragraph, just Press Ctrl+Up Arrow (Windows).

Learn more from

https://brainly.com/question/19286999

In Java I’m having trouble with variables. When I try to call a variable from my while loop it says, “finger cannot be resolved to a variable.” The error is on line 49.

Answers

You're declaring variable finger inside your while loop so it only exists inside your while loop. You're then trying to use your finger variable outside your while loop, which is impossible because finger only exists inside your while loop.

Try declaring total at the beginning of your program, adding finger to total before you break from your while loop and then adding randNum to your total at the end.

To better understand why you can't use finger outside your while loop, look up "java scope". This will explain why you can only use variable in the regions they're declared in.

Complete the missing part of the line to allow you to read the contents of the file.
inFile = ____ ('pets.txt','r')

Answers

Answer: Sorry I’m late but the answer is open

Explanation: Edge 2021

The missing part of the line allows you to read the contents of the file. inFile = Open ('pets.txt','r').

What is the file format?

The term file format refers to that, A standard way the information is encoded for storage in a computer file. It specifies how bits are used to encode information in a digital storage medium. File formats may be either proprietary or free.

The file format is the structure of that file, Which runs a program and displays the contents. As there are many examples like a Microsoft Word document saved in the. DOC file format is best viewed in Microsoft Word. Even if another program can open the file.

Therefore, By the File format allows you to read content and can open up the file format.

Learn more about  file format here:

https://brainly.com/question/1856005

#SPJ2

Define the following. 1.upload 2.store3. download.

Answers

Answer:

1. UPLOAD- to transfer (data) from one computer to another, typically to one that is larger or remote from the user or functioning as a server.

2. STORE- to keep or accumulate (something) for future use.

3. DOWNLOAD- to copy (data) from one computer system to another, typically over the internet.

[tex]\huge\mathtt{\fcolorbox{lime}{black}{\pink{Answer:-}}}[/tex]

Upload

[tex]\red\mapsto[/tex]Uploading refers to transmitting data from one computer system to another through means of a network.

Store

[tex]\red\mapsto[/tex]Computer data storage is a technology consisting of computer components and recording media that are used to retain digital data.

Download

[tex]\red\mapsto[/tex]Download means to receive data from a remote system, typically a server such as a web server an email server.

Select the answer that best describes the ethical guideline followed in each scenario.

Answers

We need the scenario to solve this feel free to comment on this with your so scenarios and I will provide you with answers or just post another question

how to change your name to a fake one

Answers

oh lord i’m sorry I got no idea..

Answer:

You can't. You have to email them and request it if you want too.

Explanation:

I hope this helped and if it did I would appreciate it if you marked me Brainliest.

Thank you and have a nice day!

Why are computers used in almost all the areas ?​

Answers

Answer:

Because it is easy to used

Explanation:

For students:Such an example,the app called jamboard are a bit diffucult to use in the phone(we need to download it) but if we use in laptop there will be a sign of jamboard if you touch that the app called jamboard will come easily so you can save some time there.We also can search in the laptop easily in laptop (if you touch the new tab button) but if you do that in phone it will be a bit hard

For workers:If they do something in word or PDF it will be easy for them because laptop are wider than phone.So,if you type a form in the laptop it will be easy to check.But if they use phone they need move to side and they also need to scroll down.It will be hard for them.They even can zoom the PDF in phone but it will hard for them.

Is this explanation okay????

Two students are trying to combine their decks of Battleémon cards (a knock off version of another famous card game) so that they make one large deck of cards that contains exactly one of each unique type of Battleémon card that they own - in alphabetical order. In order to do this, the students start with two lists, deck1 and deck2, which are lists of all Battleémon cards each student owns (duplicates included) and the following available procedures.

Answers

Answer:

combinedDeck ← Add(deck1, deck2)

combinedDeck ← RemoveDups(combinedDeck)

combinedDeck ← Alphabetize(combinedDeck)

Explanation:

Uisng a the set of instructions below, a list of sorted cards without duplicates can be obtained by following the set of instructions below :

1. START

2. Read in cards of student A and student B into a set :

3. Using the union function merge, the two set of cards.

4. Since a set will contain no duplicates, then duplicate cards are automatically removed.

5. Convert the set to a list and apply the sort function.

A code snippet in python is given below :

card_A = {'meal', 'peal', 'deal', 'spin'}

#enter the values of student's A card into a set

card_B= {'skill', 'lift', 'spin'}

#Enter the values of student's B's card into a set

merge = card_A.union(card_B)

#using the union function, merge the cards

merge = list(merge)

#convert the mergers set into a list

sorted_cards = sorted(merge)

#using the sorted function, sort the values in the merged cards

print(sorted_cards)

#display the sorted cards

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

Travis is getting ready to present his PowerPoint slides to his class. What is a good tip Travis should use during his presentation? Make eye contact and smile. Read from the slides. Speak quickly. Speak quietly.

Answers

Answer:

REad from slide and speak clearly and slowy.

Explanation:

Try to keep each to one line by using bullets or brief words, and avoid text wrapping. Instead of reading the screen, you want your audience to pay attention as you give your information. Long words might be clipped on some projectors because they cut slides off at the margins.

What is the best way to do a presentation?

Once you've completed presenting the content of your speech, the simplest approach to conclude it is to say “thank you.” That has the advantage of being universally understood. Anyone can use it to signal to the audience that it is time to applaud and go.

Opening your thank-you speech with a straightforward phrase. Then, briefly discuss one or two (but no more) noteworthy points from the speech, such as the startling discovery or the wise words that were earlier mentioned.

Therefore, Content, audience, structure, and consistency are the four factors that will ensure that your audience follows along and remembers your presentation.

Learn more about presentation here:

https://brainly.com/question/14498361

#SPJ2

How does scarcity influence the price of a product?
A)
It causes inflation.
B)
It causes deflation.
C)
It causes a recession,
D)
It does not impact the price.

Answers

Answer:

A

Explanation:

As a product becomes more scarce (less abundant), its value increases. Inflation is described as an increase in price and a decrease in value of money. An item naturally becomes more costly as its exclusivity grows.

The answer is a










Bsajsjahjssjs

In your guessing game, you replaced dashes in blanks when the user guessed a correct letter by using a string slice. Which line of code will replace the character with an index of n with the guessed letter?
blanks = blanks(n) + letter + blanks(n+1)
blanks = blanks[:n] + letter + blanks[n+1:]
blanks = blanks(:n) + letter + blanks(n+1:)
blanks = blanks[n] + letter + blanks[n + ]

Answers

Answer:

C.

blanks = blanks[:n] + letter + blanks[n+1:]

Explanation:

Got it correct on Edge!

Answer: blanks = blanks[:n] + letter + blanks[n+1:]

Explanation: Edge 23

what would you do if you got exposed on social media and (depression) who feels like that sometimes ?

Answers

Answer:

Sadness

Explanation:

Because i sad or mad

Answer:

nothing

Explanation:

i wouldn't get the app

What is string constant??

Answers

Explanation:

String constants, also known as string literals, are a special type of constants which store fixed sequences of characters. A string literal is a sequence of any number of characters surrounded by double quotes: ... The null string, or empty string, is written like "" .

. List down mental health problems that may arises with excessive use of digital social networking Do we ever need to be concerned about becoming addicted to any Internet activities? Find one example in a news or journal article of a person who was "addicted" to using a social networking site or other online activity

Answers

Answer:

Excessive utilization of digital instant messaging could perhaps lead to numerous mental health conditions.

Explanation:

The massive pressure just to preserve a privileged lifestyle the same as peer group and other such influencers. Cyberbullying would also be a key component of the social mainstream press. This might cause stress.

Yes, researchers undoubtedly need to worry about who becomes familiar with the internet. There's a whole number of news items living with the effects of over-using social networking sites. There seemed to be headlines that a teen must have been strongly affected by someone with a man as well as ransacked with real money by encouraging them to stay married to her.

What helps you evaluate websites for reliable information?

Answers

the url....typically government (.gov) websites are the most factual sites as well as non profit sites..

Answer:

A and C

Explanation:

right on edge and someone in the comments was right

What are 3 examples of Chassis Wiring?

Answers

Answer:

.

Explanation:

Can you please teach me how to code... ​

Answers

Answer:

yes i can teach u html nicely

please mark me as brainlist

John is the yearbook president and wants to edit articles and pictures for the yearbook at home, but he is afraid of losing a device on his walk home from school. What form of storage should John use? (5 points)

Answers

Answer:

Usb storage device because they are small and easy to transport.

Explanation:

small and easy to transport.

Likely either a USB thumb drive or cloud. Your best bet is probably the USB thumb drive.

Copyright ownership analysis starts with this principle: The ________ is the owner.

a- Government
b - author
c- public
d- employer

Answers

Answer: Author

Explanation: self explanatory

Write a c++ programm that enter a number from the user and displays Fibonacci numbers from 1 to given number using function

Answers

Answer:

#include <iostream>

using namespace std;

int main()

{

   cout << "Enter number: ";

   int number;

   cin >> number;

   int prevfib = 0;

   int fib = 1;

   while (fib <= number) {

       cout << fib << " ";

       int add = prevfib;

       prevfib = fib;

       fib += add;

   }

}

How many bits would be needed to count all of the students in class today?There are 25 in class

Answers

Answer:

50?

Explanation:

Answer:

You would need 8 bits.

Explanation:

In science class, Patricia is giving a presentation on the different types of flowers in her community. As part of her presentation, she wants to show the basic structure and parts of a flower. What kind of visual aid should she use?

a line graph
a diagram
a pie chart
a map

Answers

Answer:

a diagram

Explanation:

Giving presentation is one of the methods of imparting information and knowledge about a certain topic. For this purpose the visual aids like images, videos, maps and diagrams are used for better dispersal of the information. A diagram is a visual representation of a certain topic that helps in the detailed analysis.  

In the given excerpt, Patricia has used a diagram to highlight the basic structure and parts of the flower.

Answer:

b

Explanation:

edge 2021

Write the name of the tab, command group, and icon you need to use to access the borders and shading dialog box.
TAB:
COMMAND GROUP:
ICON:

MICROSOFT WORD 2016
I NEED THIS ANSWERED PLZZ

Answers

Answer:

Tab: Home Tab

Command group: Paragraph

Icon: Triangle

Explanation:

To summarize and analyze data with both a crosstabulation and charting, Excel typically pairs _____.

Answers

Answer:

" Pivot Charts with Pivot Tables" would be the right approach.

Explanation:

The pivot chart would be a visual interpretation or depiction of an Excel pivot table. Pivot charts, as well as tables, were indeed interconnected around each other. The pivot table could indeed assign a retroactively comparable number and appearance formatting or predictive text, although when data is being transferred.

1
Select the correct answer.
Which tool will select the lines of a sketch in digital software?
A.
Gradient
B.
Magic Wand
Ос.
Edge Detect
OD.
Paint Bucket
Reset
Next

Answers

Answer:

gradient

Explanation:

Answer: C

explanation: you can use edge detect to select the lines of a sketch in digital software

What is the name for non-paid active links returned by an Internet search engine in the search results?

Answers

Answer:

organic links

Explanation:

Which solution eliminates the need for dedicated high-speed WAN connections between sites

Answers

Answer:

running in the 90 s intensifies

Explanation:

Write the steps of applying background colour to the document?​

Answers

Answer:

Select add color

Explanation:

depends the program u are using

depends on the program

Pick all the correct answers

Answers

i think it’s A and D ...


allows you to put text and/or graphic objects anywhere on a page without the objects nearby

wsyiwig
threading
independent placement
grid lines

Answers

B. Threading (the second one)
Other Questions
6.Pirate Pete wants to give each of his pirate friends an equal number of goldcoins. But, he can't remember if 3, 4, 5 or 6 of his pirate friends are comingto his party. What is the fewest number of gold coins that Pirate Pete musthave so that each pirate friend who comes to his party gets the same numberof gold coins? Please help !!!B. Give the plural of the following :1 . The teacher's table.2. The child's bed.3. The man's uniform.4. The goat's leg. Paul Baumer has a flashback to when he was in the classroom. Describe the lecture that hereceives from his school master. Please help! And 20 points! :3I need help with these 3 questions--3-|| FIGURATIVELANGUAGEMr. Tuttle is the strictest teacher in15the school. You can't go out for recessuntil you finish all of your work and he neverallows talking in class unless you are answeringa question. He also gives us tons of homeworkthat takes forever to finishWhich type of figurative language is featured inthis passage?a. metaphor b. hyperboled. personificationc. simile Choose the number line of the solution to this inequality. c - 12 -16 Please help do these questions I GIVE BRAINLIEST!! 40 POINTS Any flat artwork such as painting, drawing, or photography, is bestdescribed as this type of artwork. *two dimensionalthree dimensionalabstractsurreal Answer the following question. Note the cue in parentheses. "What would you do with a million dollars?" Which cell has a round shape? Plant Cell or Animal Cell? Choose one! Determine the approximate measure of angle Y. 1. "To what extent is the UK a diverse and unequal society?"Please help me answer this question!! PLS HELP DUE TODAY!!! 29 POINTS!!!(05.03)Calculate the area of the figure below using the following information:(05.03)Calculate the area of the figure below using the following information:Area of triangle ABC = 31.8 square unitsArea of triangle ACD = 39.2 square unitsArea of triangle AED = 35.5 square unitsImage of irregular pentagon with vertices points A, B, C, D, and E starting at upper left moving clockwise. Two dotted diagonal lines, one connecting vertices A and C, and the second connecting vertices A and D.The area of the Figure ABCDE is ______ square units.Answer for Blank 1: Which invasion of the Roman Empire was the first to reach the city of Rome? For a given triangle it is known that cos A =-0.5, where 0 Based on the information given above, the value of angle(s) A in standard positioncould beA)60B)120C)210D)300 answers?? im being timed Yo atender in a sentence Which lines in this excerpt show ethnocentrism?Take up the White Mans burden/Send forth the best ye breedGo bind your sons to exile/To serve your captives need;To serve your captives needs;/To wait in heavy harness,Your new-caught, sullen peoples,/Half-devil and half-child. Explain why2(x - 1) + 3(x - 1) = 5(x - 1) is a true statement. According to law 141, what happens if a woman wants to leave her marriage but her husband refuses to release her?