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 false.
Solution
Which of the following is/are correct regarding CDN.
Solution
Which of the following is correct regarding Celery?
Solution
Which of the following statement(s) is/are true regarding javascript language?
Solution
Which of the following method(s) does not guarantee that the displayed state and system state are kept in sync at all times?
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 false?
Solution
Which of the following statement(s) is/are false regarding webhooks?
Solution
Which of the following is correct regarding XSS attacks?
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
Solution
Which of the following statement(s) is/are false regarding long and short polling?
Solution
Which of the following statement(s) is/are false regarding caching?
Solution
Which of the following statements is true regarding CORS and CSRF?
Solution
Which of the following statement(s) is/are true regarding Celery?
Solution
Consider the following JavaScript code.

Solution
Consider the following JavaScript code.

Suppose there is an network error and fetch request to the ‘url’ fails. What will be logged on to console, if the code is executed?
Suppose there is an network error and fetch request to the ‘url’ fails. 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 500 status code. What will be logged on to console?
Suppose the ‘url’ returns a JSON response with 500 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
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 Vue application with markup “index.html” and JavaScript “app.js”

Solution
Consider the following flask application.

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 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.

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 below javascript program.

What will be the output of the above program, if executed? Also, predict the minimum number of seconds the program will take to complete the execution?
What will be the output of the above program, if executed? Also, predict the minimum number of seconds the program will take to complete the execution?
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
Shape
Thickness [ / ]
3
All colors