Question
The goal of this homework is to create your own telephone directory app (i.e., contacts app) in which names and phone numbers are stored in
The goal of this homework is to create your own telephone directory app (i.e., contacts app) in which names and phone numbers are stored in a server, and may be retrieved/added/updated/deleted from a client by making requests. Specifically, a client can make the following types of requests: 1. ADD Santa Claus 1-800-LOTS-FUN which adds an entry in the server, and returns ENTRY ADDED to the client. If a phone number for Santa Claus had already been stored, it will get overwritten by this new number. 2. GET Santa Claus which retrieves the phone number if it has been stored earlier, in which case the server will return the phone number, e.g., 1-800-LOTS-FUN. If a phone number for Santa Claus is not found in the server, it will return NOT FOUND. 3. DELETE Santa Claus which will delete the phone number of Santa Claus if present, and return ENTRY DELETED. If an entry for Santa Claus was not already present, the server will return NOT FOUND.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started