MauryaHub PYQ Practice

cs2003_2026T2_Q1_NA.pdf

Application Development - 1(APP DEV-1) · Quiz 1 · May 2026

← Course papers · Start practice / exam

Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.

Question 2 MCQ · 2.0 marks

Consider the following HTML/CSS code. [[IMAGE:8073c379ec828896_2_2]] What will be rendered by the browser?
Source diagram or notation
  1. [[IMAGE:8073c379ec828896_2_3]]
    Source diagram or notation
  2. [[IMAGE:8073c379ec828896_2_4]]
    Source diagram or notation
  3. [[IMAGE:8073c379ec828896_2_5]]
    Source diagram or notation
  4. [[IMAGE:8073c379ec828896_3_6]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 3 MCQ · 2.0 marks

Which of the following pairs correctly identifies one block-level element and one inline element?
  1. [[IMAGE:8073c379ec828896_3_7]]
    Source diagram or notation
  2. [[IMAGE:8073c379ec828896_3_8]]
    Source diagram or notation
  3. [[IMAGE:8073c379ec828896_3_9]]
    Source diagram or notation
  4. [[IMAGE:8073c379ec828896_3_10]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 4 MCQ · 2.0 marks

Consider the following HTML and Python flask code. [[IMAGE:8073c379ec828896_4_11]] Assume that the Flask app is running at http://127.0.0.1:5000. Based on the above data, answer the given subquestions.
Which of the following statements are correct? **Statement 1:** Accessing the URL: http://127.0.0.1:5000 directly in the browser makes a GET request. **Statement 2:** Clicking on the Submit button will invoke the POST request method.
Source diagram or notation
  1. Both statements are correct
  2. Both statements are incorrect.
  3. Statement 1 is incorrect, but statement 2 is correct.
  4. Statement 2 is incorrect, but statement 1 is correct.

A published solution is not available for this question yet.

Question 5 MCQ · 4.0 marks

Consider the following HTML and Python flask code. [[IMAGE:8073c379ec828896_4_11]] Assume that the Flask app is running at http://127.0.0.1:5000. Based on the above data, answer the given subquestions.
What will be the rendered output for the following input in the form? [[IMAGE:8073c379ec828896_5_12]]
Source diagram or notationSource diagram or notation
  1. 404 Not Found
  2. [0, 1, 2, 3, 4]
  3. [ ]
  4. [1, 2, 3, 4, 5]

A published solution is not available for this question yet.

Question 6 MCQ · 3.0 marks

A web server has an outgoing bandwidth of 6 Gbps, and each client requires 2 Mbps. What is the maximum number of concurrent requests allowed? (Use: 1KB= 1000Bytes, 1MB=1000KB and so on.)
  1. 3
  2. 30
  3. 3000
  4. 300

A published solution is not available for this question yet.

Question 7 MCQ · 3.0 marks

Consider the following Flask code. **File name:** app.py [[IMAGE:8073c379ec828896_6_13]] What will be the output when you run the following code in the terminal [[IMAGE:8073c379ec828896_6_14]] and then access in the browser with the following link [[IMAGE:8073c379ec828896_6_15]] ?
Source diagram or notationSource diagram or notationSource diagram or notation
  1. Result: 42
  2. Result: 13
  3. Result: 7
  4. Result: 12

A published solution is not available for this question yet.

Question 8 MCQ · 3.0 marks

Consider the following Python flask code. [[IMAGE:8073c379ec828896_6_16]]
Source diagram or notation
  1. 55
  2. 52
  3. 10
  4. TypeError

A published solution is not available for this question yet.

Question 9 MCQ · 3.0 marks

Consider the following Python code. [[IMAGE:8073c379ec828896_7_17]]
Source diagram or notation
  1. Student Name: Siya Sunita
  2. Student Name: Siya Student Name: Sunita
  3. Student Name: Sunita
  4. Key Error

A published solution is not available for this question yet.

Question 10 MCQ · 3.0 marks

Consider the following Python flask code. [[IMAGE:8073c379ec828896_8_18]]
Source diagram or notation
  1. Admin Panel
  2. User: admin
  3. 404 Error
  4. Internal Server Error

A published solution is not available for this question yet.

Question 11 MSQ · 3.0 marks

Consider the following Python Flask code. [[IMAGE:8073c379ec828896_9_19]]
Source diagram or notation
  1. [[IMAGE:8073c379ec828896_9_20]]
    Source diagram or notation
  2. [[IMAGE:8073c379ec828896_9_21]]
    Source diagram or notation
  3. [[IMAGE:8073c379ec828896_9_22]]
    Source diagram or notation
  4. [[IMAGE:8073c379ec828896_9_23]]
    Source diagram or notation

A published solution is not available for this question yet.

Question 12 MSQ · 3.0 marks

Consider the following Python Jinja2 template code. [[IMAGE:8073c379ec828896_10_24]]
Source diagram or notation
  1. python main.py MAD1 MAD2 MAD1_ Project MAD2_ Project
  2. python main.py MAD1 MAD2 MAD1_Project MAD2_Project
  3. python main.py "MAD1 MAD2 MAD1_Project MAD2_Project"
  4. python main.py MAD1 MAD2 "MAD1_Project" "MAD2_Project"

A published solution is not available for this question yet.

Question 13 NAT · 3.0 marks

Suppose a client machine C is communicating with a data center D located 12,500 km away from C. Assume that the TCP connection has been established and is kept alive. Calculate the RTT (Round trip time) in **ms** for an HTTP request. (Assume speed of light in cable is 2e8 m/s).

    A published solution is not available for this question yet.

    Question 14 NAT · 2.0 marks

    Suppose you have a document which contains only lower case alphabets. How many bits are required to encode a character such that the size of the document is minimum? ( The document contains all lower case alphabets. Code for each alphabet should be of the same length )

      A published solution is not available for this question yet.

      Question 15 MCQ · 4.0 marks

      Consider the following Python code. [[IMAGE:8073c379ec828896_12_25]] Which of the following code snippets should be placed at [[IMAGE:8073c379ec828896_12_26]] such that the output generated in the terminal when rendered will be as shown below? [[IMAGE:8073c379ec828896_12_27]]
      Source diagram or notationSource diagram or notationSource diagram or notation
      1. [[IMAGE:8073c379ec828896_12_28]]
        Source diagram or notation
      2. [[IMAGE:8073c379ec828896_12_29]]
        Source diagram or notation
      3. [[IMAGE:8073c379ec828896_13_30]]
        Source diagram or notation
      4. [[IMAGE:8073c379ec828896_13_31]]
        Source diagram or notation

      A published solution is not available for this question yet.

      Question 16 MCQ · 5.0 marks

      Consider the following HTML and CSS code. [[IMAGE:8073c379ec828896_14_32]] Which of the following will be the correct rendered output ?
      Source diagram or notation
      1. [[IMAGE:8073c379ec828896_14_33]]
        Source diagram or notation
      2. [[IMAGE:8073c379ec828896_15_34]]
        Source diagram or notation
      3. [[IMAGE:8073c379ec828896_15_35]]
        Source diagram or notation
      4. [[IMAGE:8073c379ec828896_15_36]]
        Source diagram or notation

      A published solution is not available for this question yet.

      Question 17 MCQ · 5.0 marks

      Consider the following Python code. [[IMAGE:8073c379ec828896_16_37]] Which of the following students is classified as "Pass" by the template?
      Source diagram or notation
      1. Alice
      2. Bob
      3. Kittu
      4. Carol

      A published solution is not available for this question yet.