In: Computer Science
Matthias Corp. had the following foreign currency transactions during 2017: Purchased merchandise from a foreign supplier on January 20 for the U.S. dollar equivalent of $59,300 and paid the invoice on April 20 at the U.S. dollar equivalent of $51,200. On September 1, borrowed the U.S. dollar equivalent of $308,000 evidenced by a note that is payable in the lender's local currency in one year. On December 31, the U.S. dollar equivalent of the principal amount was $321,000. In Matthias's 2017 income statement, what amount should be included as a net foreign exchange gain or loss?
In: Accounting
What is the pH change when adding 0.15 moles of HCl to a 1 L buffer containing 1.0 M acetic acid and 1 M sodium acetate?
A`) decreased by 0.13 units
B) increse by 0.13 Units
C) increase by 0.15 units
D) decrese by 0.15 Units
E) no change
In: Chemistry
UPDATE: Whole Code
How do I fix this Bold part "!= Null" ? its showing me Error? please Help
#include<iostream>
#include<string>
#include<string.h>
#include<fstream>
#include<stdlib.h>
#include<sstream>
using namespace std;
int main(){
string list[1000];
cout << "! Opening data file... ./Data.CS.SFSU.txt\n";
ifstream fin("Data.CS.SFSU.txt");
if(fin.fail()){
cout << "Error opening file\n";
return 0;
}
cout << "! Loading data...\n";
int count = 0;
while(getline(fin,list[count])!=NULL){
//cout << "--------------------\n";
count++;
}
cout << "! Loading completed...\n";
fin.close();
cout << "! Closing data file... ./Data.CS.SFSU1.txt\n";
cout << "-----DICTIONARY 340 C++-----\n";
while(true){
cout << "Search:";
string line;
getline(cin,line);
cout << "|" << endl;
stringstream ss(line);
string word1, word2, word3;
ss >> word1 >> word2;
if (ss >> word3 || (word2 != "noun" && word2 !=
"adjective" && word2 != "verb")){
cout << "Please enter a search key (and a part of
speech)\n";
}
else {
for (int i = 0; i<word1.length(); i++){
word1[i] = tolower(word1[i]);
}
int found = 0;
cout << count << endl;
for (int i = 0; i< count; i++){
char line2[200];
strcpy(line2, list[i].c_str());
char *ch = strtok(line2,"|");
//cout << ch << endl;
while (ch != NULL){
//cout << ch << endl;
//cout << ch1 << " " << endl;
if (strcmp(ch,(char *)word1.c_str()) == 0){
ch = strtok(NULL,"|");
char line[100];
strcpy(line, ch);
char *ch1 = strtok(line," ");
//cout << line << endl;
if (strcmp(ch1,word2.c_str()) == 0){
ch1 = strtok(NULL," ");
ch1 = strtok(NULL," ");
string s ="";
while (ch1 != NULL){
s = s + ch1 + " ";
ch1 = strtok(NULL," ");
}
cout << word1 << "[" << word2 << "] :"
<< s << endl;
found = 1;
break;
}
}
ch = strtok(NULL,"|");
}
if (found == 1)
break;
}
if (found == 0)
cout << "Not found\n";
}
cout << "|" << endl;
}
return 0;
}
In: Computer Science
What is competition like in the printer/copier hardware
industry? What is the competitive strength of buyers and suppliers?
How strong are the threats of substitute products and new entrants
to the industry? How strong is rivalry among competing firms?
Explain.
Select “true” for those statements that are accurate and choose
“false” for those that are not.
In: Operations Management
| Discuss how the following affect Assets, Income, Liabilities, Common Stock and Retained Earnings on the end of 2019 financial statements (Increase by $x, Decreases by $x, or No Effect): |
| 1. In June 2019, $1000 of gift cards were sold. At the end of the year 2019, $200 has not been redeemed. |
| 2. On November 1st 2019, John paid $300 for a 12 month insurance policy, with it beginning on the same day, and he showed all of it as an expense. |
| 3. The water bill for November 2019 was $100 |
| 4. On December 1st 2019, a consulting contract was signed for work in 2020, with the work starting in January 2020, and gets paid $10000 March 1st 2020. |
| 5. A company pays employees on the first day of the month. This is for working the previous month. December 2019's salaries will be paid on Jan. 1st 2020 is $1200 |
In: Accounting
In: Computer Science
1.
Which of the following describes the element
Cs.
Choose all that apply.
a.consists of diatomic molecules in elemental form
b.is found in nature only combined with other elements
c.reacts vigorously with alkali metals to form salts
d. is very reactive as a metal
e.forms a basic solution in water
f. is one of the group of the least reactive elements
2. Using only the periodic table arrange the
following elements in order of increasing atomic
radius:
boron, fluorine, oxygen, lithium
| Smallest____ | |
| ______ | |
| ______ | |
| Largest_____ |
3. Using only the periodic table arrange the
following elements in order of increasing atomic
radius:
nitrogen, antimony, arsenic, bismuth
| Smallest_____ | |
| ________ | |
| ________ | |
| Largest_____ |
| Please answer this question
according to the general rules you have learned regarding periodic
trends. DO NOT base your answer on tabulated values since exceptions may occur. |
| Please answer this question
according to the general rules you have learned regarding periodic
trends. DO NOT base your answer on tabulated values since exceptions may occur. |
In: Chemistry
Write a response post in your own words .
In light of the COVID-19 outbreak, I have chosen to focus on a Meaning-Focused Coping approach. I have used this approach to focus on the learning that comes along with the pandemic, discovering why and how it happened, why it has affected so many and how it has spread, what is and could be done to combat it and I am also applying my current knowledge in public health to try to see all sides of it. I have also used this time to realize what is really important in my life and have been able to do some self-growth as well which will help me come out stronger on the other side.
To me, resilience is based off of first and foremost the actions of one's self. The decisions that a person makes to deal with a situation make or break their resilience in the future. I have chosen to provide resilience for myself during this time by focusing on staying calm, following the realistic and scientific information without drawing false conclusions, making a new plan for how I will finish the semester strong online remembering to practice self-care while at home.
One specific action that I am taking to prevent the spread of COVID-19 in my community is that I am taking the 14 day home quarantine seriously, since I traveled outside of Alaska for the first week of Spring Break, I have stayed at home and have not come in contact with anyone else. This is very important to be able to flatten the curve of people being infected everyday.
In: Psychology
A 1.458-g sample of a solid, weak, monoprotic acid is used to make 100.0 mL of solution. 40.0 mL of this solution was titrated with 0.07942-M NaOH. The pH after the addition of 16.55 mL of base was 2.94, and the equivalence point was reached with the addition of 46.63 mL of base.
a) How many millimoles of acid are in the original solid sample? Hint: Don't forget the dilution.
b) What is the molar mass of the acid?
c) What is the pKa of the acid?
In: Chemistry
"Discuss whether free market is necessarily efficient.
Give some examples to illustrate the
limitations of government interventions in restoring the market
efficiency. Some economists advocate market-based solutions,
discuss its merits over command-and-control policies."
Please give 3~4 practical examples with your own word and apply
micro-economic theories and concepts to these examples.
In: Economics
A study was perform in the Albuquerque, New Mexico metropolitan area to evaluate the diagnostic accuracy of Prostate Specific Antigen (PSA) testing as a screening tool for detecting prostate cancer in community practice. Subjects were 2,620 men 40 years and older undergoing (PSA) testing and prostate biopsy. A total of 1,932 men tested positive with the initial PSA testing and among them cancer was detected in 800 subjects with a subsequent prostate biopsy. In addition, 130 cases of prostate cancer were detected among men who screened negative with the initial PSA test.
a) Using the information above, create a 2x2 table to assess the accuracy of the test.
b) Calculate and interpret the sensitivity of the PSA test.
c) What will be the specificity of this screening test? Calculate and interpret.
d) Calculate and interpret the predictive value positive of the PSA test.
e) Calculate and interpret the predictive value negative of the PSA test
In: Math
QUESTION 1
"Select and Teach Functional Target Behaviors" is a specific strategy to promote generalization and maintenance. In this strategy, it is important to select replacement skills and behaviors with strong functional utility. The selected skills and behaviors should
| a. |
promote independence. |
|
| b. |
be effective in multiple settings, and be reinforced by others in the natural environment and across environments. |
|
| c. |
be immediately useful to the student, and maximize participation in least restrictive environments. |
|
| d. |
All of the other answers are correct. |
5 points
QUESTION 2
A prevention strategy can involve how instructions are presented to students. Which is the best example of the correct use of this strategy?
| a. |
"OK, you all know what to do, so get to it." |
|
| b. |
"Get your book and read Chapter 5." |
|
| c. |
"Who is ready to read the science chapter?" |
|
| d. |
All of the other answers are correct. |
5 points
QUESTION 3
A prevention strategy can involve how transitions and leisure times are managed for students. Which is the best example of the correct use of this strategy?
| a. |
Have materials or activities available during leisure times. |
|
| b. |
Signal transition beginning and end. |
|
| c. |
Assign buddies or partners during transition. |
|
| d. |
All of the other answers are correct. |
6 points
QUESTION 4
Maintenance is achieved when the student:
| a. |
continues to emit appropriate behavior (and does not emit challenging behavior) over time after intervention has ended. |
|
| b. |
ceases to emit appropriate behavior (and does emit challenging behavior) over time after intervention has ended. |
|
| c. |
continues to escalate inappropriate behaviors over time after intervention has ended. |
|
| d. |
None of the other answers are correct. |
In: Psychology
(1) A 190-kg object and a 490-kg object are separated by 4.40
m.
(a) Find the magnitude of the net gravitational force exerted by
these objects on a 63.0-kg object placed midway between them.
[N]
(b) At what position (other than an infinitely remote one) can
the 63.0-kg object be placed so as to experience a net force of
zero from the other two objects? [m from the 490 kg mass toward the
190 kg mass ]
(2)
(a) What is the minimum speed, relative to the Sun, necessary
for a spacecraft to escape the solar system if it starts at the
Earth's orbit? [km/s]
(b) Voyager 1 achieved a maximum speed of 125,000 km/h on its
way to photograph Jupiter. Beyond what distance from the Sun is
this speed sufficient to escape the solar system? [m]
I really need help with these 2 questions! Just need a final answer, little explanation required but please include the numerical work so I can understand and also please follow the units in the [brackets]
In: Physics
Explain the rate-determining step, as discussed in General or Organic Chemistry
In: Chemistry