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
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?
Suppose you open the "index.html" file in a browser. What will be rendered by the browser?
Solution
Consider the below JavaScript program.

What will be the output of the above program?
What will be the output of the above program?
Solution
Consider the below Vue component.

Solution
Which of the following statement(s) is/are true about Vue.js event handling and communication?
Solution
Consider the below Vue class binding and select the most appropriate option(s)

Solution
Consider the below Vue router setup.

What will be the behavior when the user visits "/user/john/posts"?
What will be the behavior when the user visits "/user/john/posts"?
Solution
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?
A user successfully logs in to the application. Based on this configuration, which of the following statements is MOST ACCURATE?
Solution
When using Vue 2 via CDN in a plain HTML file, which of the following is the correct practice?
Solution
Considering that in this code Vue.js 2 CDN is used.

Which of the following statements is/are true?
Which of the following statements is/are true?
Solution
Which of the following is NOT true about Vuex compared to a Vue component?
Solution
Consider in this code Vue.js 2 CDN is used.

Which of the following statements is/are correct, assuming the given API is working?
Which of the following statements is/are correct, assuming the given API is working?
Solution
Which statements are correct about cross-browser testing in Vue.js applications?
Solution
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" aftersubmit()runs?
If the ID of the user “Asha” in the database is 7, What will be stored in localStorage under the key
"userId" aftersubmit()runs?
Solution
Which one of the following statements about Vuex is correct?
Solution
Consider the following Vue SFC.

What finally appears on the browser?
What finally appears on the browser?
Solution
Consider the following JavaScript code.

What will be logged on the browser’s console?
What will be logged on the browser’s console?
Solution
Shape
Thickness [ / ]
3
All colors