🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← All topics

Quiz: Design a Chat App: questions with answers

10 questions, each with the answer and a short explanation.

Take the timed quiz + get a certificate →
  1. Q1. Which technology lets the server push new messages to the phone instantly over one persistent connection?
  2. Q2. 50 million users each sending 40 messages a day is how many messages per day?
  3. Q3. How should a chat system deliver a message when the receiver is offline?
  4. Q4. Where should photos and videos shared in chats be stored?
  5. Q5. How do chat apps avoid showing a resent message twice?
  6. Q6. Why is long polling considered worse than WebSockets for chat?
  7. Q7. When does Asha see the double tick (delivered) for her message to Ravi?
  8. Q8. What does this print? (code)
  9. Q9. How do chat servers know which server Ravi's WebSocket is connected to?
  10. Q10. Why are presence updates (online / last seen) sent only to people who have that chat open?