Home / Study library / Application Development - 2 / End Term · Jan 2024 Application Development - 2 · End Term · Jan 2024 · AN
Application Development - 2 · End Term · Jan 2024 AN
← 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 / 32 published solutions
Q286 Q287 Q288 Q289 Q290 Q291 Q292 Q293 Q294 Q295 Q296 Q297 Q298 Q299 Q300 Q301 Q302 Q303 Q304 Q305 Q306 Q307 Q308 Q309 Q310 Q311 Q312 Q313 Q314 Q315 Q316 Q317
Question 286 MCQ · 2.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q286
Question 287 MCQ · 2.0 marks A. It will throw error on the console for the very first iteration.
B. It will display the index, value and type of the value for the first item of array
and then will throw error for the next value.
C. It will display the indices, values and types of all the items of the array.
A published solution is not available for this question yet.
Report a correction for Q287
Question 288 MCQ · 2.0 marks A. The JSON data from the specified URL followed by “End of script”.
B. "End of script" will be logged first, followed by the JSON data.
C. An error will be logged, and the script will terminate.
D. "End of script" will be logged, but the JSON data retrieval will fail.
A published solution is not available for this question yet.
Report a correction for Q288
Question 289 MCQ · 2.0 marks Which of the following statements is false regarding JavaScript and its behavior?
A. The language supports both first class and higher order functions.
B. The language supports higher order functions, but not first class functions.
C. A variable declared without keywords “var”, “let” or “const” is not hoisted at all.
D. The variables declared using keywords “let” and “const” are also hoisted.
A published solution is not available for this question yet.
Report a correction for Q289
Question 290 MCQ · 2.0 marks Where is system state commonly stored in a web application?
A. Client Side local storage
A published solution is not available for this question yet.
Report a correction for Q290
Question 291 MCQ · 2.0 marks Which technology is commonly used to manage application state in a Vue.js application?
A published solution is not available for this question yet.
Report a correction for Q291
Question 292 MSQ · 3.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q292
Question 293 MSQ · 3.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q293
Question 294 MSQ · 3.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q294
Question 295 MSQ · 3.0 marks Which of the following HTTP status code(s) is/are commonly used in RESTful APIs for successful
responses?
A published solution is not available for this question yet.
Report a correction for Q295
Question 296 MSQ · 3.0 marks Which of the following is/are potential benefit(s) of using caching in web applications?
A. Reduced latency and faster response times
B. Lower server load and reduced bandwidth usage
C. Improved scalability and better handling of traffic spikes
D. Enhanced security and protection against DDoS attacks
A published solution is not available for this question yet.
Report a correction for Q296
Question 297 MCQ · 3.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q297
Question 298 MCQ · 3.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q298
Question 299 MCQ · 3.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q299
Question 300 MCQ · 3.0 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q300
Question 301 MCQ · 3.0 marks What does the “finally” method do in promises?
A. The method is executed when the promise is fulfilled.
B. The method is executed when the promise is rejected.
C. The method is executed regardless of whether the promise is fulfilled or
rejected.
D. The method can not be used with promises at all.
A published solution is not available for this question yet.
Report a correction for Q301
Question 302 MCQ · 3.0 marks Which of the following statements regarding Celery task execution is correct?
A. Celery tasks are executed synchronously by default.
B. Celery tasks can only be executed on the same machine where the flask
application is running.
C. Celery tasks are executed asynchronously by default.
D. Celery tasks can only be executed once they are defined as part of a flask
application.
A published solution is not available for this question yet.
Report a correction for Q302
Question 303 MCQ · 3.0 marks What is the primary objective of using a message broker?
A. Eliminates the need for network communication
B. Decouples producers and consumers
C. Decreases CPU utilization
D. Reduces the need for data serialization
A published solution is not available for this question yet.
Report a correction for Q303
Question 304 MCQ · 3.0 marks In a message broker system, what does the term "topic" refer to?
A. The physical location where messages are stored.
B. A unique identifier for a message.
C. The process of encrypting messages.
D. A channel to which messages are published.
A published solution is not available for this question yet.
Report a correction for Q304
Question 305 MCQ · 3.0 marks What is the primary advantage of using server-sent events over traditional polling?
A. Server-sent events support bidirectional communication.
B. Server-sent events can handle larger payloads.
C. Server-sent events reduce server load by eliminating the need for frequent
polling.
D. Server-sent events provide lower latency compared to polling.
A published solution is not available for this question yet.
Report a correction for Q305
Question 306 MCQ · 3.0 marks Which of the following protocols is commonly used for implementing polling?
A published solution is not available for this question yet.
Report a correction for Q306
Question 307 MCQ · 3.0 marks What is the primary purpose of CORS in web security?
A. To prevent unauthorized access to confidential data
B. To mitigate cross-site scripting (XSS) attacks
C. To enable controlled access to resources from different origins
D. To protect against SQL injection attacks
A published solution is not available for this question yet.
Report a correction for Q307
Question 308 MCQ · 4.5 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q308
Question 309 MCQ · 4.5 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q309
Question 310 MCQ · 4.5 marks Consider the following Script “scriptjs” embedded in an HTML document
index.html” and an external script “app.js” given below
Filename: index.html
<html lang="en"
<head></head>
<body
cript.js"></script
</html>
Filename: script js
function (src, cbf){
let script = document.createElement( script’);
script.src = src;
script.onload = () => cbf();
document ..head. append( script) ;
t cbf = function(){
console. log("callback function
extFunc()
loadScript("./support_m6
extFunc()
Filename: app.js
console. log("Now I am loaded, let's support")
function Func(){
console.log("loaded and run from external script")
What will be the output on console, if the HTML document is rendered using a browser?
A. B. C. A published solution is not available for this question yet.
Report a correction for Q310
Question 311 MCQ · 4.5 marks D. The program cannot yield such an output, and is implemented in a wrong way.
A published solution is not available for this question yet.
Report a correction for Q311
Question 312 MCQ · 4.5 marks A. B. C. D. E. A published solution is not available for this question yet.
Report a correction for Q312
Question 313 MCQ · 4.5 marks A. B. C. D. A published solution is not available for this question yet.
Report a correction for Q313
Question 314 MCQ · 4.5 marks A published solution is not available for this question yet.
Report a correction for Q314
Question 315 MCQ · 4.5 marks A. An error indicating that the id prop is not defined.
B. User Profile
User ID: Jyoti
C. An error indicating that the data object is not defined.
D. An error indicating that the route does not exist.
A published solution is not available for this question yet.
Report a correction for Q315
Question 316 MSQ · 2.0 marks Which of the following is/are built in Vue.js lifecycle hook(s)?
A published solution is not available for this question yet.
Report a correction for Q316
Question 317 MSQ · 2.0 marks Which of the following JavaScript method(s) is/are used to remove data from the session storage?
D. unSet()
**MLT**
**Section Id :** 64065356696
**Section Number :** 11
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 17
**Number of Questions to be attempted :** 17
**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 Q317