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
AlexFokin [52]
3 years ago
11

Select the correct answer.

Engineering
2 answers:
andreev551 [17]3 years ago
8 0

Answer:

c

Explanation:

WARRIOR [948]3 years ago
3 0

Answer:

Explanation:

b

You might be interested in
Which of the following is an example of a new and emerging job in the green economy?(Brainliest for who answers)
grigory [225]

Answer: Fergie is a consultant specializing in deriving commercial power from waves and tides.

Explanation:

The green economy the economy that has the goal of minimizing environmental risks while aiming for the sustainable development of the economy without having a negative effect on the environment.

According to the Bureau of Labor Statistics, some categories of Green Jobs are Water conservation, environmental remediation, wind energy, solar power, energy auditors, recycling etc.

Out of the options given in the question, an example of a new and emerging job in the green economy is option D "Fergie is a consultant specializing in deriving commercial power from waves and tides".

5 0
3 years ago
Read 2 more answers
A successful quality strategy features which of the following elements? engaging employees in the necessary activities to implem
Alona [7]

Answer:

Quality strategy is an integral part of organization's strategy that ensures quality. It involves market and productivity strategies that have a very high significance.  A successful quality strategy must endeavour to have features such as; engaging employees in the necessary activities to implement quality, an organizational culture that fosters quality and an understanding of the principles of quality.

All these will enable the organization to stand out and beat competition.

5 0
3 years ago
Read 2 more answers
3. What is special about beryllium-copper alloy tools?
Deffense [45]

Explanation:

Can u help me?

5 0
3 years ago
Type the correct answer in the box. Use numerals instead of words. What’s the mechanical advantage of the lever? Tamara uses a l
IrinaK [193]

Answer:3 on PLATO

Explanation:

6 0
3 years ago
For this lab you will be creating a auto-expanding dynamic-array. This array will explicitly hold std library strings. As with a
Inessa05 [86]

Answer:

Explanation:

Program is divided into 3 files. stringVector.h , stringVectory.cpp (implementation file) and main.cpp (testing file)

stringVector.h

#include<iostream>

using namespace std;

class stringVector {

private:

string * data;

unsigned length;

unsigned allocated_length;

public:

stringVector();

virtual ~stringVector();

unsigned size();

unsigned capacity();

void reserve(unsigned new_size);

bool empty();

void append(string new_data);

void swap(unsigned pos1, unsigned pos2);

stringVector &operator = (stringVector const &rhs);

string& operator[](unsigned position);

void sort();

};

stringVector.cpp

#include<iostream>

#include<stdexcept>

#include"stringVector.h"

stringVector::stringVector()

{

data = NULL;

length = 0;

allocated_length = 0;

}

stringVector::~stringVector()

{

delete [] data;

}

unsigned stringVector::size()

{

return length;

}

unsigned stringVector::capacity()

{

return allocated_length;

}

void stringVector::reserve(unsigned new_size)

{

string *temp = new string[new_size]; // Create a new array

 

/*Copy the contents of the array*/

for(int i =0; i < new_size; i++){

if(i < length){

temp[i] = data[i];

}

else

break;

}

 

delete []data ;// Delete previous array

data = temp;

allocated_length = new_size;

if(length > new_size){

length = new_size;

}

}

bool stringVector::empty(){

return (length == 0) ? true : false;

}

void stringVector::append(string new_data)

{

string *temp = NULL;

if(length == allocated_length){

if(allocated_length == 0){

data = new string[10];

allocated_length = 10;    

}

else{

temp = new string[2 * allocated_length]; // Create a new array with double the size

for(int i = 0; i < length ; i++){

temp[i] = data[i];

}

allocated_length = 2 * allocated_length;

 

if(data != NULL)

delete []data;

data = temp;

}

}

data[length] = new_data;

length++;

}

void stringVector::swap(unsigned pos1, unsigned pos2)

{

string str;

if((pos1 >= length) || (pos2 >= length)){

cout << "Index Out of bounds" << endl;

return;

}

str = data[pos1];

data[pos1] = data[pos2];

data[pos2] = str;

}

stringVector& stringVector::operator = (stringVector const &rhs)

{

delete [] data;

length = rhs.length;

allocated_length = rhs.allocated_length;

this->data = new string[allocated_length];

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

this->data[i] = rhs.data[i];

}

string& stringVector::operator[](unsigned position)

{

if(position > length){

throw std::out_of_range("Position out of range");

}

return data[position - 1];

}

void stringVector::sort()

{

string str;

for(int i= (length - 1) ; i > 0; i--){

for(int j = 0; j < i; j++){

if(data[j].compare(data[j+1]) > 0){

//Swap

str = data[j];

data[j] = data[j+1];

data[j+1] = str;

}

}

}

}

main.cpp

#include<iostream>

#include<stdexcept>

#include"stringVector.h"

void printVector(stringVector &);

int main()

{

stringVector vector;

string str1("California");

string str2("Alabama");

string str3("Oklahoma");

string str4("Texas");

vector.append(str1);

vector.append(str2);

vector.append(str3);

vector.append(str4);

cout << vector.size() << " - " << vector.capacity() << endl;

printVector(vector);

cout << endl;

vector.reserve(3);

cout << vector.size() << " - " << vector.capacity() << endl;

printVector(vector);

cout << endl;

vector.append(str4);

cout << vector.size() << " - " << vector.capacity() << endl;

printVector(vector);

cout << endl << "Copied vector : " << endl;

stringVector vector2 = vector;

printVector(vector2);

cout << endl;

vector.sort();

cout << "Vector 1 after sorting" << endl;

printVector(vector);

return 0;

}

void printVector(stringVector &vec)

{

cout << "Vector : ";

for(int i = 1 ; i <= vec.size(); i++){

cout << vec[i] << " ";

}

cout << endl;

}

OUTPUT:

[[email protected] cppProg3]$ ./main

4 - 10

Vector: California Alabama Oklahoma Texas

3 -3

Vector: California Alabama Oklahoma

4 - 6

Vector: California Alabama Oklahoma Texas

Copied Vector:

Vector: California Alabama Oklahoma Texas

Vector 1 after sorting

Vector: Alabama California Oklahoma Texas

8 0
3 years ago
Other questions:
  • Could I get some help please!.
    5·2 answers
  • Where would a salamander most likely be found?<br> A salamander would most likely be found in
    10·2 answers
  • A rotating cup viscometer has an inner cylinder diameter of 2.00 in., and the gap between cups is 0.2 in. The inner cylinder len
    9·1 answer
  • A Type I muscle fibers have an average diameter of 98 µm, and can exert a compressive load of 532 µN[1]. If they are modeled as
    11·1 answer
  • explain the four functional blocks on an oscilloscope and describe the major controls within each block
    6·1 answer
  • A police officer in a patrol car parked in a 70 km/h speed zone observes a passing automobile traveling at a slow, constant spee
    6·1 answer
  • 23 PM Sat Apr 10
    7·1 answer
  • What is FOLLOWING PROCEDURES
    7·1 answer
  • Use pseudocode. 1) Prompt for and input a saleswoman's sales for the month (in dollars) and her commission rate (percentage). Ou
    6·1 answer
  • Coderz robotics 101: challenge mission 3 part 3
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!