Questions
Assignment #2*: Build A Report Purpose: Exercise, use, Inputs, Outputs, and perform conditional evaluation Requirements: (Multiple...

Assignment #2*: Build A Report Purpose: Exercise, use, Inputs, Outputs, and perform conditional evaluation Requirements: (Multiple classes/Multiple types of input) • Input: Report Owner’s full name and 7 numbers (at least one double and one integer) o The owner’s name cannot contain any special characters, blank spaces, or numbers • You must use an if statement and at least one switch statement in your program • You are not allowed to have static variables or methods in any class except for the class with the main method. • You have to have at least 2 classes • You are not allowed to use ArrayLists or Vectors, only primitive arrays or string arrays if you want. Application Operation: 1.) Input, via a question in the console, the report owner’s first name as a string and build the last name via input, one character at a time. a. Check, conditionally, to make sure the first name and last name don’t contain any numeric characters, numbers between 0 – 9. If it does you must remove it. The names can not contain any white space either or special characters. 2.) Input report name via a request from the console. 3.) Input, and display, the total of the numeric input after each input is entered. Average the numeric input, indicate lowest numeric input value and the highest numeric input value for the previous numeric inputs, before the next numeric input is asked for. (Example given in class) 4.) Have a program exit input, condition, value available (i.e. if you type -1 the program exits) 5.) Create and display a final report that should have the report name, owner and the following: Numeric output should appear as a table with the following columns: (columns should be underlined) a. Input Number b. Highest Number c. Lowest Number d. Total (by the row) e. Average Number 6.) At the end of the report you must have a grand total for the numeric entries

In: Computer Science

Read the article that you will find entitled “The experience of nurses working with nursing students...

Read the article that you will find entitled “The experience of nurses working with nursing students in a hospital: a phenomenological investigation.” Give a brief summary about the research study. Select one of the mid-range nursing theorists that can be used as the theoretical framework of the study and justify your answer. You must include at least two paragraphs in your analysis.

Objective:
This article explores the experiences of nurses working with Spanish nursing students in a hospital.
Methods:
a qualitative phenomenological approach and a convenience sample were used. Twenty-two nurses belonging to a public hospital in Spain were included in the study. The data were collected through unstructured and semi-structured interviews, and analyzed using Giorgi's proposal. The Consolidated Criteria for Qualitative Research Reports were followed.
Results:
Three main themes describe the experience of nurses: "The relationship of the nurse with the nursing students" Most nurses emphasize the importance of the first contact with the students and consider that the attitude of the students is essential. "The definition of the role of the student in clinical practice"; it is necessary to unify the role and interventions of the nurse to avoid misguiding the students and to establish priorities in clinical practice. "Build bridges between clinical environments and the University"; the need to establish common ground and connections between the university and the hospital's clinical services was emphasized. Nurses think that the educational program should also be designed by the clinical services.
Conclusions:
Understanding the meanings of female nursing students with nurses can provide a deeper insight into their expectations.
Descriptors: Nursing Education; Hospitals; Students in Nursing; Qualitative research

In: Nursing

Consider the following relational schema: Salerep(sales_rep_ID, name, address, commission, rate) Customer(customer_number, name, address, balance, credit_limit, sales_rep_ID)...

Consider the following relational schema:

Salerep(sales_rep_ID, name, address, commission, rate)

Customer(customer_number, name, address, balance, credit_limit, sales_rep_ID)

Part(part_number, part_description, on_hand, class, warehouse, price)

Orders(order_number, order_date, customer_number)

Orderlilne(order_number, part_number, number_order)

Write SQL statements for the following queries:

a) Produce a list showing part_number, part_description, on_hand, and price sorted by part_description.

b) List customer’s name followed by order_number, part_description, and number_order.

c) List names of customers who have ordered the most expensive item(Hint: Use a nested SQL query to determine thehighest price.)

d) List the names of the sale_reps who have sold the most number of part “123”.(Hint: Use a nested SQL query for the FROM clause)

In: Computer Science

At the beginning of 2016, IASB issued a new standard (IFRS 16) on leasing accounting. Explain...

At the beginning of 2016, IASB issued a new standard (IFRS 16) on leasing accounting. Explain the reasons behind this decision and the impact on companies’ financial statements.

In: Accounting

In what ways was the Republican party fracturing before the 2016 election? Essentially, how do we...

In what ways was the Republican party fracturing before the 2016 election? Essentially, how do we know it was a highly factionalized party?

*This is all the information*

In: Economics

How much was Target Corporation’s long-term debt at January 30, 2016? can you please explain in...

  1. How much was Target Corporation’s long-term debt at January 30, 2016? can you please explain in detail how this is calculated? thanks

In: Finance

in dollars outstanding in 2016, the largest money market security was Multiple Choice commercial paper. banker's...

in dollars outstanding in 2016, the largest money market security was Multiple Choice commercial paper. banker's acceptances. T-bills. Fed funds and repos.

In: Finance

What is  Situational Analysis: brief description of current situation, including what the managers believe are the key...

What is  Situational Analysis: brief description of current situation, including what the managers believe are the key issues. on Pandera Bread Company in 2016 Casebook.

In: Operations Management

For this programming assignment, you will use your previous code that implemented a video game class...

For this programming assignment, you will use your previous code that implemented a video game class and objects with constructors. Add error checking to all your constructors, except the default constructor which does not require it. Make sure that the high score and number of times played is zero or greater (no negative values permitted). Also modify your set methods to do the same error checking. Finally add error checking to any input requested from the user.

#include <iostream>

#include <string>

#include <iomanip>

using namespace std;

class VideoGame {

private:

string name;

int highScore;

int numOfPlays;

public:

VideoGame() {

name = "NA";

highScore = 0;

numOfPlays = 0;

}

VideoGame(string n, int score, int num) {

name = n;

highScore = score;

numOfPlays = num;

}

VideoGame(string n) {

name = n;

highScore = 0;

numOfPlays = 0;

}

VideoGame(const VideoGame &p2)

{

name = p2.name;

highScore = p2.highScore;

numOfPlays = p2.numOfPlays;

}

void setName(string n) {

name = n;

}

void setHighScore(int score) {

highScore = score;

}

void setNumOfPlays(int num) {

numOfPlays = num;

}

string getName() {

return name;

}

int getHighScore() {

return highScore;

}

int getNumOfPlays() {

return numOfPlays;

}

};

string inputName() {

string n;

cout << "Enter name of video game: ";

getline(cin >> ws, n);

return n;

}

int inputHighScore() {

int score;

cout << "Enter current high score of game: ";

cin >> score;

return score;

}

int inputNumOfPlays() {

int num;

cout << "Enter number of times game is played: ";

cin >> num;

return num;

}

void output(VideoGame game) {

cout << game.getName() << endl

<< "Played " << game.getNumOfPlays() << " times (HIGH SCORE " << game.getHighScore() << ")" << endl;

}

int main() {

VideoGame game1, game2, game3("VideoGame 3");

game1.setName(inputName());

game1.setHighScore(inputHighScore());

game1.setNumOfPlays(inputNumOfPlays());

cout << "\nGame1" << endl;

output(game1);

cout << endl;

game2.setName(inputName());

game2.setHighScore(inputHighScore());

game2.setNumOfPlays(inputNumOfPlays());

cout << "\nGame2" << endl;

output(game2);

cout << "\nGame3" << endl;

output(game3);

VideoGame game4 = game2;

cout << "\nGame4" << endl;

output(game4);

return 0;

}

In: Computer Science

Create a C++ program to simulate an art gallery: 4 classes: Gallery class Has three vectors...

Create a C++ program to simulate an art gallery:

  • 4 classes:
    • Gallery class
      • Has three vectors of type Painting which represent three categories of paintings (abstract, impressionism, pointillism)
      • Has a function that reads in paintings from a file and stores each painting in the correct vector
      • Read in paintings from file (will have multiple paintings)

Title of painting

Artists first name

Artists last name

Address street number

Address street name

Address city

Address state

Address zip

Artists website

Category

Number

    • Need a function that creates an instance of the painting and passes it to a function to determines which vector the painting should be added to and then add it
  • Painting class
    • Has an instance of type Artist that will represent the artist of the painting
    • Each painting also has a title, a number, and a category
    • Need a function to print the specific information about each painting to a file
      • Need a sort function to sort the paintings in alphabetical order by the artists last name and a function that returns true or false based on if paiting1’s artist’s last name is less than paiting2’s artist’s last name
      • Print the data from each painting by category
    • It should also call the print function from Artist to print the artist information
  • Artist class
    • Artist has an instance of Address
    • Artist needs 2 data members for first and for the last name
    • Need a function that prints the persons last and first name and the address using the Address class’s print function
  • Address class
    • Has physical address and web address of artist
    • Write a function that prints the address

Should print to a file all of the paintings by category and in alphabetical order based on the artist's last name.

This is an example txt file but the program will be tested with multiple files with different numbers of paintings:

Full Fathom Five

Jackson

Pollock

16

Woodbury

Springs

NY

11937

www.jacksonpollock.com

Abstract

978-3-16-148410-0

Impression, Sunrise

Claude

Monet

361

Sunflower

Giverny

France

27620

www.claudemonet.com

Impressionism

968-3-16-158420-0

A Sunday Afternoon on the Island of La Grande Jatte

Georges

Seurat

89

Longview

Paris

France

75006

www.gseurat.com

Pointillism

918-3-15-152420-0

In: Computer Science