Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT"DIPLOMA LEVEL : MODERN APPLICATION
DEVELOPMENT I (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
DEVELOPMENT I (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Consider the following HTML/CSS code.

What will be rendered by the browser?
What will be rendered by the browser?
Solution
Which of the following pairs correctly identifies one block-level element and one inline element?
Solution
Comprehension Passage
Consider the following HTML and Python flask code.

Assume that the Flask app is running athttp://127.0.0.1:5000.
Based on the above data, answer the given subquestions.
Assume that the Flask app is running athttp://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:5000directly in the browser makes a GET request.
Statement 2:Clicking on the Submit button will invoke the POST request method.
Statement 1:Accessing the URL:http://127.0.0.1:5000directly in the browser makes a GET request.
Statement 2:Clicking on the Submit button will invoke the POST request method.
Solution
Comprehension Passage
Consider the following HTML and Python flask code.

Assume that the Flask app is running athttp://127.0.0.1:5000.
Based on the above data, answer the given subquestions.
Assume that the Flask app is running athttp://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?

Solution
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.)
(Use: 1KB= 1000Bytes, 1MB=1000KB and so on.)
Solution
Consider the following Flask code.
File name:app.py

What will be the output when you run the following code in the terminal
and then access in the browser with the following link
?
File name:app.py
What will be the output when you run the following code in the terminal
Solution
Consider the following Python flask code.

Solution
Consider the following Python code.

Solution
Consider the following Python flask code.

Solution
Consider the following Python Flask code.

Solution
Consider the following Python Jinja2 template code.

Solution
Inscript
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) inmsfor an HTTP request. (Assume speed of light in cable is 2e8 m/s).
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) inmsfor an HTTP request. (Assume speed of light in cable is 2e8 m/s).
Solution
Inscript
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 )
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 )
Solution
Consider the following Python code.

Which of the following code snippets should be placed at
such that the output generated in the terminal when rendered will be as shown below?

Which of the following code snippets should be placed at
Solution
Consider the following HTML and CSS code.

Which of the following will be the correct rendered output ?
Which of the following will be the correct rendered output ?
Solution
Consider the following Python code.

Which of the following students is classified as "Pass" by the template?
Which of the following students is classified as "Pass" by the template?
Solution
Shape
Thickness [ / ]
3
All colors