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

What will be the output of the program, if executed in a REPL environment?
What will be the output of the program, if executed in a REPL environment?
Solution
Consider the below JavaScript code.

What will be the output of the above program, assuming the value of the variable “some_value” is less than 18?
What will be the output of the above program, assuming the value of the variable “some_value” is less than 18?
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 Script embedded in an HTML document.

What will be the output on console, if the HTML document is rendered using a browser?
What will be the output on console, if the HTML document is rendered using a browser?
Solution
Solution
Consider the following JavaScript code snippet.

What will be the values of 'storedUsername', 'removedUsername', and 'clearedStorage' after the execution of the above code snippets?
What will be the values of 'storedUsername', 'removedUsername', and 'clearedStorage' after the execution of the above code snippets?
Solution
Consider the below JavaScript program.

Considering the asynchronous nature of promises in the above JavaScript program, what is the minimum time (in seconds) it will take for the entire execution to complete?
Considering the asynchronous nature of promises in the above JavaScript program, what is the minimum time (in seconds) it will take for the entire execution to complete?
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 “App Dev” 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 “App Dev” 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
Which of the following statement(s) is/are correct regarding web storage APIs?
Solution
Which of the following is a valid function signature for an action function in Vuex?
Solution
Select the statements that incorrectly describe characteristics or practices related to RESTful APIs.
Solution
Which of the following statement(s) is/are true regarding Single Page Applications (SPA) and Progressive Web Apps (PWA)?
Solution
Identify the correct statement(s) about the behavior of promise chains in JavaScript.
Solution
Consider the below Vue class binding.

Which of the following statements is/are true, assuming both code 1 and code 2 are part of app object?
Which of the following statements is/are true, assuming both code 1 and code 2 are part of app object?
Solution
Consider the below Vue component template and script definitions that use Vue router.

Assuming that the corresponding routes are properly configured, what does this component structure accomplish?
Assuming that the corresponding routes are properly configured, what does this component structure accomplish?
Solution
Consider the below application with markup “index.html” and JavaScript file “app.js”.

Suppose the application is running on “http://127.0.0.1:8080”, select the correct option(s)?
Suppose the application is running on “http://127.0.0.1:8080”, select the correct option(s)?
Solution
Shape
Thickness [ / ]
3
All colors