Questions
Tangible assets that are long term or non-current usually require depreciation entries, What specific information is...

Tangible assets that are long term or non-current usually require depreciation entries, What specific information is required to make the period end adjusting entry? What is the adjusting entry for depreciation of non-current assets?

In: Accounting

A type of deposit product that banks will encourage the customer to purchase whose primary    goal...

  1. A type of deposit product that banks will encourage the customer to purchase whose primary    goal is to save rather than make payments is:
  1. Checking account.
  2. Non-interest bearing deposit.
  3. Non-transaction deposit.
  4. Either (a) or (b).

In: Finance

Analyse and discuss how each of the below accounting methods provide management with ability to influence...

Analyse and discuss how each of the below accounting methods provide management with ability to influence profit of the company. Provide examples.

  • Uncollectible accounts

  • Inventory

  • Depreciation

  • Depletion

  • Amortization

  • Non-operational and non-recurring items

In: Accounting

Consider the case of intellectual property rights, such as the ownership of a copyright by an...

Consider the case of intellectual property rights, such as the ownership of a copyright by an author of a book. Would you characterize the copyright as a non-rivalrous good? However, is such a copyright also non-excludable? Justify your answer with economic reasoning

In: Accounting

Please outline only the main steps of an efficient column chromatographic separation of a non-polar compound...

Please outline only the main steps of an efficient column chromatographic separation of a non-polar compound A from a medium polar compound B and a non-polar chemical (C). C is slightly less polar than A.

In: Chemistry

Analyse and discuss how each of the below accounting methods provide management with ability to influence...

Analyse and discuss how each of the below accounting methods provide management with ability to influence profit of the company. Provide examples.

  • Uncollectible accounts
  • Inventory
  • Depreciation
  • Depletion
  • Amortization
  • Non-operational and non-recurring items

In: Accounting

The city of Colrida is considered to be the automobile capital of the world and employ...

The city of Colrida is considered to be the automobile capital of the world and employ a number of non-residents. The state Legislature passed a statute that required employers to hire local residents in preference to non-residents. Discuss the implications of enforcing such a statute.

In: Operations Management

Describe vividly breakeven analysis and explain what a breakeven point is. Identify and explain at least...

Describe vividly breakeven analysis and explain what a breakeven point is. Identify and explain at least 4 non-store retailing businesses. What advantages may non-store retailers have over store retailers?

In: Operations Management

Connect Four is a game that alternates player 1 and player 2. You should keep track...

Connect Four is a game that alternates player 1 and player 2. You should keep track of whose turn it is next. For this program we will just be building the structure not the full program.

Your assignment: Create a two player Connect Four C language program that follows the requirements below.

Create functions:

  • Initialization – print “Setting up the game”. Ask each player their name.
  • Teardown – print “Destroying the game”
  • Accept Input – accept a letter for which column of the game we are going to drop a disc into. Valid letters are A-G (7 columns). You should designate a letter for “Quit the game”. Input must be returned from this function.
  • Update the state of the world – pass the input data to this function. Since we do not have a “world” right now, choosing “A” is the “winning move”, all other letters make the game continue. This method must not print anything. It only does calculations. Results from here update the “global state.”
  • Display the state of the world – Print the result calculated in the state of the world. Later, this should print the board.
  • Main – call initialization, then loop until a flag is set (game over or a player quit), calling accept input, update and display. Outside of the loop, call teardown.

Make variables to define the size of the board (width and height). These can be global variables. Other global variables might include player names, which player should play next and “did anyone quit yet?” If you consider the game board in Connect Four carefully, you can see that it is a two-dimensional grid of squares. When a player deposits a disc in a column, the disc must “fall” until it is either just above the bottom (i.e. in the last row) or it is sitting upon another disc. There are many models that we could use for this, but for this assignment, we will use a simple two-dimensional array.

There are a number of additional requirements for the Connect Four program that we need to do in order to complete our game, make sure your program includes the following:

  1. We need to allocate the space for the game board. While this is a fixed size board, we will still dynamically allocate the space for the board in the initialization function.
  2. Whenever we allocate memory, we need to make sure that we free it as well. Free the memory in the teardown function.
  3. Print the game board in the display the world function. Use one character for an empty spot, one character for the discs for player one and another character for the discs for player two. You may use whatever characters you prefer. You may make the display as complex as you wish so long as we can clearly see what moves are available.
  4. The remainder of the work to be done goes into “update the state of the world.”
    1. We must look through the column of the array and add the new disc into the array in the appropriate location based on the column that the player chose.
    2. We must signal to end the game if the column that the player chose is full.
    3. We must look for 4 discs belonging to one player in a straight line. The line can be horizontal, vertical, or diagonal. When we find this, we must signal end of the game.

With these changes, we can now play the game with players taking turns at the keyboard.

In: Computer Science

Write a C++ program that will use good object-oriented principles. You have been tasked to write...

Write a C++ program that will use good object-oriented principles.

You have been tasked to write an application that will allow a user to change their system password. The XYZ Corporation has the following rules for passwords:

  • each password should have a minimum of 8 characters
  • each password should have a minimum of 2 uppercase characters (A - Z)
  • each password should have a minimum of 2 lowercase characters (a - z)
  • each password should have a minimum of 2 digits (0 - 9)
  • each password should have a minimum of 2 special characters of which the following characters are allowed: !, @, $, %, and & (in any combination)

Once the user has created a new password that passes the above requirements, the user must then retype the password for the program to verify that the same password was entered by the user.

If the user creates a password that does not meet the minimum requirements, be sure to let the user know the entered password does not meet the minimum requirements and allow the user to retype the password.
If the user creates a password that does not match the second entry of the password (both entries much match), then be sure to let the user know the password update is unsuccessful.


If the password entered does not meet the minimum requirements, an error message should be displayed and allow the user to try again.

If the password entered contains the minimum requirements listed, then ask the user to retype the password for verification.
If the two entered passwords do not match, an error message should be displayed and the user should be allowed to retype the password.


An Example:

Update Your Password

Password Requirements:
- minimum of 8 characters
- minimum of 2 uppercase characters (A - Z)
- minimum of 2 lowercase characters (a - z)
- minimum of 2 digits (0 - 9)
- minimum of 2 special characters: !, @, $, %, &, _

Enter a new password: Pa$$word123

Error: password does not meet minimum requirements, try again:

Enter a new password: Pa$$Word123

Password meets minimum requirements.

Reenter the new password: Pa$$Word223

Error: update unsuccessful. Entries do not match, try again:

Reenter the new password: Pa$$Word123

Password Update successful.


Remember to change your password every 90 days.




The program should have as a minimum:

a class named Password

private member variables:

  • string to hold the initial password entry
  • string to hold the second password entry
  • int variables (4 minimum) to hold the count of:
    • number of uppercase characters entered
    • number of lowercase characters entered
    • number of digits entered
    • number of valid special characters entered

private member functions (all called from the driver() method):

  • void setPassword1() - prompts and reads in the initial password entry from the user
  • void validateRequirements() - validates the initial password entered meets the minimum requirements established
  • void setPassword2() - prompts the user to reenter the password and reads in the value entered ONLY when the initial password is valid
  • void validateMatch() - validates that both password entries match exactly
  • void display() - displays the result


public member functions:

  • class constructor - initialize variables
  • void driver() - called from main() and is the order of execution


!!!NOTE: any program submission that does not use a class and object and/or does not use appropriate methods will result in a grade submission of 0.
Use of global variables will also result in a grade submission of 0.

In: Computer Science