Questions
In this Pluralsight Lab, you will continue viewing the course C++ Fundamentals Including C++ 17 by...

In this Pluralsight Lab, you will continue viewing the course C++ Fundamentals Including C++ 17 by Kate Gregory. Note that in this lab, some concepts are covered that we will cover in class later in the course. However, Having a introduction to these concepts will definitely aid in your understanding later in the course. Also, the application created in this lab will be used in subsequent Pluralsight labs.

You may access the course by following this link: https://app.pluralsight.com/library/courses/cplusplus-fundamentals-c17/table-of-contents

Instructions

Begin this lab by viewing the following modules in the Pluralsight course:

  • Module 5 (Language Basics - User Defined Types)
  • Module 6 (Language Basics - Flow of Control)

Then complete the following tasks:

  • Use the Class Wizard in Visual Studio to create a class called Student. (Note that the Class Wizard will automatically create the .h and .cpp files.)
  • Your Student class should have the following class members/properties: studentID, firstName, lastName, and studentStatus. (Note that the studentStatus member will be of type Status, which is an enum you will create.)
  • Create a default and constructor and a constructor that requires only the Student Id, first name, and last name. (The studentStatus member should not be initialized at this time.)
  • Create a member function called getStudentInfo() that returns a string that contains the students first name, last name, and their status.
  • Create a destructor for the Student class. (Note that the Class Wizard automatically includes a destructor.)
  • Add a status.h file to the solution. Then add a Status enumeration to that file with the following entries: Attending, NonAttending, and Graduated. Then include this file in your class file.
  • Add #pragma once to all of your header files
  • Write a simple program that asks the user for the Student Id, first name, and last name of the student. Then instantiates a new student object with this information.
  • Ask the user if the student is presently attending the school. If the user states "no", ask if a degree was obtain. Use the ternary operator to set studentStatus member of the object to either NonAttending or Graduated based on whether a degree was obtained.
  • If the user states that the student is attending, set the studentStatus to Attending.
  • Display the student's information by calling the getStudentInfo() member function.

C++

You may access the course by following this link: https://app.pluralsight.com/library/courses/cplusplus-fundamentals-c17/table-of-contents

and it have free trial for 4 days I thin you can access

In: Computer Science

DATA STRUCTURE C++ LANGUGAE Create a notepad that allows the user to write text (char by...

DATA STRUCTURE C++ LANGUGAE

Create a notepad that allows the user to write text (char by char) on the console. For this
purpose, the user should be able to control and track the movement of the cursor. The user
should be able to navigate to any part of console (cursor control) in order to perform any
insertion or deletion of words.
Internally, the notepad is composed of two-dimensional linked list (every node should
comprise of data element (char) and 4 pointers for navigating left, right, up, and down). Since
text can be written on multiple lines, each row of the 2D linked list represents one line. Each
line is terminated when a newline is inserted in the ADT.

In: Computer Science

Systems Analysis and Design Create a Context Diagram for a purchasing system. Create this first level...

Systems Analysis and Design

Create a Context Diagram for a purchasing system.

Create this first level of a DFD for this system.

Help is much appreciated. Thank you..

In: Computer Science

Background:  What is perceived to be ethical by some people may be easily considered unethical by others....

Background:  What is perceived to be ethical by some people may be easily considered unethical by others. There is not always a right-wrong, yes-no, black-white answer when making decisions. Within organizations, a code of ethics can serve as an ethical guide for employee behavior; however, such codes are often general in their ethical prescriptions. On the other hand, individuals are often left to make ethical decisions simply based on what they perceive to be morally right.

Scenario 1:  Jennie was recently hired to work as a receptionist for the front lobby. As receptionist, she is responsible for making copies for the associates. Her son, Bruce, comes in and needs some copies for a school project. He brought his own paper and needs 300 copies for his class. If he doesn’t bring the copies with him, he will fail the project. The company copier does not require a security key nor do they keep track of copies made by departments.

Steps for Making Ethical Decisions:

  1. Identify the ethical issue or problem. Note: This should be from the point of view of the person experiencing the dilemma and should be worded as an either/or question. See further explanation below.
  2. List the facts that have the most bearing on the decision.
  3. Identify anyone who might be affected by the decision and how.
  4. Explain what each affected person would want the person with the dilemma to do about the issue.
  5. List three alternative actions and identify the best and worst case scenario for each alternative, anyone who may be negatively impacted by the choice, and any values that would be compromised by selecting the choice.
  6. Determine a course of action.

NOTE: A dilemma state consists of one either/or sentence. Example: Should I kill myself or go bowling? (from a country song lyric. So for this scenerio, the dilemma sentence would be something like:

Should Jennie assist her son and secretly use company resources to make copies her son needs for his project, or should she direct him to determine another way to secure copies for his assignment, knowing that it puts him at risk of failure?

In: Operations Management

An owner of XYZ Uniform has called you in as consultants. XYZ Uniform sells uniforms and...

An owner of XYZ Uniform has called you in as consultants. XYZ Uniform sells uniforms and provides embroidery services for high school, college, and recreational sports teams in the Los Angeles metropolitan area. The owner has managers in the following departments: High School Sales, Collegiate Sales, Recreational Sales, and Accounting. The High School and Collegiate Sales have one full-time sales associate and two part-time associates as well as a delivery person. The Recreational Sales department has one full-time and one part-time associate. The Accounting department has two full-time employees that report to the manager.

The problem this company is experiencing is that XYZ Uniform business grows too fast than the owner’s expectation. XYZ Uniform’s demand has been historically high from all sale departments, and the owner personally believes that this high demand will last at least 5 years. However, the demand is too high to meet without hiring new employees, so the owner wants to hire 100 employees to meet the demand. The owner wants you to suggest the new organizational structure with new blood (100 new employees) to meet the high demand and to ensure XYZ Uniform’s long-term success.

Question 1. Please list and explain three recommendations in which you can improve the way the current structure operates to meet the high demand and to ensure XYZ Uniform’s long-term success.

Question 2. Which type of organizational structures is the most appropriate to adapt your three recommendations from Question 1? Please draw an organizational chart, which reflects your recommendations, and explain your rationale.

In: Operations Management

If you were defending the Cherokee and other native nations before the U.S. Supreme Court in...

If you were defending the Cherokee and other native nations before the U.S. Supreme Court in the 1830s, what arguments would you make? If you were supporting Indian removal, what arguments would you make?

In: Psychology

Write a method with the following header to return an array of integer values which are...

Write a method with the following header to return an array of integer values which are the largest values from each row of a 2D array of integer values

public static int[] largestValues(int[][] num)

For example, if the 2D array passed to the method is:

8 5 5 6 6
3 6 5 4 5
2 5 4 5 2
8 8 5 1 6

The method returns an array of integers which are the largest values from each row as follows:

8
6
5
8

In the main method, create a 2D array of integer values with the array size 4 by 5 and invoke the method to find and display the largest values from each row of the 2D array.

You can generate the values of the 2D array using the Math.random() method with the range from 0 to 9.

In: Computer Science

Explain what amendments and how each amendment are involved in the employment discrimination law area?

Explain what amendments and how each amendment are involved in the employment discrimination law area?

In: Psychology

JAVA programming A zoo is developing an educational safari game with various animals. You will write...

JAVA programming

A zoo is developing an educational safari game with various animals. You will write classes representing Elephants, Camels, and Moose.

Part A: Think through common characteristics of animals, and write a class ZooAnimal.

☑ ZooAnimal should have at least two instance variables of different types (protected), representing characteristics that all animals have values for.

☑ It should also have at least two methods for behaviors that all animals do; these can simply print out a String stating what the animal is doing. (accessors and mutators are not behaviors). Include at least one parameterized constructor.

Part B ☑ Create classes Elephant, Camel, and Moose, all of which extend ZooAnimal. In each, include a default constructor that calls the parameterized superclass constructor.

☑ To one class (of Elephant, Camel, and Moose), add another instance variable specific to that type of animal. To another, add another behavior method. In a third, override a behavior from ZooAnimal.

Part C ☑ Create a test harness for the animal classes. In a main create at least one Elephant, Camel, and Moose, and show which behavior methods are usable for each.

☑ [EC+10] Create another animal class inheriting from one of your three types (doesn't have to be zoologically accurate, but should make some sense), and either add an instance variable or add or override a method. This class should also be tested in the harness.

In: Computer Science

Problem 13-4A Calculation of financial statement ratios LO P3 Selected year-end financial statements of Cabot Corporation...

Problem 13-4A Calculation of financial statement ratios LO P3 Selected year-end financial statements of Cabot Corporation follow. (All sales were on credit; selected balance sheet amounts at December 31, 2016, were inventory, $50,900; total assets, $169,400; common stock, $89,000; and retained earnings, $44,555.)

CABOT CORPORATION
Income Statement
For Year Ended December 31, 2017
Sales $ 452,600
Cost of goods sold 297,750
Gross profit 154,850
Operating expenses 98,900
Interest expense 4,800
Income before taxes 51,150
Income taxes 20,605
Net income $ 30,545
CABOT CORPORATION
Balance Sheet
December 31, 2017
Assets Liabilities and Equity
Cash $ 22,000 Accounts payable $ 15,500
Short-term investments 8,000 Accrued wages payable 4,800
Accounts receivable, net 33,800 Income taxes payable 4,000
Notes receivable (trade)* 7,000
Merchandise inventory 34,150 Long-term note payable, secured by mortgage on plant assets 69,400
Prepaid expenses 2,550 Common stock 89,000
Plant assets, net 150,300 Retained earnings 75,100
Total assets $ 257,800 Total liabilities and equity $ 257,800


(Do not round intermediate calculations.)

Compute the current ratio and acid-test ratio.

(1) Current Ratio
Choose Numerator: / Choose Denominator: = Current Ratio
/ = Current ratio
2017: / = to 1
(2) Acid-Test Ratio
Choose Numerator: / Choose Denominator: = Acid-Test Ratio
/ = Acid-Test Ratio
2017: / = to 1

Compute the days' sales uncollected.

(3) Days' Sales Uncollected
Choose Numerator: / Choose Denominator: x Days = Days Sales Uncollected
/ x = Days sales uncollected
2017: / x = days

Compute the inventory turnover.

(4) Inventory Turnover
Choose Numerator: / Choose Denominator: = Inventory Turnover
/ = Inventory turnover
2017: / = times

Compute the days' sales in inventory.

(5) Days’ Sales in Inventory
Choose Numerator: / Choose Denominator: x Days = Days’ Sales in Inventory
/ x = Days’ sales in inventory
2017: / x = days

Compute the debt-to-equity ratio.

(6) Debt-to-Equity Ratio
Choose Numerator: / Choose Denominator: = Debt-to-Equity Ratio
/ = Debt-to-equity ratio
2017: / = to 1

Compute the times interest earned.

(7) Times Interest Earned
Choose Numerator: / Choose Denominator: = Times Interest Earned
+ / = Times interest earned
2017: + / = times

In: Accounting

What is a geographic information system (GIS)? What purpose does it server? Name the two major...

What is a geographic information system (GIS)? What purpose does it server? Name the two major elements that are combined to make up a GIS.

In: Computer Science

At the beginning of Year 2, Oak Consulting had the following normal balances in its accounts:...

At the beginning of Year 2, Oak Consulting had the following normal balances in its accounts:

Account Balance
Cash $ 25,000
Accounts receivable 21,600
Accounts payable 11,300
Common stock 21,900
Retained earnings 13,400


The following events apply to Oak Consulting for Year 2:

  1. Provided $68,100 of services on account.
  2. Incurred $3,300 of operating expenses on account.
  3. Collected $45,800 of accounts receivable.
  4. Paid $36,100 cash for salaries expense.
  5. Paid $13,140 cash as a partial payment on accounts payable.
  6. Paid a $8,700 cash dividend to the stockholders.

Required
a. Record these events in a general journal. (If no entry is required for a transaction/event, select "No journal entry required" in the first account field.)

b & d. Post the beginning balances and the transactions from Parts a&d to the appropriate accounts.

d-1. Record the closing entries in the general journal. (If no entry is required for a transaction/event, select "No journal entry required" in the first account field.)

e. What is the amount of change in retained earnings for the year?

f. Prepare a post-closing trial balance.

In: Accounting

Raymond opened the Muscles Fitness Gym in August. The Following transactions occurred during the first month...

Raymond opened the Muscles Fitness Gym in August. The Following transactions occurred during the first month of the business: a) Raymond invested P100,000 in cash and 30,000 in gym equipment in the business. b) Paid P10,000 for the first month’s rent. c) Purchased supplies costing P4,000 on credit. d) Purchased exercise equipment costing P25,000 for 15,000 cash and the rest on account. e) Recorded income for the first half of the month of P6,500 in cash and P3,500 on account. f) Paid P2,750 to a creditor on account. g) Received payment from a customer on account for P1600. h) Raymond withdrew P500 for a graduation gift. i) Paid aerobics instructor her salary, P3,000. j) Paid miscellaneous expense P1,500 k) Recorded income for the second half of the month of P5,600 in cash. Prepare a new accounting equation every time a transaction occurs.

In: Accounting

"Union leaders must also be change partners…”. What does the statement mean to you? Would Kurt...

"Union leaders must also be change partners…”. What does the statement mean to you? Would Kurt Lewin’s Change Model help union leaders? Why or why not?

In: Operations Management

Year 2017 George Clausen (age 48) is employed by Kline Company and is paid a salary...

Year 2017

George Clausen (age 48) is employed by Kline Company and is paid a salary of $42,536. He has just decided to join the company's Simple Retirement Account (IRA form) and has a few questions. Answer the following for Clausen:

http://www.opers.ok.gov/Websites/opers/images/pdfs/2017-Fed-Tax-Tables.pdf

a. What is the maximum that he can contribute into this retirement fund? $______________

b. What would be the company's contribution? $ ____________

c. What would be his weekly take-home pay if he contributes the maximum allowed retirement contribution (married, 2 allowances, wage-bracket method, and a 2.3% state income tax on total wages)? $ ___________________

d. What would be his weekly take-home pay without the retirement contribution deduction? $______________

In: Accounting