Questions
Explain in very good details the hardening and procedures of Microsoft Server 2019

Explain in very good details the hardening and procedures of Microsoft Server 2019

In: Computer Science

Straight-Line Depreciation A building acquired at the beginning of the year at a cost of $85,300...

Straight-Line Depreciation

A building acquired at the beginning of the year at a cost of $85,300 has an estimated residual value of $3,300 and an estimated useful life of 10 years. Determine the following:

(a) The depreciable cost $
(b) The straight-line rate %
(c) The annual straight-line depreciation $

In: Accounting

select the relation that is an equivalence relation. THe domain set is (1,2,3,4). a. (1,4)(4,1),(2,2)(3,3) b....

select the relation that is an equivalence relation. THe domain set is (1,2,3,4).

a. (1,4)(4,1),(2,2)(3,3)

b. (1,4) (4,1)(1,3)(3,1)(2,2)

c. (1,4)(4,1)(1,1)(2,2)(3,3)(4,4)

d. (1,4)(4,1)(1,3)(3,1)(1,1)(2,2)(3,3)(4.4)

In: Computer Science

Q: In a class there are ‘n’ students. All of them have appeared for the test....

Q: In a class there are ‘n’ students. All of them have appeared for the test. The Teacher who evaluated the
sheets wants to know average marks of the class. Write code to help the teacher find average
performance, use most appropriate data type/structure for storing marks.

   write the program in c lnguage

In: Computer Science

● For this task you are required to refactor the badly written program RPN.java. This program...

● For this task you are required to refactor the badly written program RPN.java. This program is a Reverse-Polish Notation calculator which uses a stack.

● You should also fix the indentation of the code.

I AM USING ECLIPSE. THANK YOU IN ADVANCE

import java.util.Scanner;

public class StackNode {
   public StackNode(double data, StackNode underneath) {
       this.data = data;
       this.underneath = underneath;
}
   public StackNode underneath;
  
   public double data;
}

public class RPN {
  
   public void into(double new_data) {
       StackNode new_node = new StackNode(new_data, top);
       top = new_node;
   }
  
   public double outof( ) {
      
       double top_data = top.data;
       top = top.underneath;
       return top_data;
   }
      
   public RPN(String command) {
       top = null;
       this.command = command;
           }
      
   public double get( ) {
       double a, b;
       int j;
          
       for(int i = 0; i < command.length( ); i++) {
           if(Character.isDigit(command.charAt(i))) {// if it's a digit
               double number;
              
       String temp = "";// get a string of the number
      
       for(j = 0; (j < 100) && (Character.isDigit(command.charAt(i)) || (command.charAt(i) == '.')); j++, i++) {
          
           temp = temp + String.valueOf(command.charAt(i));
       }
// convert to double and add to the stack
       number = Double.parseDouble(temp);
  
       into(number);
       }else if(command.charAt(i) == '+') {
           b = outof( );
           a = outof( );
           into(a + b);
       }else if(command.charAt(i) == '-') {
           b = outof( );
           a = outof( );
           into(a - b);
       }else if(command.charAt(i) == '*') {
           b = outof( );
           a = outof( );
           into(a * b);
       }else if(command.charAt(i) == '/') {
           b = outof( );
           a = outof( );
           into(a / b);
       }else if(command.charAt(i) == '^') {
           b = outof( );
           a = outof( );
           into(Math.pow(a, b));
       }else if(command.charAt(i) != ' ') {
           throw new IllegalArgumentException( );
       }
       }

       double val = outof( );

       if(top != null) {
           throw new IllegalArgumentException( );
       }

       return val;
       }

   private String command;
   private StackNode top;


   public static void main(String args[]) {/* main method */
       while(true) {
           Scanner in = new Scanner(System.in);
           System.out.println("Enter RPN expression or \"quit\".");
           String line = in.nextLine( );
       if(line.equals("quit")) {
           break;
       }else {
           RPN calc = new RPN(line);
           System.out.printf("Answer is %f\n", calc.get( ));
}
}
}

In: Computer Science

Tidewater Company uses the product cost concept of applying the cost-plus approach to product pricing. The...

Tidewater Company uses the product cost concept of applying the cost-plus approach to product pricing. The cost and expenses of producing and selling 50,000 units of Product K are as follows:

Variable costs:
Direct materials $5.00
Direct labor 8.50
Factory overhead 2.50
Selling and administrative expenses 1.00
Total $17.00
Fixed costs:
Factory overhead $50,000
Selling and administrative expenses 34,000

Tidewater desires a profit equal to a 10% rate of return on invested assets of $1,285,000.

a. Determine the amount of desired profit from the production and sale of Product K.
$ 128,500

b. Determine the total manufacturing costs and the cost amount per unit for the production and sale of 50,000 units of Product K.

Total manufacturing costs $850,000
Cost amount per unit $17

c. Determine the markup percentage for Product K.
%

d. Determine the selling price of Product K. Round your answer to two decimal places.
$21.25

I'm having trouble with C.

In: Accounting

Create 5 short-term plan of technology projects that you can perform outside of an I.T. department...

Create 5 short-term plan of technology projects that you can perform outside of an I.T. department to advance your skills.

In: Computer Science

Derek plans to retire on his 65th birthday. However, he plans to work part-time until he...

Derek plans to retire on his 65th birthday. However, he plans to work part-time until he turns 74.00. During these years of part-time work, he will neither make deposits to nor take withdrawals from his retirement account. Exactly one year after the day he turns 74.0 when he fully retires, he will wants to have $3,311,865.00 in his retirement account. He he will make contributions to his retirement account from his 26th birthday to his 65th birthday. To reach his goal, what must the contributions be? Assume a 8.00% interest rate
Answer format: Currency: Round to: 2 decimal places.

A firm will pay a dividend of $1.18 next year. The dividend is expected to grow at a constant rate of 4.93% forever and the required rate of return is 14.67%. What is the value of the stock?

Answer format: Currency: Round to: 2 decimal places.

Today is Derek’s 25th birthday. Derek has been advised that he needs to have $2,103,378.00 in his retirement account the day he turns 65. He estimates his retirement account will pay 4.00% interest. Assume he chooses not to deposit anything today. Rather he chooses to make annual deposits into the retirement account starting on his 28.00th birthday and ending on his 65th birthday. How much must those deposits be?

Answer format: Currency: Round to: 2 decimal places.

I would appreciate the help! :)

In: Finance

Toady and Froggy were running a vegan cafe together. The business was having financial difficulties.Betelguese, who...

Toady and Froggy were running a vegan cafe together. The business was having financial difficulties.Betelguese, who has known Toady and Froggy for many years had recently inherited a lot of money and Toady and Froggy asked him to lend the business $100 000 to enable them to buy sufficient stock and to upgrade the cafe for the summer season. Betelguese wanted to help his friends but also wanted to ensure that he would get his money back. He agreed to lend Toady and Froggy the money in return for a payment of $10 000 per year out of the gross returns of the cafe. The terms of the loan also provided that Toady and Froggy would consult Betelgeuse about any major contracts entered into by the business and gave him a right to inspect the accounts at regular interval.

Required:

a. Discuss whether or not a partnership exists between Toady, Froggy and Betelgeuse?

b. Would it make any difference if the terms of the loan provided for Betelgeuse to be paid $10 000 per year out of the profits of the business?

In: Operations Management

1. The following questions concern Jesse Gelsinger who suffered from partial OTC.             a. In the...

1. The following questions concern Jesse Gelsinger who suffered from partial OTC.

            a. In the United States the average person eats far more protein than needed to meet the demands of protein synthesis in their cells. What happens to the extra amino acids? Be specific.

            b. Describe Jesse’s illness.

            c. Briefly describe the experimental treatment he underwent.

In: Biology

Pittman Company is a small but growing manufacturer of telecommunications equipment. The company has no sales...

Pittman Company is a small but growing manufacturer of telecommunications equipment. The company has no sales force of its own; rather, it relies completely on independent sales agents to market its products. These agents are paid a sales commission of 15% for all items sold.

     Barbara Cheney, Pittman’s controller, has just prepared the company’s budgeted income statement for next year. The statement follows:

Pittman Company
Budgeted Income Statement
For the Year Ended December 31
  Sales $ 16,000,000
  Manufacturing expenses:
      Variable $ 7,200,000
      Fixed overhead 2,340,000 9,540,000
  Gross margin 6,460,000
  Selling and administrative expenses:
      Commissions to agents 2,400,000
      Fixed marketing expenses 120,000*
      Fixed administrative expenses 1,800,000 4,320,000
  Net operating income 2,140,000
  Fixed interest expenses 540,000  
  Income before income taxes 1,600,000  
  Income taxes (30%) 480,000  
  Net income $ 1,120,000  
*Primarily depreciation on storage facilities.

     As Barbara handed the statement to Karl Vecci, Pittman’s president, she commented, “I went ahead and used the agents’ 15% commission rate in completing these statements, but we’ve just learned that they refuse to handle our products next year unless we increase the commission rate to 20%.”

     “That’s the last straw,” Karl replied angrily. “Those agents have been demanding more and more, and this time they’ve gone too far. How can they possibly defend a 20% commission rate?”

     “They claim that after paying for advertising, travel, and the other costs of promotion, there’s nothing left over for profit,” replied Barbara.

     “I say it’s just plain robbery,” retorted Karl. “And I also say it’s time we dumped those guys and got our own sales force. Can you get your people to work up some cost figures for us to look at?”

     “We’ve already worked them up,” said Barbara. “Several companies we know about pay a 7.5% commission to their own salespeople, along with a small salary. Of course, we would have to handle all promotion costs, too. We figure our fixed expenses would increase by $2,400,000 per year, but that would be more than offset by the $3,200,000 (20% × $16,000,000) that we would avoid on agents’ commissions.”

The breakdown of the $2,400,000 cost follows:

   

  Salaries:
     Sales manager $ 100,000
     Salespersons 600,000
  Travel and entertainment 400,000
  Advertising 1,300,000
  Total $ 2,400,000

     “Super,” replied Karl. “And I noticed that the $2,400,000 is just what we’re paying the agents under the old 15% commission rate.”

     “It’s even better than that,” explained Barbara. “We can actually save $75,000 a year because that’s what we’re having to pay the auditing firm now to check out the agents’ reports. So our overall administrative expenses would be less.”

     “Pull all of these numbers together and we’ll show them to the executive committee tomorrow,” said Karl. “With the approval of the committee, we can move on the matter immediately.”

Required:
1.

Compute Pittman Company’s break-even point in dollar sales for next year assuming: (Enter your answer in whole dollars and not in thousands. Round CM ratio to 3 decimal places and final answer to the nearest dollar amount.)

  

a.

The agents’ commission rate remains unchanged at 15%.

           

   

b.

The agents’ commission rate is increased to 20%.

           

  

c.

The company employs its own sales force.

           

2.

Assume that Pittman Company decides to continue selling through agents and pays the 20% commission rate. Determine the volume of sales that would be required to generate the same net income as contained in the budgeted income statement for next year. (Enter your answer in whole dollars and not in thousands. Round CM ratio to 2 decimal places.)

     

  

3.

Determine the volume of sales at which net income would be equal regardless of whether Pittman Company sells through agents (at a 20% commission rate) or employs its own sales force. (Enter your answer in whole dollars and not in thousands. Round CM ratio to 3 decimal places.)

     

4.

Compute the degree of operating leverage that the company would expect to have on December 31 at the end of next year assuming:

  

a.

The agents’ commission rate remains unchanged at 15%.

           

b.

The agents’ commission rate is increased to 20%.

            

c. The company employs its own sales force.

           

In: Accounting

TzeMay was one of the first women engineering students at ABC University. She graduated in 1995...

TzeMay was one of the first women engineering students at ABC University. She graduated in 1995 with a first class honours degree and immediately continued her studies with an MSc programme, gaining recognition for her work into environmentally friendly car engines, a largely untapped field in those days. On completion of her Masters degree she was offered a post as a research assistant where she could have developed her Masters research and worked towards her doctorate. However she decided that she needed to gain some commercial experience and joined Wallace-Price, a blue-chip engineering consultancy where, apart from a sponsored year out to study for an MBA in the United States of America, she has remained ever since.

Her tenacity and loyalty to Wallace-Price have paid off and she was made a partner in the firm, primarily responsible for bringing in work to the consultancy. With the promotion came various executive privileges including an annual salary of £80, 000, a chauffeur-driven car, free use of one of the company-owned London flats, a non-contributory pension scheme, various gold credit cards and first-class air travel. TzeMay herself would not describe these as benefits, however, but as necessities to enable her to do her job properly. In order to meet her business target of £2 million of work for Wallace-Price she spent forty weeks overseas, working an average of ninety hours a week.

She cannot remember the last time that she had a weekend when she was not entertaining clients or travelling but was totally free to indulge herself. During her time with Wallace-Price she has earned a reputation both as a formidable but honest negotiator and as an innovative engineer, often finding seemingly impossible solutions to problems. Known for her single-minded dedication to her job, she does not suffer fools gladly. She is frequently approached to work for rival firms with promises of even greater privileges and has been the subject of numerous magazine profiles, some concentrating on her work and reputation as a high flier but the majority focusing on her gender. Her fortieth birthday last year was spent alone in the Emergency Room of a Los Angeles hospital where she had been rushed with a suspected stomach ulcer. Deprived of her portable telephone, fax and computer she had little else to do but to reflect on her life thus far. On her return to health she was working her way through the pile of technical journals, which had accumulated during her absence and there she saw the advertisement for ABC University, an institution that had close links with her company and whose Professor of Engineering she knew well. Ignoring the instructions relating to applications she put through a telephone call to the ABC University.

Question 1 : Making reference to the appropriate theories of motivation, explain TzeMay‟s main motivating factors.

In: Operations Management

Use the following information to calculate these various solvency measures:    a) NWC, B) WCR, c) Current...

Use the following information to calculate these various solvency measures:    a) NWC,

B) WCR,

c) Current ratio,

d) Quick ratio

e) Cash Conversion Efficiency (CCE)

d) Days cash held (DCH)

Cash $150000
Current asset $900,000
Current liability $700,000
Inventory $350,000
Receivable $250,000
Payable $300,000
Sales 1,800, 000
COGs =40% of sales
Cash flow from operation 130, 000

In: Finance

The files SpeedControl.java and SpeedControlPanel.java contain a program (and its associated panel) with a circle that...

The files SpeedControl.java and SpeedControlPanel.java contain a program (and its associated panel) with a circle that moves on the panel and rebounds from the edges. The Circle class is in the file Circle.java. Save the program to your directory and run it to see how it works. In this lab exercise you will add to the panel a slider that controls the speed of the animation.
1. Set up a JSlider object. You need to:
a) Declare it.
b) Instantiate it to be a JSlider that is horizontal with values ranging from 0 to 200, initially set to 30.
c) Set the major tick spacing to 40 and the minor tick spacing to 10.
d) Set paint ticks and paint labels to true and the X alignment to left.


2. Set up the change listener for the slider. A skeleton of a class named SlideListener is already in
SpeedControlPanel.java. You need to:
a) Complete the body of the statedChanged function. This function must determine the value of the slider, then set the timer delay to that value. The timer delay can be set with the method setDelay (int delay) in the Timer class.
b) Add the change listener to the JSlider object.


3. Create a label (“Timer Delay”) for the slider and align it to the left.


4. Create a JPanel object and add the label and slider to it then add your panel to the SOUTH of the main panel (note that it has already been set up to use a border layout).


5. Compile and run the program. Make sure the speed is changing when the slider is moved. (NOTE: Larger delay means slower!)


6. You should have noticed one problem with the program. The ball (circle) goes down behind the panel the slider is on. To fix this problem do the following:
a) In actionPerformed, declare a variable slidePanelHt (type int). Use the getSize() method to get the size (which is a Dimension object) of the panel you put the slider on. Assign slidePanelHt to be the height of the Dimension object. For example, if your panel is named slidePanel the following assignment statement is what you need:
slidePanelHt = slidePanel.getSize().height;
b) Now use this height to adjust the condition that tests to see if the ball hits the bottom of the panel.
c) Test your program to make sure it is correct.

DELIVERABLES :

Speedcontrolpanel.java

// ********************************************************************
// SpeedControl.java
//
// Demonstrates animation -- balls bouncing off the sides of a panel -
// with speed controlled by a slider.
// ********************************************************************
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class SpeedControl
{
// ------------------------------------
// Sets up the frame for the animation.
// ------------------------------------
public void static main (String[] args)
{
JFrame frame = new JFrame ("Bouncing Balls");
frame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
frame.getContentPane.add(new SpeedControlPanel ());
frame.pack();
frame.setVisible(true);
}
}

// ******************************************************************
// SpeedControlPanel.java
//
// The panel for the bouncing ball. Similar to
// ReboundPanel.java in Listing 8.16 in the text, except a circle
// rather than a happy face is rebounding off the edges of the
// window.
// ******************************************************************
import java.awt.*;
import java.awt.event.*;
import javax. swing. *;
import javax.swing.event.*;
public class SpeedControlPanel extends JPanel
{
private final int WIDTH = 600;
private final int HEIGHT = 400;
private final int BALL_SIZE = 50;
private Circle bouncingBall; // the object that moves
private Timer timer;
private int moveX, moveY; // increment to move each time
// --------------------------------------------
// Sets up the panel, including the timer
// for the animation
// --------------------------------------------
public SpeedControlPanel ()
{
timer = new Timer(30, new ReboundListener());
this.setLayout (new BorderLayout());
bouncingBall = new Circle(BALL_SIZE);
moveX = moveY = 5;
// Set up a slider object here
setPreferredSize (new Dimension (WIDTH, HEIGHT));
setBackground(Color.black);
timer.start();
}
// ---------------------
// Draw the ball
// ---------------------
public void paintComponent (Graphics page)
{
super.paintComponent (page);
bouncingBall.draw(page);
}
// ***************************************************
// An action listener for the timer
// ***************************************************
public class ReboundListener implements ActionListener
{
// ----------------------------------------------------
// actionPerformed is called by the timer -- it updates
// the position of the bouncing ball
// ----------------------------------------------------
public void actionPerformed(ActionEvent action)
{
bouncingBall.move(moveX, moveY);
// change direction if ball hits a side
int x = bouncingBall.getX();
int y = bouncingBall.getY();
if (x < 0 || x >= WIDTH - BALL_SIZE)
moveX = moveX * -1;
if (y <= 0 || y >= HEIGHT - BALL_SIZE)
moveY = moveY * -1;
repaint();
}
}
// ***************************************************
// A change listener for the slider.
// ***************************************************
private class SlideListener implements ChangeListener
{
// ------------------------------------------------
// Called when the state of the slider has changed;
// resets the delay on the timer.
// ------------------------------------------------
public void stateChanged (ChangeEvent event)
{
}
}
}

// ****************************************************************
// FILE: Circle.java
//
// Purpose: Define a Circle class with methods to create and draw
// a circle of random size, color, and location.
// ****************************************************************
import java.awt.*;
import java.util.Random;
public class Circle
{
private int x, y; // coordinates of the corner
private int radius; // radius of the circle
private Color color; // color of the circle
static Random generator = new Random();
//---------------------------------------------------------
// Creates a random circle with properties in ranges given:
// -- radius 25..74
// -- color RGB value 0..16777215 (24-bit)
// -- x-coord of upper left-hand corner 0..599
// -- y-coord of upper left-hand corner 0..399
//---------------------------------------------------------
    public Circle()
    {
        radius = Math.abs(generator.nextInt())%50 + 25;
        color = new Color(Math.abs(generator.nextInt())% 16777216);
        x = Math.abs(generator.nextInt())%600;
        y = Math.abs(generator.nextInt())%400;
    }
//---------------------------------------------------------
// Creates a circle of a given size (diameter). Other
// attributes are random (as described above)
//---------------------------------------------------------
    public Circle(int size)
    {
        radius = Math.abs(size/2);
        color = new Color(Math.abs(generator.nextInt())% 16777216);
        x = Math.abs(generator.nextInt())%600;
        y = Math.abs(generator.nextInt())%400;
    }
//---------------------------------------------------------
// Draws circle on graphics object given
//---------------------------------------------------------
    public void draw(Graphics page)
    {
        page. setColor (color) ;
        page.fillOval(x,y,radius*2,radius*2);
    }
//---------------------------------------------------------
// Shifts the circle's position -- "over" is the number of
// pixels to move horizontally (positive is to the right
// negative to the left); "down" is the number of pixels
// to move vertically (positive is down; negative is up)
//---------------------------------------------------------
    public void move (int over, int down)
    {
        x = x + over;
        y = y + down;
    }
//----------------------------------------------
// Return the x coordinate of the circle corner
//----------------------------------------------
    public int getX()
    {
        return x;
    }
//----------------------------------------------
// Return the y coordinate of the circle corner
//----------------------------------------------
    public int getY()
    {
        return y;
    }
}

In: Computer Science

Calculate the ideal age of a spouse. Enter either m or f from the keyboard in...

Calculate the ideal age of a spouse. Enter either m or f from the keyboard in lower case. You may use string data for the gender. Convert the gender to upper case

Enter an age from the keyboard, probably an integer

You will need prompts telling the user what to enter.

Use an IF statement to determine if the person is a male or female. You do one calculation if the person is a male else you do another calculation if the person is a female.

Use a loop where you enter this data (loop for 1 to 6 ) so you will only have to run the program 1 time instead of 6 times.

m 28

m 70

m 18

f 32

f 60

f 13

For each set of data, print out the Gender, age, and Ideal Spouse's age, along with the following messages when they apply (the messages will be in the last column):

If a male over 60, print “robbing the cradle.”

If a male under 25, print “too young to be married”

if a female over 60, print “a gold digger”

if a female < 19 print “jail bait”

Plato's formula. A little bit out of date. You will be a gold digger or robbing the cradle if your age is over 40 because back then people only lived to be about 35 or so on the average.

For a male, his ideal spouse’s age is his age/2+7

For a female, her age*2-14

So, inside the loop

1. Input from the keyboard either m or f and an age

2. convert the m or f to upper or upper case

3. enter age from keyboard

4. Use an if to determine if user is a male or female. Use the appropriate syntax for your language. Calculate Ideal age.

5. Print the Gender as “Male” or as “Female”, and the age, and the ideal age you calculated.

6. Then print any matching messages on the same line

7. Accumulate the total idea age of a male spouse and of a female spouse and the count of males and females.

8. When you exit the loop the print the average idea age of a spouse for a male and the average ideal age of a spouse for a female.

if gender=="M"

do male calculation

else

do female calculation

In C++, please use visual studios and show output.

In: Computer Science