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
bazaltina [42]
3 years ago
14

Random access iterators are ____ iterators that can randomly process elements of a container.

Computers and Technology
1 answer:
olga nikolaevna [1]3 years ago
6 0

Answer:

C. Bidirectional

Explanation:

If we want to access elements at an any random offset position then we can use random access iterators.They use the functionality 'as relative to the element they point to' like pointers.Random access iterators are Bidirectional iterators that can randomly process elements,pointer types are also random-access iterators.

You might be interested in
A general rule for adding text to a slide is ____.
KiRa [710]

A general rule for adding text to  a slide is to use not more than two fonts in a presentation and vary the font  size. Besides adding text you can also import text, photographs, numerical data, and facts from files created in programs such as Microsoft word, excel and access.

5 0
3 years ago
Read 2 more answers
Given an array temps of double s, containing temperature data, compute the average temperature. Store the average in a variable
Ket [755]

Answer:

#include <iostream>

using namespace std;

// average function

void average(double arr[], int n) {

double total = 0;

double avgTemp;

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

{

 // find temperatures total

 total = total + arr[i];

}

// find average

avgTemp = total / n;

cout << "\nAverage Temperature = " << avgTemp << endl;

}

// print temps[] array

void printArray(double arr[], int n) {

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

{

 cout << arr[i] << "   ";

}

}

int main() {

int const k = 5;

double temps[k];

// temperature value

double tempValue;  

// Enter 5 temperatures of your choice

for (int i = 0; i < k; i++)

{

 cout << "Enter Temperature value " << i+1 << ": ";

 cin >> tempValue;

 temps[i] = tempValue;

}

// Function call to print temps[] array

printArray(temps, k);  

// Function call to print average of given teperatures

average(temps, k);        

return 0;

}

Explanation:

• Inside main(), int constant k is created to set the maximum size of array temps[].

• tempValue of  type double takes value at a given index of our temps[] array.

• the for loop inside main() is used to get tempValue from the user and store those values in our array temps[].

• after that printArray() function is called. to pass an array to a function it requires to perimeters 1) name of the array which is temps in our case. 2) maximum number of the index which is  k.

• note the syntax of void average(double arr[], int n). Since we are passing an array to the function so its formal parameters would be arr[] and an int n which specifies the maximum size of our array temps[].

6 0
3 years ago
Draw internal architecture of computer​
ohaa [14]

Answer:

If this is good, let me know in the comments and I'll draw it

Explanation:

4 0
3 years ago
Which term describes data that appear to show some type of patterned relationship with a nursing diagnosis?
marusya05 [52]

Answer:

Related factors

Explanation:

Related factors are those factors "that appear to show some type of patterned relationship with a nursing diagnosis". For example, there are some factors that may increase the vulnerability of an unhealthy event in a person or group. These factors may be psychological, physiological, or chemical factors. Hence these factors are considered related factors if they have any relationship with a particular disease or nursing diagnosis.

7 0
3 years ago
On the Internet, you can use a(n)______to look for information on any topic, such as books, movies, scholarly articles, news, an
dem82 [27]

Answer:

search engine.

Explanation:

6 0
3 years ago
Read 2 more answers
Other questions:
  • You're working at a large industrial plant and notice a tag similar to the one shown in the figure above. Which of the following
    5·1 answer
  • ____ are the computers that store network software and shared or private user files.
    6·1 answer
  • Which of the following specific components are incorporated on HDInsight clusters?
    13·1 answer
  • Apex
    5·2 answers
  • The template code provided is intended to check whether an integer entered by the user is outside of the range 20-29 (inclusive)
    9·1 answer
  • Transition words and phrase in a paragraph
    15·2 answers
  • Bank of America sends out customer surveys to all of its customers asking them about the services they offer. What type of resea
    15·1 answer
  • What makes a source credible?
    9·2 answers
  • Extended essay on globalization not less than 200​
    6·1 answer
  • Just a quick question, how do you set something == to char and int in an if statement (java)
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!