The researcher has made a number of mistakes. Describe how they made each mistake listed below:
In: Statistics and Probability
In: Chemistry
Debate the supply v. demand debate of guns. Should there be an effort to limit the manufacturing of guns given the 97 million available? What is the students’ interpretation of the Second Amendment’s “right to bear arms” statement?
In: Psychology
Convert this code written in Python to Java:
students = int(input("How many students are in your class?" ))
while students<0:
print("Invalid # of students, try again.")
students = int(input("How many students are in your class?" ))
tests = int(input("How many tests in this class? "))
while tests<0:
print("Invalid # of tests, try again.")
tests = int(input("How many tests in this class? "))
print("Here we go!")
# Here we are creating a list called class_average to store average of all students.
class_average = []
for i in range(1, students+1):
# Here we are creating a list called student_marks to store the marks of the student.
student_marks = []
print("**** Student #",i, "****")
for j in range(1,tests+1):
marks = int(input("Enter score for test #{}: ".format(j)))
while marks<0:
print("Invalid score, try again")
marks = int(input("Enter score for test #{}: ".format(j)))
# If marks is valid then we are adding it to student_marks list.
student_marks.append(marks)
# Here we are finding average of student marks and storing in student_average variable.
student_average = sum(student_marks) / len(student_marks)
# Here we are rounding of average to get perfect decimal
rounded_average = round(student_average, 3)
print("Average score for student #", i, "is ", rounded_average)
# After finding student average, we are adding it to class_average list.
class_average.append(rounded_average)
# Here we are calculating whole class average and storing in variable whole_class_average
whole_class_average = sum(class_average) / len(class_average)
# Here we are rounding off result to get it prefect decimal
rounded_class_average = round(whole_class_average, 2)
print("Average score for all students is: ", rounded_class_average)
In: Computer Science
In: Accounting
Question 1) Identify the type of data that would be used to describe a response.
Time in Line to Buy Groceries
Question 2)
Identify the type of data that would be used to describe a response.
Most Watched Television Show
Question 3.
lege administrator wants to survey 250 students that attend her college to see if students are satisfied with the course offerings. Match the strategies to their corresponding sampling techniques.
Match the following with the correct sentence below
In: Statistics and Probability
Use excel and show both the numbers and the formulas so I can learn how to do it
If I want to invest $1200 a year for 20 years and then stop investing for 10 years, to pay for my slacker child to get a doctorate, how much will I need to invest a year in my final 10 years of work to get my $2,000,000 to make me really happy at 12% interest?
In: Finance
Peter lives for three periods. He is currently considering three alternative education-work options. He can start working immediately and earn $100,000 in period 1, $110,000 in period 2, and $90,000 in period 3. Alternatively, he can spend $50,000 to attend college in period 1 and then earn $180,000 in period 2 and 3. Finally, he can receive a doctorate degree in period 2 after completing his college education in period 1. This last option will cost him nothing in period 2 as his graduate school expenses on tuition and books will be covered by a research assistantship. After receiving his doctorate degree, he will become a professor in a business school and earn $400,000 in period 3.
Peter must make all college related expenses at the beginning of each period and he is paid at the end of every period.
a) Suppose that the market interest rate is given by 20 percent. What education path maximizes Peterís net present value of life time earnings?
b) What will be the optimal decision if the market interest rate is given by 0 percent?
In: Economics
Given an array of Student type and size 10, create a linked list of students by linking students with an odd index first and then linking students with an even index. Write a loop to print out the students in the linked list
#include<iostream>
#include<string>
#include<fstream>
using namespace std;
const int NUM = 10;
struct Student{
string fName;
string lName;
Student * next;
};
int main() {
Student stuArr[NUM];
ifstream myfile;
myfile.open("Test.txt");
for(int i = 0; i < NUM; i++)
{
myfile>>stuArr[i].fName;
myfile>>stuArr[i].lName;
stuArr[i].next = 0;
}
In: Computer Science
How can I make a PHP web app that will record student's names and grades?
Req.
In: Computer Science