MauryaHub PYQ Practice

Application Development - 1 · End Term · Jan 2026 · FN

Application Development - 1 · End Term · Jan 2026 FN

← 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.

0 / 32 published solutions

Question 2 MCQ · 2.0 marks

Which of the following is the correct match between Column A and Column B?
Source diagram or notation
6406536934440.
1-B, 2-D, 3-E, 4-A, 5-C
6406536934441.
1-B, 2-A, 3-E, 4-D, 5-C
6406536934442.
1-A, 2-D, 3-E, 4-B, 5-C
6406536934443.
1-B, 2-D, 3-C, 4-A, 5-E

A published solution is not available for this question yet.

Report a correction for Q2

Question 3 MCQ · 2.0 marks

Logging is typically used for what purpose?
6406536934457.
detect unusual activity on the server.
6406536934458.
block unauthorized access.
6406536934459.
enforce HTTPS connections.
6406536934460.
convert HTTP to HTTPS.

A published solution is not available for this question yet.

Report a correction for Q3

Question 4 MCQ · 2.0 marks

A web server has an outgoing bandwidth of 5Gbps, and each client requires 2Mbps. What is the maximum number of concurrent requests allowed? (Use: 1KB= 1000Bytes, 1MB=1000KB and so on)
6406536934493.
2.5
6406536934494.
25
6406536934495.
250
6406536934496.
2500

A published solution is not available for this question yet.

Report a correction for Q4

Question 5 MCQ · 2.0 marks

Consider the following SQL Alchemy model
Source diagram or notation
with below data.
Source diagram or notation
Which of the following SQL Alchemy statements is used to count the number of students registered for
Source diagram or notation
?
6406536934523.Source diagram or notation
6406536934524.Source diagram or notation
6406536934525.Source diagram or notation
6406536934526.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q5

Question 6 MCQ · 2.0 marks

What is the purpose of the primary_key=True attribute in a SQLAlchemy model?
6406536934552.
It allows duplicate values in the column
6406536934553.
It uniquely identifies each row in the table
6406536934554.
It automatically creates foreign key relationships
6406536934555.
It makes the column optional

A published solution is not available for this question yet.

Report a correction for Q6

Question 7 MSQ · 3.0 marks

Which of the following statements are correct regarding git?
6406536934444.
Files in the staging area can be committed.
6406536934445.
The command
Source diagram or notation
converts a local folder into a Git repository.
6406536934446.
The command
Source diagram or notation
moves the local repository to the remote repository.
6406536934447.
Git can be used only online.
6406536934448.
Git branches are pointers to commits.

A published solution is not available for this question yet.

Report a correction for Q7

Question 8 MSQ · 3.0 marks

Consider the following Python Flask code.
Source diagram or notation
Which of the following options are true?
6406536934481.
URL request: **http://127.0.0.1:5000/signin** will return output: **http://127.0.0.1:5000/login**
6406536934482.
URL request: **http://127.0.0.1:5000/login** will return output: **http://127.0.0.1:5000/login**
6406536934483.
URL request: **http://127.0.0.1:5000/index** will return output: **http://127.0.0.1:5000/home**
6406536934484.
URL request: **http://127.0.0.1:5000/home** will return output: **http://127.0.0.1:5000/home**

A published solution is not available for this question yet.

Report a correction for Q8

Question 9 MSQ · 3.0 marks

Consider the following Python Flask code.
Source diagram or notation
6406536934505.Source diagram or notation
6406536934506.Source diagram or notation
6406536934507.Source diagram or notation
6406536934508.Source diagram or notation
6406536934509.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q9

Question 10 MSQ · 3.0 marks

Consider the following Python code.
Source diagram or notation
Which of the following statement(s) should replace **==Missing code here==** so that it prints the output without any KeyError exception?
6406536934548.Source diagram or notation
6406536934549.Source diagram or notation
6406536934550.Source diagram or notation
6406536934551.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q10

Question 11 MCQ · 3.0 marks

Consider the following HTML/CSS code.
Source diagram or notation
Read the following statements about “index.html” and choose the correct option. **Statement 1:** Internal element selector blue will be overridden by ID selector red. **Statement 2:** Internal ID selector red will be overridden by inline styling green.
6406536934449.
Both statements are incorrect.
6406536934450.
Both statements are correct.
6406536934451.
Statement 1 is incorrect, but statement 2 is correct.
6406536934452.
Statement 2 is incorrect, but statement 1 is correct.

A published solution is not available for this question yet.

Report a correction for Q11

Question 12 MCQ · 3.0 marks

Consider the Flask SQLAlchemy data model.
Source diagram or notation
6406536934453.
1
6406536934454.
2
6406536934455.
3
6406536934456.
4

A published solution is not available for this question yet.

Report a correction for Q12

Question 13 MCQ · 3.0 marks

You write an algorithm to sort N numbers (stored in an array a[0] to a[N-1]) as follows: **Algorithm steps:** i. Search through the list of numbers to find the lowest number - say it is position "i" ii. Move a[i-1] to a[i], a[i-2] to a[i-1] etc, till a[0] to a[1] iii. Place the original a[i] in position 0 iv. Repeat the above steps but now starting from position 1 to N-1, then 2 to N-1 etc till all numbers are in the correct places. What is the running complexity of this algorithm?
6406536934461.
linear
6406536934462.
quadratic
6406536934463.
cubic
6406536934464.
exponential

A published solution is not available for this question yet.

Report a correction for Q13

Question 14 MCQ · 3.0 marks

Consider the following graph that represents the variation in bandwidth of a network for an entire day (24 hours). Three users were connected to the network at three different times of the day. What is the total data consumed in GigaBytes by all the users in 24 hrs?
Source diagram or notation
6406536934465.
547.2 GB
6406536934466.
12 GB
6406536934467.
43.2 GB
6406536934468.
345.6 GB

A published solution is not available for this question yet.

Report a correction for Q14

Question 15 MCQ · 3.0 marks

Consider the following Python code.
Source diagram or notation
6406536934469.Source diagram or notation
6406536934470.Source diagram or notation
6406536934471.Source diagram or notation
6406536934472.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q15

Question 16 MCQ · 3.0 marks

Consider the following Python Jinja2 template code.
Source diagram or notation
6406536934485.
**python main.py MAD1 MAD2 MAD1 Project MAD2 Project**
6406536934486.
**python main.py MAD1 MAD2 MAD1_Project MAD2_Project**
6406536934487.
**python main.py "MAD1 MAD2 MAD1 Project MAD2 Project"**
6406536934488.
**python main.py MAD1 MAD2 "MAD1 Project" "MAD2 Project"**

A published solution is not available for this question yet.

Report a correction for Q16

Question 17 MCQ · 3.0 marks

Consider the following csv file.
Source diagram or notation
Choose the correct Python code that will print the output: **['90', '76', '81']**?
6406536934510.Source diagram or notation
6406536934511.Source diagram or notation
6406536934512.Source diagram or notation
6406536934513.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q17

Question 18 MCQ · 3.0 marks

Which of the following is the correct flask_login code snippet to register a user as logged in for the current session?
6406536934518.
login_user(user.id)
6406536934519.
login_user(user)
6406536934520.
login_user(user.name)
6406536934521.
login_user(user.name and user.password)

A published solution is not available for this question yet.

Report a correction for Q18

Question 19 MCQ · 3.0 marks

Consider the following HTML code snippet (without any CSS styling).
Source diagram or notation
Which of the following statements correctly describes how the elements will be displayed by default in a browser?
6406536934556.
The content of all elements will appear on the same line as they are inline elements.
6406536934557.
The content of
Source diagram or notation
,
Source diagram or notation
and
Source diagram or notation
tags will start on new lines as they are block elements.
6406536934558.
The content of
Source diagram or notation
and
Source diagram or notation
tags will start on new lines, others will display inline.
6406536934559.
The content of
Source diagram or notation
tags will start on new lines, others will display inline.

A published solution is not available for this question yet.

Report a correction for Q19

Question 20 MCQ · 3.0 marks

What does the following curl command do?
Source diagram or notation
6406536934564.
Sends a POST request to retrieve authentication data.
6406536934565.
Sends a POST request to send form data.
6406536934566.
Sends a POST request to send JSON data.
6406536934567.
Sends a POST request to retrieve user credentials.

A published solution is not available for this question yet.

Report a correction for Q20

Question 21 MCQ · 3.0 marks

Consider the following HTML and Python flask code.
Source diagram or notation
Source diagram or notation
Based on the above data, answer the given subquestions.
Which of the following statements are correct for the statements below? **Statement 1:** Accessing the URL: **http://127.0.0.1:5000** directly in the browser makes a POST request. **Statement 2:** Clicking on the Submit button will invoke the GET request method.
6406536934473.
Both statements are correct.
6406536934474.
Both statements are incorrect.
6406536934475.
Statement 1 is incorrect, but statement 2 is correct.
6406536934476.
Statement 2 is incorrect, but statement 1 is correct.

A published solution is not available for this question yet.

Report a correction for Q21

Question 22 MCQ · 3.0 marks

Consider the following HTML and Python flask code.
Source diagram or notation
Source diagram or notation
Based on the above data, answer the given subquestions.
What will be the rendered output for the following input in the form?
Source diagram or notation
6406536934477.
404 Not Found
6406536934478.
[-1, -2, -3, -4, -5]
6406536934479.
[ ]
6406536934480.
None of these

A published solution is not available for this question yet.

Report a correction for Q22

Question 23 MSQ · 2.0 marks

Which of the following statements are true in the context of HTML forms?
6406536934489.Source diagram or notation
default type is “submit”.
6406536934490.
“read-only” inputs are not submitted.
6406536934491.
“disabled” inputs are not submitted.
6406536934492.
“required” works on
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q23

Question 24 MSQ · 2.0 marks

Which of the following statements are true about DOM?
6406536934535.
Changing the DOM value changes the HTML source file.
6406536934536.
JS can interact with DOM elements.
6406536934537.
DOM is created before the JS is executed.
6406536934538.
DOM is created after the JS is executed.
6406536934539.
HTML and DOM are identical.

A published solution is not available for this question yet.

Report a correction for Q24

Question 25 MCQ · 4.0 marks

Consider the following Flask RESTful API code.
Source diagram or notation
Assume that the Flask app is running at **http://127.0.0.1:5000.** The client sends the below CURL request in the git bash terminal.
Source diagram or notation
What will be the response?
6406536934497.
{"n": None}
6406536934498.
Runtime error
6406536934499.
400 Bad Request
6406536934500.
{ }

A published solution is not available for this question yet.

Report a correction for Q25

Question 26 MCQ · 4.0 marks

Consider the code below in a file called
Source diagram or notation
Source diagram or notation
Which of these is the correct output when the command
Source diagram or notation
is run in the terminal?
6406536934514.
====== 1 passed, 1 deselected in 0.02s =========
6406536934515.
====== 1 passed, 2 deselected in 0.02s =========
6406536934516.
====== 1 failed, 1 deselected in 0.02s =========
6406536934517.
====== 1 failed, 2 deselected in 0.02s =========

A published solution is not available for this question yet.

Report a correction for Q26

Question 27 MCQ · 4.0 marks

Consider the following HTML templates and Python Flask code.
Source diagram or notation
Assume that the Flask app is running at
Source diagram or notation
. What will be rendered for the URL request
Source diagram or notation
?
6406536934527.
Parent content Child content
6406536934528.
Parent content
6406536934529.
Child content
6406536934530.
Child content Parent content

A published solution is not available for this question yet.

Report a correction for Q27

Question 28 MCQ · 5.0 marks

Consider the following Flask SQLAlchemy models and RESTful API code.
Source diagram or notation
6406536934501.Source diagram or notation
6406536934502.Source diagram or notation
6406536934503.Source diagram or notation
6406536934504.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q28

Question 29 MCQ · 5.0 marks

Consider the following HTML/JavaScript code.
Source diagram or notation
The above code allows courses to be added dynamically to the
Source diagram or notation
element when the user clicks the “Add” Button. What is the most suitable
Source diagram or notation
given below?
6406536934531.Source diagram or notation
6406536934532.Source diagram or notation
6406536934533.Source diagram or notation
6406536934534.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q29

Question 30 MCQ · 5.0 marks

Consider the following flask application "app.py" given below.
Source diagram or notation
6406536934544.
Static folder verified: /assets
6406536934545.
Static folder verified: /public
6406536934546.
Invalid argument
6406536934547.
None of these

A published solution is not available for this question yet.

Report a correction for Q30

Question 31 MCQ · 5.0 marks

Examine the following Python code snippet.
Source diagram or notation
What will be the output when running the command:
Source diagram or notation
?
6406536934560.Source diagram or notation
6406536934561.Source diagram or notation
6406536934562.Source diagram or notation
6406536934563.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q31

Question 32 NAT · 2.0 marks

A magnetic disk can spin only in one direction with a constant speed of 5000rpm. What is the maximum delay(worst-case latency) before data transfer starts (in milliseconds)?

A published solution is not available for this question yet.

Report a correction for Q32

Question 33 MSQ · 4.0 marks

Consider the following flask app. Given that
Source diagram or notation
allows code to be tested without a server, which of the following statements is correct?
Source diagram or notation
6406536934540.
If
Source diagram or notation
is replaced by
Source diagram or notation
, the output on the terminal will be
Source diagram or notation
6406536934541.
If
Source diagram or notation
is replaced by
Source diagram or notation
, the output on the terminal will be
Source diagram or notation
6406536934542.
If
Source diagram or notation
is replaced by
Source diagram or notation
, the output on the terminal will be
Source diagram or notation
6406536934543.
If
Source diagram or notation
is replaced by
Source diagram or notation
, the output on the terminal will be
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q33