Questions
1. E. coli DNA polymerase V has the ability to bypass thymine dimers. However, Pol V...

1. E. coli DNA polymerase V has the ability to bypass thymine dimers. However, Pol V tends to incorporate G rather than A opposite the dam-aged T bases. Would you expect Pol V to be more or less processive than Pol III? Explain.

2. Explain why base excision repair, nucleotide excision repair, and mismatch repair—which all require nucleases to excise damaged DNA—require DNA ligase.

3. Why are there no Pol I mutants that completely lack 5′ → 3′ exo-nuclease activity?

In: Biology

Taxes are the way our government generates income. Although the richest Io/o of the people in...

Taxes are the way our government generates income. Although the richest Io/o of the people in our country pay 39% of the taxes and the bottom 50% combined pay only 2.9% combined, everyone wants things from the government. They want roads and bridges and schools and an army and welfare and Medicaid and concerts and ]..... To provide these things our government has to raise money and cut expenses. Which of the following laws help raise money? Which help cut expenses?

1)Deduction for contribution to the church

2) American Opportunity Credit for attending San Jacinto College

3) Deduction for gift to the American Red Cross

4) Child credit

5) Deduction for mortgage interest

6) Deduction for home equity loan

7) Deduction for savings bond interest used for higher education (2 things)

8) Deduction for health savings account

9) Deduction for student loan interest

10) Adoption credit

11) Earned Income credit

12) IRA deduction

In: Accounting

BCS was a C Corporation in 2016 and an S Corporation in 2017. Net income for...

BCS was a C Corporation in 2016 and an S Corporation in 2017. Net income for 2016 was $80,000; net income for 2017 was $500,000. For 2016, the three shareholders of BCS were each allocated ordinary business income of zero, as well as separately stated items of zero. Why?​

In: Accounting

C++.This program extends the earlier "Online shopping cart" program. (Consider first saving your earlier program). (1)...

C++.This program extends the earlier "Online shopping cart" program. (Consider first saving your earlier program).

(1) Extend the ItemToPurchase class per the following specifications:

  • Parameterized constructor to assign item name, item description, item price, and item quantity (default values of 0). (1 pt)
  • Public member functions
    • SetDescription() mutator & GetDescription() accessor (2 pts)
    • PrintItemCost() - Outputs the item name followed by the quantity, price, and subtotal
    • PrintItemDescription() - Outputs the item name and description
  • Private data members
    • string itemDescription - Initialized in default constructor to "none"

Ex. of PrintItemCost() output:

Bottled Water 10 @ $1 = $10


Ex. of PrintItemDescription() output:

Bottled Water: Deer Park, 12 oz.


(2) Create three new files:

  • ShoppingCart.h - Class declaration
  • ShoppingCart.cpp - Class definition
  • main.cpp - main() function (Note: main()'s functionality differs from the warm up)

Build the ShoppingCart class with the following specifications. Note: Some can be function stubs (empty functions) initially, to be completed in later steps.

  • Default constructor
  • Parameterized constructor which takes the customer name and date as parameters (1 pt)
  • Private data members
    • string customerName - Initialized in default constructor to "none"
    • string currentDate - Initialized in default constructor to "January 1, 2016"
    • vector < ItemToPurchase > cartItems
  • Public member functions
    • GetCustomerName() accessor (1 pt)
    • GetDate() accessor (1 pt)
    • AddItem()
      • Adds an item to cartItems vector. Has parameter ItemToPurchase. Does not return anything.
    • RemoveItem()
      • Removes item from cartItems vector. Has a string (an item's name) parameter. Does not return anything.
      • If item name cannot be found, output this message: Item not found in cart. Nothing removed.
    • ModifyItem()
      • Modifies an item's description, price, and/or quantity. Has parameter ItemToPurchase. Does not return anything.
      • If item can be found (by name) in cart, check if parameter has default values for description, price, and quantity. If not, modify item in cart.
      • If item cannot be found (by name) in cart, output this message: Item not found in cart. Nothing modified.
    • GetNumItemsInCart() (2 pts)
      • Returns quantity of all items in cart. Has no parameters.
    • GetCostOfCart() (2 pts)
      • Determines and returns the total cost of items in cart. Has no parameters.
    • PrintTotal()
      • Outputs total of objects in cart.
      • If cart is empty, output this message: SHOPPING CART IS EMPTY
    • PrintDescriptions()
      • Outputs each item's description.


Ex. of PrintTotal() output:

John Doe's Shopping Cart - February 1, 2016

Number of Items: 8

Nike Romaleos 2 @ $189 = $378

Total: $


Ex. of PrintDescriptions() output:

John Doe's Shopping Cart - February 1, 2016

Item Descriptions

Nike Romaleos: Volt color, Weightlifting shoes

Chocolate Chips: Semi-sweet

Powerbeats 2 Headphones: Bluetooth headphones


(3) In main(), prompt the user for a customer's name and today's date. Output the name and date. Create an object of type ShoppingCart. (1 pt)


(4) Implement the PrintMenu() function. PrintMenu() has a ShoppingCart parameter, and outputs a menu of options to manipulate the shopping cart. Each option is represented by a single character. Build and output the menu within the function.

If the an invalid character is entered, continue to prompt for a valid choice. Hint: Implement Quit before implementing other options. Call PrintMenu() in the main() function. Continue to execute the menu until the user enters q to Quit. (3 pts)

Ex:

MENU

a - Add item to cart

d - Remove item from cart

c - Change item quantity

i - Output items' descriptions

o - Output shopping cart

q - Quit

Choose an option:


(5) Implement Output shopping cart menu option. (3 pts)

Ex:

OUTPUT SHOPPING CART

John Doe's Shopping Cart - February 1, 2016

Number of Items: 8

Nike Romaleos 2 @ $189 = $378

Total:


(6) Implement Output item's description menu option. (2 pts)

Ex.

OUTPUT ITEMS' DESCRIPTIONS

John Doe's Shopping Cart - February 1, 2016

Item Descriptions

Nike Romaleos: Volt color, Weightlifting shoes

Chocolate Chips: Semi-sweet

Powerbeats 2 Headphones: Bluetooth headphones


(7) Implement Add item to cart menu option. (3 pts)

Ex:

ADD ITEM TO CART

Enter the item name:

Nike Romaleos

Enter the item description:

Volt color, Weightlifting shoes

Enter the item price:

189

Enter the item quantity:

2


(8) Implement remove item menu option. (4 pts)

Ex:

REMOVE ITEM FROM CART

Enter name of item to remove:

Chocolate Chips


(9) Implement Change item quantity menu option. Hint: Make new ItemToPurchase object and use ItemToPurchase modifiers before using ModifyItem() function. (5 pts)

Ex:

CHANGE ITEM QUANTITY

Enter the item name:

Nike Romaleos

Enter the new quantity:

3


Here’s what I have (the main file needs to be completed).
***ItemToPurchase.cpp
#include "ItemToPurchase.h"
//Implementation of default constructor
ItemToPurchase::ItemToPurchase()
{
itemName = "0";
itemPrice = 0;
itemQuantity = 0;
description = "0";
}
ItemToPurchase::ItemToPurchase(string itemName, int itemPrice, int itemQuanity, string description){
this->itemName = itemName;
this->itemPrice = itemPrice;
this->itemQuanity = itemQuantity;
this->description = description;
}
//Implementation of SetName function
void ItemToPurchase::SetName(string name)
{
itemName = name;
}
//Implementation of SetPrice function
void ItemToPurchase::SetPrice(int itemP)
{
itemPrice = itemP;
}
//Implementation of SetQuantity function
void ItemToPurchase::SetQuantity(int itemQ)
{
itemQuantity = itemQ;
}
void ItemToPurchase::setDescription(string description){
this-> description = description;
}
//Implementation of GetName function
string ItemToPurchase::GetName()
{
return itemName;
}
//Implementation of GetPrice function
int ItemToPurchase::GetPrice()
{
return itemPrice;
}
//Implementation of GetQuantity function
int ItemToPurchase::GetQuantity()
{
return itemQuantity;
}
string ItemToPurchase::getDescription(){
return description;
}
***ItemtoPurchase.h
#pragma once
#ifndef ITEMTOPURCHASE_H_INCLUDED
#define ITEMTOPURCHASE_H_INCLUDED
#include<string>
#include <iostream>
using namespace std;
class ItemToPurchase
{
public:
//Declaration of default constructor
ItemToPurchase();
ItemToPurchase(string itemName, int itemPrice, int itemQuanity, string description);
//Declaration of SetName function
void SetName(string itemName);
//Declaration of SetPrice function
void SetPrice(int itemPrice);
//Declaration of SetQuantity function
void SetQuantity(int itemQuantity);
//Declaration of GetName function
string GetName();
//Declaration of GetPrice function
int GetPrice();
//Declaration of GetQuantity function
int GetQuantity();
string GetDescription();
void setDescription(string itemDescription);
void printItemCost();
void printItemDescription();
private:
//Declaration of itemName as
//type of string
string itemName;
//Declaration of itemPrice as
//type of integer
int itemPrice;
//Declaration of itemQuantity as
//type of integer
int itemQuantity;
string description;
};
#endif
***ShoppingCart.cpp
#include"ShoppingCart.h"
#include<stdbool.h>
#include<iostream>
//Implementation of GetCustomerName function
string ShoppingCart::GetCustomerName()
{
return this->customerName;
}
//Implementation of GetDate function
string ShoppingCart::GetDate()
{
return this->currentDate;
}
//Implementation of AddItem function
void ShoppingCart::AddItem(ItemToPurchase addnewitem)
{
for (int i=0; i < this->cartItems.size(); i++){
if (this->cartItems.at(i).getName() == addnewitem.getName()){
this->cartItems.at(i).setQuantity(this->cartItems.at(i).getQuanity() + addnewitem.getQuanity);
return;
}
}
this->cartItems.push_back(addnewitem);
}
//Implementation of RemoveItem function
void ShoppingCart::RemoveItem(string itemName)
{
//bool found = false;
//Iterate the loop
for (int i = 0; i < this->cartItems.size(); i++)
{   
if (this->cartItems.at(i).getName() == itemName)
{
//found = true;
this->cartItems.erase(cartItems.begin() + i);
return;
}
}
cout << endl << "Item not found in cart. Nothing removed." << endl << endl;
}
//Implementation of ModifyItem function
//with parameter is ItemToPurchase
void ShoppingCart::ModifyItem(ItemToPurchase itemToModify) {
int i = 0;
//Iterate the loop
while (i < cartItems.size()) {
//check cartItems name is equal to name of the modified item
if (cartItems.at(i).getName() == itemToModify.getName()) {
//cartItems.at(i).quantity = itemToModify.quantity;
//get quanity
if (itemToModify.getQuanity() != 0){
cartItems.at(i).setQuantity(itemToModify.getQuanity());
}
//get price
if (itemToModify.getPrice() != 0){
cartItems.at(i).setPrice(itemToModify.getPrice());
}
// get description
if (itemToModify.getDescription() != 0){
carItems.at(i).setDescription(itemToModify.getDescription();
}
return;
}
i++;
}
cout << endl << "Item not found in cart. Nothing modified." << endl << endl;
}
//Implementation of GetNumItemsInCart function
int ShoppingCart::GetNumItemsInCart()
{
int counter = 0;
for (int i = 0; i < this-> cartItems.size(); i++){
counter += this-> cartItems.at(i).getQuanity();
}
return counter;
}
//Implementation of GetCostOfCart function
int ShoppingCart::GetCostOfCart()
{
int totalCost = 0;
  
//Iterate the loop
for (int i = 0; i < this->cartItems.size(); i++)
{
//calculate the totalCost
totalCost += this->cartItems.at(i).price * this->cartItems.at(i).quantity;
}
return totalCost;
}
//Implementation of PrintTotal function
void ShoppingCart::PrintTotal()
{
if (this->cartItems.size() == 0)
{
//Display statement
cout << "SHPPING CART IS EMPTY" << endl;
}
else
{
//Display statement
cout << this->customerName << "'s Shopping Cart - " << this->currentDate << endl << endl;
//Display statement
cout << "Number of Items: " << this->cartItems.size() << endl << endl;
//Iterate the loop
for (int i = 0; i < this->cartItems.size(); i++)
{
this->cartItems.at(i).PrintItemCost();
cout << endl;
}
//Display statement
cout << endl << "Total: $" << this->GetCostOfCart() << endl << endl;
}
}
//Implemenataion of PrintDescriptions function
void ShoppingCart::PrintDescriptions()
{
//Display statement
cout << this->customerName << "'s Shopping Cart - " << this->currentDate << endl << endl;
cout << endl;
//Display statement
cout << "Item Descriptions" << endl << endl;
//Iterate the loop
for (int i = 0; i < this->cartItems.size(); i++)
{
this->cartItems.at(i).PrintItemDescription();
cout << endl;
}
}
***ShoppingCart.h
#pragma once
#include<vector>
#include<string>
#include"ItemToPurchase.h"
using namespace std;
//Declaration of ShoppingCart class
class ShoppingCart {
private:
//Declare customerName as type of string
string customerName;
//Declare currentDate as type of string
string currentDate;
//Declare carItems as type of ItemToPurchase
vector<ItemToPurchase> cartItems;
public:
//Implementation of default constructor
ShoppingCart()
{
this->customerName = "none";
this->currentDate = "October 1, 2020";
}
//Implementation of parameterized constructor
ShoppingCart(string customerName, string currentDate)
{
this->customerName = customerName;
this->currentDate = currentDate;
}
//Declaration GetCustomerName function
string GetCustomerName();
//Declaration of GetDate function
string GetDate();
//Declaration of AddItem function
void AddItem(ItemToPurchase addnewitem);
//Declaration of RemoveItem function
void RemoveItem(string itemName);
//Declaration of GetNumItemsInCart function
int GetNumItemsInCart();
//Declaration of GetCostOfCart function
int GetCostOfCart();
//Declaration of PrintTotal function
void PrintTotal();
//Declaration of PrintDescriptions function
void PrintDescriptions();
//Declaration of ModifyItem function
//which has paramter ItemToPurchase
void ModifyItem(ItemToPurchase);
};

In: Computer Science

BFI had $100 of office supplies at January 1, 2016 and purchased $2,000 of office supplies...

BFI had $100 of office supplies at January 1, 2016 and purchased $2,000 of office supplies during 2016. BFI has $750 of office supplies on the shelf at December 31, 2016. How much office supplies expense should BFI recognize in the Income Statement for the year ended December 31, 2016? 1. $1,350 2. $750 3. $2,100 4. $0 5. None of the above 2.5 points QUESTION 26 On June 1, 2016, BFI paid $4,000 for a 24-month insurance policy effective July 1, 2016. What is the effect of the necessary adjusting journal entry? 1. Prepaid Insurance will decrease by $2,000. 2. Prepaid Insurance will decrease by $1,000. 3. Prepaid Insurance will increase by $2,000. 4. Prepaid Insurance will increase by $1,000. 5. Cash will decrease by $1,000.

In: Accounting

Sheffield Corp. has three notes payable outstanding on December 31, 2016, as follows: 1. A six-year,...

Sheffield Corp. has three notes payable outstanding on December 31, 2016, as follows:

1. A six-year, 6%, $120,000 note payable issued on March 31, 2016. Sheffield Corp. is required to pay $20,000 plus interest on March 31 each year starting in 2017.

2. A seven-month, 4%, $60,000 note payable issued on July 1, 2016. Interest and principal are payable at maturity.

3. A 30-month, 5%, $240,000 note payable issued on September 1, 2016. Sheffield Corp. is required to pay $8,000 plus interest on the first day of each month starting on October 1, 2016. All payments are up to date.

* Calculate the current portion of each note payable.

* Calculate the non-current portion of each note payable.

* Calculate any interest payable at December 31, 2016.

In: Accounting

Find Forecast Cisco's sales, NOPAT, and NOA for years 2017 through 2020 and the terminal period...

Find Forecast Cisco's sales, NOPAT, and NOA for years 2017 through 2020 and the terminal period using the following assumptions:

Sales for 2016- $ 49247

Nopat 2016 - $ 10382.8

NOA 2016- $ 26476.88

Sales growth 2017 2% , Sales growth 2018-2020 3% , Terminal growth 1% [Net operating profit margin 2016 rate rounded to three decimal places Net operating asset turnover 2016 rate rounded to three decimal places]

Assume a discount rate (WACC) of 10%, common shares outstanding of 5,029 million, and net nonoperating obligations (NNO) of $(37,113) million (NNO is negative which means that Cisco has net nonoperating investments). (f) Estimate the value of a share of Cisco common stock as of July 30, 2016 using the discounted cash flow (DCF) model and sales, NOPAT and NOA forecast in the sum above

In: Accounting

($ Millions) JetBlue Airways Southwest Airlines Total liabilities, 2017 $                 4,947 $            

($ Millions) JetBlue Airways Southwest Airlines
Total liabilities, 2017 $                 4,947 $                    13,973
Total current liabilities, 2017 $                 2,395 $                       6,905
Total liabilities, 2016 $                 5,310 $                    14,845
Total current liabilities, 2016 $                 2,214 $                       6,844
Total assets, 2017 $                 9,781 $                    25,110
Total current assets, 2017 $                 1,206 $                       4,815
Total assets, 2016 $                 9,323 $                    23,386
Total current assets, 2016 $                 1,403 $                       4,498
Revenue, 2017 $                 7,015 $                    21,171
Net income, 2017 $                 1,147 $                       3,488

(Please show work so I can learn how to do it)

c.) For each company, compute net income as a percentage of revenue in 2017.              

d.) For each company, calculate working capital and current ratio for 2017 and 2016. How did they change from 2016 to 2017 (improve or worsen)? What may have caused those changes?    

In: Accounting

A. In 2016 were foreign-born workers a bigger share of the U.S. labor force than in...

A. In 2016 were foreign-born workers a bigger share of the U.S. labor force than in 2006? Explain, presenting and interpreting the relevant statistical evidence.

B. In 2016 who exhibited a higher labor force participation rate in the U.S., native- or foreign-born women? How does the evidence for 2016 compare with 2006, before the Great Recession? Present all relevant statistical evidence and interpret.

C. In 2016 who exhibited greater joblessness in the U.S., native- or foreign-born men? How does the evidence for 2016 compare with 2006, before the Great Recession? Present all relevant statistical evidence and interpret.

D. In 2016 who was more likely to have earned a bachelor’s degree or higher in the U.S., foreign- or native-born workers? Present and interpret relevant statistical evidence. Should you be “surprised” by your findings? Explain, using appropriate economic analysis.

In: Economics

s7-2 comparing financial information refer to the financial statement of the home depot in appendix a...

s7-2 comparing financial information refer to the financial statement of the home depot in appendix a and lowes in appendix b at the end of this book (note: fiscal 2016 for the home depot runs from February 1, 2016, to January 29, 2017. Fiscal for 2016 for Lowe's runs from January 30, 2016, to February 3, 2017.)

1. does lowes hold more or less inventory than home depot at the end of fiscal 2016?

2. what method does lowes use to determine the cost of the majority of its inventory? comment on how this affects comparisons you might make between lowes and the home depot inventory turnover ratio.

3. compute to one decimal place lowes inventory turnover ratio and days to sell for fiscal 2016 and compare to the home depots. what does this analysis suggest to you?

In: Accounting