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
ankoles [38]
3 years ago
6

A binary search can be performed only on ____.

Computers and Technology
1 answer:
11Alexandr11 [23.1K]3 years ago
3 0
A binary search can be performed only on a comparable lists
You might be interested in
What is the syntax of sinX????
kkurt [141]
The syntax of sinX is the script used in sinX. 
The syntax of something, whether it be Python, C++ or even sinX is just the code. 
That's why when you check the code for errors, the button says "check syntax"!
3 0
3 years ago
True or False. When clicking the button, the program displays OK1 OK2. When clicking the button, the program displays OK1. When
zaharov [31]

Answer:

False, The program has no compile error.

Explanation:

import javafx.application.Application;

import javafx.scene.Scene;

import javafx.scene.control.Button;

import javafx.stage.Stage;

public class Test extends Application {

 @Override // Override the start method in the Application class

 public void start(Stage primaryStage) {

   // Create a button and place it in the scene

   Button btOK = new Button("OK");

   btOK.setOnAction(e -> System.out.println("OK 1"));

   btOK.setOnAction(e -> System.out.println("OK 2"));

   Scene scene = new Scene(btOK, 200, 250);

   primaryStage.setTitle("MyJavaFX"); // Set the stage title

   primaryStage.setScene(scene); // Place the scene in the stage

   primaryStage.show(); // Display the stage

 }

 public static void main(String[] args) {

   launch(args);

 }

}

Java has an inline compiler, so if the line of code for an event is repeated twice and they both are not segmented, they will be compiled consecutively.

8 0
3 years ago
What are Loop Errors? Describe briefly. What aresymptoms of Loop Errors?
victus00 [196]

Answer:

The errors in the loop condition such that it is not giving desired results or it is not running accordingly.There are different types of loop errors which are as following:-

1.Infinite loop:-When the is not able to stop then the error is called infinite loop. for ex:-

int i=1;

while(i!=0)

{

cout<<"I am King"<<endl;

i++;

}

2.Off by one error:-This error mostly happens in loop for arrays as indexing of the array is from 0 to size-1 .So looping over the array up to the size is a off by one error.

3.Equality v/s assignment operator error:-In this error the condition in the loop is like this d=f which is wrong since = is assignment operator it assigns the value of f to d while d==f checks that the value of d and f are equal or not.

4.&& v/s || loop error:- In this error we use and operator (&&) instead of or operator (||) and vice versa.

symptoms of loop errors are not the desired output.

4 0
2 years ago
A acrostic sentence for mutualism?
melamori03 [73]
Must have
Understand
Today for
Urgent
Answer
List it too
It's not hard
So listen to
Me
6 0
3 years ago
Activity
ch4aika [34]

Answer:

The answer to this question is given below in the explanation section.

Explanation:

This question is about creating a table using a spreadsheet program to record how many t-shirt each team member sold.

The spreadsheet file is attached.    

Download xlsx
3 0
3 years ago
Other questions:
  • When parking ur vehicle facing downhill with a curb, you should point ur front wheels?
    7·2 answers
  • Stella likes to work with colors and moving pictures. She is good at drawing. Which job role should she choose
    11·2 answers
  • def getCharacterForward(char, key): """ Given a character char, and an integer key, the function shifts char forward `key` steps
    9·1 answer
  • What are some causes of the number of bytes on the wire exceeding the number of bytes being captured?
    6·2 answers
  • Portable Document Format (PDF) is a file format that provides an electronic image of a document and can be viewed, printed, and
    12·2 answers
  • Identify the selector in the following CSS code:
    10·1 answer
  • Which type of mic is durable, versatile and does not rely on power?
    14·2 answers
  • Because of the abundance of water on planet Earth, hydrogen gas (H2) is a candidate in the search for a replacement for petroleu
    5·1 answer
  • 4 brainly
    9·1 answer
  • What method is used in the following line of code to associate clicking the left button with the event handler "clickSingle"?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!