Questions
After reading chapter 5 of the textbook and watching the video “JavaScript Loops” JavaScript Loops and...

After reading chapter 5 of the textbook and watching the video “JavaScript Loops” JavaScript Loops and “JavaScript Decision Statements” 11 JavaScript Decision Statements

Create a html web page that allows the coach of a town’s soccer league to enter the ages of all the children who have registered for soccer this year. Children between the ages of 4 and 15 are allowed to sign up for soccer but there can be a lot of variation in the number of children who sign up each year and their ages. Eventually the children will be placed into one of three leagues: Junior, Intermediate, and Senior. The Junior League is for children ages 4–7, the Junior League is for children ages 8–11, and the Senior League is for children ages 12–15. The coach wants to know how many children will be in each group. Your program should allow the coach to enter the ages of as many children as desired and should keep track of how many are in each group. The final display should tell the coach how many children signed up and how many will be in each group. Save your page as soccer.html and be sure to include an appropriate page title.


Please upload a screenshot of the working program along with a zipped folder with the .HTML file and any other files or pictures.

In: Computer Science

Are sports team names racist or celebratory of Native American peoples? Support your opinion. Consider Thanksgiving...

Are sports team names racist or celebratory of Native American peoples? Support your opinion. Consider Thanksgiving and Independence Day. How might these holidays remind Native Americans of their marginal status?

In: Psychology

choose one of the most dominant InfoSec management models, including national and international standards-based models. What...

choose one of the most dominant InfoSec management models, including national and international standards-based models. What makes this model one of the most dominant? What should be taken into consideration when selecting the most appropriate model or framework for an organization?

In: Operations Management

C++ code a program should prompt the user for the name of the output file. The...

C++ code

a program should prompt the user for the name of the output file. The file should be opened for write operations. Values calculated by the program will be written to this file. The program must verify that the file opened correctly. If the file did not open, an error message should be printed and the user should be prompted again. This should continue until the user supplies a valid filename.

In: Computer Science

how is the continuity of government is ensured at the local level (plans? black helicopters? Act...

how is the continuity of government is ensured at the local level (plans? black helicopters? Act of God?)

In: Operations Management

An interesting and popular hypothesis is that individuals can temporarily postpone death to survive a major...

  1. An interesting and popular hypothesis is that individuals can temporarily postpone death to survive a major holiday or important event such as a birthday. In a study, it was found that there were 6062 deaths in the week before Thanksgiving, and 5938 deaths the week after Thanksgiving (based on data from “Holidays, Birthdays, and Postponement of Cancer Death,” by Young and Hade, Journal of the American Medical Association, Vol. 292, No. 24).

    (a) If people can postpone death until after Thanksgiving, then the proportion of deaths in the week before should be less than 50%. By hand, use the p-value method and a 0.10 significance level to test the claim that the proportion of deaths in the week before Thanksgiving is less than 50%. Use excel to confirm the p-value you found. Hint: the command =norm.s.dist(test statistic, true) finds the left tail probability for z. (b) Based on the result, does there appear to be any indication that people can temporarily postpone death to survive the Thanksgiving holiday? (c) Suppose the hypothesis test in a) was to find if the proportion is different from 50%; redo the hypothesis test by hand using the p-value method and compare the results. Confirm your p-value using excel.

In: Math

Critically discuss the differences and similarities between "positive psychology" and "traditional psychology". What are the focuses...

Critically discuss the differences and similarities between "positive psychology" and "traditional psychology". What are the focuses of these two fields of psychology? How has both fields of study evolved over the last 10 years?

In: Psychology

A class of 30 fifth-graders completed standardized reading test and received the following scores. Using the...

A class of 30 fifth-graders completed standardized reading test and received the following scores. Using the empirical rule, determine if the data is close to normally distributed.

86 103 92 115 94 102 123 81 108 93

97 105 73 94 117 83 99 101 98 94

48 106 100 134 98 149 95 67 102 107

In: Math

Problem 6.11 (LO2) Activity-Based Costing Summit Surfboard produces two surfboards. One is a recreational model made...

Problem 6.11 (LO2) Activity-Based Costing Summit Surfboard produces two surfboards. One is a recreational model made from polyurethane foam covered with fiberglass cloth and epoxy resin. The other is a high performance competition board that uses carbon fiber instead of fiberglass. The carbon fiber boards are custom-made and require more hand finishing and setup time.

Most of the company’s sales come from the recreational model, but recently sales of the competition boards have been increasing. The following information is related to the products for the most recent year:

Recreational

Competition

Sales and production (number of surfboards)

1,500

200

Sales price per board

$    600

$1,200

Unit costs:

Direct materials

175

250

Direct labor

120

300

Overhead*

     168

   420

Total unit cost

     463

   970

Gross profit

$    137

$  230

Overhead* costs:

Building depreciation

$ 50,000

Equipment depreciation

60,000

Materials ordering

25,000

Quality control

65,500

Maintenance and security

37,500

Setup and drafting

38,000

Supervision

  60,000

Total overhead

$336,000

Overhead rate based on direct labor dollars:

Total overhead

$336,000

Total labor ($120 × 1,500) + ($300 × 200)

$240,000

*Overhead rate = $1.40 per direct labor dollar. ($336,000 ÷ $240,000)

Vikki Mason, the president of Summit, is concerned that the traditional cost system used by Summit may not be providing accurate cost information and that the sales price of the competition surfboard might not be enough to cover its true cost.

Required

  1. The traditional system that Summit is using assigns 83 percent of the $336,000 total overhead to the recreational surfboard because 83 percent of the direct labor dollars are spent on the recreational surfboards. Discuss why this might not be an accurate way to assign overhead to surfboards.
  2. Discuss how Summit might be able to improve cost allocation by using an ABC system.
  3. Assume that Summit retains a consultant to create an activity-based costing system, and the consultant develops the following data:

Driver Activity

Cost Pool

Amount

Driver

Recreational Boards

Competition Boards

Building

$ 50,000

Square footage

8,000

2,000

Equipment

60,000

Machine hours

4,250

750

Materials ordering

25,000

Number of orders

100

300

Quality control

65,500

Number of inspections

100

400

Maintenance and security

37,500

Square footage

8,000

2,000

Setup and drafting

38,000

Number of setups

50

200

Supervision

  60,000

Direct labor cost

$180,000

$60,000

$336,000

  1. Determine the overhead allocation to each line of surfboards using an activity-based costing approach, and compute the total unit costs for each model surfboard. Round to two decimal places.
  2. Discuss why activity-based allocations are different from those generated by the traditional allocation method used by Summit.

In: Accounting

Q1.Which of the following are propositions? (a) The Apple Macintosh is a 256-bit computer. (b) Why...

Q1.Which of the following are propositions?

(a) The Apple Macintosh is a 256-bit computer.

(b) Why are you here?

(c) 8 + 10 = 12

Q2.Construct truth tables for each of the following compound propositions. What do you notice about the results?

(a) p∨(¬pq)

(b) pq

Q3.For the following multiple choice question, pick one choice (1. A tautology; 2. A contradiction; 3. Neither) for each compound proposition.

  • p ⋏(¬p)    
  • p ⋏(¬q)    

For the following multiple choice question, pick one choice by circling it (you may have to give some explanations.)

Q4. Match the term on the left to the number of the matching expression on the right.

(a) converse of Q ଠS                                                                              

(b) a tautology                                                                                               

(c) a contradiction                                                                                        1. ¬Q àS

(d) equivalent to Q àS                                                                                   2. ¬S v S ^ S

(e) inverse of Q à¬S                                                                                     

(f) contrapositive of QàS   

                                                                      

Q5.Is this a valid argument?                                                                                                                 

               

                                                                                                                      

Q6. For each of the premise-conclusion pairs below, give a valid step-by-step argument (proof) along with the name of the inference rule used in each step.

Premise: {p v q, q àr, p ^ s àt, ¬r,¬q àu ^ s}, conclusion:t.

Q7.Use the truth table to verify the following statement:

¬ (p ∨¬q) ∨(¬p ∧¬q) ≡ p

Q8.Let Q(n) be the predicate “n2≤ 49.”

Write Q(3), Q(−3), Q(5), Q(−5), Q(8), and Q(−8) and indicate which of these statements are true and which are false.

Q9.In 1–2, write a negation (¬) for each statement.

1.∃x ∈R, if x2≥ 1 then x ≤ 0.

  1. ∀n ∈Z, if n is composite then n is even or n =

PS: A composite number is a positive integer which is not prime (i.e., which has factors other than 1 and itself).

In: Computer Science

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