Questions
3. Learned (a.k.a. conditioned) responses to food-relevant stimuli can have powerful effects on eating. a. Define...

3. Learned (a.k.a. conditioned) responses to food-relevant stimuli can have powerful effects on eating. a. Define flavor-nutrient learning (a.k.a. flavor-postingestive consequence or flavor-calorie learning) and describe one example of empirical evidence that demonstrates its effect on food preference or intake (i.e. the training and testing method.) b. Define learned meal initiation and describe one example of empirical evidence that demonstrates its effect on eating behavior.

In: Psychology

I need the java code for a 4 function calculator app on android studio (do this...

I need the java code for a 4 function calculator app on android studio (do this on android studio) -

The requirements are the following :

- The only buttons needed are 0-9, *, /, +, -, a clear, and enter button

- Implement the onclicklistener on the main activity

- The calcuator should use order of operations (PEMDAS)

- It should be able to continue from a previous answer (Ex: If you type 2+6 the calculator will display 8. If you then multiple by 2 the current result will simply be multiplied by 2)

- It should read the entire sequence of numbers and operators and save them into a String. The information can be read out of the String using a StringTokenizer. The delimiters will be the operators on the calculator.

- The entire mathematical expression will be displayed on the screen before the equal button is clicked.

- The equation will simply be evaluated in the order that the user types in the numbers rather than the precedence

- If the user enters an equation with invalid syntax, the output should display “error”. The calculator should also display “error” for any mathematical calculations that are impossible.

In: Computer Science

Q-4 Samples of size n 4 are selected from a production line. (a) What is the...

Q-4 Samples of size n 4 are selected from a production line. (a) What is the value of the A2 factor used to determine the upper and lower control limits for the mean? (b) What are the values of the D3 and D4 factors used to determine the upper and lower control limits for the range?
Q-5 Samples of size 5 are selected from a manufacturing process. The mean of the sample ranges is .50. What is the estimate of the standard deviation of the population?
Q-6 A new industrial oven has just been installed at the Piatt Bakery. To develop experience regarding the oven temperature, an inspector reads the temperature at four different places inside the oven each half hour. The first reading, taken at 8:00 A.M., was 340 degrees Fahrenheit. (Only the last two digits are given in the following table to make the computations easier.)
Sample piece and Time
Time
1
2
3
4
8:00 A.M
40
50
55
39
8:30 A.M
40
42
38
38
9:00 A.M
41
45
47
43
9:30 A.M
39
39
41
41
10:00 A.M
37
42
46
41
10:30 A.M
39
40
39
40
(a) Based on this initial experience, determine the control limits for the mean temperature. Determine the grand mean. Plot the experience on a chart. (b) Interpret the chart. Does there seem to be a time when the temperature is out of control?

In: Mechanical Engineering

Mastery Problem: Activity-Based Costing WoolCorp WoolCorp buys sheep’s wool from farmers. The company began operations in...

Mastery Problem: Activity-Based Costing

WoolCorp

WoolCorp buys sheep’s wool from farmers. The company began operations in January of this year, and is making decisions on product offerings, pricing, and vendors. The company is also examining its method of assigning overhead to products. You’ve just been hired as a production manager at WoolCorp.

Currently WoolCorp makes two products: (1) raw, clean wool to be used as stuffing or insulation and (2) wool yarn for use in the textile industry.

The company would like you to evaluate its costing methods for its raw wool and wool yarn.

Single Plantwide Rate

WoolCorp is currently using the single plantwide factory overhead rate method, which uses a predetermined overhead rate based on an estimated allocation base such as direct labor hours or machine hours. The rate is computed as follows:

Single Plantwide Factory Overhead Rate = (Total Budgeted Factory Overhead) ÷ (Total Budgeted Plantwide Allocation Base)

WoolCorp has been using combing machine hours as its allocation base.

The company would like to consider activity-based costing. In order to understand their current system better, you evaluate WoolCorp’s current method of costing for raw wool and wool yarn. The production staff has compiled the following information for you on the production of 450 pounds of either raw wool or wool yarn:


Factory
Overhead Type
Budgeted
Factory
Overhead
Sorting $25,600   
Cleaning 38,400   
Combing 1,400   
Raw Wool Wool Yarn
Hours of combing machine use required 80 20

In the following table, use combing machine hours as the allocation base for assigning overhead costs to each product. When required, round your answers to the nearest dollar.

Single Plantwide Factory Overhead Rate: $ per combing hour

Raw Wool Wool Yarn
Allocated factory overhead cost $ $

Feedback

Review the single plantwide factory overhead rate method, and allocate the costs using a single plantwide factory overhead rate and the combing hours used by each product.

Activity-Based Costing

In order to compare WoolCorp’s current method with activity-based costing, you interview the production staff and compile the following information, which relates to the costs for raw wool and wool yarn.

Type of Cost Activity Base Total Cost
Sorting Hours of sorting $25,600
Cleaning Units of cleaning machine power 38,400
Combing Hours of combing machine use 1,400
Raw Wool Wool Yarn
Hours of sorting required 800     3,200    
Units of cleaning machine power required 1,800     4,200    
Hours of combing machine use required 80     20    

In the following table, compute and enter the activity rate for each of the three activities. If required, round your answers to the nearest cent.

Activity Activity Rate
Sorting $ per sorting hour
Cleaning $ per unit of cleaning machine power
Combing $ per hour of combing machine use

In the following table, allocate the costs of sorting, cleaning, and combing based on the rates of activity consumed by each product’s process. When required, round your answers to the nearest dollar.

Raw Wool Wool Yarn
Sorting cost $ $
Cleaning cost
Combing cost
Total cost $ $

In: Accounting

1 import java.util.Random; 2 3 /* This class ecapsulates the state and logic required to play...

1 import java.util.Random;
2
3 /* This class ecapsulates the state and logic required to play the
4 Stick, Water, Fire game. The game is played between a user and the computer.
5 A user enters their choice, either S for stick, F for fire, W for water, and
6 the computer generates one of these choices at random- all equally likely.
7 The two choices are evaluated according to the rules of the game and the winner
8 is declared.
9
10 Rules of the game:
11 S beats W
12 W beats F
13 F beats S
14 no winner on a tie.
15
16 Each round is executed by the playRound method. In addition to generating the computer
17 choice and evaluating the two choices, this class also keeps track of the user and computer
18 scores, the number of wins, and the total number of rounds that have been played. In the case
19 of a tie, neither score is updated, but the number of rounds is incremented.
20
21 NOTE: Do not modify any of the code that is provided in the starter project. Additional instance variables and methods
22 are not required to make the program work correctly, but you may add them if you wish as long as
23 you fulfill the project requirements.
24
25 */
26 public class StickWaterFireGame {
27
28
29 // TODO 1: Declare private instance variables here:
30
31
32 /* This constructor assigns the member Random variable, rand, to
33 * a new, unseeded Random object.
34 * It also initializes the instance variables to their default values:
35 * rounds, player and computer scores will be 0, the playerWins and isTie
36 * variables should be set to false.
37 */
38 public StickWaterFireGame() {
39 // TODO 2: Implement this method.
40
41 }
42
43 /* This constructor assigns the member Random variable, rand, to
44 * a new Random object using the seed passed in.
45 * It also initializes the instance variables to their default values:
46 * rounds, player and computer scores will be 0, the playerWins and isTie
47 * variables should be set to false.
48 */
49 public StickWaterFireGame(int seed) {
50 // TODO 3: Implement this method.
51
52 }
53
54 /* This method returns true if the inputStr passed in is
55 * either "S", "W", or "F", false otherwise.
56 * Note that the input can be upper or lower case.
57 */
58 public boolean isValidInput(String inputStr) {
59 // TODO 4: Implement this method.
60 return false;
61 }
62
63 /* This method carries out a single round of play of the SWF game.
64 * It calls the isValidInput method and the getRandomChoice method.
65 * It implements the rules of the game and updates the instance variables
66 * according to those rules.
67 */
68 public void playRound(String playerChoice) {
69 // TODO 12: Implement this method.
70 }
71
72 // Returns the choice of the computer for the most recent round of play
73 public String getComputerChoice(){
74 // TODO 5: Implement this method.
75 return null;
76 }
77
78 // Returns true if the player has won the last round, false otherwise.
79 public boolean playerWins(){
80 // TODO 6: Implement this method.
81 return false;
82 }
83
84 // Returns the player's cumulative score.
85 public int getPlayerScore(){
86 // TODO 7: Implement this method.
87 return 0;
88 }
89
90 // Returns the computer's cumulative score.
91 public int getComputerScore(){
92 // TODO 8: Implement this method.
93 return 0;
94 }
95
96 // Returns the total nuber of rounds played.
97 public int getNumRounds(){
98 // TODO 9: Implement this method.
99 return 0;
100 }
101
102 // Returns true if the player and computer have the same score on the last round, false otherwise.
103 public boolean isTie(){
104 // TODO 10: Implement this method.
105 return false;
106 }
107
108 /* This "helper" method uses the instance variable of Random to generate an integer
109 * which it then maps to a String: "S", "W", "F", which is returned.
110 * This method is called by the playRound method.
111 */
112 private String getRandomChoice() {
113 // TODO 11: Implement this method.
114 return null;
115 }
116 }
117

In: Computer Science

What are Heating Systems (Heating Techniques)? Please explain. The advantage of these techniques Please give examples...

What are Heating Systems (Heating Techniques)? Please explain. The advantage of these techniques Please give examples of application by writing the disadvantages comparatively.

In: Mechanical Engineering

Research, present, and assess information about Medicaid expansion in Georgia.

Research, present, and assess information about Medicaid expansion in Georgia.

In: Operations Management

Record a macro that sets Cell B5 to a format of Bold and sets the Number...

Record a macro that sets Cell B5 to a format of Bold and sets the Number format to be in $.  Copy the VBA code for that macro and paste it.

In: Computer Science

Use C++ language Ask the user for their favorite number. If it isn't 10 and isn't...

Use C++ language

  1. Ask the user for their favorite number. If it isn't 10 and isn't divisible by 3, tell them they made a good choice.
  2. Ask the user how many guests will be arriving, use a while loop to ensure they don't give you negative number of guests. Ask them the name of each guest and output "hello guest" with their name.

3. Ask the user to pick a number between 1 and 100. You (the program) should try and guess the number the user picked. The user can tell you if their number is higher or lower, but that is all. The program should run until the computer guesses correctly.

In: Computer Science

DATE FILE MPG2 Mfgr/Model HPMax CityMPG Acura Integra 140 25 Acura Legend 200 18 Audi 90...

DATE FILE MPG2

Mfgr/Model HPMax CityMPG
Acura Integra 140 25
Acura Legend 200 18
Audi 90 172 20
Audi 100 172 19
BMW 535i 208 22
Buick Century 110 22
Buick LeSabre 170 19
Buick Roadmaster 180 16
Buick Riviera 170 19
Cadillac DeVille 200 16
Cadillac Seville 295 16
Chevrolet Cavalier 110 25
Chevrolet Corsica 110 25
Chevrolet Camaro 160 19
Chevrolet Lumina 110 21
Chevrolet Lumina APV 170 18
Chevrolet Astro 165 15
Chevrolet Caprice 170 17
Chevrolet Corvette 300 17
Chrysler Concorde 153 20
Chrysler LeBaron 141 23
Chrysler Imperial 147 20
Dodge Colt 92 29
Dodge Shadow 93 23
Dodge Spirit 100 22
Dodge Caravan 142 17
Dodge Dynasty 100 21
Dodge Stealth 300 18
Eagle Summit 92 29
Eagle Vision 214 20
Ford Festiva 63 31
Ford Escort 127 23
Ford Tempo 96 22
Ford Mustang 105 22
Ford Probe 115 24
Ford Aerostar 145 15
Ford Taurus 140 21
Ford Crown Victoria 190 18
Geo Metro 55 46
Geo Storm 90 30
Honda Prelude 160 24
Honda Civic 102 42
Honda Accord 140 24
Hyundai Excel 81 29
Hyundai Elantra 124 22
Hyundai Scoupe 92 26
Hyundai Sonata 128 20
Infiniti Q45 278 17
Lexus ES300 185 18
Lexus SC300 225 18
Lincoln Continental 160 17
Lincoln Town Car 210 18
Mazda 323 82 29
Mazda Protege 103 28
Mazda 626 164 26
Mazda MPV 155 18
Mazda RX-7 255 17
Mercedes-Benz 190E 130 20
Mercedes-Benz 300E 217 19
Mercury Capri 100 23
Mercury Cougar 140 19
Mitsubishi Mirage 92 29
Mitsubishi Diamante 202 18
Nissan Sentra 110 29
Nissan Altima 150 24
Nissan Quest 151 17
Nissan Maxima 160 21
Oldsmobile Achieva 155 24
Oldsmobile Cutlass Ciera 110 23
Oldsmobile Silhouette 170 18
Oldsmobile Eighty-Eight 170 19
Plymouth Laser 92 23
Pontiac LeMans 74 31
Pontiac Sunbird 110 23
Pontiac Firebird 160 19
Pontiac Grand Prix 200 19
Pontiac Bonneville 170 19
Saab 900 140 20
Saturn SL 85 28
Subaru Justy 73 33
Subaru Loyale 90 25
Subaru Legacy 130 23
Suzuki Swift 70 39
Toyota Tercel 82 32
Toyota Celica 135 25
Toyota Camry 130 22
Toyota Previa 138 18
Volkswagen Fox 81 25
Volkswagen Eurovan 109 17
Volkswagen Passat 134 21
Volkswagen Corrado 178 18
Volvo 240 114 21
Volvo 850 168 20

Use Data Set G, Mileage and Vehicle Weight, on page 536 of your textbook to answer the following questions. The data are found in the Excel Data file, MPG2, which is posted on Canvas under Modules under Chapter 12 Textbook data. The first column (Weight) is X, or the independent, variable and the second column (City MPG) is Y, or the dependent, variable. Use MINITAB to obtain the simple regression equation, confidence interval, prediction interval, and required graphs. Insert tables and graphs in your report as appropriate.

Use Minitab and produce the appropriate output to answer the following questions. Attach the output.

1. Construct a scatter plot. Recalling what scatter plots are used for, write a couple of sentences addressing what you observed from the plot. Be sure to relate your observations to the purpose of using scatter plots in regression. (4 points)

2. Can we conclude that Weight of a vehicle helps in predicting City MPG? Follow the 7 steps for hypothesis testing. (12 points)

3. Find the sample regression equation and interpret the coefficients. Remember your interpretations should be in terms of the problem. (4 points)

4. Find the coefficient of determination, and interpret its value. (2 points)

5. Use residual analysis to check the validity of the model and fully explain your findings and conclusions. (6 points)

6. Estimate with 95% confidence the average City MPG all vehicles with a Weight of 3500 lbs. Predict with 95% confidence the City MPG for an individual vehicle with a weight of 3500 lbs. Write at least one sentence using your confidence interval and at least one sentence using your prediction interval. (10 points)

7. Verify that the p-value for the F is the same as the slope t statistic’s p-value, and show that t2 = F. (2 points)

In: Math

Professional groups enhance the practice of members through the following: Training Networking Publications Regulations Healthcare associations...

Professional groups enhance the practice of members through the following:

  • Training
  • Networking
  • Publications
  • Regulations

Healthcare associations work with government agencies and health organizations to regulate standards of risk management and to ensure the quality of services and patient safety.

  • Discuss 2 different ways the American Society for Healthcare Risk Management (ASHRM) supports risk management efforts in healthcare organizations.

How do external regulatory institutions support healthcare organizations to establish standards for managing risks, and what is the role of internal governance in fostering such relationships?

In: Nursing

what is the concept of bottleneck link?

what is the concept of bottleneck link?

In: Computer Science

Java iteration method, I need a method which iterates through a collection of books and adjusts...

Java iteration method, I need a method which iterates through a collection of books and adjusts the price of all books published between the given parameters to give a 20% discount off the price of each book published between the given years?

Book class

public class Book
{

    private String title;
    private String author;
    private int yearPublished;
    private double bookPriceInCAD;


    public Book(String inputTitle, String inputAuthor, int inputYearPublished, double inputBookPriceInCAD){
     setTitle(inputTitle);
     setAuthor(inputAuthor);
     setYearPublished(inputYearPublished);
     setBookPriceInCAD(inputBookPriceInCAD);
    }

    public String getTitle(){
        return title;
    }

    public String getAuthor(){
        return author;
    }

    public int getYearPublished(){
        return yearPublished;
    }

    public double getBookPriceInCAD(){
        return bookPriceInCAD;
    }

    public void setTitle(String title){
        if(title !=null && !title.isEmpty()){
            this.title = title;
        } else if(title == null){
            throw new IllegalArgumentException("title cannot be null");
        } else if(title.isEmpty()){
            throw new IllegalArgumentException("title cannot be an empty String");
        }
     }

     public void setAuthor(String author){
        if(author !=null && !author.isEmpty()){
            this.author = author;
        } else if(author == null){
            throw new IllegalArgumentException("author cannot be null");
        } else if(author.isEmpty()){
            throw new IllegalArgumentException("author cannot be an empty String");
        }
    }

    public void setYearPublished(int yearPublished){
        if(yearPublished > 0){
            this.yearPublished = yearPublished;
        } else {
            throw new IllegalArgumentException("year published cannot be negative");
        }
      }

    public void setBookPriceInCAD(double bookPriceInCAD){
        if(bookPriceInCAD > 0){
            this.bookPriceInCAD = bookPriceInCAD;
        } else {
            throw new IllegalArgumentException("book price in CAD cannot be negative");
        }
    }

BookStore Class

import java.util.ArrayList;
import java.util.Iterator;
public class BookStore
{
  

    private ArrayList<Book> bookList;
    private String businessName;
  

    public BookStore()
    {
        // initialise instance variables
        bookList = new ArrayList<Book>();
        businessName = "Book Store";
      
    }

    public BookStore(String inputBusinessName){
        setBusinessName(inputBusinessName);
        bookList = new ArrayList<Book>();
     }


    public void setBusinessName(String businessName){
        if(businessName !=null && !businessName.isEmpty()){
            this.businessName = businessName;
        } else if(businessName == null){
            throw new IllegalArgumentException("business Name cannot be null");
        } else if(businessName.isEmpty()){
            throw new IllegalArgumentException("business Name cannot be an empty String");
        }
     }

    public String getBusinessName(){
        return businessName;
    }

    public ArrayList<Book> getBookList(){
        return bookList;
    }

    public void addBook(Book book){
      if(book!=null){
          bookList.add(book);
    }
    }

    public void getBook(int index) {
    if((index >= 0) && (index <= bookList.size())) {
        Book oneBook = bookList.get(index);              
        oneBook.displayDetails();
    }
    else{
        System.out.println("Invalid index position");
    }
    }

    public void searchBook(String title){
        for(Book b: bookList){
         String bookTitle = b.getTitle();
        if(bookTitle.equalsIgnoreCase(title)){
            b.displayDetails();
        } else{
            System.out.println("book not found");
    }
    }
    }

    public void displayBookDetails(){
        for(Book oneBook: bookList){
            oneBook.displayDetails();
          
      }
    }
  

    public static void main(String[] args){
        BookStore list = new BookStore();
        Book b1 = new Book("hello world","steven segal",2005,20.00);
        Book b2 = new Book("goodbye world","Jeff country", 208,10.00);
        Book b3 = new Book("no world","Bill Nye",202,30.00);
        list.addBook(b1);
        list.addBook(b2);
        list.addBook(b3);
        list.getBook(4);
        list.getBook(2);

        list.displayBookDetails();
    }
  
       public int donateBook(int yearPublished){
        Iterator<Book> iter = bookList.iterator();
        int count = 0;
        while(iter.hasNext()){
            Book aBook = iter.next();
          
            if(yearPublished <= aBook.getYearPublished()){
                iter.remove();
                count++;
            }
        }
        return count;
    }
    public void applyDiscountToBook(int beginYear, int endYear){
    }
   

In: Computer Science

Implement a priority queue using a DoublyLinkedList where the node with the highest priority (key) is...

Implement a priority queue using a DoublyLinkedList where the node with the highest priority (key) is the right-most node.
The remove (de-queue) operation returns the node with the highest priority (key).
If displayForward() displays List (first-->last) : 10 30 40 55
remove() would return the node with key 55.
Demonstrate by inserting keys at random, displayForward(), call remove then displayForward() again.
You will then attach a modified DoublyLinkedList.java (to contain the new priorityInsert(long key) and priorityRemove() methods), and a driver to demonstrate as shown above.

Use the provided PQDoublyLinkedTest.java to test your code.

public class PQDoublyLinkedTest
{
    public static void main(String[] args)
    {                             // make a new list
        DoublyLinkedList theList = new DoublyLinkedList();

        theList.priorityInsert(22);      // insert at front
        theList.priorityInsert(44);
        theList.priorityInsert(66);

        theList.priorityInsert(11);       // insert at rear
        theList.priorityInsert(33);
        theList.priorityInsert(55);
        
        theList.priorityInsert(10);
        theList.priorityInsert(70);
        theList.priorityInsert(30);

        theList.displayForward();     // display list forward
        Link2 removed = theList.priorityRemove();
        System.out.print("priorityRemove() returned node with key: ");
        removed.displayLink2();
        
    }  // end main()
}  // end class PQDoublyLinkedTest

_____________________________________________________________________________________________________________________________________________________

// doublyLinked.java
// demonstrates doubly-linked list
// to run this program: C>java DoublyLinkedApp

class Link
{
public long dData; // data item
public Link next; // next link in list
public Link previous; // previous link in list

public Link(long d) // constructor
{ dData = d; }

public void displayLink() // display this link
{ System.out.print(dData + " "); }

} // end class Link

class DoublyLinkedList
{
private Link first; // ref to first item
private Link last; // ref to last item

public DoublyLinkedList() // constructor
{
first = null; // no items on list yet
last = null;
}

public boolean isEmpty() // true if no links
{ return first==null; }

public void insertFirst(long dd) // insert at front of list
{
Link newLink = new Link(dd); // make new link

if( isEmpty() ) // if empty list,
last = newLink; // newLink <-- last
else
first.previous = newLink; // newLink <-- old first
newLink.next = first; // newLink --> old first
first = newLink; // first --> newLink
}

public void insertLast(long dd) // insert at end of list
{
Link newLink = new Link(dd); // make new link
if( isEmpty() ) // if empty list,
first = newLink; // first --> newLink
else
{
last.next = newLink; // old last --> newLink
newLink.previous = last; // old last <-- newLink
}
last = newLink; // newLink <-- last
}

public Link deleteFirst() // delete first link
{ // (assumes non-empty list)
Link temp = first;
if(first.next == null) // if only one item
last = null; // null <-- last
else
first.next.previous = null; // null <-- old next
first = first.next; // first --> old next
return temp;
}

public Link deleteLast() // delete last link
{ // (assumes non-empty list)
Link temp = last;
if(first.next == null) // if only one item
first = null; // first --> null
else
last.previous.next = null; // old previous --> null
last = last.previous; // old previous <-- last
return temp;
}

// insert dd just after key
public boolean insertAfter(long key, long dd)
{ // (assumes non-empty list)
Link current = first; // start at beginning
while(current.dData != key) // until match is found,
{
current = current.next; // move to next link
if(current == null)
return false; // didn't find it
}
Link newLink = new Link(dd); // make new link

if(current==last) // if last link,
{
newLink.next = null; // newLink --> null
last = newLink; // newLink <-- last
}
else // not last link,
{
newLink.next = current.next; // newLink --> old next
// newLink <-- old next
current.next.previous = newLink;
}
newLink.previous = current; // old current <-- newLink
current.next = newLink; // old current --> newLink
return true; // found it, did insertion
}

public Link deleteKey(long key) // delete item w/ given key
{ // (assumes non-empty list)
Link current = first; // start at beginning
while(current.dData != key) // until match is found,
{
current = current.next; // move to next link
if(current == null)
return null; // didn't find it
}
if(current==first) // found it; first item?
first = current.next; // first --> old next
else // not first
// old previous --> old next
current.previous.next = current.next;

if(current==last) // last item?
last = current.previous; // old previous <-- last
else // not last
// old previous <-- old next
current.next.previous = current.previous;
return current; // return value
}

public void displayForward()
{
System.out.print("List (first-->last): ");
Link current = first; // start at beginning
while(current != null) // until end of list,
{
current.displayLink(); // display data
current = current.next; // move to next link
}
System.out.println("");
}

public void displayBackward()
{
System.out.print("List (last-->first): ");
Link current = last; // start at end
while(current != null) // until start of list,
{
current.displayLink(); // display data
current = current.previous; // move to previous link
}
System.out.println("");
}

} // end class DoublyLinkedList

class DoublyLinkedApp
{
public static void main(String[] args)
{ // make a new list
DoublyLinkedList theList = new DoublyLinkedList();

theList.insertFirst(22); // insert at front
theList.insertFirst(44);
theList.insertFirst(66);

theList.insertLast(11); // insert at rear
theList.insertLast(33);
theList.insertLast(55);

theList.displayForward(); // display list forward
theList.displayBackward(); // display list backward

theList.deleteFirst(); // delete first item
theList.deleteLast(); // delete last item
theList.deleteKey(11); // delete item with key 11

theList.displayForward(); // display list forward

theList.insertAfter(22, 77); // insert 77 after 22
theList.insertAfter(33, 88); // insert 88 after 33

theList.displayForward(); // display list forward
} // end main()
} // end class DoublyLinkedApp

____________________________________________________________________________________________________________________________________________________

In: Computer Science

where should amazon have built headquaters #2 ? they chose NYC and Alexandria Va, in your...

where should amazon have built headquaters #2 ? they chose NYC and Alexandria Va, in your opinion is these good choices ? what are positive and negatives of each location ? (1-2 pages)

where shoulf amazin have built there headquaters ? besides the location i named. is the locations i named good locations to havee built there headquarers ? explain why

In: Operations Management