GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

A student was given this JSON protocol specification: Reques…

A student was given this JSON protocol specification: Request: { “type”: “get_weather”, “city”: “Phoenix” } Success Response: { “ok”: true, “temperature”: 75, “condition”: “sunny” } Error Responses: – Unknown city: { “ok”: false, “error”: “city not found” } – Missing city: { “ok”: false, “error”: “city field is required” } A server was implemented, we send two requests and got the following responses: Request 1: { “type”: “get_weather”, “city”: “Phoenix” } Response 1: {   “ok”: true,   “temp”: 75,   “condition”: “sunny” } Request 2: { “type”: “get_weather”, “city”: “UnknownCity” } Response 2: {   “success”: false,   “temperature”: 0,   “error”: “city not found” } 1. List all protocol violations across both responses. 2. Write out how the responses should look like.

Read Details

What is the difference between a public IP and a private IP?…

What is the difference between a public IP and a private IP? Explain their roles in networking and why distinguishing between them is important.  Why is it necessary to differentiate between public and private IPs when running a server accessible from other networks? How do these IP types impact the server’s configuration and accessibility?  Explain why private IPs cannot be directly accessed over the internet without additional network configurations.

Read Details

You are building a Task Assignment System where clients can:…

You are building a Task Assignment System where clients can: Create new tasks with a description and priority (LOW, MEDIUM, HIGH) Assign tasks to team members Mark tasks as complete List all tasks for a specific team member Design a JSON-based protocol for this system. For each operation, specify: The request format (what fields are needed) The success response format At least one error response List other error cases that need to be handled You only need to show 2 operations: CREATE_TASK and ASSIGN_TASK.

Read Details

A medication order where the medication is administered one…

A medication order where the medication is administered one time right now.

Read Details

Most drugs are excreted through the lungs and the breastmilk…

Most drugs are excreted through the lungs and the breastmilk.

Read Details

This route has the fastest absorption rate.

This route has the fastest absorption rate.

Read Details

This use of drugs to prevent pregnancy.

This use of drugs to prevent pregnancy.

Read Details

Without a strategic framework, managers lack the context in…

Without a strategic framework, managers lack the context in which to

Read Details

In 2013, Google decided to kill its 20 percent time policy,…

In 2013, Google decided to kill its 20 percent time policy, which allowed its staff to work on side projects of their choice, one day per week. The decision to end the 20 percent time policy was most likely made to

Read Details

A no-pressure or no-adverse-consequences work environment do…

A no-pressure or no-adverse-consequences work environment does not necessarily lead to

Read Details

Posts pagination

Newer posts 1 … 127 128 129 130 131 … 70,534 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top