Modern Application Development I, Quiz 2
Read the statements given below carefully and select the correct option.
Statement 1: The GET method is the same as the HEAD method. It is used to transfer the header section only.
Statement 2: The GET method retrieves information from the given server using a given URI.GET request can retrieve the data.
Read the statements given below carefully and select the correct option.\ **Statement 1**: The GET method is the same as the HEAD method. It is used to transfer the header section only.\ **Statement 2**: The GET method retrieves information from the given server using a given URI.GET request can retrieve the data. Consider the below flask_sqlalchemy data models “Product”, “Supplier” and “Supply” given in the code below. class Product(db.Model): __tablename__ = "product" id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String, nullable=False) class Supplier(db.Model): __tablename__ = "supplier" id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String, nullable=False) address = db.Column(db.String, nullable=True) class Supply(db.Model): __tablename__ = "supply" id = db.Column(db.Integer, primary_key=True) product_id = db.Column(db.Integer, db.ForeignKey("product.id")) supplier_id = db.Column(db.Integer, db.ForeignKey("supplier.id")) What will be the cardinality of the “Product” and “Supplier” relationship? A certain video on the web occupies 3 gigabytes of memory of the server. If the number of viewers of the video over time is given by the curve shown below and assuming that each viewer requires an individual connection to the server to view the video, what should be the minimum RAM requirement of the server that can process requests from all the viewers simultaneously at any point of time? Area chart of number of viewers (in hundreds) against time (minutes)