Please typing if you can i will appreciate had my
answers but i need to compare my solution .
o changes you have had to personally make due to the fast
food
o how you feel about those changes; how you are coping
o economic impacts for you, friends, and/or family
o educational impacts for you, friends or family
Typing please it is help me for grammar
In: Operations Management
discuss how stress can impact your workplace performance and/or your personal performance. Give an example of how you have been stressed and how it affected you.
In: Psychology
. Describe the equipment (cable tester) needed and the steps to be followed to test the patch cable and the crossover cables to verify they have been properly assembled.
In: Computer Science
1. Design a class called BankAccount. The member
fields of the class are: Account Name, Account Number and Account
Balance. There are also other variables called MIN_BALANCE=9.99,
REWARDS_AMOUNT=1000.00, REWARDS_RATE=0.04. They look like
constants, but for now, they are variables of type double
Here is the UML for the class:
BankAccount
-string accountName // First and Last name of Account holder
-int accountNumber // integer
-double accountBalance // current balance amount
+
BankAccount()
//default constructor that sets name to “”, account number to 0 and
balance to 0
+BankAccount(string accountName, int accountNumber, double
accountBalance) // regular constructor
+getAccountBalance(): double // returns the balance
+getAccountName: string // returns name
+getAccountNumber: int
+setAccountBalance(double amount) : void
+withdraw(double amount) : bool //deducts from balance and returns
true if resulting balance is less than minimum balance
+deposit(double amount): void //adds amount to balance. If amount
is greater than rewards amount, calls
// addReward method
-addReward(double amount) void // adds rewards rate * amount to
balance
+toString(): String // return the account information
as a string with three lines. “Account Name: “ name
“Account Number:” number
“Account Balance:” balance
2. Create a file called BankAccount.cpp which implements the BankAccount class as given in the UML diagram above. The class will have member variables( attributes/data) and instance methods(behaviours/functions that initialize, access and process data)
3. Create a driver class to do the following:
a. Declare and instantiate a bank account called
accountZero using the default constructor
b. Declare and instantiate a bank account called
accountOne with name= “Matilda Patel” number =1232,
balance=-4.00
c. Declare and instantiate a bank account called
accountTwo with name = “Fernando Diaz”, number=1234,
balance=250
d. Declare and instantiate a bank account called
accountThree with name=”Howard Chen”, number=1236, balance =
194.56
e. Display the bank accounts in the three line format
as above
f. Deposit 999 dollars in Fernando’s account and
1000.25 in Howards account
g. Display their account information
h. Withdraw 10000 from Matildas account and 90 dollars
from Feranandos account
i. Display the results. If withdrawal is not possible
your program should say “Insufficient funds” otherwise it should
say “Remaining Balance :” balance amount
j. Print the total amount of all the bank accounts
created.
In: Computer Science
7. What are the typical symptoms seen in ASD?
8. Discuss if there is evidence to support the notion that genetic factors play a role in ADHD.
9. Discuss the current thinking regarding the "paradoxical effect" of psychostimulant medication on children with ADHD.
In: Psychology
/**
* Returns the string formed by alternating the case of
the characters in
* the specified string. The first character in the
returned string is in
* lowercase, the second character is in uppercase, the
third character is
* in lowercase, the fourth character is in uppercase,
and so on.
* Examples:
*
* <ul>
*
<li><code>alternatingCaps("a")</code> returns
<code>"a"</code>
*
<li><code>alternatingCaps("ab")</code> returns
<code>"aB"</code>
*
<li><code>alternatingCaps("abc")</code> returns
<code>"aBc"</code>
*
<li><code>alternatingCaps("XYZ")</code> returns
<code>"xYz"</code>
*
<li><code>alternatingCaps("Toronto")</code>
returns <code>"tOrOnTo"</code>
*
<li><code>alternatingCaps("eecs2030")</code>
returns <code>"eEcS2030"</code>
* </ul>
*
* <p>
* The conversion of characters to lower or uppercase
is identical to
* that performed by the methods
<code>Character.toLowerCase(int)</code>
* and
<code>Character.toLowerCase(int)</code>
*
* @param s
*
a string
* @return the string formed by alternating the case of
the characters in s
*/
public static String alternatingCaps(String s) {
return "";
}
In: Computer Science
Each team member must make their own submission of their individual reflections on teamwork.
outline what you consider to be the main benefits of working in your team for this assignment compared with completing an assignment on your own.
outline what you consider to be the main costs of working in your team for this assignment compared with completing an assignment on your own.
outline how you would do things differently if you were to be involved in a teamwork assignment again.
In: Accounting
def mystery(L, x):
if L==[]:
return False
if L[0] == x:
return True
L.pop(0)
return mystery(L, x)
What is the input or length size of the function mystery?
What is the final output of mystery([1,3,5,7], 0)?
Explain in one sentence what mystery does?
What is the smallest input that mystery can have? Does the recursive call have smaller inputs? Why?
Assuming the recursive call in mystery is correct, use this assumption to explain in a few sentences why mystery is correct?
In: Computer Science
(My Name is AA please I need new and unique answers, please. (Use your own words, don't copy and paste),Please Use your keyboard (Don't use handwriting)
((Thank you FOR YOUR HELP))
SUBJECT: System analysis and design IT243
Q:1
There are three techniques which help users discover their needs for the new system, list and compare these techniques in terms of impactful changes. Also, explain BPR.
In: Computer Science
Would stirring a cup of tea show any sign of a two dimensional vector? This is my own question I am asking. My personal question.
In: Physics
Single Lane Bridge Problem : Java Threads
Given :
//Use ReentrantLock for mutual exclusion
import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; public class bridge { private final ReentrantLock myLock = new ReentrantLock(); public bridge(){ } public String cross(){ myLock.lock(); try { return "crossing the bridge"; } finally { myLock.unlock(); } } }
public class lane extends Thread { int cars; bridge Bridge; public lane(int Cars1, bridge Bridge1) { cars = Cars1; Bridge = Bridge1; } public void run(){ for(int x=0;x
//Important clue :
<Thread-ID> waiting to cross
This means that this thread is now competing for the lock and will have to wait its turn.
- Once a thread has gained access to the critical section it should output:
<Thread-ID> crossing the bridge
- It takes different cars a different amount of time to cross the bridge, so your code should simulate this by sleeping for a random amount of time when accessing the critical section.
- Once a car has left the bridge, your program should output:
<Thread-ID> exiting
- Threads can enter the critical section in any order.
Create main such that the output is as follows :
Thread-0 waiting to cross
Thread-0 crossing the bridge
Thread-0 exiting
Thread-1 waiting to cross
Thread-2 waiting to cross
Thread-1 crossing the bridge
Thread-1 exiting
Thread-2 crossing the bridge
Thread-2 exiting
.....
.....
.....
.....
In: Computer Science
“Computer programming is creating a sequence of very precise instructions written in a language a computer understands, to perform a specified task with a computer.” Discuss in detail the concept of extreme precision in computer programming.
In: Computer Science
A. Develop a cost equation on the following: Franklin Foods has current year costs consisting of $5 per unit Variable Costs and $10,000 in Fixed Costs. Assume that Franklin Foods and a major supplier have entered into a partnership that will result in a per-unit decrease in Franklin's variable cost of $0.75 next year. The company will also be able to reduce their annual leasing costs by 25%. What is the new cost equation, and what will be the estimated total costs if production is estimated to be 13,500 units next year? Explain your findings.
B. Explain the differences between fixed, variable, and mixed costs.
In: Accounting
Account |
Balance 12/31/2013 |
Balance 12/31/2014 |
Accounts payable |
$1000 |
$1100 |
Accounts receivable |
$2480 |
$2690 |
Cash |
$1300 |
$1090 |
Common stock |
$4990 |
$4990 |
Inventory |
$5800 |
$6030 |
Long-term debt |
$7800 |
$8200 |
Three-month Notes payable |
$ 800 |
$ 960 |
Plant, property, and equipment |
$6380 |
$6530 |
Retained earnings |
$1370 |
$1090 |
In: Finance
Left shift.
I am trying to left shift a string located in a text file. I am using c++ and the goal is to left shift by 1 character a string of length N, and output on stdout all of the performed shifts. Can someone tell me what I am doing wrong, and tell me what I can fix?
i.e: text file contains: Hi there!.
Output on stdout:
Hi there!, i there!H, _there!Hi, there!Hi_,...., !Hi_there. #here "_" represent space.
-------------------------------------------------------------------------------------------------------------------------
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <fstream>
using namespace std;
void shiftleft (vector <string> array, int d)
{
reverse(array.begin(), array.begin() + d);
reverse(array.begin() + d, array.end());
reverse(array.begin(), array.end());
}
int main()
{
string input_line;
vector<string> value;
ifstream file("LeftShift2.txt");
if(file.is_open())
{
while(getline(file, input_line))
{
value.push_back(input_line);
for(int i = 0; i < value.size(); i++)
{
cout << value[i] << "---->"<<endl;
shiftleft (value, 1);
}
}
}
}
--------------------------------------------------------------------------------
LeftShift2.txt
Hi there!
In: Computer Science