Functional Requirements Users can post plaintext snippets. The system should generate a unique URL for each snippet to facilitate access. Snippets can have a predetermined expiration time, after which they become inaccessible. Snippets can be public…
Functional Requirements The system should support both one-on-one and group chats. Users must be able to send and receive messages with near-real-time delivery. Users must have the ability to create groups. Users should be permitted to join and leave…
Functional Requirements The system should support two types of clients: Drivers and Riders. A Rider should be able to see all nearby drivers. A Rider should be able to request a ride from their current location by specifying the destination. A Driver…
Requirements The vending machine is divided into shelves with each shelf contains a specific product type. User selects a product by entering the shelf code. User selects the payment option. On successful payment, the product is dispensed. (Optional…
Functional Requirements The system should limit the number of requests within a given time frame. The system should return an HTTP 429 status code for requests that breach the threshold. In the event of a failure, it should either fail open (allow…
Functional Requirements Suggest possible completions for a user's input. Return five popular autocomplete suggestions. Spell-check is not required. Support is required only for the English language. Non-Functional Requirements Availability: The…
Functional Requirements As a user, I should be able to record an audio and the system should identify return the song from the audio. Non-Functional Requirements Scalability: Shazam must handle a large and potentially unpredictable number of requests…
Functional Requirements As a user, I should be able to search for songs based on the song name/artist name etc. As a user, I should be able to play the selected song. Non-Functional Requirements Latency: Low latency is vital for immediate music…
Requirements Admin can add or edit movies. Admin can add cinema halls. Admin can add movie shows. Customers can browse movies. Customers can select cinema halls, choose seats, and book tickets. Class Diagram Design Choices Factory Pattern As there…
Functional Requirements As a user, I should be able to input a URL and retrieve a shortened URL. As a user, when I enter the shortened URL in a browser, it should redirect me to the original URL location. As a system, I should expire and clean up old…