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
11Alexandr11 [23.1K]
3 years ago
6

In a binary search, _______________________________ . a. It is assumed that all of the elements are integers. b. It is assumed t

hat all of the elements are Strings. c. It is assumed that the search pool is small. d. It is assumed that the search pool is ordered. e. It is assumed that elements must be stored inside an array.
Computers and Technology
1 answer:
madam [21]3 years ago
6 0

Answer:

d. It is assumed that the search pool is ordered.

Explanation:

A binary search/logarithimic search/half interval search/binary chop refers to search algorithm in computer science that sorts data in array in key:value arrangements. In order to locate a value in binary search, the key to the value in a sorted array is located. A binary search is characterized by an ascending, descending order arrangement of the array.

You might be interested in
. Let F(X, Y, Z)=(X + Y + Z)(X + Y + Z)(X + Y + Z)(X + Y + Z). Use a 3-variable K-Map to find the minimized SOP form of this fun
Mrac [35]

Answer:

Kindly see explaination

Explanation:

The k-map van be defined as a map that provides a pictorial method of grouping together expressions with common factors and therefore eliminating unwanted variables. The Karnaugh map can also be described as a special arrangement of a truth table.

Please kindly check attachment for the 3-variable K-Map to find the minimized SOP form of the function in the question.

5 0
3 years ago
Test prints can help you determine the exposure time for a print as well as help you identify any issues in the negative. True F
Dahasolnce [82]
I'd say TRUE

It is always important to have a correct exposure in rendering a highlight tone on a print. To find the correct highlight exposure, make test strips using pieces of paper separately to the area of the negative containing the most the most critical highlight. Once you have enough test strips, you should pick the one that contains the best highlight rendering. Exposure time of that test strip is the correct exposure.



5 0
4 years ago
Read 2 more answers
Write the pseudocode for the following: A function called fahrenheitToCelsius that accepts a Real Fahrenheit temperature, perfor
V125BC [204]

Explanation:

import java.util.Scanner;

public class Main{

    public  static float CtoF(float celsius)

    {

        return 9 * (celsius / 5) + 32;

    }

public  static float FtoC(float fahrenheit)

{

   return (fahrenheit - 32) * 5 / 9;

}

    public static void main(String []args){

       System.out.println("Hello World");

       float temperature;

       Scanner in = new Scanner(System.in);

   System.out.println("Enter temperature in Fahrenheit");

   temperature = in.nextFloat();

   System.out.println("Fahrenheit value = " + FtoC(temperature));

   System.out.println("Enter temperature in Fahrenheit");

   temperature = in.nextFloat();

   System.out.println("Celcius value = " + CtoF(temperature));

    }

}

In this program we get input through the scanner object and it needs "java.util.Scanner" header file. We are getting the relevant input and that input is passed on the relevant function which has the ability to convert to Celsius and Fahrenheit.

Formula:

To Fahrenheit: 9 * (celsius / 5) + 32;

To celcius: (fahrenheit - 32) * 5 / 9;

8 0
3 years ago
A total of 378 tickets were sold for the school play. They were either adult tickets or student tickets. There were 72 fewer stu
Dima020 [189]

Since there were 72 fewer students tickets sold than adults tickets. the number of adult tickets that were sold is 278.

<h3>What is this algebra about?</h3>

Note that:

A total of 378 tickets were sold for the school play.

So:

A + S = 378

S = 2A

A + (2A) = 378

3A = 378

A = 126

If A is 126, then S is double of that, or 252.

126 + 252 = 278

Therefore, Since there were 72 fewer students tickets sold than adults tickets. the number of adult tickets that were sold is 278.

Learn more about tickets from

brainly.com/question/13520667

#SPJ1

7 0
1 year ago
Arrays save space because all elements of an array are stored in a single memory location while a list of variables needs a sepa
Nataly_w [17]

Answer:

Option A. True Is the correct answer

Explanation:

Arrays are allowed to store multiple elements of the same data type, all of them stored with the same array hence preventing the need for creating separate variables for each element. An array therefore will act as a container for storing several variables all of the same type. This offers a lot of convinience and enhances better memory space management. In java arrays are declared by:

dataType[] arrayName;

Where dataType is the datatype of elements to be stored in the arrays. This is followed by a pair of square brackets then the name of the array.

for declaration and initialization in Java, the new keyword is used as:

dataType[] arrayName = new dataType[arraySize];

8 0
3 years ago
Other questions:
  • Dani wants to create a web page to document her travel adventures. Which coding language should she use? HTML Java Python Text
    15·1 answer
  • In an internal combustion engine, the gasoline is combined with _______.
    6·1 answer
  • What best describes presentation software?
    14·1 answer
  • In your own words, what is pair-programming? What is the role of the driver? What is the role of the navigator? What are some be
    15·1 answer
  • Write code which takes inputs and creates two Rectangle objects (using the edhesive.shapes.Rectangle class) and compares them us
    7·1 answer
  • MR. Tom asked her students could they plant a flower and bring it to class. Sarah brought his flower and said it was a rose. Jam
    6·1 answer
  • Which of these countries has very strict cultural
    8·2 answers
  • How to disappear completely from the internet pc magazine
    7·1 answer
  • What are some limitations when it comes to testing and ensuring program quality? List at
    15·1 answer
  • Why does virtual reality rely on slightly different views for each eye?
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!