GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

Author Archives: Anonymous

You are building a Restaurant Reservation System where clien…

You are building a Restaurant Reservation System where clients can: Make a reservation (date, time, party size, customer name) Cancel a reservation by reservation ID Check availability for a given date and time List all reservations for a customer Design a JSON-based protocol for “Make reservation” and “Cancel reservation” operations. Use the structured style we practiced (explicit fields, clear request/response design). Your design must include: A clear structure to distinguish different request types The request format for both operations A success response format for both An error response format Additionally: Explain how a client can reliably distinguish between successful and failed responses List at least three distinct error cases (one for each request) and show how each would be represented in your protocol

Read Details

You implemented communication using JSON, Protocol Buffers (…

You implemented communication using JSON, Protocol Buffers (.proto), and gRPC. Compare these approaches. Describe one key difference in how communication is handled Explain one advantage of each approach Give one concrete scenario where you would prefer one over the others

Read Details

You are designing a protocol for a Task Assignment System. C…

You are designing a protocol for a Task Assignment System. Clients should be able to: Create a task with a description and priority (LOW, MEDIUM, HIGH) Assign a task by ID to a team member Add person to team by name List all team members Design a JSON-based protocol for the operations “create task” and “assign task”. Use the structured style we practiced (explicit fields, clear request/response design). Your design must include: A clear structure to distinguish different request types The request format for both operations A success response format An error response format Additionally: Explain how a client can reliably distinguish between successful and failed responses List at least three distinct error cases (at least one for each request) and show how each would be represented in your protocol

Read Details

You deployed your server to AWS on port 8080. The server is…

You deployed your server to AWS on port 8080. The server is running, but your local client can’t connect. You verified: Server is running (gradle runNode shows no errors) Server is listening on port 8080 You’re using the correct AWS public IP What are the most likely issues and how do you find out what it is and how to fix it?

Read Details

According to the World Health Organization framework, which…

According to the World Health Organization framework, which statement best defines a health system?

Read Details

RAS activation leads to activation of:

RAS activation leads to activation of:

Read Details

You are the lead scientist at a robotics company. Your team…

You are the lead scientist at a robotics company. Your team has just purchased a robot arm and wants it to press a physical button on a control panel. You know the exact 3D position of the button in the world. Your plan is to find the target joint angles of the robot arm, then use a PD controller to drive the arm to those angles. Finding the target joint angles from the known button position is an example of Forward Kinematics.

Read Details

A student was given this JSON protocol specification: Reques…

A student was given this JSON protocol specification: Request: { “type”: “add”, “numbers”: [1, 2, 3] } Success Response: { “ok”: true, “sum”: 6 } Error Responses: – Empty array: { “ok”: false, “error”: “numbers array cannot be empty” } – Missing field: { “ok”: false, “error”: “numbers field is required” } – Invalid type: { “ok”: false, “error”: “numbers must be an array” } A server was implemented, we send two requests and got the following responses: Request 1: { “type”: “add”, “numbers”: [5, 10] } Response 1: { “success”: true, “result”: “15” } Request 2: { “type”: “add”, “numbers”: [] } Response 2: { “ok”: false, “sum”: 0, “error”: “numbers field is required” } 1. List all protocol violations across both responses. 2. Write out how the responses should look like.

Read Details

Gravity compensation can only be achieved by Jacobian transp…

Gravity compensation can only be achieved by Jacobian transpose control (virtual force).

Read Details

A rigid body moves along a circular trajectory but does not…

A rigid body moves along a circular trajectory but does not rotate. Its angular velocity is non-zero.

Read Details

Posts pagination

Newer posts 1 … 1,272 1,273 1,274 1,275 1,276 … 84,899 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top