Home / Study library / Application Development - 1 / End Term · Sep 2025 Application Development - 1 · End Term · Sep 2025 · AN
Application Development - 1 · End Term · Sep 2025 AN
← 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
Q2 Q3 Q4 Q5 Q6 Q7 Q8 Q9 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 Q19 Q20 Q21 Q22 Q23 Q24 Q25 Q26 Q27 Q28 Q29 Q30 Q31 Q32 Q33
Question 2 MCQ · 4.0 marks Consider the following flask app and Jinja2 template.
If the flask app is running locally on http://127.0.0.1:5000. What will be the output on the browser
for the base URL?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q2
Question 3 MSQ · 5.0 marks Consider the following flask app.
If the application is running locally on http://127.0.0.1:5000, select the correct options.
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q3
Question 4 MSQ · 5.0 marks
Based on the above data, answer the given subquestions.
Which of the following statements is/are correct ?
A. For the command: python file.py find 103 , the terminal output is:
B. For the command: python file.py find 103 , the terminal output is:
C. For the command: python file.py find 104 sid , the terminal output is:
D. For the command: python file.py find 102 , the terminal output is:
E. For the command: python file.py find 104 sid , the terminal output is:
A published solution is not available for this question yet.
Report a correction for Q4
Question 5 MSQ · 3.0 marks
Based on the above data, answer the given subquestions.
Which of the following commands will give the terminal output as:
A. python file.py find 104 sid
B. python file.py 102 find sid
C. python file.py find 105 sid
A published solution is not available for this question yet.
Report a correction for Q5
Question 6 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 Q6
Question 7 MCQ · 3.0 marks Consider the following SQL create statement.
Which of the following flask_sqlalchemy models will create exactly the same table as created by
the above SQL command?
A. B. C.
emp_id = db.Column(db.Integer(), nullable=
emp_code = db.Column(db.String(), unique=
name = db.Column(db.String())
salary = db.Column(db.Integer(), nullable=
join_date = db.Column(db.Date(), nullable=
A published solution is not available for this question yet.
Report a correction for Q7
Question 8 MCQ · 4.0 marks Consider the following python code snippet. What will be the rendered output for **the terminal**
**output**?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q8
Question 9 MCQ · 4.0 marks Consider the following flask application and html template. 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 final styling applied to the element inside the div for the URL:
http://127.0.0.1:5000/?color=green&size=30&msg=welcome+user
A. background-color: blue, font-size: 20px, padding: 10px, color: white
B. background-color: green, font-size: 30px, padding: 20px, color: white
C. background-color: blue, font-size: 20px, padding: 30px, color: green
D. background-color: green, font-size: 30px, padding: 10px, color: white
A published solution is not available for this question yet.
Report a correction for Q9
Question 10 MCQ · 3.0 marks Consider the following flask application and html template. 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 on the browser for the URL:
http://127.0.0.1:5000/?color=green&size=30&msg=welcome+user
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q10
Question 11 MSQ · 3.0 marks Which of the following statements correctly differentiates between synchronous and
asynchronous updates in frontend development?
A. In synchronous updates, the UI waits for the operation to complete, while in
asynchronous updates, the UI remains responsive.
B. Synchronous execution is blocking, whereas asynchronous execution is non-
blocking.
C. Asynchronous updates are preferred for network requests and background
tasks, while synchronous is best for quick operations.
D. Both synchronous and asynchronous updates allow the browser to continue
execution without waiting.
A published solution is not available for this question yet.
Report a correction for Q11
Question 12 MCQ · 3.0 marks A. 1 → C, 2 → D, 3 → B, 4 → A
B. 1 → B, 2 → A, 3 → D, 4 → C
C. 1 → A, 2 → B, 3 → E, 4 → C
D. 1 → C, 2 → D, 3 → B, 4 → E
A published solution is not available for this question yet.
Report a correction for Q12
Question 13 MSQ · 3.0 marks A. B. C. A published solution is not available for this question yet.
Report a correction for Q13
Question 14 MSQ · 3.0 marks
Based on the above data, answer the given subquestions.
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q14
Question 15 MCQ · 2.0 marks
Based on the above data, answer the given subquestions.
If the correct if-else block is used, what will be the output of the program for the sequence [2, 5,
8]?
A. B. A published solution is not available for this question yet.
Report a correction for Q15
Question 16 MCQ · 3.0 marks A **Household Services Application** maintains the following **three tables**:
The **Requests** table represents service bookings made by customers.
Based on the above data, answer the given subquestions.
Which SQL query correctly retrieves the **customer names and the services they requested**?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q16
Question 17 MCQ · 3.0 marks A **Household Services Application** maintains the following **three tables**:
The **Requests** table represents service bookings made by customers.
Based on the above data, answer the given subquestions.
Which query finds the **number of service requests made by each customer**?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q17
Question 18 MCQ · 2.0 marks A **Household Services Application** maintains the following **three tables**:
The **Requests** table represents service bookings made by customers.
Based on the above data, answer the given subquestions.
If the given tables are mapped to Flask-SQLAlchemy models (Customer, Service, Request), which
query correctly retrieves all services requested by customer with id=1?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q18
Question 19 MCQ · 2.0 marks Which of the following is the correct way to add a click event listener to a button with id="myBtn"
in JavaScript?
A. B. C. A published solution is not available for this question yet.
Report a correction for Q19
Question 20 MCQ · 3.0 marks A. B. C. D. Error: Missing argument
A published solution is not available for this question yet.
Report a correction for Q20
Question 21 MCQ · 3.0 marks A. B. C. D. Both
and
A published solution is not available for this question yet.
Report a correction for Q21
Question 22 MCQ · 2.0 marks Consider the data table below in SQLite database.
A. SELECT * FROM products ORDER BY price ASC;
B. SELECT * FROM products ORDER BY price DESC;
C. SELECT price FROM products;
D. SELECT MAX(price) FROM products;
A published solution is not available for this question yet.
Report a correction for Q22
Question 23 MSQ · 3.0 marks Which of the following commands is/are valid to run pytest from the command line?
A published solution is not available for this question yet.
Report a correction for Q23
Question 24 MCQ · 2.0 marks Consider the following Python code.
Which of the following assertion test case throws the exception?
A. assert max_value([3, 7, 2]) == 7
B. assert max_value([]) is None
C. assert max_value("abczfk") == "z"
D. assert max_value(1) == 1
A published solution is not available for this question yet.
Report a correction for Q24
Question 25 MCQ · 2.0 marks What does the following **curl** command do?
A. Sends a POST request to retrieve data.
B. Sends a POST request to send form data.
C. Sends a POST request to send JSON data.
D. Sends a POST request to retrieve JSON data.
A published solution is not available for this question yet.
Report a correction for Q25
Question 26 MCQ · 2.0 marks A. required, minlength, and type="email"
B. min, max, and minlength
C. required, type="password", and action
D. type="email", min, max, minlength, and required
A published solution is not available for this question yet.
Report a correction for Q26
Question 27 MSQ · 5.0 marks A. GET /users - returns 200 with all users
B. GET /users/5 - returns 200 with user details for ID 5
C. POST /users - returns 201 with user created message
D. POST /users/5 - returns 201 with user created message
A published solution is not available for this question yet.
Report a correction for Q27
Question 28 MSQ · 3.0 marks Which statements about frontend and backend validation are TRUE?
A. Frontend validation (HTML5/JavaScript) is sufficient for security
B. Frontend validation improves user experience by providing immediate
feedback
C. Backend validation is mandatory for security because frontend can be
bypassed
D. Backend validation should validate the same constraints as frontend
A published solution is not available for this question yet.
Report a correction for Q28
Question 29 MCQ · 3.0 marks A. All three messages will be displayed
B. Only the info and warning messages will be displayed
C. Only the warning message will be displayed
D. Only the info and debug messages will be displayed
A published solution is not available for this question yet.
Report a correction for Q29
Question 30 MCQ · 4.0 marks B. Twice, once for each test
C. Once during collection phase only
D. It depends on the pytest configuration
A published solution is not available for this question yet.
Report a correction for Q30
Question 31 MCQ · 5.0 marks A. test_database and test_complex
C. test_calculation and test_complex
A published solution is not available for this question yet.
Report a correction for Q31
Question 32 MCQ · 2.0 marks You are on the main branch and want to merge feature1 and feature2 branches. What is the
correct command sequence?
A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q32
Question 33 MCQ · 3.0 marks B. Displays "Welcome None"
C. Redirects to the login page
D. Returns an error page with HTTP 403
A published solution is not available for this question yet.
Report a correction for Q33