Home / Study library / Application Development - 2 / Quiz 2 · Jan 2024 Application Development - 2 · Quiz 2 · Jan 2024
Application Development - 2 · Quiz 2 · Jan 2024
← Course papers · Start practice / exam
Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.
0 / 16 published solutions
Q173 Q174 Q175 Q176 Q177 Q178 Q179 Q180 Q181 Q182 Q183 Q184 Q185 Q186 Q187 Q188
Question 173 MCQ · 3.0 marks Consider the below javascript program.
What will be the output of the program, if executed in a REPL environment?
6406532577646. 6406532577647. 6406532577648. 6406532577649. 6406532577650. A published solution is not available for this question yet.
Report a correction for Q173
Question 174 MCQ · 3.0 marks 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?
6406532577651. 6406532577652. 6406532577653. 6406532577654. A published solution is not available for this question yet.
Report a correction for Q174
Question 175 MCQ · 3.0 marks Consider the below JavaScript program.
What will be the output of the above program, if executed?
6406532577655. 6406532577656. 6406532577657. 6406532577658. 6406532577659. A published solution is not available for this question yet.
Report a correction for Q175
Question 176 MCQ · 3.0 marks 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?
6406532577688. 6406532577689. 6406532577690. 6406532577691. A published solution is not available for this question yet.
Report a correction for Q176
Question 177 MCQ · 3.0 marks 6406532577700. 6406532577701. 6406532577702. 6406532577703. A published solution is not available for this question yet.
Report a correction for Q177
Question 178 MCQ · 2.0 marks Consider the following JavaScript code snippet.
What will be the values of 'storedUsername', 'removedUsername', and 'clearedStorage' after the
execution of the above code snippets?
6406532577692. 6406532577693. 6406532577694. 6406532577695. A published solution is not available for this question yet.
Report a correction for Q178
Question 179 MCQ · 4.5 marks 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?
6406532577660. The program will never end
A published solution is not available for this question yet.
Report a correction for Q179
Question 180 MCQ · 4.5 marks 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?
6406532577712. MAD_II, admin
A published solution is not available for this question yet.
Report a correction for Q180
Question 181 MSQ · 2.0 marks Which of the following statement(s) is/are correct regarding web storage APIs?
6406532577665. Web Storage APIs provide a way to store key-value pairs persistently on the
client side.
6406532577666. Web Storage APIs include “localStorage” and “sessionStorage”.
6406532577667. Data stored in “localStorage” is automatically cleared when the browser
session ends.
6406532577668. The “sessionStorage” allows data to persist across browser sessions.
A published solution is not available for this question yet.
Report a correction for Q181
Question 182 MSQ · 2.0 marks Which of the following is a valid function signature for an action function in Vuex?
6406532577673. 6406532577674. 6406532577675. 6406532577676. A published solution is not available for this question yet.
Report a correction for Q182
Question 183 MSQ · 2.0 marks Select the statements that incorrectly describe characteristics or practices related to RESTful APIs.
6406532577683. Stateless communication
6406532577684. Use of SOAP for data exchange
6406532577685. Emphasis on nouns (resources) in URIs
6406532577686. Strict requirement for XML as the data format
6406532577687. Utilization of standard HTTP methods
A published solution is not available for this question yet.
Report a correction for Q183
Question 184 MSQ · 3.0 marks Which of the following statement(s) is/are true regarding Single Page Applications (SPA) and
Progressive Web Apps (PWA)?
6406532577677. SPAs load entire web pages from the server for each user interaction.
6406532577678. PWAs can be installed on a user's device and accessed from the home screen.
6406532577679. SPAs often rely on client-side routing to update the content dynamically.
6406532577680. PWAs always require an internet connection to function.
6406532577681. SPAs may result in faster user experiences as they avoid full-page reloads.
6406532577682. PWAs use service workers to enable offline capabilities.
A published solution is not available for this question yet.
Report a correction for Q184
Question 185 MSQ · 3.0 marks Identify the correct statement(s) about the behavior of promise chains in JavaScript.
6406532577696. A "finally" block always comes at the end of the promise chain.
6406532577697. Every "catch" block must always be preceded by a "then" block.
6406532577698. A promise chain may consist of a number of "then" blocks.
6406532577699. The "finally" block always gets executed, irrespective of the promise outcome.
A published solution is not available for this question yet.
Report a correction for Q185
Question 186 MSQ · 3.0 marks 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?
6406532577704. The code snippet 1 will render the div element with class “completed”, if the
“completed” property of “classObj” is set to true.
6406532577705. The code snippet 2 will render the div element with class “completed”, if the
data variable “status” is set to true.
6406532577706. Both the code snippets will render same HTML
6406532577707. Both the code snippets will render different HTML
A published solution is not available for this question yet.
Report a correction for Q186
Question 187 MSQ · 4.5 marks 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?
6406532577669. 6406532577670. 6406532577671. 6406532577672. A published solution is not available for this question yet.
Report a correction for Q187
Question 188 MSQ · 4.5 marks 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)?
6406532577708. 6406532577709. 6406532577710. 6406532577711.
**MLT**
**Section Id :** 64065353268
**Section Number :** 12
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 12
**Number of Questions to be attempted :** 12
**Section Marks :** 50
**Display Number Panel :** Yes
**Section Negative Marks :** 0
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and**
Yes
**Clear Response :**
**Maximum Instruction Time :** 0
A published solution is not available for this question yet.
Report a correction for Q188