Please finish and balance the following reactions, then state the molecular, complete ionic, and net ionic equations for each:
1. Pb(NO3)2 + NH4OH --->
2. Pb(NO3)2 + H2SO4 --->
3. Pb(NO3)2 + HCl --->
4. Pb(NO3)2 + SnCl4 --->
In: Chemistry
Question 1 (1 point)
4-3 (True/False) There are major differences between firewalls for wired ad wireless uses.
Question 1 options:
|
True |
|
|
False |
Question 2 (1 point)
4-14 Which of the following terms best describes the following diagram?
Question 2 options:
|
DMZ |
|
|
Intranet |
|
|
Public LAN |
|
|
Extranet |
Question 3 (1 point)
4-13 Which of the following is the BEST definition of dual-homed?
Question 3 options:
|
Can filter on two OSI layers |
|
|
Contains two NICs |
|
|
Performs filtering and logging |
|
|
Performs packet and content filtering |
Question 4 (1 point)
4-10 Which of the following is the name for a lower-end (small business grade) firewall appliance that is capable of packet filtering, content filtering, intrusion detection, proxy, and application layer filtering?
Question 4 options:
|
UTM |
|
|
All-in-one |
|
|
SMB device |
|
|
NGFW |
Question 5 (1 point)
4-11 Which of the following is most often used for protecting a single computer?
Question 5 options:
|
hardware firewall |
|
|
virtual firewall |
|
|
software firewall |
|
|
firewall appliance |
Question 6 (1 point)
4-7 Which of the following were generation one firewalls capable of?
Question 6 options:
|
Filtering by IP header |
|
|
Filtering by session layer header |
|
|
Filtering by data content |
|
|
Filtering by protocol being used |
Question 7 (1 point)
4-6 the earliest firewalls were only capable of which of the following kinds of filtering?
Question 7 options:
|
Application layer |
|
|
Stateless |
|
|
Stateful |
|
|
Circuit layer |
Question 8 (1 point)
4-1 Which of the following were firewalls originally conceived to perform?
Question 8 options:
|
Block incoming unsolicited traffic |
|
|
Block outgoing traffic |
|
|
Both of the above |
|
|
Neither of the above |
Question 9 (1 point)
4-8 Which of the following is the word describing a firewall that is aware of a packet's place in an established and ongoing conversations
Question 9 options:
|
Content filter |
|
|
Proxy |
|
|
Stateless |
|
|
Stateful |
Question 10 (1 point)
4-20 Which of the following refers to a software firewall places on a dedicated server to create an internal hardware firewall?
Question 10 options:
|
Firewall system |
|
|
Constructed firewall |
|
|
Spare part firewall (SPF) |
|
|
Virtual firewall |
In: Computer Science
1. Consider the following curve f(x)= X^3 - 5x^2 +7x-5 Find the coordinates of the minimum and the maximum.
2. The curve y= x^3 + ax^2 + bx + c has a relative max at x=-3 and a relative minimum at x= 1. Find the values of a and b.
3. Find the equation of the perpendicular line to the curve x^2 + 2xy - 2y^2 + x=2 at the point (-4,1)
4. Find the slant asymptote f(x)= (4x^2 - 2x +5 / 2x - 1)
In: Math
New tire retreading equipment, acquired at a cost of $110,000 at the beginning of a fiscal year, has an estimated useful life of four years and an estimated residual value of $7,500. The manager requested information regarding the effect of alternative methods on the amount of depreciation expense each year. On the basis of the data presented to the manager, the double-declining-balance method was selected.
In the first week of the fourth year, the equipment was sold for $18,000.
| Required: | |
| 1. | Determine the annual depreciation expense for each of the estimated four years of use, the accumulated depreciation at the end of each year, and the book value of the equipment at the end of each year by (a) the straight-line method and (b) the double declining- balance method. |
| 2. | On January 1, journalize the entry to record the sale. Refer to the Chart of Accounts for exact wording of account titles. |
| 3. | On January 1, journalize the entry to record the sale, assuming that the equipment sold for $10,500 instead of $18,000. Refer to the Chart of Accounts for exact wording of account titles. |
Determine the annual depreciation expense for each of the estimated four years of use, the accumulated depreciation at the end of each year, and the book value of the equipment at the end of each year by (a) the straight-line method and (b) the double declining- balance method.
a. Straight-line method
| Accumulated Depreciation, | |||
|---|---|---|---|
| Year | Depreciation Expense | End of Year | Book Value, End of Year |
| 1 | |||
| 2 | |||
| 3 | |||
| 4 | |||
b. Double-declining-balance method
| Accumulated Depreciation, | |||
|---|---|---|---|
| Year | Depreciation Expense | End of Year | Book Value, End of Year |
| 1 | |||
| 2 | |||
| 3 | |||
| 4 | |||
2. On January 1, journalize the entry to record the sale. Refer to the Chart of Accounts for exact wording of account titles.
PAGE 1
JOURNAL
| DATE | DESCRIPTION | POST. REF. | DEBIT | CREDIT | |
|---|---|---|---|---|---|
|
1 |
|||||
|
2 |
|||||
|
3 |
|||||
|
4 |
3. On January 1, journalize the entry to record the sale, assuming that the equipment sold for $10,500 instead of $18,000. Refer to the Chart of Accounts for exact wording of account titles.
PAGE 1
JOURNAL
| DATE | DESCRIPTION | POST. REF. | DEBIT | CREDIT | |
|---|---|---|---|---|---|
|
1 |
|||||
|
2 |
|||||
|
3 |
|||||
|
4 |
In: Accounting
Problem 1. A drug company tested three formulations of a pain relief medicine for migraine headache sufferers. For the experiment 27 volunteers were selected and 9 were randomly assigned to one of three drug formulations. The subjects were instructed to take the drug during their next migraine headache episode and to report their pain on a scale of 1 to 10 (10 being most pain).
Drug A 4 5 4 3 2 4 3 4 4
Drug B 6 8 4 5 4 6 5 8 6
Drug C 6 7 6 6 7 5 6 5 5
You can read in data into R by the following R code.
pain = c(4, 5, 4, 3, 2, 4, 3, 4, 4, 6, 8, 4, 5, 4, 6, 5, 8, 6, 6, 7, 6, 6, 7, 5, 6, 5, 5)
drug = c(rep("A",9), rep("B",9), rep("C",9))
migraine = data.frame(pain,drug)
a). Make a boxplot to have a visual check.
b). Compute SST, SSG. SSE directly by definition
c). Compute F value directly by definition
d). Find p-value directly by definition
e). Conduct ANOVA test by R function aov.
f). Make your conclusion.
Applied stats 2 r code questions
In: Statistics and Probability
Company was started on January 1, 2017. The following accounts are on the Balance Sheet Accounts: Cash, Accounts Receivable, Equipment, Accumulated Depreciation, Prepaid Expenses, Supplies, Accounts Payable, Notes Payable, Interest Payable, Wages Payable, Unearned Revenue, Common Stock, Additional Paid in Capital, and Retained Earnings.
The company report results as of the fiscal year ending December 31, 2017.
Following are fiscal 2017 transactions:
a. January 1: The company sold 12,000 shares of $0.50 par common stock for $6 per share.
b. January 1: Borrowed $80,000 from the local bank. The loan carries a 6% annual interest rate. Interest and principal are due in full on January 1, 2026.
c. January 1: Purchased equipment with cash to be used in the business for $60,000. The estimated life of the equipment is 4 years, and the expected salvage value is $8,000.
d. January 1: Purchased an 18-month insurance policy for $9,000 with cash. The policy begins immediately.
e. During 2017: Paid $8,000 cash for advertising in the local paper, $6,500 of which was for 2017 papers and $1,500 of which is for 2018 papers.
f. During 2017: The firm pays each month’s rent for the building space on the first of the month (i.e., the firm pays rent on January 1 for rent in January). The monthly rent is $1,350. The firm began renting the building in January and rented it through December 31.
g. During 2017: Purchased supplies (e.g., cleaning solutions, sponges) for $40,000 on credit.
h. During 2017: Paid suppliers $25,000 in cash relating to items purchased in transaction
i. During 2017: Performed and billed customers for 9,500 car washes at $20 per car wash.
j. During 2017: Collected $125,000 in cash from customers billed in transaction
k. During 2017: The firm pays employees on the first of each month for work performed the previous month (i.e., the firm pays employees on February 1 for work performed in January). The total monthly wages are $3,100. Employees began work on January 1 and worked through December 31.
l. November: Started a membership program that allowed customers to pay in advance for 10 car washes at a discounted price of $15 per car wash. A total of 250 customers signed up for this membership program.
m. December: Voted the “Best Car Wash” by a people’s poll in the city. Due to this, the Bubble Blasters Auto Spa had a one-page article in the city’s magazine. 10 Bubbles estimates an increase of $20,000 in sales in 2018 as a result of this good press.
n. December: Bubble Blasters granted bonuses to three employees based on their exceptional performance in 2017. The bonus amount is $1,000 per employee and will be paid on January 15, 2018.
o. December 31: The firm declared and paid a dividend of $0.10 per share.
p. December 31: The cost of car wash supplies remaining at year end totaled $7,500. The market value of the supplies is $12,000.
q. December 31: Records show that 500 “member” car washes (from the prepaid membership program in part l) were provided during 2017.
Instructions: Record the transactions in the FSET. The beginning balances in all the accounts are 0 because the company began operations on January 1, 2017. In good form, prepare the balance sheet at December 31, 2017, and the income statement, the statement of stockholders’ equity, and the statement of cash flows (direct method) for the period ending December 31, 2017.
In: Accounting
Consider the following program specification:
Input: An integer n > 0 and an array A[0..(n – 1)] of n integers.
Output: The largest index b such that A[b] is the largest value in A[0..(n – 1)].
For example, if n = 10 and A = [ 4, 8, 1, 3, 8, 5, 4, 7, 1, 2 ] (so A[0] = 4, A[1] = 8, etc.), then the program would return 4, since the largest value in A is 8 and the largest index at which 8 appears is index 4.
Consider the following implementation:
| indexOfMax(n, A) | ||||
| (1) | i ← 1 | |||
| (2) | m ← A[0] | |||
| (3) | b ← 0 | |||
| (4) | while i < n | |||
| (5) | if A[i] ≥ m then | |||
| (6) | m ← A[i] | |||
| (7) | b ← i | |||
| (8) | end | |||
| (9) | i ← i + 1 | |||
| (10) | end | |||
| (11) | return b | |||
In the implementation above, line numbers are given so you can refer to specific lines in your answers and ← is used to indicate assignment.
Part a (18 points)
Use induction to establish the following loop invariant right before the while test in line (4) is executed:
Hints and tips:
Part b (7 points)
Prove the correctness of the implementation by arguing
In: Computer Science
Table 3:
|
Total |
Disease |
Disease |
Risk of |
Odds of |
|
|
Present |
Absent |
Disease |
Disease |
||
|
Exposed |
1,500 |
1350 |
150 |
0.9000 |
9.0000 |
|
Unexposed |
28,500 |
8550 |
19,950 |
0.3000 |
0.4286 |
|
Total |
30,000 |
9900 |
20,100 |
0.3300 |
0.4925 |
|
Risk Ratio =3.00 |
Odds ratio =21.00 |
||||
|
Population Attributable Risk (PAR) use formula for cohort =3% |
|||||
Provide an answer for all of the shaded cells. Randomly sample 50% of cases from cohort study C and place them in the cells of Table 4 below. If the sample of cases (or controls) is random it will maintain the same ratio of exposed to unexposed among cases and non-cases that is present in cohort C. Next, determine how many controls will be required in table 4 in order to have 1 control for each case. There are two ways to sample the required number of controls from cohort C. First sample “controls 1” from all persons who entered the cohort (column 2 of Table 3), prior to knowledge of disease status. Then, sample “controls 2” from all persons who did not develop the disease during follow-up (Column 4 of Table 3). Although, it’s not realistic, retain two decimal places in the numbers of controls. As your samples of controls must also be random, they should also maintain the same ratio of exposed to unexposed that is present among potential controls in Cohort C. (Hint: When you are selecting your controls, the key wording in the question is "if the sample of cases (or controls) is random it will maintain the same ratio of exposed to unexposed among the cases and non-cases that is present in cohort C". This gives you the information to create the ratios required to sample your controls for both "Control 1" and "Control 2". When you are sampling those groups, make sure you maintain the same ratio of exposed and unexposed in your final Table 4 as what you observe in Table 3 for the column you are sampling from. )
Table 4:
|
Cases |
Control 1 |
Control 2 |
|
|
Exposed |
|||
|
Unexposed |
|||
|
Total |
|||
|
CC Study 1: OR 1 (Control 1) = |
|||
|
CC Study 2: OR 2 (Control 2) = |
|||
|
Study 1: Population Attributable Risk (PAR) using ca/co formula = |
|||
|
Study 2: Population Attributable Risk (PAR), Using ca/co formula = |
|||
In: Biology
\int \frac{x^6+5x^4+4x-3}{\left(x^2+3x+5\right)\left(x^2+7x+12\right)}dx
In: Advanced Math
Consider the project described in the below Excel
a. Use Excel to find the critical path and the project duration using normal activity times.
b. What is the shortest duration the project can be crashed down to?
c. If you were to crash the project manually and your goal is to minimize crashing cost, which activity would you start with?
d. Find the cheapest way to crash the project to 33 weeks. What are the critical activities in the crashed network, and the cost of crashing?
| Activity | Predecessor | Normal time (months) | Crashed time (months) | Normal Cost ($) | Crashed Cost ($) |
| 1 | -- | 8 | 5 | 700 | 1,200 |
| 2 | -- | 10 | 9 | 1,600 | 2,000 |
| 3 | -- | 9 | 7 | 900 | 1,500 |
| 4 | 1 | 4 | 2 | 500 | 700 |
| 5 | 1 | 6 | 3 | 500 | 900 |
| 6 | 2 | 5 | 4 | 500 | 800 |
| 7 | 3 | 7 | 5 | 700 | 1,000 |
| 8 | 3,5,6 | 15 | 12 | 1,400 | 2,000 |
| 9 | 3,5,6 | 12 | 10 | 1,800 | 2,300 |
| 10 | 4 | 18 | 14 | 1,400 | 3,200 |
| 11 | 7,9 | 4 | 3 | 500 | 800 |
| 12 | 12 | 7 | 6 | 800 | 1,400 |
In: Operations Management