Home / Study library / Application Development - 2 / Quiz 2 · Sep 2025 Application Development - 2 · Quiz 2 · Sep 2025
Application Development - 2 · Quiz 2 · Sep 2025
← 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 / 16 published solutions
Q99 Q100 Q101 Q102 Q103 Q104 Q105 Q106 Q107 Q108 Q109 Q110 Q111 Q112 Q113 Q114
Question 99 MCQ · 5.0 marks Consider the following Vue application with markup "index.html" and JavaScript file "app.js".
Suppose you open the "index.html" file in a browser. What will be rendered by the browser?
6406535937345. Welcome Message
Main card content here
Default slot content
Click Me
6406535937346. Welcome Message
Default slot content
6406535937347. Welcome Message
Main card content here
Default slot content
6406535937348. Welcome Message
Main card content here
6406535937349. Welcome Message
Default slot content
Click Me
A published solution is not available for this question yet.
Report a correction for Q99
Question 100 MCQ · 5.0 marks Consider the below JavaScript program.
What will be the output of the above program?
6406535937350. Error handler 15
Catch block 30
Next then 15
Finally block 30
Final then 25
6406535937351. Success handler 25
Next then 50
Finally block undefined
Final then 60
6406535937352. Error handler 15
Catch block 30
Next then 15
Finally block 25
Final then 75
6406535937353. Error handler 15
Catch block 30
Next then 15
Finally block undefined
Final then 25
A published solution is not available for this question yet.
Report a correction for Q100
Question 101 MCQ · 3.0 marks Consider the below Vue component.
A published solution is not available for this question yet.
Report a correction for Q101
Question 102 MSQ · 2.0 marks Which of the following statement(s) is/are true about Vue.js event handling and communication?
6406535937359. The $emit method is used by child components to send custom events to parent
components.
6406535937360. Event modifiers like .prevent and .stop can be chained together on the same
event listener.
6406535937361. The v-on directive can only be used with native DOM events and cannot handle
custom events.
6406535937362. Parent components can listen to child component events using the v-on or @
syntax in the template.
A published solution is not available for this question yet.
Report a correction for Q102
Question 103 MSQ · 3.0 marks Consider the below Vue class binding and select the most appropriate option(s)
6406535937363. The class "active" will be applied to the div element only when the variable
"isActive" evaluates to true.
6406535937364. The class "text-bold" will always be applied to the div element regardless of
the value of "isBold".
6406535937365. The class "hidden" will be applied to the div element when the variable
"isVisible" evaluates to false.
6406535937366. All three classes will be applied simultaneously if "isActive", "isBold", and
"isVisible" are all true.
A published solution is not available for this question yet.
Report a correction for Q103
Question 104 MCQ · 3.0 marks Consider the below Vue router setup.
What will be the behavior when the user visits "/user/john/posts"?
6406535937367. 6406535937368. 6406535937369. 6406535937370. 6406535937371. A published solution is not available for this question yet.
Report a correction for Q104
Question 105 MCQ · 3.0 marks Consider the following Flask application configuration for Flask-Security, with the User and Role
models properly defined with flask-sqlalchemy.
A user successfully logs in to the application. Based on this configuration, which of the following
statements is MOST ACCURATE?
6406535937372. The user's authentication token will be sent in the response header named "X-
Auth-Token" and can be used for subsequent API requests.
6406535937373. CSRF protection blocks cross-origin requests to protect against malicious
applications accessing sensitive data.
6406535937374. The authentication token will be generated using the SECRET_KEY = “production-secret-
key".
6406535937375. The authentication token will be generated using the argon2 algorithm, since
SECURITY_PASSWORD_HASH is set to "argon2".
A published solution is not available for this question yet.
Report a correction for Q105
Question 106 MCQ · 2.0 marks When using Vue 2 via CDN in a plain HTML file, which of the following is the correct practice?
6406535937376. 6406535937377. 6406535937378. 6406535937379. A published solution is not available for this question yet.
Report a correction for Q106
Question 107 MSQ · 3.0 marks Considering that in this code Vue.js 2 CDN is used.
Which of the following statements is/are true?
6406535937380. Typing in the input updates the paragraph instantly.
6406535937381. This demonstrates one-way data binding.
6406535937382. If the username value is changed from the console, the input field also
updates.
6406535937383. If the directive v-model is replaced with v-bind, the code will work the same way as
it was working before.
A published solution is not available for this question yet.
Report a correction for Q107
Question 108 MCQ · 2.0 marks Which of the following is NOT true about Vuex compared to a Vue component?
6406535937384. Vuex stores data globally and can be accessed across components.
6406535937385. Vuex requires actions, mutations, and state separation.
6406535937386. Vuex avoids deeply nested prop-passing.
6406535937387. Vuex makes every component completely independent, with no shared data.
A published solution is not available for this question yet.
Report a correction for Q108
Question 109 MSQ · 3.0 marks Consider in this code Vue.js 2 CDN is used.
Which of the following statements is/are correct, assuming the given API is working?
6406535937388. Clicking the button fetches users and updates DOM.
6406535937389. Vue automatically re-renders the list when users changes.
6406535937390. v-for is used for conditional rendering.
6406535937391. The code demonstrates Vue’s reactivity system.
A published solution is not available for this question yet.
Report a correction for Q109
Question 110 MSQ · 2.0 marks Which statements are correct about cross-browser testing in Vue.js applications?
6406535937392. Ensures UI works consistently in Chrome, Firefox, Safari, Edge etc.
6406535937393. Tools like Cypress, Selenium, and BrowserStack can be used.
6406535937394. It is unnecessary since Vue handles all rendering.
6406535937395. Some CSS/JavaScript features may behave differently across browsers.
A published solution is not available for this question yet.
Report a correction for Q110
Question 111 MCQ · 4.0 marks Consider this Vue 2 (CDN) method inside a component.
If the ID of the user “Asha” in the database is 7, What will be stored in localStorage under the key
"userId" after submit() runs?
6406535937396. "7" (string)
6406535937398. "undefined" (string)
6406535937399. "[object Promise]" (string)
A published solution is not available for this question yet.
Report a correction for Q111
Question 112 MCQ · 3.0 marks Which one of the following statements about Vuex is correct?
6406535937400. Getters are used to modify the store’s state and must be synchronous.
6406535937401. Mutations are the only way to directly modify Vuex state, and they should be
synchronous.
6406535937402. Actions directly modify state and must not return Promises.
6406535937403. You can call mutations asynchronously (e.g., use setTimeout inside a mutation)
without side effects.
A published solution is not available for this question yet.
Report a correction for Q112
Question 113 MCQ · 4.0 marks Consider the following Vue SFC.
What finally appears on the browser?
6406535937404. Nothing renders
6406535937405. “Loading…” remains
6406535937407. Error (await in mounted)
A published solution is not available for this question yet.
Report a correction for Q113
Question 114 MCQ · 3.0 marks Consider the following JavaScript code.
What will be logged on the browser’s console?
6406535937408. Error: Network Down
Done
6406535937409. Done
Error: Network Down
6406535937410. Error: Network Down
6406535937411. Error: Unhandled Promise rejection
**MLT**
**Section Id :** 640653122507
**Section Number :** 8
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 13
**Number of Questions to be attempted :** 13
**Section Marks :** 40
**Display Number Panel :** Yes
**Section Negative Marks :** 0
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and**
No
**Clear Response :**
**Section Maximum Duration :** 0
**Section Minimum Duration :** 0
**Section Time In :** Minutes
**Maximum Instruction Time :** 0
A published solution is not available for this question yet.
Report a correction for Q114