Quiz Space

Modern Application Development I Quiz 2: 4 August 2024 (May 2024 term)

Question 1

+2 marksOne correct option

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.

  1. A

    Both statements 1 and 2 are correct

  2. B

    Both statements 1 and 2 are incorrect

  3. C

    Statement 1 is correct but statement 2 is incorrect

  4. D

    Statement 1 is incorrect but statement 2 is correct

Question 2

+2 marksOne correct option

Consider the below flask_sqlalchemy data models “Product”, “Supplier” and “Supply” given in the code below.

python
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?

  1. A

    One to One

  2. B

    One to Many

  3. C

    Many to Many

  4. D

    Many to One

Question 3

+3 marksOne correct option

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?

  1. A

    1.9 GB

  2. B

    5.7 GB

  3. C

    1.9 TB

  4. D

    5.7 TB

13 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the MAD 1 Quiz 2 4 Aug 2024 paper

The IIT Madras BS Modern Application Development I (MAD 1) Quiz 2 paper sat on 4 Aug 2024, in the May 2024 term: 16 questions for 50 marks in 120 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureMAD 1 Quiz 2 4 Aug 2024 at a glance
TermMay 2024 term
SubjectModern Application Development I
Course codeBSCS2003
Questions16
Marks50
Duration120 min
MCQ10
MSQ6
Official paperIIT M DIPLOMA AN EXAM QDD2 4 Aug 2024
Negative markingNo negative marking.
Updated

Same Quiz 2, other subjects

More MAD 1