B1:B4 is a search table or a lookup value

Answers

Answer 1

Answer:

lookup value

Explanation:


Related Questions

Write a program that reads in 10 numbers from the user and stores them in a 1D array of size 10. Then, write BubbleSort to sort that array – continuously pushing the largest elements to the right side

Answers

Answer:

The solution is provided in the explanation section.

Detailed explanation is provided using comments within the code

Explanation:

import java.util.*;

public class Main {

//The Bubble sort method

public static void bb_Sort(int[] arr) {  

   int n = 10; //Length of array  

   int temp = 0; // create a temporal variable  

   for(int i=0; i < n; i++){  

         for(int j=1; j < (n-i); j++){  

           if(arr[j-1] > arr[j]){  

               // The bubble sort algorithm swaps elements  

               temp = arr[j-1];  

               arr[j-1] = arr[j];  

               arr[j] = temp;  

             }  

         }            

         }  

        }

 public static void main(String[] args) {

   //declaring the array of integers

   int [] array = new int[10];

   //Prompt user to add elements into the array

   Scanner in = new Scanner(System.in);

   //Use for loop to receive all 10 elements

   for(int i = 0; i<array.length; i++){

     System.out.println("Enter the next array Element");

     array[i] = in.nextInt();

   }

   //Print the array elements before bubble sort

   System.out.println("The Array before bubble sort");

   System.out.println(Arrays.toString(array));

   //Call bubble sort method

   bb_Sort(array);  

               

   System.out.println("Array After Bubble Sort");  

   System.out.println(Arrays.toString(array));

 }

}

Other Questions
Who is the most famous person you've ever met? An actor? A politician? Well, for20-year-old Jessica Sayles, the answer to that question is a difficult one. Sayleshas met over 500 celebrities in her lifetime, and she has the photos to prove itSayles lives in Hollywood, California, where celebrity sightings are fairly commonWhen she was younger, she would ask for autographs. Now, she carries a celphone and snaps pictures instead. Since she started working as a waitress at apopular restaurant, Jessica has captured about three celebrity pictures per weekWhich detail best supports the passage's central idea?A. Working in a restaurant is a good way to meet celebrities.OB. Jessica is 20 years old.O C. Politicians are famous people.O D. Jessica takes around three celebrity photos a week Here's the sixth one for 60 minutes. A,C and D are points on a circle of radius 4 cm, centre o. BA and BC are tangents to the circle. OB=10cm work out the length of arc ADC. give your answer correct to 3 significant figures Why did Spain allow U.S. immigration into their territory?Helppppp What is the solution of the equation x2=64 The pOH of an aqueous solution of 0.480 M trimethylamine (a weak base with the formula (CH3)3N) is . 1890s was rounded to the nearest 10 what is the upper bound hello, can you please summarize this?thanks!!!!! True or False: A person should re-fuel their body with food and water after exercisein order to rebuild muscles. Please help me solve this problem!! I WILL GIVE YOU BRAINLIEST!(Algebra 1)m5m-4 Use the Distributive Property to simplify 17(2b + 3) What is a taiga?O 1/5O 2/5O 3/5O 4/5 13In the figure shown below, if line mis parallel to line n, then find the value of x. (This is a 2 part question.)m(2x-10)(65 - x)Part AWrite the equation to find the value of x. (DO NOT find x, just write the equation.)(2x - 10) (65 - x)Part BWhat is the value of x?Y One of the dog treats in Shelleys shop is 8 inches long and 3.2 inches wide. She wants to make a miniature version that has proportional dimensions. If the miniature treat will be 3 inches long, how wide should it be? What is the meaning of this excerpt?Reread this excerpt from The Call of the Wild.An oath from Perrault, the resounding impact of a clubupon a bony frame, and a shrill yelp of pain, heralded thebreaking forth of pandemonium. The camp wassuddenly discovered to be alive with skulking furryforms,-starving huskies, four or five score of them,who had scented the camp from some Indian village.They had crept in while Buck and Spitz were fighting,and when the two men sprang among them with stoutclubs they showed their teeth and fought back. Theywere crazed by the smell of the food. Perrault found onewith head buried in the grub-box.O Perrault is fighting stray dogs that have invaded thecampsite looking for food.O Perrault is punishing members of his dogsled teamfor their aggressive acts.Perrault is reprimanding his dogsled team for stealingscraps of food.O Perrault is feeding wild dogs and training them forwork on his team. PLEASEEEEEEQu palabra describe mejor el proceso de independencia de Mxico? The zika virus was first identified in Uganda in 1947. The virus is transmitted from person to person by a bite from a mosquito. It is commonly carried by the Aedes mosquito which is prevalent throughout Central Africa. The virus has more recently spread to the Americas (South, Central, and now North) and is expected to spread to Europe. There is a concern that the virus may reach epidemic proportions. Zika virus is related to yellow and dengue fever. Common symptoms are low grade fever and a distinctive skin rash and other symptoms include vomiting, headache, and muscle and/or joint pain. Pregnant women should avoid traveling to areas known to have zika virus present because the virus is known to cause microcephaly and developmental difficulties related to the central nervous system. Based on the paragraph above, class discussions, and other VALID (be careful with your selection of e-materials! CDC Center for Disease Control is a good place to start) sources of information please answer the following questions. 1. State a reason why the virus has spread to the Americas and likely to spread to Europe. 2. Define the term microcephaly.3. What bones of the fetal skull would be affected by zika? Specifically, what area of the CNS is not fully developed in microcephalic individuals. Why was the Stamp Act a cause of the American Revolution? A hospital administrator emailed an agenda to all the staff employees for an upcoming meeting. The agenda listed thepoints below.-Discuss the change in policy for dealing with patient privacy rights.-Discuss the possible solutions to overcrowding in the waiting rooms.-Discuss possible fundraising ideas for the purchase of a spectrophotometer.What part of the meeting is being effectively communicated to staff members?the timeliness of the meetingthe objectives of the meetingthe meeting minutesthe administrator's negotiation skills Carlos sold 6 cellphones every hour during the day, but in the morning he already ha $1,250 in the register. What is the expression that represents the total amount of money that he should have in the register in a given hour?A: $1250B: 6xC: 6x + 1250D: 1250x + 6