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)
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)
Solution
Consider running the following in Browser console:

Which of the following statements are correct?
Which of the following statements are correct?
Solution
Which of the following are advantages of component-based frontend frameworks like Vue.js?
Solution
Which of the following cases is a function being used as acallback?
Solution
What is the correct output order for the following code?

Solution
A child component is initially visible using
. The parent first updates a prop passed to the child, and then sets
. After the child has already mounted once, which sequence can occur in the child after initial render?
Solution
Consider the following JavaScript code snippet.

What will be the output of the above code on the browsers’ console?
What will be the output of the above code on the browsers’ console?
Solution
Consider the following JavaScript code snippet.

What will be the output of the above code on the browsers’ console?
What will be the output of the above code on the browsers’ console?
Solution
Consider the following JavaScript code snippet.

What will be the output of the above code on the browsers’ console?
What will be the output of the above code on the browsers’ console?
Solution
Which of the following Vue directives are correctly matched with their purpose?
Solution
Given the following parent-child setup in Vue 2:

and inside the child:

Which statements are correct?
and inside the child:
Which statements are correct?
Solution
Identify the issue in the following Vue.js code:

Why does the
value not update correctly when the button is clicked?
Why does the
Solution
Consider the following JavaScript code snippet.

Which of the following statements is/are correct?
Which of the following statements is/are correct?
Solution
Consider the following JavaScript code snippet.

What will be the output of the above code on the browsers’ console?
What will be the output of the above code on the browsers’ console?
Solution
Consider the following JavaScript code snippet.

What will be the output of the above code on the browsers’ console in correct order?
What will be the output of the above code on the browsers’ console in correct order?
Solution
Consider the following JavaScript code snippet.

What will be the output of the above code on the browsers’ console?
What will be the output of the above code on the browsers’ console?
Solution
Consider the following JavaScript code snippet.

What will be the output of the above code on the browsers’ console?
What will be the output of the above code on the browsers’ console?
Solution
Shape
Thickness [ / ]
3
All colors