| School Type | Cost | 30 Year ROI | Annual ROI | School Type | Cost | 30 Year ROI | Annual ROI | ||
| Private | $222,700.00 | $1,786,000.00 | 7.70% | Private | $221,700.00 | $2,412,000.00 | 8.70% | ||
| Private | $176,400.00 | $1,758,000.00 | 8.40% | Private | $213,000.00 | $2,064,000.00 | 8.30% | ||
| Private | $212,200.00 | $1,714,000.00 | 7.80% | Private | $230,100.00 | $1,949,000.00 | 7.90% | ||
| Public | $125,100.00 | $1,535,000.00 | 9.10% | Private | $222,600.00 | $1,947,000.00 | 8.00% | ||
| Private | $212,700.00 | $1,529,000.00 | 7.40% | Private | $225,800.00 | $1,938,000.00 | 8.00% | ||
| Public | $92,910.00 | $1,501,000.00 | 10.10% | Public | $87,660.00 | $1,937,000.00 | 11.20% | ||
| Private | $214,900.00 | $1,485,000.00 | 7.30% | Private | $224,900.00 | $1,915,000.00 | 7.90% | ||
| Private | $217,800.00 | $1,483,000.00 | 7.20% | Private | $221,600.00 | $1,878,000.00 | 7.90% | ||
| Private | $225,600.00 | $1,444,000.00 | 7.00% | Public | $125,100.00 | $1,854,000.00 | 9.80% | ||
| Private | $217,300.00 | $1,442,000.00 | 7.10% | Private | $215,700.00 | $1,794,000.00 | 7.90% | ||
| Private | $226,500.00 | $1,441,000.00 | 7.00% | Public | $92,530.00 | $1,761,000.00 | 10.60% | ||
| Private | $215,500.00 | $1,438,000.00 | 7.20% | Private | $217,800.00 | $1,752,000.00 | 7.70% | ||
| Private | $223,500.00 | $1,428,000.00 | 7.00% | Public | $89,700.00 | $1,727,000.00 | 10.70% | ||
| Private | $226,600.00 | $1,414,000.00 | 7.00% | Private | $229,600.00 | $1,716,000.00 | 7.50% | ||
| Private | $189,300.00 | $1,397,000.00 | 7.50% | Public | $101,500.00 | $1,703,000.00 | 10.20% | ||
| Public | $89,700.00 | $1,382,000.00 | 9.90% | Public | $115,500.00 | $1,694,000.00 | 9.70% | ||
| Public | $87,030.00 | $1,376,000.00 | 10.00% | Public | $104,500.00 | $1,690,000.00 | 10.10% | ||
| Private | $218,200.00 | $1,343,000.00 | 6.90% | Public | $69,980.00 | $1,685,000.00 | 11.50% | ||
| Private | $229,900.00 | $1,339,000.00 | 6.70% | Private | $219,400.00 | $1,676,000.00 | 7.60% | ||
| Private | $148,800.00 | $1,321,000.00 | 8.10% | Public | $64,930.00 | $1,668,000.00 | 11.70% |
In: Statistics and Probability
In: Economics
Develop a simple MIS (Management Information System) for High School Student that consists of a simple database (a text file). The system manages to dynamically input record/data into the database. The data from the database can be sorted, searched and updated. User also should be able to add new records/data, remove any data and etc.
Example of the user interface for a Students Management System.
Main Menu
Welcome to A* High School Students Management System.
Please select your choice:
Your choice: 4
Menu view students record
Your choice: 2
|
No. |
Name |
ID |
Address |
Phone No. |
D.O.B |
Class |
|
1 |
Arron Adam |
A00025 |
45, Star Garden, Tanjung Malim |
0159992341 |
30/04/1997 |
5 B |
|
2 |
Chung Yee Maa |
A01095 |
88, Taman Intan Berlian, Hulu Selangor |
0174563210 |
07/09/2001 |
1 A |
|
3. |
Dean Michael |
A00910 |
10, Taman Cahaya, Tanjung Malim |
0165643291 |
11/11/2001 |
1 C |
|
4 |
Saravanan Arumugan |
A00083 |
Lot 15, Pinggiran Sungai, Tanjung Malim |
0129878765 |
05/08/1997 |
4 A |
|
5. |
Zarina Zainal |
A00414 |
C2-4-12, Apartment Sky, Behrang |
0146662233 |
12/12/1999 |
3 F |
Guildline:
In: Computer Science
Learning Objective: Explain why different people are
motivated by different things.
Summary: The goal of this exercise is to give students practice
aligning individual and organizational goals, and thinking like a
manager in managing employee motivation. Imagine that you are the
management team of a new retail clothing store named Threads. Your
company’s business strategy is to provide high-quality customer
service and to provide high-quality products. You are not the
cheapest store in town, but you expect your employees to create a
service-oriented atmosphere that customers will be willing to pay a
little extra for. You recognize that your sales staff will be
essential to your store’s success, and you want to create a system
that motivates them to help create a competitive advantage for your
business. Because this is the first store you have opened, you have
the opportunity to decide how to best motivate your staff.
Market-competitive starting salaries have already been established,
but you have decided to allocate 10 percent of the stores’ profits
to use to motivate your sales staff in any way you see fit.
Question to be answer
What goals would you set for your sales staff? (750
words)
In: Accounting
| Distance from dump (miles) of cancer patient | ||
| 0.5 | ||
| 0.7 | ||
| 0.95 | ||
| 1.3 | ||
| 1.55 | ||
| 1.7 | ||
| 1.9 | ||
| 2.15 | ||
| 2.25 | ||
| 2.8 | ||
| 3.2 | ||
| 4.2 | ||
| 4.35 | ||
| 4.45 | ||
| 5.25 | ||
| 6.35 | ||
| 7.1 | ||
| 8.2 | ||
| 8.25 | ||
| 9.35 | ||
| 10.1 | ||
| 12.15 | ||
| 13.95 | ||
| 15.15 | ||
| 16.6 | ||
| 16.95 | ||
| 17.2 | ||
| 17.45 | ||
| 19.15 | ||
You suspect that townsfolk near Gloomsville are getting cancer because of a new toxic waste dump built in town. So, suspecting this is in the water, you look at cancer rates up to 20 miles downstream from the dump site. Is cancer evenly distributed along those 20 miles? The data to answer this question are in the table above.
I will have to solve this using Excel. Specifically what should I do? What functions could I use? For the question, I have to
1. A null and alternative hypothesis stated, as appropriate and for each hypothesis tested. may involve several hypothesis tests.
2. Choose the most appropriate test. Explain how you have met the assumptions of the test or why the test is robust to violations of the assumptions.
3. State explicitly what test(s) you are using.
4. If you fail to reject the null hypothesis, calculate the power of the test.
In: Statistics and Probability
Answer 2 of the following questions and relate your answer with other students’ answers: 1. If your incomes increases by 20 percent, how much would your quantity demanded change per month on average? Estimate your income elasticity and explain your answer. 2. What is the cross-elasticity of supply of one of the goods or services that your company provides? Why? How does your answer relate with another student answer? 3. Gridlock in Toronto already costs the region $6 billion a year, with average commute times of 80 minutes, among the highest in North America. By 2031, commute times will increase by 27 minutes. Civic leaders are looking at the options: road tolls, a regional gas tax, and parking levies. Source: Toronto Star, June 24, 2011 With road tolls, a regional gas tax, and parking levies would Toronto roads become less congested? If the new charges cut commute times, would the Toronto road system be more efficient? Explain your answers. 4. Explain a negative externality that you have experienced or that your town/region has experienced. How did you address it? What was the role of the government in it? And the role of private organizations?
In: Economics
C Programming Language:
For this lab, you are going to create two programs. The first program (named AsciiToBinary) will read data from an ASCII file and save the data to a new file in a binary format. The second program (named BinaryToAscii) will read data from a binary file and save the data to a new file in ASCII format.
Specifications:
Both programs will obtain the filenames to be read and written from command line parameters. For example:
- bash$ AsciiToBinary ascii_in binary_out
- bash$ BinaryToAscii binary_in ascii_out
The data contained in the ASCII file (both reading from and writing to) will be 10 floating point numbers, 10 lines of text, and 10 signed integers. There will be only one data item per line, and each line of text will contain no more than 40 characters (including '\n' and the NULL terminator).
The data contained in the binary file (both reading from and writing to) will be 10 floating point numbers (of type double), 400 characters, 10 signed integers. You may find it helpful to think of the 400 characters as 10 lines of 40 characters each. When writing the floating point values to the ASCII output file, write them to four decimal places.
Sample ASCII and binary format files are provided. The data in the two files correspond to each other. There will be no blank lines found in either file.
The specific method that you use to read and write the data is up to you. You may wish to read all the data from the input file before writing to the output file, or you may wish to write each data element as it is read.
Be sure to close both files (input and output) before exiting the program.
Testing:
Besides testing your code with your usual methods, you should also test your programs by reading an ASCII file, converting it to binary, then reading the binary file and converting it to ASCII. The new ASCII file should match exactly with the original ASCII file.
Sample Text File:
6738.2342
23011.6540
-54238.3462
47231.0000
4.7204
-563.6238
0.0024
7892245.5238
-64927864.6289
262.2018
The quick brown fox jumped
over the lazy dog.
To program or not to program...
Department of Computer Science
CS262 is an awesome class!
The C Programming Language
is superior to all other languages
including Latin, Old Norse, Beothuk,
and Sumerian!
6738
23011
-54238
47231
4
-563
528032
7892245
-64927864
262
In: Computer Science
Many prestigious universities have a system called a “Legacy Preference System” which is used to decide which applicants should be accepted to the university. If an applicant’s parent is an alumnus of the university, the applicant will be admitted with lower GPA and SAT scores than if the parent is not an alumnus. (There is currently a lot of discussion about the fairness of this system, but universities get a lot of money from their alumni so they are unwilling to change it!!)
Your assignment for MP2 is to implement a computerized system like this for a very small prestigious university. The university has two schools, Liberal Arts and Music, each with their own criteria for accepting students. Your program must read in certain information about an applicant and print a message saying whether the applicant should be accepted or not.
The criteria for acceptance are:
Liberal Arts
Music – no preferences for alumni here.
Your program must accept as input the school the student is applying to (L or M), their high school grade point average, their math SAT score, their verbal SAT score and whether or not either parent is an alumnus (Y or N). The program must process several applicants, echoing the data for each applicant and printing a message indicating if the student was accepted to the school they were applying to. If they were not accepted, the message should indicate why. This message only has to indicate one reason for failure in cases of multiple disqualifications. Acceptances are to be made in the order received so that if a school is full, a later applicant cannot be accepted even if they happen to have better qualifications than an earlier one. You do NOT have to check for bad data coming from the file – assume that it is in the required format and has appropriate values.
The data file is arranged with the information for each applicant on a separate line. Your program must process the data until the end of file is reached, at which time the program must print out the total number of applicants and the number of acceptances to each school. The data file should be created by you. Create the file and store it in the same project folder as your program. Please turn in a hard copy of this file along with your program and output.
SUGGESTION You should design, compile, run and debug your program in stages. You might start by testing if your program can just read and echo the data file. After this is working accurately move on to identifying the school the person is applying to, then continue to add more of the details. Remember to use good style with consistent indentation, plenty of comments, good variable names etc. and don't forget to echo the data as it is read. The output must be clear and readable with appropriate string constants and spacing. Here is an example of the input data file:
L 4.0 600 650 N
M 3.9 610 520 N
L 3.8 590 600 N
…
Sample output from the first few lines of the example data file
follows:
Acceptance to College by (your name)
Applicant #: 1
School = L GPA = 4.0 math = 600 verbal = 650 alumnus = N
Applying to Liberal Arts
Accepted to Liberal Arts!!!
*******************************
Applicant #: 2
School = M GPA = 3.9 math = 610 verbal = 520 alumnus = N
Applying to Music
Accepted to Music!!
*******************************
Applicant #: 3
School = L GPA = 3.8 math = 590 verbal = 600 alumnus = N
Applying to Liberal Arts
Rejected - SAT is too low
*******************************
…
There were xx applicants in the file
There were xx acceptances to Liberal Arts
There were xx acceptances to Music
Press any key to continue
Use the following input file for your program, notice there is exactly 14 applicants, make sure you display the counts at the end of your output as in the sample above.
mp2accept.txt
L 4.0 600 650 N
M 3.9 610 520 N
L 3.8 590 600 N
L 3.0 600 600 Y
L 3.4 600 600 N
L 3.0 500 490 Y
L 2.9 500 500 Y
M 3.5 500 490 Y
M 3.9 490 600 Y
L 3.5 700 500 N
L 3.1 600 400 Y
L 3.0 490 510 Y
L 4.0 800 800 Y
M 3.2 500 500 N
here is my solution;(i don't know where I am wrong, I couldn't open up the mp2accept file)
#include <iostream>
#include<fstream>
#include<string>
#include<iomanip>
using namespace std;
int main()
{
//prompt the user for input
int x;
ifstream inputFileX;
inputFileX.open("Cis161:\\assignment2\\mp2accept.txt");// this
fstream is to read the data from the file
getline(inputFileX, line);
string mp2accept,line;
if (inputFileX.good() == false) {
cout << "Unable to open the
file named " << mp2accept;
exit(1);
}
while (true) {
getline(inputFileX, line);
if (inputFileX.eof()) break;
FILE OUTPUT
cout <<
line << endl;
//prompt the user for input
char school; // character variable for school and
alumunus
bool LiberalArts = false, Music = true;
int Math, Verbal; // Integer variable for SAT
score
int SAT;
float GPA; // float variable for GPA
char Alumunus;// character variable for alumunus
// is the student accepted either LiberalArts or
Music school
const int LiberalArtslimit = 5; // limits for counting
accepted and total applicants
const int Musiclimit = 3;
int LiberalArtsNum, MusicNum;
filename = "mp2accept.txt"; //opening file
// conitinuing extracting data
until end of the file
if (LiberalArtsNum ==
LiberalArtslimit)// checking for availability of seats
{
cout <<
"Sorry there is no avaialble seats\n";
return 1;
}
// Checking for other requirements
includes GPA
if ((GPA < 3.0 &&
Alumunus == 'Y') || (GPA < 3.5 && Alumunus ==
'N'))
{
cout << "Rejected" <<
endl;// print a messsage 'GPA is too low for art school'
}
if ((Math + Verbal < 1000 && Alumunus ==
'Y') || (Math + Verbal < 1200 && Alumunus == 'N'))
{
cout <<
"Rejected" << endl; //print a message'SAT is too low for art
school'
}
else
{
cout <<
"Applicant is accepted to LiberalArts" << endl;
LiberalArtsNum++; //counter for accepted applicant in LiberalArt
school
}
}
// iF appliacnt applied to Music school, checking
requirements
if (MusicNum == Musiclimit)// checking for
availability of seats
{
cout << "Sorry there is no
avaialble seats\n";
return 1;
}
else if (Math < 500) {
cout << "Rejected" <<
endl;// print a message'Math score is too low for admsission'
}
else if (Verbal < 500) {
cout << "Rejected" <<
endl;// print a message'Verbal score is too low for
admsission'
}
else
{
cout << "Accepted to Music"
<< endl;
MusicNum++; // count applicants
accepted in Music school
}
cout <<
"*******************************\n";
//Print overall output
cout << "There were" <<applicant
count<< "Applicants in the file" << endl;
cout << "There were" << LiberalArtsNum
<< "Applicants accepted in LiberaLArts" << endl;
cout << "There were" << MusicNum <<
"Applicants accepted in Music School" << endl;
return 0;
In: Computer Science
a full page answer:
What is Keynes’ critique of his predecessors work (which he refers to as the “classical school”)?
In: Economics
What did the shift from marginal revolution economics to the macroeconomics paradigm entail? Particulary the Keynesian school of thought
In: Economics