Monday, 12 June 2017

What's HTTP? HTTP Status Codes

What's HTTP?
HTTP stands for Hypertext Transfer Protocol. HTTP functions as a request–response protocol in the client–server computing model.
HTTP Status Codes
Before diving into the communication with other APIs, let's review the HTTP status codes we may encounter during the process. They describe the outcome of our requests and are essential for error handling.
  • 1xx - Informational
  • 2xx - Success: These status codes indicate that our request was received and processed correctly. The most common success codes are 200 OK, 201 Created and 204 No Content.
  • 3xx - Redirection: This group shows that the client had to do an additional action to complete the request. The most common redirection codes are 301 Moved Permanently, 304 Not Modified.
  • 4xx - Client Error: This class of status codes is used when the request sent by the client was faulty in some way. The server response usually contains the explanation of the error. The most common client error codes are 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 409 Conflict. ​
  • 5xx - Server Error: These codes are sent when the server failed to fulfill a valid request due to some error. The cause may be a bug in the code or some temporary or permanent incapability. The most common server error codes are 500 Internal Server Error, 503 Service Unavailable. ​

Reference : https://blog.risingstack.com/

Tuesday, 5 February 2013

Advance Operating System Assignment 1

Advance Operating System



Assignment 1
1.   What is OS? Explain Types Of OS.

2.   Explain functions of OS.

3.   Explain User Mode and Kernel with Diagram.

4.   What is Multi Tasking, Multi Processing and Multi User OS.

5.   Explain Communication Model.

6.   Explain Three State Of Message Passing.

7.   Explain Principle of Concurrency.

8.   Explain Semaphore and Monitor in Details.

9.   What is Deadlock? Explain Condition of Deadlock.

10. What is Shared Memory? How to implement race condition on it, Give ex.

11. Explain Types Of Scheduling. Apply FCFS, SSF (non Primitive) (q=2), RR (q=5) Process Scheduling algorithm on Given Data find out A.W.T. and T.A.T.
Process                           Arrival Time                   Burst Time
A                                             0                                     3
B                                             2                                     6
C                                             4                                     4
D                                                                                 5
E                                             8                                      2

Submission Date: 18/2/13