The first image is the diagram used to answer the second image questions

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

The first image is the diagram used to answer the second image questions

Kahawa Restbucks located along Nanyuki-Karatina road is fast growing online coffee shop with global
ambitions. The Coffee shop prides itself on the variety of products it serves and allows customers to
customize their coffee with several options shown in Table Q2.
Table Q2
Product Name Customization Options
Kinvoice>
<pay>2.00</pay>
</invoice)
<order>
<coffee/>
</order)
Latte
Milk: skim, semi, whole
Cappuccino
Size: small, medium, large
Espresso
Shots: single, double, triple
Hot chocolate Milk: skim, semi, whole
Size: small, medium, large
Whipped cream: yes, no
Tea
White, black
Once a customer places an online order he/she can be assured that the order has been received and
accepted by the Restbucks service. The order details are confirmed in a response that contains
additional information such as the payment amount, currency, and a timestamp for when the order
was received. Using the illustration above and details provided in Table Q2, answer the questions
that follow.
Transcribed Image Text:Kahawa Restbucks located along Nanyuki-Karatina road is fast growing online coffee shop with global ambitions. The Coffee shop prides itself on the variety of products it serves and allows customers to customize their coffee with several options shown in Table Q2. Table Q2 Product Name Customization Options Kinvoice> <pay>2.00</pay> </invoice) <order> <coffee/> </order) Latte Milk: skim, semi, whole Cappuccino Size: small, medium, large Espresso Shots: single, double, triple Hot chocolate Milk: skim, semi, whole Size: small, medium, large Whipped cream: yes, no Tea White, black Once a customer places an online order he/she can be assured that the order has been received and accepted by the Restbucks service. The order details are confirmed in a response that contains additional information such as the payment amount, currency, and a timestamp for when the order was received. Using the illustration above and details provided in Table Q2, answer the questions that follow.
Using XML or JSON, write sample code snippet depicting customer order (request) for one of the
customization options drawn from the Restbucks menu. The request should contain additional
information such as date and time the order was placed
Using XML or JSON, write sample code snippet depicting Kahawa's waiter response to the
customer order. The response should contain additional information such as price and delivery
wait time.
Transcribed Image Text:Using XML or JSON, write sample code snippet depicting customer order (request) for one of the customization options drawn from the Restbucks menu. The request should contain additional information such as date and time the order was placed Using XML or JSON, write sample code snippet depicting Kahawa's waiter response to the customer order. The response should contain additional information such as price and delivery wait time.
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY