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
Which of the following statements is/are correct.
Solution
Which of the following is/are correct regarding CDN.
Solution
Which of the following statement(s) is/are false regarding javascript language?
Solution
Which of the following method(s) can be used to ensure that the displayed state and system state are kept in sync at all times?
Solution
Solution
Which of the following statement(s) is/are true regarding webhooks?
Solution
Which of the following is correct regarding XSS attacks?
Solution
You are trying to build a distributed system with N servers, each of which may need to communicate with any of the other servers. Which of the following statement(s) is/are true?
Solution
Which of the following statement(s) is/are false regarding long and short polling?
Solution
Which of the following statement(s) is/are true regarding caching?
Solution
Which of the following statements is true regarding CORS and CSRF?
Solution
Consider the following JavaScript code.

What will be logged on to console, if executed?
What will be logged on to console, if executed?
Solution
Consider the following JavaScript code.

What will be logged on to console, if executed?
What will be logged on to console, if executed?
Solution
Consider the following Vue application with JavaScript “app.js” and markup “index.html”


Solution
Consider the following Vue app with markup “index.html” and JavaScript “app.js”

Solution
Consider the following flask application.

Solution
Consider the below javascript program.

Solution
Consider the following Vue application with markup “index.html” and javascript file “app.js”.

Suppose you open “index.html” file in a browser, and type the text “IIT Madras” in the text box shown (after removing the previous text, if any), and hard refresh the page twice, without clicking anywhere. What will be the value shown in the text box, and the “age” placeholder, respectively?
Suppose you open “index.html” file in a browser, and type the text “IIT Madras” in the text box shown (after removing the previous text, if any), and hard refresh the page twice, without clicking anywhere. What will be the value shown in the text box, and the “age” placeholder, respectively?
Solution
Fill in code1 & code2, which can be used in Vuex Store to update the “below_average” state variable with the objects of those students who have scored more than 50 marks.

Solution
Consider the following JavaScript code.

Suppose ‘url’ returns an HTML response for a get request with 200 status code. What will be logged on to console, if the code is executed?
Suppose ‘url’ returns an HTML response for a get request with 200 status code. What will be logged on to console, if the code is executed?
Solution
Consider the JavaScript code. Suppose the ‘url’ returns a JSON response with 404 status code. What will be logged on to console?

Solution
Consider the following JavaScript code.

What will be logged on to console, if executed?
What will be logged on to console, if executed?
Solution
Solution
Solution
Solution
Consider the below javascript program.

What will be the output of the above program, if executed?
What will be the output of the above program, if executed?
Solution
Consider the following Vue application with markup “index.html” and javascript file “app.js”.

Solution
Consider the below javascript program.

Solution
Suppose an attacker embeds a malicious link in an email or website, causing the victim's browser to unknowingly submit a form that performs an action (e.g., deleting the user’s account) on the target site where the victim is authenticated. Which type of attack is this?
Solution
Consider the below javascript program.

What will be the output of the above program, if executed?
What will be the output of the above program, if executed?
Solution
Which of the following is/are valid use(s) of “v-for” directive, assuming “obj” is an object having a number of key value pairs?
Solution
Which of the following statement(s) is/are true regarding Celery?
Solution
Shape
Thickness [ / ]
3
All colors