In: Computer Science
Compare the characteristics of personality theory below: a. Freudian theory b. Neo-Freudian Theory c. Theory Traits Illustrate how each theory is applied to understanding consumer behavior?
In: Economics
Create original emails and memos in proper business format and
etiquette. Create two emails and one memo. Each one is worth 20
points.
Research companies that you are interested in and imagine that you
hold a position in that company.
Write one email to a colleague asking for help with a
project.
Write one email to your boss asking to be included in future
projects which may be a bit beyond the reach of your
experience.
Write a memo from Human Resources announcing a new policy or event,
or write a memo that informs your colleagues of a study or project
that you have become involved in.
In: Operations Management
6. Consider the initial value problem dy/ dt = t ^2 y , y(1) = 1 .
(a) Use Euler’s method (by hand) to approximate the solution y(t) at t = 2 using ∆t = 1, ∆t = 1/2 and ∆t = 1/4 (use a calculator to approximate the answer for the smallest ∆t). Report your results in a table listing ∆t in one column, and the corresponding approximation of y(2) in the other.
(b) The direction field of dy/dt = t ^2y is shown at right. In this figure, add a sketch of ◦ the exact solution y(t) to the given initial value problem, for t ∈ [1, 2] ◦ the numerical approximation using Euler’s method that you found above (indicate the solution obtained at each step, and a line showing how it is obtained)
In: Advanced Math
Consider a simple system with 8-bit block size. Assume the encryption (and decryption) to be a simple XOR of the key with the input. In other words, to encrypt x with k we simply perform x⊕k giving y. Similarly, to decrypt y, we perform y⊕k giving x.
You are given the following 16-bit input 1A2Bin hexadecimal. You are provided IV as 9D in hexadecimal. The key to be used (where appropriate) is 7C in hexadecimal. Compute the encrypted output with the following methods. Express your final answer, for each of them, as 4 hexadecimal characters so it is easy to read.
A. ECB
B. CBC
C. OFB
D. CFB
In: Computer Science
Assignment
Examine the Main and Address classes. You are going to add two classes derived from Address: BusinessAddress and PersonAddress.
Create BusinessAddress class
The printLabel method should print (using System.out.println())
First line – the businessName field
Second line – the address2 field if it is not null or empty
Third line – the StreetAddress field if it is not null or empty
Fourth line – city field followed by a comma and space, the state field followed by two spaces, and the zip field
Create PersonAddress class
The printLabel method should print (using System.out.println())
First line – the personName field
Second line – the StreetAddress field
Third line – city field followed by a comma and space, the state field followed by two spaces, and the zip field
Modify Main class
Add the following three BusinessAddress objects to the list.
BusinessName |
Address2 |
StreetAddress |
City |
State |
Zip |
Columbus State |
Eibling 302B |
550 East Spring St. |
Columbus |
OH |
43215 |
AEP |
P.O. Box 2075 |
null |
Columbus |
OH |
43201 |
Bill’s Coffee |
null |
2079 N. Main St. |
Columbus |
OH |
43227 |
Add the following three PersonAddress objects to the list.
PersonName |
StreetAddress |
City |
State |
Zip |
Saul Goodman |
1200 N. Fourth St. |
Worthington |
OH |
43217 |
Mike Ehrmentraut |
207 Main St. |
Reynoldsburg |
OH |
43211 |
Gustavo Fring |
2091 Elm St. |
Pickerington |
OH |
43191 |
Example Output
Columbus State
Eibling 302B
550 East Spring St.
Columbus, OH 43215
====================
AEP
P.O. Box 2075
Columbus, OH 43201
====================
Bill's Coffee
2079 N. Main St.
Columbus, OH 43227
====================
Saul Goodman
1200 N. Fourth St.
Worthington, OH 43217
====================
Mike Ehrmentraut
207 Main St.
Reynoldsburg, OH 43211
====================
Gustavo Fring
2091 Elm St.
Pickerington, OH 43191
====================
My code
package home; public class Main { public static void main(String[] args) { Address[] addressList = new Address[6]; // TODO Add 3 person addresses to list addressList[3] = new PersonAddress("1200 N. Fourth St.","Worthington","OH","43217","Saul Goodman"); addressList[4] = new PersonAddress("207 Main St.","Reynoldsburg","OH","43217","Mike Ehrmentraut"); addressList[5] = new PersonAddress("2091 Elm St.","Pickerington","OH","43191","Gustavo Fring"); // TODO Add 3 business address to list addressList[0] = new BusinessAddress("550 East Spring St.","Columbus","OH","43215","Columbus State","Eibling 302B"); addressList[1] = new BusinessAddress(null,"Columbus","OH","43201","AEP","P.O. Box 2075"); addressList[2] = new BusinessAddress("2079 N. Main St.","Columbus","OH","43227","Bill’s Coffee",null); for (Address address : addressList) { address.printLabel(); System.out.println("===================="); } } }
package home; public class BusinessAddress extends Address { // two private String fields businessName and address2 private String businessName; private String address2; //Constructor public BusinessAddress(String streetAddress, String city, String state, String zip, String businessName, String address2) { super(streetAddress, city, state, zip); this.businessName = businessName; this.address2 = address2; } //getters and setters public String getBusinessName() { return businessName; } public void setBusinessName(String businessName) { this.businessName = businessName; } public String getAddress2() { return address2; } public void setAddress2(String address2) { this.address2 = address2; } @Override public void printLabel() { String result =""; if(address2==null) result = businessName+"\n"+super.toString(); else result = businessName+"\n"+address2+"\n"+super.toString(); System.out.println(result); } } }
package home; public class PersonAddress extends Address { private String personName; //Constructor public PersonAddress(String streetAddress, String city, String state, String zip, String personName) { super(streetAddress, city, state, zip); this.personName = personName; } //getter and setter public String getPersonName() { return personName; } public void setPersonName(String personName) { this.personName = personName; } @Override public void printLabel() { System.out.println(personName+"\n"+super.toString()); } }
package home; public abstract class Address { private String streetAddress; private String city; private String state; private String zip; public Address(String streetAddress, String city, String state, String zip) { this.streetAddress = streetAddress; this.city = city; this.state = state; this.zip = zip; } public String getStreetAddress() { return streetAddress; } public void setStreetAddress(String streetAddress) { this.streetAddress = streetAddress; } public String getCity() { return city; } public void setCity(String city) { this.city = city; } public String getState() { return state; } public void setState(String state) { this.state = state; } public String getZip() { return zip; } public void setZip(String zip) { this.zip = zip; } public String toString() { return streetAddress + "\n" + city + ", " + state + " " + zip + "\n"; } public abstract void printLabel(); }
In: Computer Science
write the outline pseudocode (code is also allowed) for the following problem...
Catherine wants to simulate a lottery game. What steps would this require?
Imagine that Catherine wants a computer to simulate a lottery game. The computer will be generating two-digit numbers. Each time the computer generates a number, the user is first invited to guess what the number is. If the user guesses the exact number, the award is 10 000 EUR. If the user makes a correct guess on one of the digits, and on the right place, the award is 3 000 EUR. If the user guesses correctly that a digit was selected, but not which position it is in, the award is 100 EUR.
Examples:
Computer: 96: Computer: 47: Computer: 42:
User: 96 User: 43 User: 29
Award Award Award
10 000 EUR 3 000 EUR
100 EUR
Catherine’s algorithm and program can follow the below-mentioned steps:
Step 1: The computer generates a random two-digit number.
Step 2: The user makes a guess of what the number is and enters it through the keyboard.
Step 3: The computer compares the two numbers and evaluates whether the user wins anything.
Step 4: The computer displays the number that was generated in
step 1.
Step 5: the computer displays a message of whether the user wins
something, as suggested
above.
Step 6: The computer repeats the procedure from step 1 to step 5. The game is played 3 times.
In: Computer Science
Discuss how SQL Nexus assist in developing proper hypothesis for performance issues? 2. What recommendations do you provide a novice DBA for using SQL Nexus?
In: Computer Science
C++
Assume you need to test a function named inOrder. The function inOrder receives three int arguments and returns true if and only if the arguments are in non-decreasing order: that is, the second argument is not less than the first and the third is not less than the second. Write the definition of driver function testInOrder whose job it is to determine whether inOrder is correct. So testInOrder returns true if inOrder is correct and returns false otherwise.
. For the purposes of this exercise, assume inOrder is an expensive function call, so call it as few times as possible!
In: Computer Science
What makes a good tool for analyzing and interpreting data? And why? Give an example.
In: Computer Science
C# Programming
1. Create an Employee class with two fields: idNum and hourlyWage. The Employee constructor requires values for both fields. Upon construction, thrown an ArgumentException if the hourlyWage is less than 7.50 or more than 50.00. Write a program that establishes, one at a time, at least three Employees with hourlyWages that are above, below, and within the allowed range. Immediately after each instantiation attempt, handle any thrown Exceptions by displaying an error message. Save the file as EmployeeExceptionDemo.cs.
2. Write an application that creates an array of five Employees. Prompt the user for values for each field for each Employee. If the user enters improper or invalid data, handle any exceptions that are thrown by setting the Employee’s ID number to 999 and the Employee’s pay rate to the $7.50. At the end of the program, display all the entered, and possible corrected, records. Save the file as EmployeeExceptionDemo2.cs.
In: Computer Science
A store has 5 years remaining on its lease in a mall. Rent is $2,000 per month, 60 payments remain, and the next payment is due in 1 month. The mall's owner plans to sell the property in a year and wants rent at that time to be high so that the property will appear more valuable. Therefore, the store has been offered a "great deal" (owner's words) on a new 5-year lease. The new lease calls for no rent for 9 months, then payments of $2,600 per month for the next 51 months. The lease cannot be broken, and the store's WACC is 12% (or 1% per month).
Should the new lease be accepted? (Hint: Be sure to use 1% per month.)
-Select-YesNoItem 1
If the store owner decided to bargain with the mall's owner over the new lease payment, what new lease payment would make the store owner indifferent between the new and old leases? (Hint: Find FV of the old lease's original cost at t = 9; then treat this as the PV of a 51-period annuity whose payments represent the rent during months 10 to 60.) Do not round intermediate calculations. Round your answer to the nearest cent.
$
The store owner is not sure of the 12% WACC—it could be higher or lower. At what nominal WACC would the store owner be indifferent between the two leases? (Hint: Calculate the differences between the two payment streams; then find its IRR.) Do not round intermediate calculations. Round your answer to two decimal places.
In: Finance
1. The provost at the University of Chicago claimed that the entering class this year is larger than the entering class from previous years but their mean SAT score is lower than previous years. He took a sample of 20 of this year’s entering students and found that their mean SAT score is 1,501 with a standard deviation of 53. The University’s record indicates that the mean SAT score for entering students from previous years is 1,520. He wants to find out if his claim is supported by the evidence at a 5% level of significance. Round final answers to two decimal places. Solutions only.
(A) The parameter the president is interested in is:
(a) the mean number of entering students to his university this
year.
(b) the mean number of entering students to all U.S. universities
this year.
(c) the mean SAT score of the entering students to his university
this year.
(d) the mean SAT score of the entering students to all U.S.
universities this year.
(e) None of the above.
(B) The population the president is interested in is:
(a) all entering students to all universities in the U.S this
year.
(b) all entering students to his university this year.
(c) all SAT test centers in the U.S. this year.
(d) the SAT scores of all students entering universities in the
U.S. this year.
(e) None of the above.
(F) True, False, or Uncertain: The null hypothesis would be rejected.
(G) True, False, or Uncertain: The null hypothesis would be rejected if a 10% probability of committing a Type I error is allowed.
(I) True, False, or Uncertain: The evidence proves beyond a doubt that the mean SAT score of the entering class this year is lower than previous years.
(J) True, False, or Uncertain: If these data were used to perform a two-tail test, the p-value would be 0.1254.
In: Math
Address these questions in full paragraphs based on the idea of a smart shopping cart that will be implemented in grocery stores in the U.S. where tablets are connected to the carts to provide customers a store layout, self checkout, stock availability and where one is able to sync their phones for grocery lists and etc.
For marketing and distribution of the product, How will you price your product or service? How will you advertise your product or service? How will
sell and deliver your product or service to your customers?
In: Operations Management
Read the following pseudocode class definitions:
Class Plant
Public Module message()
Display "I'm a plant."
End Module
End Class
Class Tree Extends Plant
Public Module message()
Display "I'm a tree."
End Module
End Class
Given these class definitions, determine what the following pseudocode will display:
Declare Plant p
Set p = New Tree()
Call p.message()
Discuss how algorithms address object-oriented classes and objects.
In: Computer Science