1. Diluc is a 21-year-old man that is a student at UC Davis who rushes to the Student Health Center in the morning after a restless night of itching. When he is admitted and reports his symptoms to the physician, he explains that he has had intense localized itching on his arms for the past 24 hours and is unsure of the cause. The physician asks Diluc questions about his activities in the last 24 hours, and the physician takes note of the fact that Diluc engaged in unprotected sexual activities the day before. When examining the area that Diluc has been scratching, the physician notices some elevated serpentine lines. Diluc has repeatedly told the physician that the intense scratching occurred spontaneously and he has no history of eczema or other rash like infections.
2. Julie brings her five-year old daughter. When the nurse asked what brings them in, Julie replied saying her daughter's been having chills and fever for the past week. The doctor asked if she had any other signs/symptoms, Julie let them know her daughter had some unusual joint pains, fatigue, and vomiting. Julie also mentioned they had travelled to abroad 2-3 weeks ago during the kids summer break. Julie, her husband, and daughter went to Mexico for a week, but no one else in the family has any symptoms. They didn't get any shots before traveling out of the country or neither did they take any medicine with them when they went as well.
Instruction:
In: Nursing
Change in Accounting Principle - Retroactive Approach
In 2017, The UC Construction Company changed from the completed-contract method to the percentage-of-completion method of accounting for long-term construction contracts. The company continued to use the completed-contract method for tax purposes. The tax rate is 30 percent. The comparative income statements issued previously (using the completed-contract method) showed the following:
|
2017 |
2016 |
2015 |
2014 |
|
|
Construction revenue |
$520,000 |
$480,000 |
$460,000 |
$350,000 |
|
Construction expenses |
410,000 |
390,000 |
300,000 |
200,000 |
|
Income before taxes |
110,000 |
90,000 |
160,000 |
150,000 |
|
Income tax expense |
33,000 |
27,000 |
48,000 |
45,000 |
|
Net income |
$77,000 |
$63,000 |
$112,000 |
$105,000 |
The comparative statements of retained earnings issued for the same years were:
|
2017 |
2016 |
2015 |
2014 |
|
|
Retained earnings, beg. |
$1,040,000 |
$1,007,000 |
$955,000 |
$900,000 |
|
Net income |
77,000 |
63,000 |
112,000 |
105,000 |
|
Dividends |
(35,000) |
(30,000) |
(60,000) |
(50,000) |
|
Retained earnings, end |
$1,082,000 |
$1,040,000 |
$1,007,000 |
$955,0000 |
For years before 2014, pretax income using the completed-contract method was $350,000. Pretax income computed for the percentage-of-completion and completed-contract methods are as follows:
|
Percentage |
||||
|
Of |
Completed |
Cumulative |
||
|
Completion |
Contract |
Difference |
Difference |
|
|
Before 2014 |
$500,000 |
$350,000 |
$150,000 |
$150,000 |
|
2014 |
200,000 |
150,000 |
50,000 |
200,000 |
|
2015 |
150,000 |
160,000 |
(10,000) |
190,000 |
|
2016 |
100,000 |
90,000 |
10,000 |
200,000 |
|
2017 |
110,000 |
100,000 |
10,000 |
210,000 |
Prepare comparative statements of retained earnings for the four years, assuming UC Construction changed its method of construction accounting from the completed-contract method to the percentage-of-completion method in 2017.
In: Accounting
Suppose we want to study the average number of citations of research papers published by all faculty members. Towards that, we choose 10 departments at random and note down the total number of citations of research papers published by all faculty members in these departments. This is an example of a
| I. |
simple random sampling. |
|
| II. |
stratified sampling. |
|
| III. |
convenience or biased sampling. |
|
| IV. |
systematic sampling. |
|
| V. |
cluster sampling. |
Suppose an urn contains 6 red balls and 5 black balls. Two balls are drawn at random one by one without replacement. Find the probability that exactly one red ball and exactly one black ball will be selected (up to four decimal places).
Hint: Find P(BR or RB).
It has been documented that the placebo effect works on dogs, too. In one study that looked at dogs with arthritis, researchers randomly assigned half of the dogs to receive a placebo pill, and the other half were assigned a pill with active ingredients for treating arthritis. The study was double-blind, in that neither the veterinarian nor the owner (nor the dog) knew which treatment was being used for each of the subjects. What did the researchers do to control for lurking variables?
| I. |
(a) They had a control group. |
|
| II. |
(b) They used double-blinding. |
|
| III. |
(c) They randomly assigned dogs to their treatment groups. |
|
| IV. |
(a) and (b) |
|
| V. |
(a), (b), and (c) |
The five-number summary of credit hours for 24 students in a statistics class is:
Min=6.0
Q1=15.0
Median=16.5
Q3=18.0
Max=22.0
Which statement is true?
| I. |
There are both low and high outliers in the data. |
|
| II. |
There are no outliers in the data. |
|
| III. |
None of the above. |
|
| IV. |
There is at least one high outlier in the data. |
|
| V. |
There is at least one low outlier in the data. |
Determine if the following statement is true or false. Let A and B be two mutually exclusive events with P(A)=0.6 and P(B)=0.75.
n which of the following cases, the use of a Stem and Leaf Plot is not a good choice as a graph?
| I. |
A basketball coach who wants to visualize the data of the 15 players on his team. |
|
| II. |
An elementary school teacher wants to visualize the data of how her 20 students did on a test. |
|
| III. |
A researcher wants to visualize the results of the growth of her 13 plants. |
|
| IV. |
A golf player wants to visualize his past 10 scores. |
|
| V. |
A professor wants to visualize the data of the scores of her 200 students on a test. |
In: Statistics and Probability
Also, included in the week 1 discussion-Watch the video (link below) and answer the following questions. Please make sure to to include a citation/reference page. If not included, points will be deducted. NO EXCEPTIONS.
https://www.youtube.com/watch?v=3fqzVYbHanI
1. What is a common misconception of aging that you believed?
2. . What is a cultural myth about aging (either in your culture or a culture of interest to you)?
3. What is the difference between a SNF and ALF?
4. List 2 risk factors for falling.
5. List 2 key points that you learned from the video.
In: Nursing
INPUT FILE INTO ARRAY. CHECKING FOR COMMAS AND SUCH. HOW TO DO?
void readFile(Candidate candidates[]) – reads the elections.txt file, fills the candidates[] array. Hint: use substr() and find() functions. Set Score to 0.
void List(Candidate candidates[]) – prints the array of Candidate
structs. One candidate per one line, include all fields. Use setw()
to display nice looking list.
void displayCandidate(Candidate candidates[]) – prints the complete
information about the candidate
.
Candidate First(Candidate candidates[]) – returns single struct
element: candidate with highest score
Candidate Last(Candidate candidates[]) – returns single struct
element: candidate with lowest score
void Votes(Candidate candidates[]) – function sorts the
candidates[] array by number of votes, the order in candidates[]
array is replaced
void Scores(Candidate candidates[]) – calculates the percentage
score for each candidate. Use the following formula:
??????=(CandidateVotes)/(sum of votes)*100%
Correct line for the reference: F=John,L=Smith,V=3342
The line errors that your program needs to detect, are as follows:
incorrect token / separator, example in line 5: F=Steven,L=JohnV=4429 --- (comma missing) – lines with this error need to be ignored
space in token, example in line 3: F=Hillary,X=Clinton, V=1622 --- lines with this error need to be read, error fixed, data included in your dataset
empty line, example in line 6 – empty lines need to be ignored
Example Textfile
F=Michael,L=John,V=3342
F=Danny,L=Red,V=2003
F=Hillary,L=Clinton, V=1588
F=Albert,L=Lee,V=5332
F=Steven,L=JohnV=4429
*IMPORTANT* How would I do the readFile function? It says to check if the commas are present, and that the program will correct the line if there is white spaces. How do i use the find() function? Please be DETAILED in explanations of each part of code. Beginner Coder. *IMPORTANT*
Code Skeleton We HAVE to follow:
#include
#include
#include
#include
#include
using namespace std;
struct Candidate {
string Fname;
string Lname;
int votes;
double Score;
};
const int MAX_SIZE = 100;
void readFile(Candidate[]);
void List(Candidate[]);
void Votes(Candidate[]);
void displayCandidate(Candidate);
Candidate First(Candidate[]);
Candidate Last(Candidate[]);
void Scores(Candidate[]);
int main() {
}
void readFile(Candidate candidates[]) {
string line;
ifstream infile;
infile.open("elections.txt");
while (!infile.eof()) {
getline(infile,line);
// your code here
}
infile.close();
}
void List(Candidate candidates[]) {
}
void Votes(Candidate candidates[]) {
}
void displayCandidate(Candidate candidates) {
}
Candidate First(Candidate candidates[]) {
}
Candidate Last(Candidate candidates[]) {
}
void Scores(Candidate candidates[]) {
}
TO ANUNAGA: I don't know what you want, this is the code we HAVE TO go by and code by and figure out. I can't give you anymore information. Please, either help me solve this or just don't.
In: Computer Science
INPUT FILE INTO ARRAY. CHECKING FOR COMMAS AND SUCH. PLEASE READ CAREFULLY.
alot of people give me either partial answers, or incorrect skeleton. PLEASE YOU CAN'T CHANGE WHAT IS THERE, YOU CAN ONLY ADD.
void readFile(Candidate candidates[]) – reads the elections.txt file, fills the candidates[] array. Hint: use substr() and find() functions. Set Score to 0.
void List(Candidate candidates[]) – prints the array of Candidate
structs. One candidate per one line, include all fields. Use setw()
to display nice looking list.
void displayCandidate(Candidate candidates[]) – prints the complete
information about the candidate
.
Candidate First(Candidate candidates[]) – returns single struct
element: candidate with highest score
Candidate Last(Candidate candidates[]) – returns single struct
element: candidate with lowest score
void Votes(Candidate candidates[]) – function sorts the
candidates[] array by number of votes, the order in candidates[]
array is replaced
void Scores(Candidate candidates[]) – calculates the percentage
score for each candidate. Use the following formula:
??????=(CandidateVotes)/(sum of votes)*100%
Correct line for the reference: F=John,L=Smith,V=3342
The line errors that your program needs to detect, are as follows:
incorrect token / separator, example in line 5: F=Steven,L=JohnV=4429 --- (comma missing) – lines with this error need to be ignored
space in token, example in line 3: F=Hillary,X=Clinton, V=1622 --- lines with this error need to be read, error fixed, data included in your dataset
empty line, example in line 6 – empty lines need to be ignored
Example Textfile
F=Michael,L=John,V=3342
F=Danny,L=Red,V=2003
F=Hillary,L=Clinton, V=1588
F=Albert,L=Lee,V=5332
F=Steven,L=JohnV=4429
*IMPORTANT* Please be DETAILED in explanations of each part of code. Beginner Coder. *IMPORTANT*
Code Skeleton We ***HAVE*** to follow. How Would i go about using this skeleton? YOU CANNOT CHANGE FUNCTIONS OF VARIABLES, ***BUT YOU MAY ADD TO IT***. THE CODE MUST HAVE WHAT IS LISTED IN THE SKELETON CODE:
#include <iostream>
#include <iomanip>
#include <stdlib.h>
#include <fstream>
#include <string>
using namespace std;
struct Candidate {
string Fname;
string Lname;
int votes;
double Score;
};
const int MAX_SIZE = 100;
void readFile(Candidate[]);
void List(Candidate[]);
void Votes(Candidate[]);
void displayCandidate(Candidate);
Candidate First(Candidate[]);
Candidate Last(Candidate[]);
void Scores(Candidate[]);
int main() {
}
void readFile(Candidate candidates[]) {
string line;
ifstream infile;
infile.open("elections.txt");
while (!infile.eof()) {
getline(infile,line);
// your code here
}
infile.close();
}
void List(Candidate candidates[]) {
}
void Votes(Candidate candidates[]) {
}
void displayCandidate(Candidate candidates) {
}
Candidate First(Candidate candidates[]) {
}
Candidate Last(Candidate candidates[]) {
}
void Scores(Candidate candidates[]) {
}
In: Computer Science
INPUT FILE INTO ARRAY. CHECKING FOR COMMAS AND SUCH. HOW TO DO?
void readFile(Candidate candidates[]) – reads the elections.txt file, fills the candidates[] array. Hint: use substr() and find() functions. Set Score to 0.
void List(Candidate candidates[]) – prints the array of Candidate
structs. One candidate per one line, include all fields. Use setw()
to display nice looking list.
void displayCandidate(Candidate candidates[]) – prints the complete
information about the candidate
.
Candidate First(Candidate candidates[]) – returns single struct
element: candidate with highest score
Candidate Last(Candidate candidates[]) – returns single struct
element: candidate with lowest score
void Votes(Candidate candidates[]) – function sorts the
candidates[] array by number of votes, the order in candidates[]
array is replaced
void Scores(Candidate candidates[]) – calculates the percentage
score for each candidate. Use the following formula:
??????=(CandidateVotes)/(sum of votes)*100%
Correct line for the reference: F=John,L=Smith,V=3342
The line errors that your program needs to detect, are as follows:
incorrect token / separator, example in line 5: F=Steven,L=JohnV=4429 --- (comma missing) – lines with this error need to be ignored
space in token, example in line 3: F=Hillary,X=Clinton, V=1622 --- lines with this error need to be read, error fixed, data included in your dataset
empty line, example in line 6 – empty lines need to be ignored
Example Textfile
F=Michael,L=John,V=3342
F=Danny,L=Red,V=2003
F=Hillary,L=Clinton, V=1588
F=Albert,L=Lee,V=5332
F=Steven,L=JohnV=4429
*IMPORTANT* How would I do the readFile function? It says to check if the commas are present, and that the program will correct the line if there is white spaces. How do i use the find() function? Please be DETAILED in explanations of each part of code. Beginner Coder. *IMPORTANT*
Code Skeleton We HAVE to follow. How Would i go about using this skeleton? YOU CANNOT CHANGE FUNCTIONS OF VARIABLES, BUT YOU MAY ADD TO IT. THE CODE MUST HAVE WHAT IS LISTED IN THE SKELETON CODE:
#include <iostream>
#include <iomanip>
#include <stdlib.h>
#include <fstream>
#include <string>
using namespace std;
struct Candidate {
string Fname;
string Lname;
int votes;
double Score;
};
const int MAX_SIZE = 100;
void readFile(Candidate[]);
void List(Candidate[]);
void Votes(Candidate[]);
void displayCandidate(Candidate);
Candidate First(Candidate[]);
Candidate Last(Candidate[]);
void Scores(Candidate[]);
int main() {
}
void readFile(Candidate candidates[]) {
string line;
ifstream infile;
infile.open("elections.txt");
while (!infile.eof()) {
getline(infile,line);
// your code here
}
infile.close();
}
void List(Candidate candidates[]) {
}
void Votes(Candidate candidates[]) {
}
void displayCandidate(Candidate candidates) {
}
Candidate First(Candidate candidates[]) {
}
Candidate Last(Candidate candidates[]) {
}
void Scores(Candidate candidates[]) {
}
Also, how do i make verticle columbs for the display?
In: Computer Science
In: Computer Science
For these problems, carry at least four digits after the decimal
in your calculations. Answers may vary slightly due to
rounding.
Santa Fe black-on-white is a type of pottery commonly found at
archaeological excavations at a certain monument. At one excavation
site a sample of 608 potsherds was found, of which 354 were
identified as Santa Fe black-on-white.
(a) Let p represent the proportion of Santa Fe black-on-white potsherds at the excavation site. Find a point estimate for p. (Round your answer to four decimal places.)
.5822
(b) Find a 95% confidence interval for p. (Round your answers to three decimal places.)
lower limit:
upper limit:
A random sample of 5913 physicians in Colorado showed that 3008 provided at least some charity care (i.e., treated poor people at no cost).
(a) Let p represent the proportion of all Colorado physicians who provide some charity care. Find a point estimate for p. (Round your answer to four decimal places.)
.5087
(b) Find a 99% confidence interval for p. (Round your answers to three decimal places.)
lower limit:
upper limit:
Case studies showed that out of 10,307 convicts who escaped from certain prisons, only 7770 were recaptured.
(a) Let p represent the proportion of all escaped convicts who will eventually be recaptured. Find a point estimate for p. (Round your answer to four decimal places.)
.7539
(b) Find a 99% confidence interval for p. (Round your answers to three decimal places.)
lower limit:
upper limit:
In: Statistics and Probability
List three viral diseases that could manifest these symptoms. (5 pts)
During your examination of the patient, you notice Koplik spots in the back of the mouth. What is your diagnosis of this patient? What clinical signs led you to this diagnosis? What would you confirm your diagnosis? (10 pts)
In: Biology