Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT"DIPLOMA LEVEL : MODERN APPLICATION DEVELOPMENT II"
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 statement(s) is/are false regarding javascript language?
Solution
Which of the following statement(s) is/are true?
Solution
Which of the following is the correct definition of an immediately invoked function expression (IIFE)?
Solution
Consider the following two programs.

What will be the output of the first and second program, respectively?
What will be the output of the first and second program, respectively?
Solution
Which of the following is/are not higher order function(s) in javascript language?
Solution
Which of the following statement(s) is/are true?
Solution
Consider the below javascript program, and predict the output, if executed.

Solution
Consider the below javascript program, and predict the output, if executed in a REPL environment.

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

Suppose if you open the file “index.html” in a browser, what will be rendered by the browser?
Suppose if you open the file “index.html” in a browser, what will be rendered by the browser?
Solution
Consider the following javascript program and predict the output.

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

Suppose if you open the file “index.html” in a browser, what will be rendered inside the div element with ID “app”?
Suppose if you open the file “index.html” in a browser, what will be rendered inside the div element with ID “app”?
Solution
Consider the following Vue application with markup “index.html” and javascript file “app.js”.

Suppose a developer wants to create a feature that whenever a user clicks on the span element with ID ‘like’ in like component, it increases the ‘’likes’ data of Post component by 1. Which of the following code is best suited for “code1” placeholder?
Suppose a developer wants to create a feature that whenever a user clicks on the span element with ID ‘like’ in like component, it increases the ‘’likes’ data of Post component by 1. Which of the following code is best suited for “code1” placeholder?
Solution
Consider the below javascript program, and predict the output, if executed in a script and REPL environment.

Solution
Consider the below javascript program, and predict how many times the text “Abhi” will be shown on the console, till the program execution is completed. Also, predict the minimum time the program will take to display the text “Abhi” 12 times on the console.

Solution
Predict the output of following javascript code.

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

What will be the text color of the element having ID “part1Id” and “part2Id”, respectively, when the user loads the application for the first time?
What will be the text color of the element having ID “part1Id” and “part2Id”, respectively, when the user loads the application for the first time?
Solution
Shape
Thickness [ / ]
3
All colors