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
nasty-shy [4]
4 years ago
10

A variable of the data type arrays is storing 10 quantities. What is true about these quantities?

Computers and Technology
1 answer:
White raven [17]4 years ago
4 0

Answer:

They are of the same data type

Explanation:

An array is an indexed collection of data elements of the same type. An array is a set of data elements stored under the same name. Arrays can be created to hold any type of data, and each element can be individually assigned and read. The restriction of the same type is an important one, because arrays are stored in consecutive memory cells.  Every cell must be the same type (and therefore, the same size).

You might be interested in
The major objective of this lab is to practice class and object-oriented programming (OOP), and separate files: 1. We will reuse
vovangra [49]

Answer:

Implementation of resistor.cpp

#include "resistor.h"

Ohms::Ohm()

{

// default constructor

voltage=0;

}

Ohms::Ohm( double x) // parameterised constructor

{

voltage = x; // voltage x set to the supply voltage in the private data field called voltage

}

Ohms:: setVoltage(double a)

{

voltage = a;// to set supply voltage in private data field called voltage

}

Ohms::setOneResistance( String s, double p)

{

cin>>p; //enter the resistance value

if(p<=0) // if resistance is less than or equals to 0

return false

else // if re

cin.getline(s);

}

Ohms::getVoltage()

{

return voltage; //return voltage of ckt

}

Ohms::getCurrent()

{

return current; //return current of ckt

}

Ohms:: getNode()

{

return resistors; //return resistors of ckt

}

Ohms::sumResist()

{

double tot_resist = accumulate(resistors.begin(),resistors.end(),0); //std::accumulate function for calculating sum //of vectors and following are the starting and ending points

return tot_resist;

}

Ohms::calcCurrent()

{

if(current <=0) // if current is less than or equal to 0

return false;

else   // if current is greater than 0

return true;

}

Ohms:: calcVoltageAcross()

{

if(voltage<=0) // if voltage is less than or equal to 0

return false;

else //if voltage greater than 0

return true;

}

Explanation:

in the case of main.cpp its simple just make a class object and remember to include resistors.cpp with it for which the second last picture describes the process precisely. (Hint: Use theunit test case functions in the main.cpp).

As you can see node is a structure consisting of member variables, followed by a class Ohms representing a DC circuit.

By looking at these pictures, it is needed to implement the main.cpp and resistor.cpp files. The user defined header file resistor.h already consists of all contents of Class Ohm, struct node. You don't need to modify it in anyway in such case.

8 0
3 years ago
Which type of software is primarily used to organize a collection of information for easy access?
lukranit [14]

Answer:

option B database management software

mark as brainliest answer

8 0
4 years ago
What allow you to write alphas on a computer keyboard
lions [1.4K]

Answer:

"To create any of these Greek letters using the Alt codes, simply press the "Alt" key while simultaneously typing the listed number. For example, to create the Greek letter Alpha (α), press the "Alt" key and type 224 using the keypad at the right side of your keyboard." - GOOGLE

5 0
3 years ago
FIRST TO Answer for free brainlest. GOG GOGOGO
oksano4ka [1.4K]

Answer:

ME

Explanation:

5 0
3 years ago
Swiping and pinching are graphical user interface (gui) _____________.
Sergeu [11.5K]
Swiping and pinching are graphical user interface (gui) to zoom in or zoom out.  <span>One of the many multitouch gestures on today's laptops is the ability to </span>pinch<span> two fingers to </span>zoom<span> in and </span>out<span> in a window. </span>
6 0
4 years ago
Read 2 more answers
Other questions:
  • When you collaborate or meet with a person or group online, it is called
    9·2 answers
  • Which of these words does not describe factual data?
    8·2 answers
  • Which of the following is the MOST important consideration when planning your budget?
    7·2 answers
  • In the context of this passage, which of the following is a synonym for alleged? A intended B claimed C denied D revealed
    15·1 answer
  • Arrange the following units of storage in descending<br> order. B, TB,KB, GB,MB
    5·1 answer
  • Which of the following statements is true?A)Implicit data type conversion is performed when you mix values of different data typ
    5·1 answer
  • Write the code to create a variable score and assign it the value 0?​
    6·1 answer
  • ASAP in the middle of this quiz Which of the following arguments might convince a local school board of the need to train upper
    6·1 answer
  • Write a code segment that prints the food item associated with selection. For example, if selection is 3, the code segment shoul
    15·1 answer
  • How to unblock your Wi-fi if it is blocked by your administrator .
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!