All quizzesEasy
Fundamentals & Scalability
Preview — 3 of 10 questions
Which best describes the purpose of system design in software engineering?
AWriting unit tests for all components of an application.
BChoosing a programming language for a project.
CDefining the architecture, components, and data flow of a system to meet requirements.
DOptimizing a single function's performance.
What is the difference between latency and throughput?
javascript
Latency: [Request ----120ms---- Response]
Throughput: 5,000 req/s = 5,000 requests processed every secondALatency is the number of requests per second; throughput is the time per request.
BLatency is the time to complete one request; throughput is the number of requests handled per unit of time.
CLatency measures CPU usage; throughput measures memory usage.
DThey are the same metric with different units.
In a client-server architecture, what is the role of the server?
javascript
Client (browser/app) ──HTTP Request──▶ Server
◀──HTTP Response── ServerAThe server renders the UI and sends HTML to the client.
BThe server processes requests from clients, applies business logic, and returns responses.
CThe server stores code that runs in the browser.
DThe server is always a physical machine in a data center.
Sign up free to play
Answer all 10 questions (7 more), see explanations for every answer, and track your score.