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
kati45 [8]
3 years ago
6

For the following array x [10] = { 45, 20, 50, 30, 80, 10, 60, 70, 40, 90} show the contents of x after the function call split

Pos = split(x, 0, 9) is executed, and give the value of the array index splitPos (the first is the pivot).
Computers and Technology
1 answer:
Valentin [98]3 years ago
5 0

Answer:

The array index by using split function.

45 20 50 30 80 10 60 70 40 90

45 20 40 30 80 10 60 70 50 90

45 20 40 30 10 80 60 70 50 90

10 20 40 30 45 80 60 70 50 90

Explanation:

In the following statement, there is an integer array type variable x and its index value is 10 that means it contains only 10 numeric values and then, they set split function which split the array and the split function is the built-in function which is used to separate the string or an array. So, the array is split into the following parts.

You might be interested in
What are some of the advantages of using the F measure (weighted harmonic mean) over using the Precision & Recall when evalu
Art [367]

Answer and Explanation:

Some of the advantages of using the F measure (weighted harmonic mean) over using the Precision & Recall when evaluating an IR system performance are as follows-

  • Precision quantifies the number of positive class predictions that actually belong to the positive class.
  • Recall quantifies the number of positive class predictions made out of all positive examples in the dataset.
  • F-Measure provides a single score that balances both the concerns of precision and recall in one number.
  • A measure that combines precision and recall is the harmonic mean of precision and recall, the traditional F-measure or balanced F-score:

F=2((precision.recall)/(precision+recall))

6 0
3 years ago
Give three examples of NON-TRADITIONAL web authoring tools<br> 3 pour
olganol [36]
Some other type of authoring tools 1. Card or Page based tools 2. Icon based, event driven tools 3. Time based and presentation Tools.
4 0
2 years ago
Write a program that allows the user to play a guessing game. The game will choose a "secret number", a positive integer less th
Burka [1]

Answer:

// This program is written in C++

// Comments are used for explanatory purpose

// Program starts here

#include<iostream.h>

#include<stdlib.h>

int main()

{

// Declare variables

int num, selectno;

string status;

randomize();

//Generate random number;

num=rand()%10000;

// Prompt to guess a number

cout<<"You have only 10 tries\nTake a guess: ";

int tries = 0;

while (tries != 10)

{

cin>>selectno;

if(selectno == num){

cout<<"You passed at the "<<count+1<<" attempt";

tries = 10;

}

else

{

cout<<"You failed. Take another guess\n You have "<<10 - count + 1 <<" attempts";

}

tries++;

if(tries >= 10)

{

break;

}

}

return 0;

}

8 0
3 years ago
When you ask the database more complex questions using comparison operators, you are conducting a _____. sort questionnaire quer
Mice21 [21]
The correct answer is known as a "query".

When you ask a lot of complex questions , which uses comparison operators, that is called a query. A query refers to the <span>exact request for </span>data retrieval<span> with the use of database and information systems. </span>
8 0
3 years ago
When using a calculator be sure to press ____ first.​
matrenka [14]

Answer:

A. C to clear any previous calculations.

hope it helps...

6 0
3 years ago
Read 2 more answers
Other questions:
  • What is basic function of an operating system?
    10·2 answers
  • Blender questions
    10·1 answer
  • The Freemont Automobile Factory has discovered that the longer a worker has been on the job, the more parts the worker can produ
    11·1 answer
  • When creating a scene in Blender, you should change Blender Render to ______ to create the best lighting option?
    15·1 answer
  • Consider the most important item among all the categories of information stored on your personal computer. As it applies to that
    8·1 answer
  • William found out that someone used his report on American culture without his permission. What is William a victim of? A. plagi
    7·2 answers
  • Consider a satellite orbiting the earth. Its position above the earth is specified in polar coordinates. Find a model-view matri
    12·1 answer
  • Write a complete Java program called Stewie2 that prints the following output. Use at least one static method besides main. ////
    9·2 answers
  • Anyone wanna join zoo m???????​
    10·2 answers
  • Which componet is the smallest unit in a spreadsheet
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!