Modern Application Development I, End Term
Consider the following snippet of HTML and its output rendered on the browser:
Consider the following snippet of HTML and its output rendered on the browser: Index.html form code with a browser screenshot of the rendered form A 6000 rpm magnetic disk is being used to store data. The disk can only spin in one direction and is operating at 6000 revolutions per minute. If the operating system sends a request to the disk controller to fetch data from the disk, but by the time the request reached the disk controller, the information had already moved 35 degrees passed the reader, what will be the latency (in milliseconds) before it can start retrieving data? Consider the following flask resource created using `flask_restful`. from flask import Flask, request from flask_restful import Api, Resource, reqparse app = Flask(__name__) api = Api(app) parser = reqparse.RequestParser() parser.add_argument("val") class RestApi(Resource): def post(self, val): arg1 = parser.parse_args() arg2 = request.args return { "value_1": arg1["val"], "value_2": arg2["val"], "value_3": val } api.add_resource(RestApi, "/api/games/<val>") app.run(debug = True) If the application is running locally on `http://127.0.0.1:5000`, What will be the output on the terminal for the command: curl http://127.0.0.1:5000/api/games/cricket?val=soccer -d "{\"val\":\"tennis\"}" -X POST -H "Content-Type: application/json"