Using C Q43784760

Using C++

Expert Answer


Answer to Using C++ …

Using C Write Method Function Takes String Parameter Returns Reverse Parameter String Retu Q43790113

using c++

Write a method/function that takes a string parameter andreturns the reverse of that parameter string as its returnvalue.

Expert Answer


Answer to using c++ Write a method/function that takes a string parameter and returns the reverse of that parameter string as its …

Using Chinook Database Please Dont Access Provide Commands Fill Blanks Thank Q43812749

Using Chinook database please if dont have access just providecommands and i can fill in the blanks. thank you.

3.0 SQL Functions In this section you will be using the Oracle system functions, as well as your own functions, to perform va

3.0 SQL Functions In this section you will be using the Oracle system functions, as well as your own functions, to perform various actions against the database 3.1 System Defined Functions Task – Create a function that returns the current time. Task – create a function that returns the length of a mediatype from the mediatype table 3.2 System Defined Aggregate Functions Task -Create a function that returns the average total of all invoices Task – Create a function that returns the most expensive track 3.3 User Defined Scalar Functions Task – Create a function that returns the average price of invoice-line items in the invoice-line table 3.4 User Defined Table Valued Functions Task – Create a function that returns all employees who are born after 1968. 4.0 Stored Procedures In this section you will be creating and executing stored procedures. You will be creating various types of stored procedures that take input and output parameters. 4.1 Basic Stored Procedure Task – Create a stored procedure that selects the first and last names of all the employees. 4.2 Stored Procedure Input Parameters Task – Create a stored procedure that updates the personal information of an employee. Task – Create a stored procedure that returns the managers of an employee 4.3 Stored Procedure Output Parameters Task – Create a stored procedure that returns the name and company of a customer. 5.0 Transactions In this section you will be working with transactions. Transactions are usually nested within a stored procedure. You will also be working with handling errors in your SQL. Task – Create a transaction that given a invoiceld will delete that invoice (There may be constraints that rely on this, find out how to resolve them)…poiij Task – Create a transaction nested within a stored procedure that inserts a new record in the Customer table Show transcribed image text 3.0 SQL Functions In this section you will be using the Oracle system functions, as well as your own functions, to perform various actions against the database 3.1 System Defined Functions Task – Create a function that returns the current time. Task – create a function that returns the length of a mediatype from the mediatype table 3.2 System Defined Aggregate Functions Task -Create a function that returns the average total of all invoices Task – Create a function that returns the most expensive track 3.3 User Defined Scalar Functions Task – Create a function that returns the average price of invoice-line items in the invoice-line table 3.4 User Defined Table Valued Functions Task – Create a function that returns all employees who are born after 1968. 4.0 Stored Procedures In this section you will be creating and executing stored procedures. You will be creating various types of stored procedures that take input and output parameters. 4.1 Basic Stored Procedure Task – Create a stored procedure that selects the first and last names of all the employees. 4.2 Stored Procedure Input Parameters Task – Create a stored procedure that updates the personal information of an employee. Task – Create a stored procedure that returns the managers of an employee 4.3 Stored Procedure Output Parameters Task – Create a stored procedure that returns the name and company of a customer. 5.0 Transactions In this section you will be working with transactions. Transactions are usually nested within a stored procedure. You will also be working with handling errors in your SQL. Task – Create a transaction that given a invoiceld will delete that invoice (There may be constraints that rely on this, find out how to resolve them)…poiij Task – Create a transaction nested within a stored procedure that inserts a new record in the Customer table

Expert Answer


Answer to Using Chinook database please if dont have access just provide commands and i can fill in the blanks. thank you. …

Using Code C Add Struct 1 Vector Include Include Include Needed Define Vectors Using Names Q43861077

Using the code below (C++), add a struct with only 1 vector

#include
#include
#include // Needed to define vectors
using namespace std;

int main()
{
vector hours; // hours is an empty vector
vector payRate; // payRate is an empty vector
int numEmployees; // The number of employees
int index; // Loop counter

// Get the number of employees.
cout << “How many employees do you have? “;
cin >> numEmployees;

// Input the payroll data.
cout << “Enter the hours worked by ” <<numEmployees;
cout << ” employees and their hourly rates.n”;
for (index = 0; index < numEmployees; index++)
{
int tempHours; // To hold the number of hours entered
double tempRate; // To hold the payrate entered

cout << “Hours worked by employee #” << (index +1);
cout << “: “;
cin >> tempHours;
hours.push_back(tempHours); // Add an element to hours
cout << “Hourly pay rate for employee #”;
cout << (index + 1) << “: “;
cin >> tempRate;
payRate.push_back(tempRate); // Add an element to payRate
}

// Display each employee’s gross pay.
cout << “Here is the gross pay for each employee:n”;
cout << fixed << showpoint <<setprecision(2);
for (index = 0; index < numEmployees; index++)
{
double grossPay = hours[index] * payRate[index];
cout << “Employee #” << (index + 1);
cout << “: $” << grossPay << endl;
}
return 0;
}

Expert Answer


Answer to Using the code below (C++), add a struct with only 1 vector #include #include #include // Needed to define vectors using…

Using Dataset Developed Select One Following Groups Present Findings Upcoming Company Meet Q43824595

Using the dataset you have developed, select one of thefollowing groups to present your findings to at the upcomingcompany meeting: Senior Management, Engineering, Research andDevelopment, or Marketing. In your presentation, model your datainto a hypothetical problem that identifies how this informationwill impact the operations of the specific target audience you haveselected.

Expert Answer


Answer to Using the dataset you have developed, select one of the following groups to present your findings to at the upcoming com…

Using Decoder Design Combinatorial Circuit Outputs Excess 3 Code 3 Bit Input Q43843706

Using a decoder, design a combinatorial circuit that outputs theexcess-3 code of the 3-bit input.

Expert Answer


Answer to Using a decoder, design a combinatorial circuit that outputs the excess-3 code of the 3-bit input….

Using Definition Big Oh Prove Disprove Following Statement Follow Exact Structure Examples Q43885905

Using the definition of Big-Oh, prove or disprove the following statement. • Follow the exact structure of the examples provi

Using the definition of Big-Oh, prove or disprove the following statement. • Follow the exact structure of the examples provided in the lecture slides • Show all work for full credit. • You are not allowed to use limits for this problem — you must use the definition of Big-Oh. (n+1) – nx Tizi? (n − 1)! is O(n?) Show your work here: Show transcribed image text Using the definition of Big-Oh, prove or disprove the following statement. • Follow the exact structure of the examples provided in the lecture slides • Show all work for full credit. • You are not allowed to use limits for this problem — you must use the definition of Big-Oh. (n+1) – nx Tizi? (n − 1)! is O(n?) Show your work here:

Expert Answer


Answer to Using the definition of Big-Oh, prove or disprove the following statement. • Follow the exact structure of the example…

Using Eclipse Edit Student Part Nothing Else Modified Public Class Mathvector 2d Array Hol Q43888021

using eclipse

only edit the // student part

nothing else should be modified

public class MathVector {

// 2D array to hold the numbers of the vector, either along thecolumns or

rows

private double[][] data;

// set to true for a row vector and false for a columnvector

private boolean isRowVector;

// count of elements in the vector

private int vectorSize;

/**

* Creates a new row or column vector.

* For a row vector, the input array is expected to have 1 rowand a positive

number of columns,

* and this number of columns represents the vector’s length.

* For a column vector, the input array is expected to have 1column and a

positive number of rows,

* and this number of rows represents the vector’s length.

*

* @param data – a 2D array to hold the numbers of the vector

* @throws IllegalArgumentException if the numbers of rows andcolumns in the

input 2D array is not

* compatible with a row or column vector

*/

public MathVector(double[][] data) {

if(data.length == 0)

throw new IllegalArgumentException(“Number of rows must be

positive.”);

if(data[0].length == 0)

throw new IllegalArgumentException(“Number of columns mustbe

positive.”);

if(data.length == 1) {

// This is a row vector with length = number of columns.

this.isRowVector = true;

this.vectorSize = data[0].length;

}

else if(data[0].length == 1) {

// This is a column vector with length = number of rows.

this.isRowVector = false;

this.vectorSize = data.length;

}

else

throw new IllegalArgumentException(“Either the number of rowsor

the number of columns must be 1.”);

// Create the array and copy data over.

if(this.isRowVector)

this.data = new double[1][vectorSize];

else

this.data = new double[vectorSize][1];

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

for(int j=0; j < this.data[0].length; j++) {

this.data[i][j] = data[i][j];

}

}

}

/**

* Determines whether this vector is “equal to” another vector,where

equality is

* defined as both vectors being row (or both being column),having the same

* vector length, and containing the same numbers in the samepositions.

*

* @param other – another vector to compare

*/

public boolean equals(Object other) {

if(!(other instanceof MathVector))

return false;

MathVector otherVec = (MathVector)other;

// STUDENT: Fill in remaining code to determine equality of twovector

objects, do not return false.

return false;

}

/**

* Generates a returns a new vector that is the transposedversion of this

vector.

*/

public MathVector transpose() {

// STUDENT: Fill in with code to accomplish the method contractabove,

do not return null.

return null;

}

/**

* Generates and returns a new vector representing the sum ofthis vector and

another vector.

*

* @param other – another vector to be added to this vector

* @throws IllegalArgumentException if the other vector and thisvector are

not both row vectors of

* the same length or column vectors of the same length

*/

public MathVector add(MathVector other) {

// STUDENT: Fill in with code to accomplish the method contractabove,

do not return null.

return null;

}

/**

* Computes and returns the dot product of this vector andanother vector.

*

* @param other – another vector to be combined with this vectorto produce

the dot product

* @throws IllegalArgumentException if the other vector and thisvector are

not both row vectors of

* the same length or column vectors of the same length

*/

public double dotProduct(MathVector other) {

// STUDENT: Fill in with code to accomplish the method contractabove,

do not return 0.

return 0;

}

/**

* Computes and returns this vector’s magnitude (also known as avector’s

length) .

*/

public double magnitude() {

// STUDENT: Fill in with code to accomplish the method contractabove,

do not return 0.

return 0;

}

/**

* Generates and returns a normalized version of this vector.

*/

public MathVector normalize() {

// STUDENT: Fill in with code to accomplish the method contractabove,

do not return null.

return null;

}

/**

* Generates and returns a textual representation of thisvector.

* For example, “1.0 2.0 3.0 4.0 5.0” for a sample row vector oflength 5 and

* “1.0

* 2.0

* 3.0

* 4.0

* 5.0″ for a sample column vector of length 5.

* In both cases, notice the lack of a newline or space after thelast

number.

*/

public String toString() {

// STUDENT: Fill in with code to accomplish the method contractabove,

do not return null.

return null;

}

}

Expert Answer


Answer to using eclipse only edit the // student part nothing else should be modified public class MathVector { // 2D array to hol…

Using Electric Power Utilities List Three Types Risks Face Due Cybercrimes Use Web Resourc Q43865952

using electric (power) utilities, list three types of risks thatthey face due to cybercrimes. Use the web as a resource.

Expert Answer


Answer to using electric (power) utilities, list three types of risks that they face due to cybercrimes. Use the web as a resource…

Using Experiences Thus Far Regarding Null Values Aggregation Discuss Good Idea Assume Migh Q43830647

Using your experiences thus far regarding NULL values andaggregation, discuss when it is a good idea to assume there mightbe NULL data in your records. Explain why extra coding may beworthwhile. Discuss whether one should only do the extra workinvolved in this process when there is an issue. Justify your ideaswith support from the Topic Materials or relevant industryexamples.

Expert Answer


Answer to Using your experiences thus far regarding NULL values and aggregation, discuss when it is a good idea to assume there mi…