Questions
A college records the module registration information of their students in a database named College.mdb,which contains...

A college records the module registration information of their students in a database named College.mdb,which contains three tables,STUDENT,MODULE andMODULE_REG. A student may enroll in the same module as many times as they like. However, they can only enroll each module at most once in each semester. The design of the three tables are shown below:

Table STUDENT

Field Name

Data Type

Note

SID

Short Text

primary key

FirstName

Short Text

LastName

Short Text

Contact

Short Text

Gender

Short Text

“M” or “F”

Table MODULE_REG

Field Name

Data Type

Note

StudentID

Short Text

ModuleCode

Short Text

Year

Number

Semester

Number

Score

Number

Table MODULE

Field Name

Data Type

Note

ModuleCode

Short Text

primary key

ModuleName

Short Text

Download the database file College.mdbfrom Moodle. Rename it as College_Lxx_syyyyyy.mdb(where Lxxis your class andsyyyyyyis your student number, e.g. College_L01_s170001.mdb/College_L01_s170001.accdb) and complete the following tasks.

(a) Create a primary key of the table MODULE_REG.                                                                (1 mark)

(b)   Establish the relationships between the tables STUDENT,MODULE andMODULE_REG.      (1 mark)

(c)    Create queries to perform the following tasks:

  1. Display the student IDs, studentnames (including both first name and last name), as well as the code and name of modules that each student had enrolled in the secondsemester of 2019. Arrange the records in ascendingorder of the student IDs. Save the query as Q1.
    Note: You mustnotshow the semester and the year in the output.                            

(ii) Display the total number of students in each gender. Save the query as Q2.              

  1. Produce a list of module codes, module names, and the total number of enrollment records of each module. Arrange the records in ascendingorder of the total number of enrollment records of each module. Save the query as Q3.

Produce a list of module codes, module names, student names (including both first name and last name), and student IDs of enrolled students for all modules with module codes beginning with “COM” being registered in the firstsemester of 2019. Arrange the records in ascendingorder of module codes. Save the query as Q4.
Note: You mustnotshow the semester and the year in the output.

In: Computer Science

This is the homework given by the teacher. I don't have more information Complete the below...

This is the homework given by the teacher. I don't have more information

Complete the below code so that your program generates a random walk on the given graph. The length of your walk should also be random.

/******************************************************************/

#include
#include
#include

typedef struct NODE_s *NODE;
typedef struct NODE_s{
   char name;
   NODE link[10];
}NODE_t[1];

#define nodeA 0
#define nodeB 1
#define nodeC 2
#define nodeD 3
#define nodeE 4
#define nodeF 5

int main() {
   srandom(time(NULL));
   //printf("%d\n", random());

   NODE_t node[6];
   node[nodeA]->name = 'A';
   node[nodeB]->name = 'B';
   node[nodeC]->name = 'C';
   node[nodeD]->name = 'D';
   node[nodeE]->name = 'E';
   node[nodeF]->name = 'F';

   int i, j;
   for (i = 0; i < 6; i++) {
       for (j = 0; j < 10; j++) {
           node[i]->link[j] = NULL;
       }
   }

   //a -> c,d,e,f.
   node[nodeA]->link[0] = node[nodeC];
   node[nodeA]->link[1] = node[nodeD];
   node[nodeA]->link[2] = node[nodeE];
   node[nodeA]->link[3] = node[nodeF];

   //b -> c,f.
   node[nodeB]->link[0] = node[nodeC];
   node[nodeB]->link[1] = node[nodeF];

   //c -> a,b,e.
   node[nodeC]->link[0] = node[nodeA];
   node[nodeC]->link[1] = node[nodeB];
   node[nodeC]->link[2] = node[nodeE];

   //d -> a,e,f.
   node[nodeD]->link[0] = node[nodeA];
   node[nodeD]->link[1] = node[nodeE];
   node[nodeD]->link[2] = node[nodeF];

   //e -> a,c,d.
   node[nodeE]->link[0] = node[nodeA];
   node[nodeE]->link[1] = node[nodeC];
   node[nodeE]->link[2] = node[nodeD];

   //f -> a,b,d.
   node[nodeF]->link[0] = node[nodeA];
   node[nodeF]->link[1] = node[nodeB];
   node[nodeF]->link[2] = node[nodeD];

   //Random walk.

   int choice = random() % 6;
   printf("%c\n", node[choice]->name);

   return 0;
}

/******************************************************************/


random walk on a graph . complete the form,then choose the appropriate button at the bottom.   

In: Computer Science

Complete the below code so that your program generates a random walk on the given graph....

Complete the below code so that your program generates a random walk on the given graph. The length of your walk should also be random.

/******************************************************************/

#include <stdio.h>
#include <stdlib.h>
#include <time.h>

typedef struct NODE_s *NODE;
typedef struct NODE_s{
char name;
NODE link[10];
}NODE_t[1];

#define nodeA 0
#define nodeB 1
#define nodeC 2
#define nodeD 3
#define nodeE 4
#define nodeF 5

int main() {
srandom(time(NULL));
//printf("%d\n", random());

NODE_t node[6];
node[nodeA]->name = 'A';
node[nodeB]->name = 'B';
node[nodeC]->name = 'C';
node[nodeD]->name = 'D';
node[nodeE]->name = 'E';
node[nodeF]->name = 'F';

int i, j;
for (i = 0; i < 6; i++) {
for (j = 0; j < 10; j++) {
node[i]->link[j] = NULL;
}
}

//a -> c,d,e,f.
node[nodeA]->link[0] = node[nodeC];
node[nodeA]->link[1] = node[nodeD];
node[nodeA]->link[2] = node[nodeE];
node[nodeA]->link[3] = node[nodeF];

//b -> c,f.
node[nodeB]->link[0] = node[nodeC];
node[nodeB]->link[1] = node[nodeF];

//c -> a,b,e.
node[nodeC]->link[0] = node[nodeA];
node[nodeC]->link[1] = node[nodeB];
node[nodeC]->link[2] = node[nodeE];

//d -> a,e,f.
node[nodeD]->link[0] = node[nodeA];
node[nodeD]->link[1] = node[nodeE];
node[nodeD]->link[2] = node[nodeF];

//e -> a,c,d.
node[nodeE]->link[0] = node[nodeA];
node[nodeE]->link[1] = node[nodeC];
node[nodeE]->link[2] = node[nodeD];

//f -> a,b,d.
node[nodeF]->link[0] = node[nodeA];
node[nodeF]->link[1] = node[nodeB];
node[nodeF]->link[2] = node[nodeD];

//Random walk.

int choice = random() % 6;
printf("%c\n", node[choice]->name);

return 0;
}

In: Computer Science

Introduction: Panoramio is an application that enables digital photographers to geo-locate, store and organize their photographs–and...

Introduction:

Panoramio is an application that enables digital photographers to geo-locate, store and organize their photographs–and to view those photographs in Google Earth and Google Maps. This application where users can upload and geo-locate photos of the world, explore the world through other people's photos, and join a community of other photography enthusiasts. Geo-positioned photos uploaded in Panoramio may be displayed in a Panoramio Group, Google Earth and Google Maps and other sites using the Panoramio API. Panoramio is different from other photo sharing sites because the photos illustrate places. As you browse Panoramio, notice that there aren't many photos of friends and family posing in front of places, or photos of interesting surfaces-- Panoramio's all about seeing the world. You can jump from one photo to the closest one, walking virtually around the place or watching the place from many different perspectives.

Existing System:

Today there are many applications and web portals for using maps, one such example is ovi maps. Similarly there are portals to search pictures of interesting places and applications that uses radar to trace routes. But in applications or portals for maps, we can only view and explore the map. In applications or portals of image searching, additional information on location and option to share the information may not be given and in application like radar we can just trace route. But it would be convenient to the common man if all these features come in one single application or portal.

Proposed System:

Panoramio extended in order to view a map along with geo-tagging. It would be very convenient if the common man gets the information of all the interesting places at various locations on single portal with pictures and location information. If anyone wants to know about the interesting places at various locations and wants to visit those places then they can get that information through Panoramio.

These are the following features:

• It displays a custom map.

• Displays a list or thumbnails of pictures of the most popular places within the search location.

• Displays the information related to the selected picture.

• Allows information sharing and bookmarking options.

• Allows to view on web

• Can also be used as a radar if the device supports GPS.

Modules

Map Module:

The application starts by showing the Google map. As the application starts it shows the world map. On the map graphical user interfaces like zoom buttons are displayed. The user can pan and zoom this map and select a search area. This can be done as follows: the user can pan the map into the direction of the required ord desired location and then when the desired location is on the center of the screen then zoom option can be used to get a detailed view of the map. Panning and zooming is done until the desired location is obtained. After the desired location has been found, it is dragged to the center of the screen and then “Search Panoramio” is button is clicked to view thumbnails of photos of the popular places taken in that area. Thus, in this module the user can view a map, explore and search places. The google map which is used in the application by adding google API in our eclipse which is the integrated development environment used in the development of panoramio. Then the map API key(MD5 Fingerprint) is to be added to the application code to deploy it. This can be done by submitting the keystore value in the following link http://code.google.com/android/maps-apisignup.html. now when the application successfully runs and on opening shows the map. To this zoom buttons are added to the map using the widgets. Thus, in this module the user can view a map, explore and search places.

Search Module:

When the “Search Panoramio” button is clicked the application starts downloading thumbnails of the most popular photos taken within the selected area. After panning and zooming the map until the desired location and is dragged to the center of the screen “Search Panoramio’ button is clicked and in a new thread an image list is displayed. The user can select any picture of interest and the pic gets displayed in a separate thread with the author’s information. From here when menu is selected four options are shown: Radar, Map, AuthorInfo, View on web. The user can select the “Radar” to trace the route, “Map” to view the location of the photo in the map and “View on web” to navigate to the panoramio site. If the user doesn’t use this menu and rather clicks on the selected image, then, again in a new thread an enlarged view of the selected image is.

From here when menu is clicked the user gets the options to:

• Add bookmark

• Find on page

• Select text

• Page Info

• Share page

• Download

• Settings

Thus, in this module the user views the image lists, that is, thumbnails, selects desired image, views image’s information and then bookmarks and shares their favourite image.

Radar Module:

The radar view can be selected once the user selects a picture from the image list. After selecting the picture the application shows the enlarged view of the picture with some additional information. From here when menu is clicked out of three other options, a radar option is found. If radar is selected then the application shows a radar view. But this is possible only if the device on which the application runs supports GPS and radar is installed. Otherwise “NO_RADAR” message is displayed. If the radar is installed and the device on which the application runs supports GPS then the application opens a radar view. In this the latitude values and longitude values are displayed. The gps locates the users current location and then finds and shows the route to selected picture’s location in the real world. Thus in this module the route from the users current location to the selected image’s location in the real world is displayed in radar view along with the location’s latitude and longitude value.

Author Info:

AuthorInfo shows the information about the author of a particular photo or image. After an image is selected from the image list another thread opens with the image enlarged and with additional information. From here when menu is clicked along with three other options, a authorInfo button is displayed. When clicked on this the application navigates to the panoramio site and displays a list of other photos taken by the author and also the number of views for each photo. Other than displaying other photo’s taken by the author, the author’s profile is also displayed with the author’s profile pic, message, status, tags, groups and favorite photographs. From here the user has the options to send a private message to the author or add the photo as a favorite photo. Thus, in this module the user navigates to the author’s profile in the panoramio site to view detailed information of the author of a particular image.

Web Module:

Web module allows the user to view the panoramio site. The user can navigate to the site by clicking the “view on web” button. A new thread opens showing the panoramio site. The user can view all photos in the panoramio site, view profiles of different authors/users, add a pic as favorite, share the pic with any other person, bookmark the page etc. the user can upload their photo from their gallery. Thus, this module allows the user to use the panoramio site and allows them to do all the same things that they do in the application but, the difference is that here they are in an online mode and do all the operations directly through the site.

Q1. Design Use Case Diagram. [5 marks]

Q2. Design Component Diagram. [5 marks]

Q3. Design Class Diagram. [10 marks]

Q4. What architecture model will be used to develop such a system. Explain in your own words. [5 marks]

In: Advanced Math

PREVIOUS CODE: InventroryItems class InventoryItem implements Cloneable{ // instance variables protected String description; protected double price;...

PREVIOUS CODE:

InventroryItems

class InventoryItem implements Cloneable{
        // instance variables
        protected String description;
        protected double price;
        protected int howMany;

        // constructor
        public InventoryItem(String description, double price, int howMany) {
                this.description = description;
                this.price = price;
                this.howMany = howMany;
        }

        // copy constructor
        public InventoryItem(InventoryItem obj) {
                this.description = obj.description;
                this.price = obj.price;
                howMany = 1;
        }

        // clone method
        @Override
        protected Object clone() throws CloneNotSupportedException {
                return super.clone();
        }

        // toString method
        @Override
        public String toString() {
                return description + " ($" + price + ")";
        }

        // equals method
        @Override
        public boolean equals(Object obj) {
                InventoryItem other = (InventoryItem) obj;
                if (description.equals(other.description) && price == other.price)
                        return true;
                return false;
        }

        // view method
        public void view() {
                System.out.println("Viewing: " + description);
        }
}

Book

class Book extends InventoryItem {
        private String author;

        public Book(String description, double price, int howMany, String author) {
                super(description, price, howMany);
                this.author = author;
        }

        public Book(Book obj) {
//              super(new InventoryItem(obj.description, obj.price, obj.howMany));
                super(obj);
                this.author = obj.author;
        }

        @Override
        protected Object clone() throws CloneNotSupportedException {
                return super.clone();
        }

        @Override
        public String toString() {
                return "Book: " + description + " by " + author + " ($" + price + ")";
        }

        @Override
        public void view() {
                System.out.println("Openeing Book: " + description);
        }

        @Override
        public boolean equals(Object obj) {
                Book other = (Book) obj;
                if (super.equals(obj) && author.equals(other.author))
                        return true;
                return false;
        }
}

MusicCD

class MusicCD extends InventoryItem{
        private String performer;

        public MusicCD(String description, double price, int howMany, String performer) {
                super(description, price, howMany);
                this.performer = performer;
        }
        
        public MusicCD(MusicCD obj) {
                super(obj);
                this.performer = obj.performer;
        }
        
        @Override
        public String toString() {
                return "CD: "+performer+": "+super.toString();
        }
        
        @Override
        public void view() {
                System.out.println("Now Playing Sample: "+description);
        }
        
        @Override
        protected Object clone() throws CloneNotSupportedException {
                return super.clone();
        }
        
        @Override
        public boolean equals(Object obj) {
                MusicCD other = (MusicCD) obj;
                if(super.equals(obj) && performer.equals(other.performer))
                        return true;
                return false;
        }
}

Test

public class Test{
        public static void main(String[] args) throws CloneNotSupportedException {
                //testing the classes
                InventoryItem book1 = new Book("Somthing Nice", 2.56, 5, "John Wick");
                InventoryItem book2 = (InventoryItem) book1.clone();
                InventoryItem book3 = new Book((Book)book2);
                
                InventoryItem cd1 = new MusicCD("Classic Hits", 3.26, 6, "Elvis Presley");
                InventoryItem cd2 = (InventoryItem) cd1.clone();
                InventoryItem cd3 = new MusicCD((MusicCD)cd2);
                
                System.out.println("book2.equals(book3)? "+book2.equals(book3));
                System.out.println("cd1.equals(cd3)? "+cd1.equals(cd3));
        }
}

JAVA programming- please respond to all prompts as apart of one java project. All information has been provided.

Part C

Create two more classes, TextBook and Novel, which inherit from Book. A TextBook has a String subject, and a Novel has a String genre.

Override equals in both these classes. A TextBook can be equal to another TextBook with the same price, description, author, and subject, or to a Novel if the price, description, and author are the same and the genre of the Novel is the same as the subject of the textbook. The same goes for the Novel class.  

Part D

Create a class ItemStorage which contains an array of inventory items as an instance variable. It should start out empty but with room for at least 10 items. Keep an instance variable like firstEmptyInstance which holds the number of the first empty location in the array (these should NOT be accessible directly from outside classes, but you may find it easier to use protected for the sake of your subclasses).

Add a method add(newitem) to add InventoryItems to the list. If the item it is adding is equal (think about this) to an item already in the list, instead of taking up another spot in the array, increase the howmany number for the item already there (so if the one in the array has 3 and the one I am adding has 2, we end up with 5), otherwise add it to the array in the first empty spot as usual. If we have added successfully, return true. If the item is new to the list and the array is full, return false.

The toString method should return a String that lists all the items that are in the list, numbered from 1, including how many of each there are.

Add a method viewAll that calls view for each of the items in the list.

Create a class Cart which inherits from ItemStorage

Add a method totalPrice which should return the current total price of all elements in the cart, taking in to account how many of each there are (so if there is an item with price $3 and there are 4 of them, they add $12 to the total price.

The toString should look like the one for ItemStorage, but add a total price at the bottom.

Create a Class Warehouse which inherits from ItemStorage.

Add a method buy(int index) (Assume a human started counting at 1, and adjust accordingly.)

  • If index is not a valid, occupied index in the list, return null.
  • If it is valid and there is more than one of that item in stock, decrease the number in stock, and return a copy of the item.
  • If there is only one left, before returning it, remove it entirely from the list by first replacing it by the last item in the list, and then moving the first empty index variable up by one, and then return the item. (so, if the cart formerly contained items (A, B, C, D, E) and we removed the last C, it would now contain (A, B, E, D), and the first empty index would become 4 instead of 5, while we return C.)  

[Do not remove items by looping through and moving everything else up, so that ABCDE with C removed becomes ABDE, notice how much more inefficient this is. It is only worth doing in an array if we care about the order.]

Part E

In a main, create a Warehouse and fill it with various Books, MusicCD's, and other items for sale. Make sure there are multiples of some items in the warehouse. (Make items up in your code, don't read them in from a user). Also create a Cart.

In a loop, repeatedly show the Warehouse and ask the user whether to 1) buy a new item, 2) view cart, 3) preview items 4) check out. If they choose to buy a new item, ask for the number of the item, buy that item from the warehouse, and add the chosen item to the cart. If they choose to view cart, print the cart. If they choose to preview items, use viewAll() from the Cart class to view all items in the cart. If they choose to check out, show the total cost again and make them confirm that they want to buy and if they do, print a message saying their credit card was charged, if not just say goodbye, then end the program.

(hint: The main class shouldn't even need to be aware that there are arrays in the Cart and Warehouse classes. Classes other than main shouldn't talk to the user for this program. As always, you may add extra methods to any class to help you break down tasks or to make coding easier. )

In: Computer Science

The power delivered to the wheels of a vehicle (w) as a function of vehicle speed...

The power delivered to the wheels of a vehicle (w) as a function of vehicle speed (V) is given by: w = 0.01417[hp/mph2]V 2 + 0.6300[hp/mph]V - 0.3937[hp] where power is in horsepower and velocity in mph. The amount of heat rejected from the engine block (qb) is approximately equal to the amount of power delivered to the wheel (the rest of the energy from the fuel leaves with the exhaust gas). The heat is removed from the engine by pumping water through the engine block with a mass flow rate of m = 0.80 kg/s. The thermal communication between the engine block and the cooling water is very good, therefore you may assume that the water will exit the engine block at the engine block temperature (Tb). For the purpose of this problem, you may model the water as having constant properties that are consistent with liquid water at 70oC. The heat is rejected from the water to the surrounding air using a radiator, as shown in the figure. When the car is moving, air is forced through the radiator due to the dynamic pressure associated with the relative motion of the car with respect to the air. That is, the air is forced through the radiator by a pressure difference that is equal to ?V 2/2, where ? is the density of air. Assume that the temperature of ambient air is T? = 35oC and model the air in the radiator assuming that it has constant properties consistent with this temperature. The radiator has a plate-fin geometry. There are a series of tubes installed in closely spaced metal plates that serve as fins. The fin pitch is pf = 1.2mm and there are W/pf plates available for heat transfer. The heat transfer core has overall width W = 50 cm, height H = 30 cm (into the page), and length (in the flow direction) of L = 10 cm. For the purpose of modeling the air side of the core, you may assume that the air flow is consistent with an internal flow through rectangular ducts with dimension H x pf. Assume that the fins are 100% efficient and neglect convection from the external surfaces of the tubes as well as the reduction in the area of the plates associated with the presence of the tubes. Using the information above, develop a model that will allow you to predict the engine block temperature as a function of vehicle velocity. Prepare a plot showing Tb vs V . If necessary, produce additional plots to help with your explanation. If the maximum allowable temperature for the engine block is 100oC (in order to prevent vaporization of the water) then what range of vehicle speeds are allowed? You should see both a minimum and a maximum limit.


Show transcribed image text

In: Mechanical Engineering

Ice Cream Program Assignment Write a program that uses a function to ask the user to...

Ice Cream Program Assignment

Write a program that uses a function to ask the user to choose an ice cream flavor from a menu (see output below.) You must validate the users input for the flavor of ice cream accounting for both upper and lower-case letters. You must give them an appropriate error message and allow them to try again.   Once you have a valid flavor, your function will return the flavor back to the main() function.   

Your main() function will then ask for the number of scoops. You must validate this data! Make sure that the user chooses at least 1 scoop but no more than 4. If they try another other, you must give them an error message and allow them to try again.   

Your program will then calculate and display the cost of the ice cream. The cost of ice cream is $ .75 for the cone and $1.25 per scoop.

Your program will continue asking customers for the flavor and number of scoops until they choose ‘Q’ to quit.

The program will then send all of the data to a function to display the total number of cones sold, the total amount collected, and the total scoops of each type of ice cream sold.  

Sample Output:

Please Choose your Favorite Flavor!

        V - Vanilla

        C - Chocolate

        F - Fudge

        Q - Quit

-----> v

How many scoops would you like? 2

Your ice cream cone cost $   3.25 Please Choose your Favorite Flavor!

        V - Vanilla

        C - Chocolate

        F - Fudge

        Q - Quit

-----> c

How many scoops would you like? 5

That is an invalid number of scoops! You may only choose between 1 and 4

Please try again!

How many scoops would you like? 0

That is an invalid number of scoops! You may only choose between 1 and 4

Please try again!

How many scoops would you like? 3

Your ice cream cone cost $   4.50 Please Choose your Favorite Flavor!

        V - Vanilla

        C - Chocolate

        F - Fudge

        Q - Quit

-----> s

How many scoops would you like? 1

Your ice cream cone cost $   2.00 Please Choose your Favorite Flavor!

        V - Vanilla

        C - Chocolate

        F - Fudge

        Q - Quit

-----> q

The total number of cones sold:           3

The total scoops of vanilla sold:         2

The total scoops of chocolate sold:       3

The total scoops of fudge sold:           1

The total amount collected:         $ 9.75

In: Computer Science

Case 4 Chick-fil-A Is Dominating the U.S. Fast-Food Market Chick-fil-A is dominating the U.S. fast-food market....

Case 4 Chick-fil-A Is Dominating the U.S. Fast-Food Market Chick-fil-A is dominating the U.S. fast-food market. Whereas McDonald’s, Subway, Burger King, and Taco Bell trudge along at the top of the heap, Chickfil-A has quietly risen from a Southeast regional favorite to become the largest chicken chain and the eighth-largest quick-service food purveyor in the country. The chain sells significantly more food per restaurant than any of its competitors, twice that of Taco Bell or Wendy’s and more than three times what the KFC Colonel fries up. And it does this without even opening its doors on Sundays. With annual revenues of more than $6 billion and annual average growth of 12.7 percent, the chicken champ from Atlanta shows no signs of slowing down. How does Chick-fil-A do it? By focusing on customers. Since the first Chickfil-A restaurant opened for business in the late 1960s, the chain’s founders have held tenaciously to the philosophy that the most sustainable way to do business is to provide the best possible experience for customers. Applying Some Pressure Chick-fil-A founder S. Truett Cathy was no stranger to the restaurant business. Owning and operating restaurants in Georgia in the 1940s, 1950s, and 1960s, his experience led him to investigate a better (and faster) way to cook chicken. He discovered a pressure fryer that could cook a chicken breast in the same amount of time it took to cook a fast-food burger. Developing the chicken sandwich as a burger alternative, he registered the name “Chick-fil-A, Inc.” and opened the first Chickfil-A restaurant in 1967. The company began expanding immediately, although at a substantially slower pace than the market leaders. Even today, Chick-fil-A adds only about 100 new stores each year. Although it now has more than 2,000 stores throughout the United States, that number is relatively small compared to KFC’s 4,100, McDonald’s 13,000, and Subway’s 27,000. Chick-fil-A’s controlled level of growth ties directly to its “customer first” mantra. As a family-owned operation, the company has never deviated from its core value to “focus on getting better before getting bigger.” The slow-growth strategy has facilitated that ability to “get better.” As another way to perfect its business, the company has also stuck to a limited menu. The original breaded chicken sandwich remains at the core of Chick-fil-A’s menu today, “a boneless breast of chicken seasoned to perfection, hand-breaded, pressure cooked in 100% refined peanut oil and served on a toasted, buttered bun with dill pickle chips.” In fact, the company’s trademarked slogan, “We didn’t invent the chicken, just the chicken sandwich,” has kept the company on track for decades. Although it has carefully and strategically added other items to the menu, it’s the iconic chicken sandwich in all its varieties that primarily drives the brand’s image and the company’s revenues. This focus has helped the company give customers what they want year after year without being tempted to develop a new flavor of the month.590 Case Studies Getting It Right Also central to Chick-fil-A’s mission is to “have a positive influence on all who come in contact with Chick-fil-A. Although seemingly a tall order to fill, this sentiment permeates every aspect of its business. Not long ago, current Chick-fil-A’s CEO Dan Cathy was deeply affected by a note that his wife taped to their refrigerator. In a recent visit to a local Chick-fil-A store, she had not only received the wrong order, she had been overcharged. She circled the amount on her receipt, wrote “I’ll be back when you get it right” next to it, and posted it on the fridge for her husband to see. That note prompted Dan Cathy to double-down on customer service. He initiated a program by which all Chick-fil-A employees were retrained to go the “second mile” in providing service to everyone. That “second mile” meant not only meeting basic standards of cleanliness and politeness but going above and beyond by delivering each order to the customer’s table with unexpected touches such as a fresh-cut flower or ground pepper for salads. The experience of a recent patron illustrates the level of service Chick-fil-A’s customers have come to expect as well as the innovative spirit that makes such service possible: My daughter and I stopped at Chick-fil-A on our way home. The parking lot was full, the drive-thru was packed . . . but the love we have for the chicken sandwiches and waffle potato fries! So we decided it was worth the wait. As we walked up the sidewalk, there were two staff members greeting every car in the drive-thru and taking orders on little tablets. A manager was making his rounds around the building outside smiling and waving at cars as they were leaving. When we came inside, the place was packed! We were greeted immediately by the cashiers. Seth happened to take our order. He had a big smile, wonderful manners, spoke clearly and had great energy as a teenager! He gave us a number and said he’d be right out with our drinks. We were able to sit at a table as the other guests were leaving and before we could even get settled our drinks were on the table! While Seth started to walk away, our food was delivered by another very friendly person. Both myself and my 15-year-old daughter commented on how fast it all happened. We were so shocked that we started commenting on the large groups arriving behind us, and began watching in amazement, not only inside but outside! Everyone behind the counter worked together, used manners, and smiled. The teamwork was amazing! Then Ron, a gray-headed friendly man, made his way from table to table, checking on guests, giving refills, and trading coloring books for small ice cream cones with sprinkles for little kids. He checked on us twice and filled our drinks once. Recently, the company instituted the “parent’s valet service,” inviting parents juggling small children to go through the drive-through, place their order, park, and make their way inside the store. By the time the family gets inside, its meal is waiting on placemats at a table with high chairs in place. But beyond the tactics that are taught as a matter of standard policy, Chick-fil-A also trains employees to look for special ways to serve—such as retrieving dental appliances from dumpsters or delivering smartphones and wallets that customers have left behind. Give Them Something to Do Beyond high levels of in-store service, Chick-fil-A has focused on other brand- building elements that enhance the customer experience. The brand got a big boost when the Chick-fil-A cows made their promotional debut as three-dimensional characters on billboards with the now famous slogan, “EAT MORE CHIKIN.” The beloved bovines and their self-preservation message have been a constant across all Chick-fil-A promotional materials for the past 20 years. They’ve also been the linchpin for another Chick-fil-A customer experience-enhancing strategy, engage customers by giving them something to do.Case Studies 591 Displaying any of the cow-themed mugs, T-shirts, stuffed animals, refrigerator magnets, laptop cases, and dozens of other items the company sells on its Web site certainly qualifies as “something to do.” But Chick-fil-A marketers go far beyond promotional items to engage customers. For starters, there’s “Cow Appreciation Day,” a day set aside every July when customers who go to any Chick-fil-A store dressed as a cow get a free meal. Last year, the 10th anniversary of this annual event, about a million cow-clad customers cashed in on the offer. Another tradition for brand loyalists is to camp out prior to the opening of a new restaurant. Chick-fil-A encourages this ardent activity with its “First 100” promotion, an officially sanctioned event in which the company presents the first 100 people in line for each new restaurant opening vouchers for a full year’s worth of Chick-fil-A meals. Dan Cathy himself has been known to camp out with customers, signing T-shirts, posing for pictures, and personally handing coupons to the winners. And whereas some customer-centric giveaways are regular events, others pop up randomly. Take the most recent “family challenge,” which awards a free ice cream cone to any dine-in customers who relinquish their smartphones to a “cell phone coop” for the duration of their meals. To keep customers engaged when they aren’t in the stores, Chick-fil-A has become an expert in social and digital media. Its newest app, Chick-fil-A One, jumped to the number-one spot on iTunes only hours after being announced. Nine days later, more than a million customers had downloaded the app, giving them the ability to place and customize their orders, pay in advance, and skip the lines at the register. And in a recent survey by social media tracker Engagement Labs, Chick-fil-A was ranked number one and crowned the favorite American brand on all major social media platforms, including Facebook, Twitter, and Instagram. Every year, as the accolades roll in, it is apparent that Chick-fil-A’s customer- centric culture is more than just talk. Among the many competitors, Chick-fil-A was rated number one in customer service in the most recent Consumer Reports survey of fast-food chains. In the latest annual Customer Service Hall of Fame survey, Chickfil-A ranked second out of 151 of the best-known companies across 15 industries, trailing only Amazon. A whopping 47 percent of customers rated the company’s service as “excellent,” and Chick-fil-A was the only fast-food chain to make the list for the second year in a row. After decades of phenomenal growth and success, Chick-fil-A is celebrating by firing the Richards Group, its long-standing agency of record. Additionally, the beloved cows that are so widely recognized as symbols of the brand will ease into the background of promotional materials. “The cows are an integral part of the brand. They’re our mascot, if you will,” says Jon Bridges, chief marketing officer for Chickfil-A. “But they aren’t the brand. The brand is bigger than that.” For now, Bridges only says that the cows won’t disappear. But a new “Cow-plus” is in the works, and the brand’s promotional messages will expand beyond the bovines to tell engaging stories about the food, people, and service that make the brand so special. It’s a risky move. With Chick- fil-A growing faster than any other major fast-food chain, it begs the question as to whether such a drastic change in the brand’s symbolism will sustain its current growth for years to come, or send some customers out to pasture. Prior to this recent announcement, one estimate has Chick-fil-A on track to add between $6 billion and $9 billion in revenues within the next decade. In that same period, giant McDonald’s may add as much as $10 billion in U.S. sales but as little as only $1 billion. Clearly, all this growth is not an accident. As one food industry analyst states, “It’s about trying to maintain high levels of service, high quality, not deviating dramatically, and giving customers an idea of what to expect.” As long as Chick-fil-A continues to make customers the number-one priority, we can expect to find more and more access to those scrumptious chicken sandwiches. Sources: Jessica Wohl, “Chick-fil-A Drops The Richards Group After 22 Years,” Advertising Age , July 21, 2016, www.adage.com/print/305057; Micah Solomon, “Chick-fil-A Becomes a Customer Experience Thought Leader by Asking Families to Ditch Cell Phones,” Forbes , March 3, 2016, www.forbes.com/sites/micahsolomon/2016/03/03/chik-fil-a-rewards-families-for-ditching-cellphones-the-genius-customer-experience-move-of-2016/#4e1830e65858; Micah Solomon, “The Chick-fil-A Way of Customer Service and Employee Engagement,” Forbes , June 14, 2016, www.forbes.com/sites/micahsolomon/2016/06/14/the-chick-fil-away-of-customer-service-and-employee-engagement/#8587848660eb; Hayley Peterson, “How 592 Case Studies Chick-fil-A’s Restaurants Sell Three Times as Much as KFC,” Time , August 5, 2015, www.businessinsider.com/how-chick-fil-a-is-dominating-fast-food-2015-8; Michael B. Sauter, “2015’s Customer Service Hall of Fame,” USA Today , August 2, 2015, www.usatoday.com/story/ money/business/2015/07/24/24-7-wall-st-customer-service-hall-fame/30,599,943/; “Chickfil-A One Surges to No. 1 Slot in iTunes App Store,” QSR , June 10, 2016, www.qsrmagazine. com/news/chick-fil-one-surges-no-1-slot-itunes-app-store; “Chick-fil-A Beats Amazon, Netflix in Social Media,” QSR , January 12, 2016, www. qsrmagazine.com/news/chick-fil-beatsamazon-netflix-social-media; and www.chick-fil-a.com/Company/Highlights-Fact-Sheets and www.chick-fil-a.com/Story (accessed June 2016).

Case #4: What is the concept of inseparability and how does Chick-Fil-A use it to deliver exceptional service?

In: Economics

Using the Journal Entry form, prepare the journal entries for each of the source documents provided...

Using the Journal Entry form, prepare the journal entries for each of the source documents provided below

1. To: YOUR NAME Corporation Date: October 1, 2018 Various people paid YOUR NAME Corporation $10,000 cash in exchange for Common Shares

2.To: YOUR NAME Corporation Date: October 8, 2018 Hired four employees to begin work on Monday, October 15, 2018. Each employee will receive a weekly salary of $500 for a five-day work week (Monday - Friday), payable every two weeks, the first payment will be made Friday, October 26, 2018

3. To: YOUR NAME Corporation Date: October 26, 2018 Payroll was completed paying biweekly salaries to four employees for the period October 15 - 26

4. To: YOUR NAME Corporation Date: October 29, 2018 The Board of Directors declared a dividend to shareholders on record of $500

5. To: YOUR NAME Corporation Date: October 2, 2018 Receipt for monthly rent for the month of October 2018; amount is $900.00

6. FOCUS EQUIPMENT Invoice # INV728 1234-98 Avenue Date October 1, 2018 Edmonton, AB T2J 1B2 To: YOUR NAME Corporation YOUR ADDRESS Calgary, AB T2X 1X1 Details: Purchase of equipment to be used in your daily operations which is estimated to have a 5-year life. $5,000.00 Payment received in full Thank you for your business

7. Aero Supply Company Invoice # 5544 72 Gladstone Way Date October 9, 2018 Calgary, AB T3B 4F6 To: YOUR NAME Corporation YOUR ADDRESS Calgary, AB T2X 1X1 Details: Office supplies 2,500.00 Payment due in 30 days

8. Date: October 1, 2018 Re: Loan Dear Customer: We are pleased to provide you a $5,000 loan with an interest rate of 6% per annum. The terms of the loan are to be paid in full on or before January 1, 2019 (3 months) interest and principle. Sincerely, ScotiaBank

9. ABC Insurance Company Invoice # 1298 83 Sunset Blvd Date: October 5, 2018 Calgary, AB T2M 3M3 To: YOUR NAME Corporation YOUR ADDRESS Calgary, AB T2X 1X1 Insurance Policy: Effective for the period October 1, 2018 to September 30, 2019 Total Payment required $ 600.00 Payment received in full

10. YOUR NAME Corporation Invoice # 0001 YOUR ADDRESS Date October 15, 2018 Calgary, AB T2X 1X1 TO: Copa Ltd 998 Simpson Way Calgary, AB T2K 4M9 Provided Advertising Services 20,000.00 Payment due in 30 days Thank you for your business.

11. YOUR NAME Corporation Scotiabank YOUR ADDRESS Calgary, AB Calgary, AB T2X 1X1 Cheque Number 1000 Date: October 22, 2018 Pay to the order Aero Supply Company $1,000.00 --------------------------One thousand ----------------------------------------- dollars Partial pmt for Inv 5544 your signature.

12. YOUR NAME Corporation Scotiabank YOUR ADDRESS Calgary, AB Calgary, AB T2X 1X1 Cheque Number 1001 Date: October 30, 2018 Pay to the order Canada Revenue Agency $1,800.00 ----------------One thousand eight hundred ----------------------------------------- dollars Income Tax Instalment payment your signature.

13. Copa Ltd Royal Bank 998 Simpson Way Calgary, AB Calgary, AB T2K 4M9 Cheque Number 2468 Date: October 30, 2018 Pay to the order YOUR NAME Corporation $9,000.00 -------------------------------------Nine thousand ----------------------------------------- dollars Partial pmt for Inv 0001 Copa Ltd signature.

14. Knox Ltd CIBC 43 Happy Lane Calgary, AB Calgary, AB T2K 4M9 Cheque Number 0001391 Date: October 19, 2018 Pay to the order YOUR NAME Corporation $1,200.00 -----------------------------One thousand two hundred------------------------------- dollars Advanced payment for work in November 2018 Knox Ltd signature.

4. Memos and other source documents been provided to you to help you prepare the monthly adjusting journal entries required. Prepare and post the adjusting journal entries using the forms provided. Please note, not all of the information to complete the adjusting journal entries is provided so you must review the accounts in the Unadjusted Trial Balance. 5. Using the Trial Balance form, prepare the Adjusted Trial Balance

15. To: YOUR NAME Corporation Date: October 31, 2018 A count of office supplies was conducted and it is determined $1,500 worth of supplies was used during the month

16. To: YOUR NAME Corporation Date: October 31, 2018 It was determined that $400 of the $1,200 received from Knox Ltd has been earned during the month

17. YOUR NAME Corporation Invoice # 0003 YOUR ADDRESS Date October 31, 2018 Calgary, AB T2X 1X1 TO: New Customer New Address Calgary, AB T1L 3H9 Provided Advertising Services during October 2018 200.00 Payment due in 30 days Thank you for your business

6. Using the Financial Statement forms, prepare the: a. Income Statement b. Statement of Changes in Equity c. Balance Sheet / Statement of Financial Position For the first month of operations for YOUR NAME Corporation. Prepare a T- account for the journal entries.

In: Accounting

Using the Journal Entry form, prepare the journal entries for each of the source documents provided...

Using the Journal Entry form, prepare the journal entries for each of the source documents provided below

1. To: YOUR NAME Corporation Date: October 1, 2018 Various people paid YOUR NAME Corporation $10,000 cash in exchange for Common Shares

2.To: YOUR NAME Corporation Date: October 8, 2018 Hired four employees to begin work on Monday, October 15, 2018. Each employee will receive a weekly salary of $500 for a five-day work week (Monday - Friday), payable every two weeks, the first payment will be made Friday, October 26, 2018

3. To: YOUR NAME Corporation Date: October 26, 2018 Payroll was completed paying biweekly salaries to four employees for the period October 15 - 26

4. To: YOUR NAME Corporation Date: October 29, 2018 The Board of Directors declared a dividend to shareholders on record of $500

5. To: YOUR NAME Corporation Date: October 2, 2018 Receipt for monthly rent for the month of October 2018; amount is $900.00

6. FOCUS EQUIPMENT Invoice # INV728 1234-98 Avenue Date October 1, 2018 Edmonton, AB T2J 1B2 To: YOUR NAME Corporation YOUR ADDRESS Calgary, AB T2X 1X1 Details: Purchase of equipment to be used in your daily operations which is estimated to have a 5-year life. $5,000.00 Payment received in full Thank you for your business

7. Aero Supply Company Invoice # 5544 72 Gladstone Way Date October 9, 2018 Calgary, AB T3B 4F6 To: YOUR NAME Corporation YOUR ADDRESS Calgary, AB T2X 1X1 Details: Office supplies 2,500.00 Payment due in 30 days

8. Date: October 1, 2018 Re: Loan Dear Customer: We are pleased to provide you a $5,000 loan with an interest rate of 6% per annum. The terms of the loan are to be paid in full on or before January 1, 2019 (3 months) interest and principle. Sincerely, ScotiaBank

9. ABC Insurance Company Invoice # 1298 83 Sunset Blvd Date: October 5, 2018 Calgary, AB T2M 3M3 To: YOUR NAME Corporation YOUR ADDRESS Calgary, AB T2X 1X1 Insurance Policy: Effective for the period October 1, 2018 to September 30, 2019 Total Payment required $ 600.00 Payment received in full

10. YOUR NAME Corporation Invoice # 0001 YOUR ADDRESS Date October 15, 2018 Calgary, AB T2X 1X1 TO: Copa Ltd 998 Simpson Way Calgary, AB T2K 4M9 Provided Advertising Services 20,000.00 Payment due in 30 days Thank you for your business.

11. YOUR NAME Corporation Scotiabank YOUR ADDRESS Calgary, AB Calgary, AB T2X 1X1 Cheque Number 1000 Date: October 22, 2018 Pay to the order Aero Supply Company $1,000.00 --------------------------One thousand ----------------------------------------- dollars Partial pmt for Inv 5544 your signature.

12. YOUR NAME Corporation Scotiabank YOUR ADDRESS Calgary, AB Calgary, AB T2X 1X1 Cheque Number 1001 Date: October 30, 2018 Pay to the order Canada Revenue Agency $1,800.00 ----------------One thousand eight hundred ----------------------------------------- dollars Income Tax Instalment payment your signature.

13. Copa Ltd Royal Bank 998 Simpson Way Calgary, AB Calgary, AB T2K 4M9 Cheque Number 2468 Date: October 30, 2018 Pay to the order YOUR NAME Corporation $9,000.00 -------------------------------------Nine thousand ----------------------------------------- dollars Partial pmt for Inv 0001 Copa Ltd signature.

14. Knox Ltd CIBC 43 Happy Lane Calgary, AB Calgary, AB T2K 4M9 Cheque Number 0001391 Date: October 19, 2018 Pay to the order YOUR NAME Corporation $1,200.00 -----------------------------One thousand two hundred------------------------------- dollars Advanced payment for work in November 2018 Knox Ltd signature.

4. Memos and other source documents been provided to you to help you prepare the monthly adjusting journal entries required. Prepare and post the adjusting journal entries using the forms provided. Please note, not all of the information to complete the adjusting journal entries is provided so you must review the accounts in the Unadjusted Trial Balance. 5. Using the Trial Balance form, prepare the Adjusted Trial Balance

15. To: YOUR NAME Corporation Date: October 31, 2018 A count of office supplies was conducted and it is determined $1,500 worth of supplies was used during the month

16. To: YOUR NAME Corporation Date: October 31, 2018 It was determined that $400 of the $1,200 received from Knox Ltd has been earned during the month

17. YOUR NAME Corporation Invoice # 0003 YOUR ADDRESS Date October 31, 2018 Calgary, AB T2X 1X1 TO: New Customer New Address Calgary, AB T1L 3H9 Provided Advertising Services during October 2018 200.00 Payment due in 30 days Thank you for your business

6. Using the Financial Statement forms, prepare the: a. Income Statement b. Statement of Changes in Equity c. Balance Sheet / Statement of Financial Position For the first month of operations for YOUR NAME Corporation

In: Accounting