Specifications
Sample Output (Your output should be similar to the text in the following box)
|
Welcome to my app EMPLOYEE DATA ENTRY Manager or Representative? (m/r): d Invalid selection. Continue? (y/n): y Manager or Representative? (m/r): m First Name: Frank Continue? (y/n): y Manager or Representative? (m/r): r First Name: John Continue? (y/n): n EMPLOYEE INFORMATION Thank you for using my app |
In: Computer Science
7.Name two advantages to a floating rate exchange regime.
8.Name two disadvantages to a floating rate exchange regime.
9.Name two advantages to a fixed rate exchange regime.
10.Name two disadvantages to a fixed rate exchange regime.
In: Economics
<root>
<students>
<element>
<ID>100345</ID>
<Nationality>USA</Nationality>
<Program>ICT</Program>
<age>23</age>
<name>John</name>
</element>
<element>
<ID>100876</ID>
<Nationality>MALAYSIA</Nationality>
<Program>CS</Program>
<age>28</age>
<name>Awang</name>
</element>
<element>
<ID>100257</ID>
<Nationality>AUSTRALIA</Nationality>
<age>25</age>
<name>Alex</name>
</element>
</students>
</root
Write an XQUERY to display the information for all students who are not Malaysians or older than 25.
In: Computer Science
Given the following 7 relations:
MIScompany (name, address, phone, email, FedTaxId, StaTaxId)
branch (branchId, name, address, phone, email, FedTaxId, StaTaxId)
employee (empId, driverId, ssno, name, branchId)
customer (custId, name, address, driverId, ssno, FedTaxId, StaTaxId)
equipment (equipId, name, type, upc, purchaseDate, year, manufacturId, cost, rentFee, branchId )
manufacturer (manufacturId, name, FedTaxId, StaTaxId, phone, email)
rental (rentalId, equipId, custId, rentDate&time, returnDate&time, empId)
1) Use relational algebra to list every manufacturer that only makes electric cleaning tool (type of equipment). The report should contain manufacturId and manufacturer name.
In: Computer Science
An MNE from Asia that focuses on agriculture – name and describe the company in one or two sentences.
An MNE from Africa that focuses on transportation – name and describe the company in one or two sentences.
An MNE from Central America that focuses on financial services – name and describe the company in one or two sentences.
An MNE from South America that focuses on energy – name and describe the company in one or two sentences.
An MNE from Europe that focuses on textiles or clothing – name and describe the company in one or two sentences.
An MNE from North America that focuses on raw materials – name and describe the company in one or two sentences.
An MNE from Oceania that focuses on manufacturing – name and describe the company in one or two sentences.
An MNE that does work in Antarctica – any kind of company – name and describe the company in one or two sentences
In: Economics
please debug this by fixing all the mistakes in C#:
// Creates a Breakfast class
// and instantiates an object
// Displays Breakfast special information
using System;
public class DebugSeven2
{
Breakfast special = new Breakfast("French toast",
4.99);
//Display the info about breakfast
Console.WriteLine(Breakfast.info);
// then display today's special
Console.WriteLine("Today we are having {0} for
{1}",
special.Name,
special.Price.ToString("C2"));
}
class Breakfast
{
// info is class field
public static string info =
"Breakfast is the most important
meal of the day.";
private string name;
private double price;
// Breakfast constructor requires a
// name, e.g "French toast", and a price
private Breakfast(string name, double price)
{
Name = Name;
price = price;
}
public string Name
{
get
{
return
Name;
}
set
{
value =
name;
}
}
public double Price
{
get
{
return
price;
}
setUp
{
price =
value;
}
}
}
In: Computer Science
In: Economics
Using Python.
A file exists on the disk named students.txt. The file contains
several records, and each record contains two fields: (1) the
student’s name, and (2) the student’s
score for the final exam. Write code that deletes the record
containing “John Perz”as the student name.
This the code i have so far but it's not working:
import os
def main():
found=False
search='John Perz'
student_file = open('student.txt','r')
temp_file = open('temp_students.txt','w')
name=student_file.readline()
score=''
while name !='':
score=student_file.readline()
name=name.rstrip('/n')
score=score.rstrip('/n')
if name !=search:
temp_file.write(name+'/n')
temp_file.write(score+'/n')
else:
found=True
name=student_file.readline()
student_file.close()
temp_file.close()
os.rename('temp.text','student.text')
if found:
print("The record was deleted")
else:
print("Record not found")
main()
In: Computer Science
The authors of a paper describe an experiment to evaluate the effect of using a cell phone on reaction time. Subjects were asked to perform a simulated driving task while talking on a cell phone. While performing this task, occasional red and green lights flashed on the computer screen. If a green light flashed, subjects were to continue driving, but if a red light flashed, subjects were to brake as quickly as possible. The reaction time (in msec) was recorded. The following summary statistics are based on a graph that appeared in the paper.
n = 49
x = 525
s = 70
(a)
Construct a 95% confidence interval for μ, the mean time to react to a red light while talking on a cell phone. (Round your answers to three decimal places.)
| ( , ) |
Interpret a 95% confidence interval for μ, the mean time to react to a red light while talking on a cell phone.
There is a 95% chance that the true difference in the mean time to react to a red light while talking on a cell phone is directly in the middle of these two values. There is a 95% chance that the true mean time to react to a red light while talking on a cell phone is directly in the middle of these two values. We are 95% confident that the mean time to react to a red light while talking on a cell phone is between these two values. We are 95% confident that the true mean time to react to a green light while talking on a cell phone is directly in the middle of these two values. We are 95% confident that the true mean time to react to a green light while talking on a cell phone is between these two values.
(b)
What assumption must be made in order to generalize this confidence interval to the population of all drivers?
The assumption that the subjects of the experiment formed a random sample from the population of drivers. The assumption that the subjects of the experiment formed the population of drivers. The assumption that the experiment captured the population of drivers. The assumption that the subjects of the experiment formed the population of distracted drivers. The assumption that the subjects of the experiment formed a random sample from the population of distracted drivers.
(c)
Suppose that the researchers wanted to estimate the mean reaction time to within 6 msec with 95% confidence. Using the sample standard deviation from the study described as a preliminary estimate of the standard deviation of reaction times, compute the required sample size. (Round your answer up to the nearest whole number.)
n =
You may need to use the appropriate table in Appendix A to answer this question.
In: Math
The trial balance of Palicio Security Services Inc. as of January 1, 2016 had following normal balances:

The following transactions took place during 2016 for Palicio Security Service
1. Paid the salaries payable from 2015.
2. On March 1, 2016, Palicio established a $100 petty cash fund to handles expenditures.
3. Paid $4,800 on May 1, 2016, for one year's lease on the company van in advance.
4. Paid $7,200 on May 2, 2016 for one year's office rent in advance.
5. Purchased $400 of supplies on account.
6. Purchased 100 alarm systems for $28,000 cash during the year.
7. Sold 102 alarm systems for $57,120. All sales were on account. (Compute cost of goods sold using the FIFO cost flow method)
8. Paid $2,100 on accounts payable during the year.
9. Replenished the petty cash fund on August 1. At this time, the petty cash had only $7 of currency left. It contained the following receipts: office supply expense $23, cutting grass $55, and miscellaneous $14.
10. Billed $52,000 of monitoring services for the year.
11. Paid installers and other employees a total of $25,000 cash for salaries
12. Collected $89,300 of accounts receivable during the year.
13. Paid $3,600 of advertising expense during the year.
14. Paid $2,500 of utilities expense for the year.
15. Paid a dividend of $10,000 to the shareholders.
HINTS: First record the Journal entries for each transaction listed above and then record the transactions on the Trial Balance worksheet. ALSO, set up an Excel Spreadsheet like the Trial Balance sheet shown on next page and use to record adjusting entries.
INSTRUCTIONS:
A. Prepare and record the Adjusting Journal Entries
B. Complete the trial balance worksheet LISTED on the PRIOR page for the month ended December 31, 200x for Palicio Security Service Company based on the transactions RECORDED IN THE JOURNAL ENTRIES LISTED ABOVE:
C. Prepare the trial balance as at Dec 31, 2016 for Palicio Security Services
D. Prepare the income statement for Palicio Security Services as of Dec 31, 2016
E. Prepare statement of changes in equity for Palicio Security Services as of Dec 31, 2016
F. Prepare the balance sheet for Palicio Security Services Inc. as of Dec 31, 2016
In: Accounting