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
Reptile [31]
2 years ago
13

Consider the following implementation of a search method:

Computers and Technology
2 answers:
antiseptic1488 [7]2 years ago
6 0

Answer:

-1

Explanation:

i = 5 and target is 4, hence the result will be -1 going to the else statement because its not equal to the target

agasfer [191]2 years ago
3 0

Answer:

4

Explanation:

That's what the answer key says.

You might be interested in
Why Prithvi Narayan Shah are appointed the person favoured by the people at Kazi
mart [117]

Answer:

At one time, Prithvi Narayan Shah could not decide who he should as the Kaji (equivalent to Prime Minister) and Pradhan Senapati (Commander-in-Chief). He had two commanders Biraj Thapa Magar and Kalu Pande in mind.

So, for the decision, he called a Bhaardaari Sabhaa (assembly of the courtiers) along with some people of his kingdom and chose Kalu Pande on the basis of popularity. He instructs his descendants in Divyopadesh to understand the popularity before nominating someone as the Kaji.

This is not a true democratic system as the candidates don't really come from between the people. The candidates are the two people who the King thinks are capable and only wants to know who is popular. This only seems like a precursor of democracy we have today.

I would not call Prithvi Narayan Shah was a democratic king, though

Explanation:

3 0
3 years ago
In an internal combustion engine, the gasoline is combined with _______.
timurjin [86]
C, air.

The gasoline and air are mixed together in precise portions and then this mixture combusts in the engine.
8 0
3 years ago
How could you insert a new row between rows 20 and 21?
love history [14]
<span>The Answer is C. Right-click row 21's row number, and then click Insert.

</span>
6 0
3 years ago
Read 2 more answers
How to make google your default search engine on chrome?
IgorC [24]
You have to go to the three little dots on the right side on your screen in chrome by the url bar, and click settings down towards the bottom. Once you're in settings, you'll see "On startup" with three different choices. The way I do it, is click "Open a specific page" and type in www.google.com
8 0
3 years ago
Help with computer. homework
drek231 [11]
Im pretty sure the answer would be 82 because it's concatenating 2 to string(y)
8 0
3 years ago
Other questions:
  • In presentation software, what is the area that displays behind the information you place on a slide?
    5·1 answer
  • What's a good show to watch on Netflix?
    7·1 answer
  • Using the _______ list, you can select the number of photos that will appear on each slide.
    14·1 answer
  • In mathematics, the notation n! represents the factorial of the nonnegative integer n. The factorial of n is the product of all
    7·1 answer
  • What is the difference between word processing software and email?
    12·2 answers
  • ________ did you sell your computer to?​
    9·1 answer
  • What is the Best IPTV service provider in the USA?
    9·1 answer
  • Can someone help me calculate this Multimedia math:
    11·1 answer
  • What is information communication technology?
    7·2 answers
  • Write a short essay about the best rotary-wing aircraft ever. It must be a specific aircraft and consist of three paragraphs. In
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!