Questions
Given: struct Person { int id;     int stats[3] }; Which is the correct way to...

Given:

struct Person
{
int id;
    int stats[3]
};

Which is the correct way to initialise an array of Persons?

1.

struct Person persons[2] = {7, "8,9,3", 8, "2,5,9"};

2.

struct Person persons[2] = "7, {8,9,3}, 8, {2,5,9}";

3.

struct Person persons[2] = "7, "8,9,3", 8, "2,5,9";

4.

struct Person persons[2] = {7, {8,9,3}, 8, {2,5,9}};

Which of the following is not a primitive type in the C language?

1.

string

2.

int

3.

long

4.

char

Given:

struct Person
{
int id;
    int stats[3]
};

Which is the correct way to access the 2nd member of stats in an instance named John?

1.

John.stats[2]

2.

John->stats[2]

3.

John->stats[1]

4.

John.stats[1]

Given:

struct Person
{
int id;
    int stats[3]
};

Which is the correct way to initialise an instance of Person?

1.

struct Person John = "5,{4,5,6}";

2.

struct Person John = {"5", "4,5,6"};

3.

struct Person John = {5, {4,5,6}};

4.

Person John = {5, {4,5,6}};

Instead of using parallel arrays with a key and value array, we can create a derived type with members that represent the key – value pair.

True

False

A derived type is a collection of other types.

True

False

Given:

struct Person
{
int id;
    int stats[3]
};

*John.stats[0]; will retrieve the fist element of stats in a Person instance named John.

True

False

What is the key word used to create a user defined (derived) type in the C language?

1.

class

2.

object

3.

collection

4.

struct

In: Computer Science

What is the structure of 1. palmatic acid and 2-oleoyl-3-phosphatidylserine 2. oleic acid and 1-palmitoyl-3-phosphatidylserine 3....

What is the structure of
1. palmatic acid and 2-oleoyl-3-phosphatidylserine
2. oleic acid and 1-palmitoyl-3-phosphatidylserine
3. phosphoserine and 1-palmitoyl-2-oleoyl-glycerol
4. serine and 1-palmitoyl-2-oleoyl-phosphatidic acid

In: Biology

A 2-m-high, 4-m-wide rectangular advertisement panel is attached to a 4-m-wide, 0.15 m-high rectangular concrete block...

A 2-m-high, 4-m-wide rectangular advertisement panel is attached to a 4-m-wide, 0.15 m-high rectangular concrete block (density = 2300 kg/m3) by two 5-cm-diameter, 4-m-high (exposed part) poles, as shown in the figure. If the sign is to withstand 150 km/h winds from any direction, determine (a) the maximum drag force on the panel, (b) the drag force acting on the poles, and (c) the minimum length L of the concrete block for the panel to resist the winds. Take the density of the air to be 1.3 kg/m3.

In: Mechanical Engineering

Exercise 4-10 Contrasting ABC and Conventional Product Costs [LO4-2, LO4-3, LO4-4] Rocky Mountain Corporation makes two...

Exercise 4-10 Contrasting ABC and Conventional Product Costs [LO4-2, LO4-3, LO4-4]

Rocky Mountain Corporation makes two types of hiking boots—Xactive and Pathbreaker. Data concerning these two product lines appear below:

Xactive

Pathbreaker

Direct materials per unit

$

65.60

$

51.80

Direct labor cost per unit

$

19.00

$

13.80

Direct labor-hours per unit

1.4

DLHs

1

DLHs

Estimated annual production and sales

33,000

units

83,000

units

The company has a conventional costing system in which manufacturing overhead is applied to units based on direct labor-hours. Data concerning manufacturing overhead and direct labor-hours for the upcoming year appear below:


Estimated total manufacturing overhead

$2,687,360

Estimated total direct labor-hours

129,200

DLHs

Required:

1-a. Compute the predetermined overhead rate based on direct labor-hours.

1-b. Using the predetermined overhead rate and other data from the problem, determine the unit product cost of each product.

2. The company is considering replacing its conventional costing system with an activity-based costing system that would assign its manufacturing overhead to the following four activity cost pools:

Estimated Overhead Cost

Expected Activity

Activity Cost Pools and Activity Measures

Xactive

Pathbreaker

Total

Supporting direct labor (direct labor-hours)

$

988,380

46,200

83,000

129,200

Batch setups (setups)

1,008,000

290

190

480

Product sustaining (number of products)

602,240

1

1

2

General factory (machine-hours)

88,740

3,300

8,300

11,600

Total manufacturing overhead cost

$

2,687,360

Determine the activity rate for each of the four activity cost pools.

3. Using the activity rates and other data from the problem, determine the unit product cost of each product.

In: Accounting

Exercise 4-7 Contrast ABC and Conventional Product Costs [LO4-2, LO4-3, LO4-4] Kunkel Company makes two products...

Exercise 4-7 Contrast ABC and Conventional Product Costs [LO4-2, LO4-3, LO4-4]

Kunkel Company makes two products and uses a conventional costing system in which a single plantwide predetermined overhead rate is computed based on direct labor-hours. Data for the two products for the upcoming year follow:

Mercon

Wurcon

Direct materials cost per unit

$

9.00

$

7.00

Direct labor cost per unit

$

15.00

$

17.00

Direct labor-hours per unit

0.40

4.80

Number of units produced

4,000

8,000

These products are customized to some degree for specific customers.

Required:

1. The company's manufacturing overhead costs for the year are expected to be $1,600,000. Using the company's conventional costing system, compute the unit product costs for the two products.

2. Management is considering an activity-based costing system in which half of the overhead would continue to be allocated on the basis of direct labor-hours and half would be allocated on the basis of engineering design time. This time is expected to be distributed as follows during the upcoming year:

Mercon

Wurcon

Total

Engineering design time (in hours)

8,000

8,000

16,000

Compute the unit product costs for the two products using the proposed ABC system.

(For all requirements, do not round intermediate calculations. Round your final answers to 2 decimal places.)

In: Accounting

Exercise 4-10 Contrasting ABC and Conventional Product Costs [LO4-2, LO4-3, LO4-4] Rocky Mountain Corporation makes two...

Exercise 4-10 Contrasting ABC and Conventional Product Costs [LO4-2, LO4-3, LO4-4]

Rocky Mountain Corporation makes two types of hiking boots—Xactive and Pathbreaker. Data concerning these two product lines appear below:

Xactive Pathbreaker
Direct materials per unit $ 64.50 $ 50.70
Direct labor cost per unit $ 17.90 $ 12.70
Direct labor-hours per unit 1.4 DLHs 1 DLHs
Estimated annual production and sales 22,000 units 72,000 units

The company has a conventional costing system in which manufacturing overhead is applied to units based on direct labor-hours. Data concerning manufacturing overhead and direct labor-hours for the upcoming year appear below:

Estimated total manufacturing overhead $2,025,160
Estimated total direct labor-hours 102,800 DLHs

Required:

1-a. Compute the predetermined overhead rate based on direct labor-hours.

1-b. Using the predetermined overhead rate and other data from the problem, determine the unit product cost of each product.

2. The company is considering replacing its conventional costing system with an activity-based costing system that would assign its manufacturing overhead to the following four activity cost pools:

Estimated Overhead Cost Expected Activity
Activity Cost Pools and Activity Measures Xactive Pathbreaker Total
Supporting direct labor (direct labor-hours) $ 729,880 30,800 72,000 102,800
Batch setups (setups) 573,500 235 135 370
Product sustaining (number of products) 655,040 1 1 2
General factory (machine-hours) 66,740 2,200 7,200 9,400
Total manufacturing overhead cost $ 2,025,160

Determine the activity rate for each of the four activity cost pools.

3. Using the activity rates and other data from the problem, determine the unit product cost of each product.

In: Accounting

Write the greatest common divisor over the given filed as a linear combination of the given...

Write the greatest common divisor over the given filed as a linear combination of the given polynomials. That is, given f(x) and g(x), find a(x) and b(x) so that d(x) = a(x)f(x) + b(x)g(x), where d(x) is the greatest common divisor of f(x) and g(x).

(a) x^10 − x^7 − x^5 + x^3 + x^21 and x^8 − x^5 − x^3 + 1 over Q.

(b) x^5 + x^4 + 2x^2 − x − 1 and x^3 + x^2 − x over Q.

(c) x^3 − 2x^2 + 3x + 1 and x^3 + 2x + 1 over Z5.

(d) x^5 + x^4 + 2x^2 + 4x + 4 and x^3 + x^2 + 4x over Z5.

I know the GCD's are

a. x^3-1 b. 1 c. 1 d.1

Please help me write them as a linear combination.

In: Advanced Math

The CIO of an IT company would like to investigate how a software developer’s work experience...

The CIO of an IT company would like to investigate how a software developer’s work experience (in number of years), professional certifications (number of certificates), and knowledge of various computer languages (number of programming languages) contribute to his/her work performance. The work performance is measured on the scale of 1 to 1000 so that the higher one’s score, the better his/her work performance. He collects data from 20 software developers in his company Years of experience Num of certificates Num of progLang Performance

Years of expiernce , number of certificates , number of prolong, performance

1 27 3 8 880

2 11 1 2 686

3 6 2 1 681

4 21 3 4 877

5 26 3 4 975

6 21 3 4 902

7 18 3 3 900

8 15 1 5 882

9 14 2 3 200

10 5 1 3 650

11 17 2 5 908

12 14 2 4 687

13 15 3 4 891

14 7 2 3 566

15 5 3 1 959

16 13 2 5 793

17 11 1 4 778

18 31 3 7 975

19 16 2 5 846

20 12 2 6 779.

Using the pivot table on this data what is the standard deviation for the performance of software developers who have. obtained 2 to certificates and know 3 programming languages?

a 117.4

b 67.3

c 56.9

d 258.80

we would like to create a regression model that would describe how performance depends on work experience, professional , certifications, and knowledge of varies computer languages.

what is the respond (or dependent) variable in this regression model

a performance

b employee id

c knowledge of computer languages

d work experience

e professional certifications

What is the value of r-squared of this regression model?

a .28

b .53

c .45

d .76

e .37

In: Statistics and Probability

The Conch Café, located in Gulf Shores, Alabama, features casual lunches with a great view of...

The Conch Café, located in Gulf Shores, Alabama, features casual lunches with a great view of the Gulf of Mexico. To accommodate the increase in business during the summer vacation season, Fuzzy Conch, the owner, hires a large number of servers as seasonal help. When he interviews a prospective server, he would like to provide data on the amount a server can earn in tips. He believes that the amount of the bill and the number of diners are both related to the amount of the tip. He gathered the following sample information.

Customer Amount of Tip ($) Amount of Bill ($) Diners
1 7.2 78.03 4
2 4.5 28.23 4
3 1 10.65 1
4 2.4 19.82 3
5 5 28.62 3
6 4.25 24.83 2
7 0.5 6.25 1
8 6 49.2 4
9 5 43.26 3
10 4.5 46.4 4
11 5.55 57.98 5
12 6 34.99 3
13 4 33.91 4
14 3.35 23.06 2
15 0.75 4.65 1
16 3.3 23.59 2
17 3.5 22.3 2
18 3.25 32 2
19 5.4 50.02 4
20 2.25 17.6 3
21 3.2 60.06 2
22 3 20.27 2
23 1.25 19.53 2
24 3.25 27.03 3
25 3 21.28 2
26 6.25 43.38 4
27 5.6 28.12 4
28 2.5 26.25 2
29 3.95 55.38 7
30 5.1 62.39 6

a-1. Develop a multiple regression equation with the amount of tips as the dependent variable and the amount of the bill and the number of diners as independent variables and complete the table. (Negative amounts should be indicated by a minus sign. Round your answers to 3 decimal places.)

a-2. Write out the regression equation. (Negative amounts should be indicated by a minus sign. Round your answers to 3 decimal places.)

a-3. How much does another diner add to the amount of the tips? (Round your answer to 2 decimal places.)

b-1. Complete the ANOVA table. (Leave no cells blank - be certain to enter "0" wherever required. Round "SS, MS" to 3 decimal places and "F" to 2 decimal places.)

b-2. What is your decision regarding the null-hypothesis?

c-1. Conduct an individual test on each of the variables. What is the decision rule at the 0.05 level of significance? (Negative amounts should be indicated by a minus sign. Round your answers to 3 decimal places.) c-2. Which variable should be deleted? Use the equation developed in part (c) to determine the coefficient of determination. (Round your answer to 2 decimal places.) State true or false. From the graph the residuals appear normally distributed. True False Choose the right option from the following graph. The residuals look random.

In: Statistics and Probability

****show spss input***A researcher is interested to learn if the level of interaction a women in...

****show spss input***A researcher is interested to learn if the level of interaction a women in her 20s has with her mother influences her life satisfaction ratings. Below is a list of women who fit into each of four levels of interaction. Conduct a One-way ANOVA on the data to determine if there are differences between groups; does the level of interaction influence women’s ratings of life satisfaction? Report the results of the One-way ANOVA. If significance is found, run the appropriate post-hoc test and report between what levels the significant differences were found. Report the test statistic using correct APA formatting and interpret the results.

No Interaction

Low Interaction

Moderate Interaction

High Interaction

2

3

3

9

4

3

10

10

4

5

2

8

4

1

1

5

7

2

2

8

8

2

3

4

1

7

10

9

1

8

8

4

8

6

4

1

4

5

3

8

  1. Are handedness and gender related? A researcher collected the following data in hopes of discovering if handedness and gender are independent (Ambidextrous individuals were excluded from the study). Use the Chi-Square test for independence to explore this at a level of significance of 0.05. Report the test statistic using correct APA formatting and interpret the results.

Left-Handed

Right-Handed

Men

13

22

Women

27

18

In: Statistics and Probability