Home / Study library / Application Development - 1 / End Term · Sep 2023 Application Development - 1 · End Term · Sep 2023 · AN
Application Development - 1 · End Term · Sep 2023 AN
← Course papers · Start practice / exam
This page contains the reliably extracted subset, not the complete original paper.
Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
0 / 32 published solutions
Q49 Q50 Q51 Q52 Q53 Q54 Q55 Q56 Q57 Q58 Q59 Q60 Q61 Q62 Q63 Q64 Q65 Q66 Q67 Q68 Q69 Q70 Q71 Q72 Q73 Q74 Q75 Q76 Q77 Q78 Q79 Q80
Question 49 MCQ · 3.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q49
Question 50 MCQ · 3.0 marks How will the browser render the following HTML document?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q50
Question 51 MCQ · 3.0 marks 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.
A. Both statement 1 and 2 are correct.
B. Both statement 1 and 2 are incorrect.
C. Statement 1 is correct but, statement 2 is incorrect.
D. Statement 2 is correct but, statement 1 is incorrect.
A published solution is not available for this question yet.
Report a correction for Q51
Question 52 MCQ · 3.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q52
Question 53 MCQ · 3.0 marks Consider the following flask application.
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q53
Question 54 MCQ · 3.0 marks Consider the following function to be tested and test functions given in the Python code snippet
below.
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q54
Question 55 MCQ · 3.0 marks A published solution is not available for this question yet.
Report a correction for Q55
Question 56 MCQ · 3.0 marks D. The tables are not at all related
A published solution is not available for this question yet.
Report a correction for Q56
Question 57 MCQ · 3.0 marks Which curl option is used to set the request method in an HTTP request?
A published solution is not available for this question yet.
Report a correction for Q57
Question 58 MCQ · 2.0 marks 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.
A. Both statements 1 and 2 are correct
B. Both statements 1 and 2 are incorrect
C. Statement 1 is correct but statement 2 is incorrect
D. Statement 2 is correct but statement 1 is incorrect
A published solution is not available for this question yet.
Report a correction for Q58
Question 59 MCQ · 2.0 marks 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 ”?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q59
Question 60 MCQ · 2.0 marks Which of the following is not a web component?
A published solution is not available for this question yet.
Report a correction for Q60
Question 61 MCQ · 2.0 marks A. Statement 1 is correct, but statement 2 is incorrect.
B. Statement 1 is incorrect, but statement 2 is correct.
C. Both statements 1 and 2 are correct.
D. Both statements 1 and 2 are incorrect.
A published solution is not available for this question yet.
Report a correction for Q61
Question 62 MCQ · 2.0 marks What is Emscripten in the context of WebAssembly?
A. A WebAssembly specification
C. A toolchain for compiling C/C++ code to WebAssembly
A published solution is not available for this question yet.
Report a correction for Q62
Question 63 MCQ · 2.0 marks The ORM(Object-Relational Mapping) sqlalchemy is used for?
A. Running SQL queries directly on the database
B. Defining the structure of HTML templates
C. Mapping Python objects to database tables and records
D. Creating Web Routes in a Flask app
A published solution is not available for this question yet.
Report a correction for Q63
Question 64 MCQ · 4.5 marks Consider the following Python code snippet.
A. a - 3, b - 2, c - 1, d - 4
B. a - 2, b - 1, c - 4, d - 3
C. a - 3, b - 1, c - 2, d - 4
D. a - 2, b - 3, c - 4, d - 1
A published solution is not available for this question yet.
Report a correction for Q64
Question 65 MCQ · 4.5 marks Given a Python code snippet, code.py is run on the terminal with an appropriate temp.html
document.
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q65
Question 66 MCQ · 4.5 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q66
Question 67 MCQ · 4.5 marks Consider the following HTML document rendered using a browser.
A. Red for first five letters, turns green till 8th letter and turns red back again
after next letter.
B. Red for first five letters, and remain green after that.
C. Green for first five letters, turns red till 8th letter and turns green back again
after next letter.
D. Green for first five letters, and remain red after that.
A published solution is not available for this question yet.
Report a correction for Q67
Question 68 MCQ · 4.5 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q68
Question 69 MSQ · 3.0 marks 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 ?
A. Snippet 1 is valid, but Snippet 2 is invalid.
B. Snippet 2 is valid, but Snippet 1 is invalid.
C. Snippet 1 will run successfully, while Snippet 2 will raise an AssertionError.
D. Snippet 2 will run successfully, while Snippet 1 will raise an AssertionError.
A published solution is not available for this question yet.
Report a correction for Q69
Question 70 MSQ · 3.0 marks Consider the following flask application.
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q70
Question 71 MSQ · 3.0 marks A. One order must have exactly one customer associated with it.
B. One customer must have many orders associated with it.
C. One customer may have zero or many orders associated with it.
D. It's not mandatory for a customer to have an order.
A published solution is not available for this question yet.
Report a correction for Q71
Question 72 MSQ · 3.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q72
Question 73 MSQ · 3.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q73
Question 74 MSQ · 4.5 marks An HTML code is given below then which of the following CSS code will render the output as
shown below.
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q74
Question 75 MSQ · 4.5 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q75
Question 76 MSQ · 4.5 marks Consider the following flask application.
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q76
Question 77 MCQ · 2.0 marks
Based on the above data, answer the given subquestions.
Which part of the response indicates the MIME type of the response body?
B. server: gunicorn/19.9.0
C. content-type: text/html;
A published solution is not available for this question yet.
Report a correction for Q77
Question 78 MCQ · 2.0 marks
Based on the above data, answer the given subquestions.
Which part of the response indicates that the request created a successful response?
A. server: gunicorn/19.9.0
B. content-type: text/html;
A published solution is not available for this question yet.
Report a correction for Q78
Question 79 MCQ · 3.0 marks 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 10\(^{8}\)
m/s]
What is the maximum number of requests that can be made to A per second?
A published solution is not available for this question yet.
Report a correction for Q79
Question 80 MCQ · 3.0 marks 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 10\(^{8}\)
m/s]
What is the round trip time (RTT) in milliseconds for server C?
D. 5
**MLF**
**Section Id :** 64065349263
**Section Number :** 4
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 16
**Number of Questions to be attempted :** 16
**Section Marks :** 40
**Display Number Panel :** Yes
**Section Negative Marks :** 0
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and**
Yes
**Clear Response :**
**Maximum Instruction Time :** 0
A published solution is not available for this question yet.
Report a correction for Q80