The important factor when considering your audience is determining what they need from your communication. How do we determine needs?
Discover ways in which we can determine the information that a targeted audience needs from our communications.
In: Psychology
1. compile and try to run broken.c
2. use the gdb debugger to try to find where the seg fault occurs
3. after a bit of detective work with the use of gdb, answer the questions in the file questions.txt
4. fix the error(s) in broken.c
****broken.c*****
/* This program creates an array containing 10 integers
and then at the bottom checks to see if the number 11
is in the array.
Note: the program contains a bug that only shows up when
it is run.
*/
#include <stdio.h>
#include <stdlib.h>
int main( void ) {
int i = 0, count = 0, search = 1, found = 0;
int number = 5;
int table[10];
table[0] = number;
printf( "table[%i]: %i\n", count, table[count] );
count = 1;
while( count < 10 ) {
table[count] = number++ * 2;
printf( "table[%i]: %i\n", count, table[count] );
count++;
}
while( search = 1 ) {
if( table[i++] == 11 ) {
search = 0;
found = i - 1;
}
if( count == i ) {
search = 0;
}
}
if( found )
printf( "The number 11 is in the table at location: %d\n", found
);
else
printf( "The number 11 is not in the table.\n" );
return 0;
}
questions.txt regarding broken.c
--------
broken.c
--------
2) What line in broken.c did the program seg fault on?
3) What was the value of the variable "count" at the time of the
seg fault?
4) What was the value of the variable "i" at the time of the seg
fault?
5) What was the value of the variable "search" at the time of the
seg fault?
6) What are the values in the "table" array?
7) what do you think the bug is?
In: Computer Science
Describe and exemplify questionnaires prepared by renowned authors to detect learning behaviors along with the analysis of preferred (representational) cognitive models of the college students
In: Psychology
Webster Chemical Company produces mastics and caulking for the construction industry. The product is blended in large mixers and then pumped into tubes and capped. Management is concerned about whether the filling process for tubes of caulking is in statistical control. The process should be centered on 8 ounces per tube. Several samples of eight tubes were taken, each tube was weighed, and the weights in Table 3.3 were obtained.
Assume that only six samples are sufficient and develop the control charts for the mean and the range.
Plot the observations on the control chart and comment on your findings.
TUBE NUMBER | ||||||||
---|---|---|---|---|---|---|---|---|
Sample | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
1 | 7.98 | 8.34 | 8.02 | 7.94 | 8.44 | 7.68 | 7.81 | 8.11 |
2 | 8.33 | 8.22 | 8.08 | 8.51 | 8.41 | 8.28 | 8.09 | 8.16 |
3 | 7.89 | 7.77 | 7.91 | 8.04 | 8.00 | 7.89 | 7.93 | 8.09 |
4 | 8.24 | 8.18 | 7.83 | 8.05 | 7.90 | 8.16 | 7.97 | 8.07 |
5 | 7.87 | 8.13 | 7.92 | 7.99 | 8.10 | 7.81 | 8.14 | 7.88 |
6 | 8.13 | 8.14 | 8.11 | 8.13 | 8.14 | 8.12 | 8.13 | 8.14 |
In: Operations Management
Write nursing care plan one from any renal diagnoses , one from any GI diagnoses and one from musculoskeletal diagnoses
In: Nursing
The market price of a stock is $24.66 and it just paid a dividend of $1.82. The required rate of return is 11.24%. What is the expected growth rate of the dividend?
In: Finance
Healthcare Sales Management System
Description: Advance Healthcare is a medicine purchase and sale company which purchases medicine from suppliers and sells it to customers. Advance Healthcare wants to develop an online system which will facilitate to manage the routine tasks of medicine sales and will convert to manual working in a computerized system. The system is meant to manage almost every aspect of the medicine sale system such as maintaining the stock record of the medicine, suppliers/companies accounts, purchase record, customer record, sales invoice generation, employees' record etc.
This system will maintain all the sales of medicines to customer and purchase from supplier. The medicine stock will be managed along with their batch number, expiry date, rate and quantity. When the medicine is purchased, and record is entered, the stack record will be updated immediately.
The system will also handle the accounts including payments to suppliers and receiving from customer. The proper ledgers of every account will be maintained. The system will also help in maintain the employees' record that includes storing their name and other particulars along with their salary package.
The system will generate many sophisticated reports including
stock reports. ledger prints and rate lists. The system will not
generate any advanced accounting reports as trial balance, balance
sheet, Operating Expense Report and worksheets.
The system should be user friendly, technology independent and
platform independent. The system service should have availability
most of the time in the day. It should be able to complete its
on-going operations in spite of any error or problem within defined
response time.
Now considering the above problem description, you are required to list down:
[1] Functional requirements (at least 8 functional requirements) 0.25 mark for each correct answers
[2] Non-Functional requirements (at least 4 non-functional requirements) 0.25 mark for each correct answers
[3] User requirements (at least 4 user requirements) 0.5 mark for each correct answers
[4] Business requirements (at least 1 business requirement) 1 mark for each correct
answers)
In: Computer Science
1. State the dimension theorem. Explain how it proved.
In: Advanced Math
You own $3,300 worth of stock in a company that is expected to pay dividend of $12 per share in 1 year and a liquidating dividend of $45 per share in 2 years. The required return on stock is 20%. Your preference is to receive equal dividends in each of the next 2 years. Show how you would accomplish this by creating homemade dividends.
In: Finance
__________ is a person’s belief about his or her ability to perform a particular behavior successfully—in the learning process.
Self-efficacy |
||
Social learning |
||
Classic conditioning |
||
Relationship management |
___________ is the set of shared values, beliefs, and norms that influences the way employees think, feel, and behave toward each other and toward people outside the organization.
Organizational culture |
||
Ethics |
||
Mission |
||
Perspective |
The attempt to weaken a behavior by attaching no positive or negative consequences to it is called __________________.
Extinction |
||
Punishment |
||
Reinforcement |
||
Classical conditioning |
In: Operations Management
How is this method coded in Java?
int[] sortQuicksort(int[][] view)
sortQuicksort performs a quicksort sort on a view (a referential view of the master set of posts). sortQuicksort returns an array of profile information as detailed in the Data Structures section above. You may implement additional functions to support this sorting operation; however, take care that the profile information is accurately maintained and accounted for over any subsequent function calls.
/// Sorts (shallow) a set of references to posts in descending order
/// subject to the differential between ups and downs using a quicksort.
/// @param view A shallow copy of a set of posts
/// @return an array of profile information of 3 buckets with the
/// respective buckets containing a count of 0: allocations,
/// 1:comparisons, and 2: swaps
public static int[] sortQuicksort(int[][] view) {
// profile[0:allocs, 1:comparisons, 2:swaps]
int[] profile = new int[3];
// TODO : Implement Here
return profile;
}
Posts Data:
0001 505361 236677
0002 629710 727941
0003 414780 842861
0004 702957 401854
0005 862865 315572
0006 930013 609421
0007 326101 220500
0008 732457 404837
0009 878259 411163
0010 227645 638470
In: Computer Science
In: Psychology
On February 1, 2018, Arrow Construction Company entered into a
three-year construction contract to build a bridge for a price of
$8,075,000. During 2018, costs of $2,030,000 were incurred, with
estimated costs of $4,030,000 yet to be incurred. Billings of
$2,536,000 were sent, and cash collected was $2,280,000.
In 2019, costs incurred were $2,536,000 with remaining costs
estimated to be $3,645,000. 2019 billings were $2,786,000, and
$2,505,000 cash was collected. The project was completed in 2020
after additional costs of $3,830,000 were incurred. The company’s
fiscal year-end is December 31. This project does not qualify for
revenue recognition over time.
Required:
1. Calculate the amount of revenue and gross
profit or loss to be recognized in each of the three years.
2a. Prepare journal entries for 2018 to record the
transactions described (credit "various accounts" for construction
costs incurred).
2b. Prepare journal entries for 2019 to record the
transactions described (credit "various accounts" for construction
costs incurred).
3a. Prepare a partial balance sheet to show the
presentation of the project as of December 31, 2018.
3b. Prepare a partial balance sheet to show the
presentation of the project as of December 31, 2019.
In: Accounting
Organization Structure and Design.
Let's tie this into our current COVID-19 crisis and situation. What do you think of the many actions (or inactions) being taken by our government (national, state, and local). What have you seen pertaining to actions and comments by managers across the country (businesses, organizations, etc.), both national and more local?
In: Operations Management
Contract types are often associated with two broad categories: fixed-price contracts and cost-reimbursable contracts. Briefly identify the factors to consider when determining which type is most appropriate for a planned contract.
In: Operations Management