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)
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
Solution
How will the browser render the following HTML document?

Solution
Consider the statements given below and choose the correct option.
Statement 1:100% statement coverage automatically implies 100% branch coverage. Statement 2:100% statement coverage automatically implies 100% condition coverage.
Statement 1:100% statement coverage automatically implies 100% branch coverage. Statement 2:100% statement coverage automatically implies 100% condition coverage.
Solution
Solution
Consider the following flask application.

Solution
Consider the following function to be tested and test functions given in the Python code snippet below.

Solution
Solution
Solution
Which curl option is used to set the request method in an HTTP request?
Solution
Read the statements given below carefully and select the correct option.
Statement 1:If an element is styled externally using both the class and the ID, then for the same
attribute, it will acquire styling from the ID.
Statement 2:If an element is styled internally using ID and class selector as well as using inline styling for the same style attribute, then it will always acquire inline styling.
Statement 1:If an element is styled externally using both the class and the ID, then for the same
attribute, it will acquire styling from the ID.
Statement 2:If an element is styled internally using ID and class selector as well as using inline styling for the same style attribute, then it will always acquire inline styling.
Solution
Consider two python files, one.py and two.py with following code snippets.

What is the output of the following command “python one.py two.py two.py one.py ”?
What is the output of the following command “python one.py two.py two.py one.py ”?
Solution
Which of the following is not a web component?
Solution
Solution
What is Emscripten in the context of WebAssembly?
Solution
The ORM(Object-Relational Mapping) sqlalchemy is used for?
Solution
Consider the following Python code snippet.

Solution
Given a Python code snippet, code.py is run on the terminal with an appropriate temp.html document.

Solution
Solution
Consider the following HTML document rendered using a browser.

Solution
Solution
Consider the following two code snippets.

Which of the following is/are correct options if the above snippets are run as view functions of a flask application ?
Which of the following is/are correct options if the above snippets are run as view functions of a flask application ?
Solution
Consider the following flask application.

Solution
Solution
Solution
Solution
An HTML code is given below then which of the following CSS code will render the output as
shown below.

shown below.
Solution
Solution
Consider the following flask application.

Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Which part of the response indicates the MIME type of the response body?
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Which part of the response indicates that the request created a successful response?
Solution
Comprehension Passage
A machine client M makes multiple requests to three different servers A, B and C in the order A then B followed by C. However, it can make a request to server B only after receiving the response from server A and same with server C i.e. the client can make a request to server C only after receiving response from server B. If the servers A, B and C are located at 900 kms, 1200 kms and 1500 kms respectively, answer the given subquestions.[Consider speed of light in air to be 3 x 108 m/s]
What is the maximum number of requests that can be made to A per second?
Solution
Comprehension Passage
A machine client M makes multiple requests to three different servers A, B and C in the order A then B followed by C. However, it can make a request to server B only after receiving the response from server A and same with server C i.e. the client can make a request to server C only after receiving response from server B. If the servers A, B and C are located at 900 kms, 1200 kms and 1500 kms respectively, answer the given subquestions.[Consider speed of light in air to be 3 x 108 m/s]
What is the round trip time (RTT) in milliseconds for server C?
Solution
Shape
Thickness [ / ]
3
All colors