1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Bad White [126]
3 years ago
9

What is the intermediate value of arr after two iterations of the outer for loop in the call sort(arr)

Computers and Technology
2 answers:
astra-53 [7]3 years ago
5 0

The intermediate value of arr after two iterations of the outer for loop in the call sort(arr) is option C of the image attached.

<h3>What is intermediate value in programming?</h3>

This is known to be a variable that is often employed in assisting so that one can be able to compute what they want

Concluisvely, The intermediate value of arr after two iterations of the outer for loop in the call sort(arr) is option C of the image is because it will help you to have what you are after with the codes.

Learn more about ntermediate value from

brainly.com/question/11195842

#SPJ2

navik [9.2K]3 years ago
4 0

Answer: D: "Ann" "Mike " "Bill " "Lisa" "Mary" "Jose" " Shari" "Walt"

Explanation:Goes through selection sort and after 2 iterations, the largest elements are swapped with the last 2 elements of the array.

You might be interested in
What are some pros and cons of being a Computer Hardware Engineer?
olganol [36]
Pros: Median salary is high (about $108,430), Employable in many different industries, like product manufacturing, computer systems design and scientific research.
Cons: Limited job growth, often requires long hours.
8 0
4 years ago
What is a number system, and what is the total number of digits used in this system called?
DENIUS [597]
The number system is what is use globally as are way of counting the total number of digits is 9 because you can make any number with characters 1-9
7 0
3 years ago
Consider the partially-filled array named a. What does the following loop do? (cin is a Scanner object)
Jlenok [28]

Answer:

3. Reads up to 3 values and places them in the array in the unused space.

Explanation:

cin.NextInt() reads the next value from the Scanner.

The while is just while the size is lesser than the capacity and the value is positive. It may read up to 3 values, and puts at the position size; Size starts at 3, that is, the first index which the value is 0, and goes up to 5. So it is the unused positions.

The correct answer is:

3. Reads up to 3 values and places them in the array in the unused space.

3 0
3 years ago
Write a modular program that allows the user to enter a word or phrase and determines whether the word or phrase is a palindrome
Ostrovityanka [42]

Answer:

import java.util.Scanner;

public class num10 {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Enter a word");

       String word = in.nextLine();

       String reversed = "";

       //Get the length of the string entered

       int length = word.length();

       //Loop through the string and reverse th string

       for ( int i = length - 1; i >= 0; i-- )

           reversed = reversed + word.charAt(i);

       //Compare the two strings "word" and "reversed"

       if (word.equals(reversed))

           System.out.println(word+" is a palindrome");

       else

           System.out.println(word+" is not a palindrome");

   }

}

Explanation:

Since we know that a palindrome word is a word that reads the same forward and backward, The Idea here is:

  • To obtain a word from a user.  
  • Use a for loop to reverse the word and store in another variable
  • Use if....else to compare the two strings and determine if they are equal, if they are equal then the word is palindrome.
6 0
4 years ago
Which Cisco IOS command is used to disable a device from performing naming lookups?
Ilia_Sergeevich [38]

Answer:

No ip dns server.

Explanation:

The DNS stands for domain name services. It can be statically or dynamically configured to a workstation from the DHCP request. It resolves the ip address of a server to it's name, so a client is not burdened by memorizing the ip address of every website.

In the cisco ios,  the "NO" command is used to negate other commands, so when a "no ip dns server" is used configured on a device, it stops every website name lookups.

3 0
4 years ago
Other questions:
  • If someone receives a shock, or a piece of equipment is throwing sparks or arcing you should try to pull them away from the sour
    7·1 answer
  • A ____ is approximately a billion bytes.
    9·1 answer
  • Which of the following is considered a white collar crime?
    13·1 answer
  • I NEED IT NOWW
    13·2 answers
  • In information security, a specification of a model to be followed during the design, selection, and initial and ongoing impleme
    5·1 answer
  • who here plays overwatch or paladins ps4? I'm getting overwatch soon and need people to play with. please don't report this.​
    14·1 answer
  • Can someone please do this java lab for me (100 point version)? Im really having trouble. (DO NOT GIVE FAKE, USELESS ANSWERS. I
    14·1 answer
  • True or False <br> Hebrew Bible and the Koran were first written in English.
    15·1 answer
  • What is the sixth generation of style. When writing a paper.
    8·1 answer
  • Derek, a project manager. is involved in an activity that occurs during the system-level requirements analysis. In which activit
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!