Consider the following statements and select the correct option:
**Statement 1**: In a database, an index can only be created on one column of a table.
**Statement 2**: Indexes cannot be created on columns which have duplicate values.
A.
Statement 1 is true & statement 2 is false
B.
Statement 2 is true & statement 1 is false
C.
Both statements 1 and 2 are true
D.
Both statements 1 and 2 are false
A published solution is not available for this question yet.
The lens of an HDD can read data on the rotating disk with the speed of 42,000 bits per second.
The disk is designed such that 600 bits pass under the lens for every revolution of the disk, what
should be the maximum speed of disk in RPM so that the lens does not miss any data?
A.
70 RPM
B.
100 RPM
C.
4200 RPM
D.
6000 RPM
A published solution is not available for this question yet.
Consider the below Flask Restful API code snippet:
app.py
from flask import Flask, request
from flask_restful import Resource, Api
app = Flask(__name_)
api = Api(app)
data_info = [
{"name": “IITM", "mail": “abc@study.iitm.ac.in"}
]
class Data(Resource):
def get(self):
return data_info
def post(self):
name = request.json[“name"]
mail = request.json["mail"]
data = {}
data["name"] = name
data["mail"] = mail
data_info.append(data)
return "Saved data", 200
api.add_resource(Data, “/")
if __name_ == "_main_’
app.run()
Assume that above app.py is running on bttp//127.0.0 1:5000/ . What will be the outputs of the
below sequence of CURL commands:
i)
curl -X POST -H "Content-Type: application/json" -H "Accept-Type:
application/json" -d "{\"name\":\"Javed\",\"mail\":\"javed@study.iitm.ac.in\"}"
“http://127.0.0.1:5000/"
ii)
curl -X GET “http://127.0.0.1:5000"
A.
¥
B.C.D.
A published solution is not available for this question yet.
Consider the following graph that represents the variation in bandwidth of a network for an entire
day (24 hours). Three users were connected to the network at three different times of the day.
What is the total data consumed in GigaBytes by all the users in 24 hrs?
A.
633.6 GB
B.
54 GB
C.
120 GB
D.
432GB
A published solution is not available for this question yet.
Consider a client ‘C’ and a server ‘S’, separated by distance ‘D’ are connected by a fictitious medium
in which the speed of light is ‘v’ m/sec. If ‘N’ is the number of consecutive requests that can made
in a second by the client ‘C’ (i.e A new request can be made only after receiving the response from
the previous request.), Which of the following changes would halve the number ‘N’?
A.
A change of medium where the speed of light is v/2 m/sec.
B.
A change of medium where the speed of light is 2v m/sec.
C.
Reduce the distance between C and S from D to D/2.
D.
Increase the distance between C and S from D to 2D.
A published solution is not available for this question yet.
Based on the above data, answer the given subquestions.
A.B.C.D.
**AppDev2**
**Section Id :** 64065356695
**Section Number :** 10
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 33
**Number of Questions to be attempted :** 33
**Section Marks :** 100
**Display Number Panel :** Yes
A published solution is not available for this question yet.