Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT"DIPLOMA LEVEL : MODERN APPLICATION DEVELOPMENT II (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
In a message queue system, if the consumer is slower than the producer, what is likely to occur first?
Solution
What does "reactivity" mean in the context of frontend frameworks like Vue.js?
Solution
In Flask, what is the main benefit of using the @cache.cached() decorator?
Solution
What is the primary purpose of CORS (Cross-Origin Resource Sharing)?
Solution
Which of the following practices help protect against supply chain attacks?
Solution
Which of the following factors directly affect the speed and performance of a web page load?
Solution
Which of the following is/are the potential benefits of using a message broker?
Solution
Which statements about webhooks are correct?
Solution
A popular e-commerce platform needs to notify multiple third-party services (inventory management, email marketing, analytics) whenever a customer places an order. The development team is considering different approaches to handle these notifications.
Scenario: When an order is placed, the system needs to:
- Update inventory levels in an external warehouse system
- Send a welcome email through a third-party email service
- Log analytics data to an external tracking service
- Update customer loyalty points in a CRM system
Which of the following statements about using webhooks for this scenario is MOST accurate?
Scenario: When an order is placed, the system needs to:
- Update inventory levels in an external warehouse system
- Send a welcome email through a third-party email service
- Log analytics data to an external tracking service
- Update customer loyalty points in a CRM system
Which of the following statements about using webhooks for this scenario is MOST accurate?
Solution
What is the main advantage of using caching in a Flask-based web application?
Solution
Solution
Solution
Consider the following javascript program.

What will be the output of the above program on the browser’s console?
What will be the output of the above program on the browser’s console?
Solution
Solution
Solution
Which factors directly impact the Lighthouse "Performance" score?
Solution
Which statements are true about handling background tasks in Flask with Celery?
Solution
Which of the following are true about mutations and actions in Vuex?
Solution
Solution
Comprehension Passage
Scenario
1. The component is loaded.
2. User clicks "Mark Complete" for the task namedBuild Project.
3. User clicks "Show Completed" button again.
After step 2 (Mark Completed is clicked), what tasks are shown?
Solution
Comprehension Passage
Scenario
1. The component is loaded.
2. User clicks "Mark Complete" for the task namedBuild Project.
3. User clicks "Show Completed" button again.
After step 3 (Mark Complete is clicked on Build Project), how many completed tasks are reported in the UI?
Solution
Comprehension Passage
Scenario
1. The component is loaded.
2. User clicks "Mark Complete" for the task namedBuild Project.
3. User clicks "Show Completed" button again.
Which of the following are true about this component’s behavior?
Solution
Solution
Solution
Solution
Solution
Solution
Assuming that the root Vue instance has already been created and mounted to div app. Which of the following statements are CORRECT?
Solution
Comprehension Passage
Answer the given Subquestions:
Consider the following Vue Router configuration in a Vue 2 application:

In a Vue component, you have these navigation methods:

What URLs will be generated when the user clicks each navigation element?
In a Vue component, you have these navigation methods:
What URLs will be generated when the user clicks each navigation element?
Solution
Comprehension Passage
Answer the given Subquestions:
Using the same Vue Router configuration from the previous question, Select ALL correct statements about these navigation methods.
Solution
Comprehension Passage
Prashant and Nikita are creating a quiz question paper collaboratively. They are each working on different sections — and complete their tasks in parallel. Meanwhile, Mayur is enjoying a single- player game that finishes when the game loop ends.
To compare productivity:
- If Prashant and Nikita (together) finish faster than Mayur, the winner is "Team".
- If Mayur finishes faster, he wins.
- If both take the same time, Mayur wins by default.
You are simulating this scenario in the browser.Prashant and Nikita are represented using parallel Promises. Mayur is represented using a single Promise. The frontend must calculate who finishes first using asynchronous logic, and display the result.

Based on the above data, answer the given subquestions.
To compare productivity:
- If Prashant and Nikita (together) finish faster than Mayur, the winner is "Team".
- If Mayur finishes faster, he wins.
- If both take the same time, Mayur wins by default.
You are simulating this scenario in the browser.Prashant and Nikita are represented using parallel Promises. Mayur is represented using a single Promise. The frontend must calculate who finishes first using asynchronous logic, and display the result.
Based on the above data, answer the given subquestions.
If Prashant and Nikita finish together in 3 seconds (since Promise.all waits for both), and Mayur finishes in 4 seconds, who wins?
Solution
Comprehension Passage
Prashant and Nikita are creating a quiz question paper collaboratively. They are each working on different sections — and complete their tasks in parallel. Meanwhile, Mayur is enjoying a single- player game that finishes when the game loop ends.
To compare productivity:
- If Prashant and Nikita (together) finish faster than Mayur, the winner is "Team".
- If Mayur finishes faster, he wins.
- If both take the same time, Mayur wins by default.
You are simulating this scenario in the browser.Prashant and Nikita are represented using parallel Promises. Mayur is represented using a single Promise. The frontend must calculate who finishes first using asynchronous logic, and display the result.

Based on the above data, answer the given subquestions.
To compare productivity:
- If Prashant and Nikita (together) finish faster than Mayur, the winner is "Team".
- If Mayur finishes faster, he wins.
- If both take the same time, Mayur wins by default.
You are simulating this scenario in the browser.Prashant and Nikita are represented using parallel Promises. Mayur is represented using a single Promise. The frontend must calculate who finishes first using asynchronous logic, and display the result.
Based on the above data, answer the given subquestions.
The Team takes 5 seconds in total. Mayur takes 2 seconds. According to the logic of app2.js, who is the winner?
Solution
Shape
Thickness [ / ]
3
All colors