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?

[[IMAGE:8073c379ec828896_2_3]]

[[IMAGE:8073c379ec828896_2_4]]

[[IMAGE:8073c379ec828896_2_5]]

[[IMAGE:8073c379ec828896_3_6]]

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?
[[IMAGE:8073c379ec828896_3_7]]

[[IMAGE:8073c379ec828896_3_8]]

[[IMAGE:8073c379ec828896_3_9]]

[[IMAGE:8073c379ec828896_3_10]]

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.

Both statements are correct
Both statements are incorrect.
Statement 1 is incorrect, but statement 2 is correct.
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]]


404 Not Found
[0, 1, 2, 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.)
3
30
3000
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]] ?



Result: 42
Result: 13
Result: 7
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]]

55
52
10
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]]

Student Name: Siya Sunita
Student Name: Siya
Student Name: Sunita
Student Name: Sunita
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]]

Admin Panel
User: admin
404 Error
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]]

[[IMAGE:8073c379ec828896_9_20]]

[[IMAGE:8073c379ec828896_9_21]]

[[IMAGE:8073c379ec828896_9_22]]

[[IMAGE:8073c379ec828896_9_23]]

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]]

python main.py MAD1 MAD2 MAD1_ Project MAD2_ Project
python main.py MAD1 MAD2 MAD1_Project MAD2_Project
python main.py "MAD1 MAD2 MAD1_Project MAD2_Project"
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]]



[[IMAGE:8073c379ec828896_12_28]]

[[IMAGE:8073c379ec828896_12_29]]

[[IMAGE:8073c379ec828896_13_30]]

[[IMAGE:8073c379ec828896_13_31]]

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 ?

[[IMAGE:8073c379ec828896_14_33]]

[[IMAGE:8073c379ec828896_15_34]]

[[IMAGE:8073c379ec828896_15_35]]

[[IMAGE:8073c379ec828896_15_36]]

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?

Alice
Bob
Kittu
Carol
A published solution is not available for this question yet.