MauryaHub PYQ Practice

Application Development - 2 · End Term · Sep 2023 · AN

Application Development - 2 · End Term · Sep 2023 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

Question 123 MSQ · 2.0 marks

Which of the following statements is/are false.
A.
SMTP is a mail delivery protocol.
B.
SMTP is a protocol to retrieve email from an email server.
C.
IMAP is a mail delivery protocol.
D.
IMAP is a protocol to retrieve email from an email server.

A published solution is not available for this question yet.

Report a correction for Q123

Question 124 MSQ · 2.0 marks

Which of the following is/are correct regarding CDN.
A.
CDN is an acronym for Content Delivery Network.
B.
CDN is a group of servers that helps in fast delivery of web contents.
C.
Web content is always delivered from the closest server to the client in the network.
D.
None of these.

A published solution is not available for this question yet.

Report a correction for Q124

Question 125 MSQ · 2.0 marks

Which of the following is correct regarding Celery?
A.
Celery is a task queue.
B.
It needs broker to function.
C.
Celery can be used to schedule the task.
D.
None of these.

A published solution is not available for this question yet.

Report a correction for Q125

Question 126 MSQ · 2.0 marks

Which of the following statement(s) is/are true regarding javascript language?
A.
Replit.com is an example of a javascript engine.
B.
The language supports the concept of first class functions.
C.
The language does not allow the implementation of user defined higher order functions.
D.
The language can be used for DOM manipulation.

A published solution is not available for this question yet.

Report a correction for Q126

Question 127 MSQ · 2.0 marks

Which of the following method(s) does not guarantee that the displayed state and system state are kept in sync at all times?
A.
Ajax requests on each UI change
B.
Periodic reloading of web-page
C.
Vue bindings to update data reactively
D.
Pure static pages with all updates rendered from server

A published solution is not available for this question yet.

Report a correction for Q127

Question 128 MSQ · 2.0 marks

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?
A.
With point-to-point communication, the number of connection links will grow as O(n).
B.
With point-to-point communication, the number of connection links will grow as O(n\(^{2}\)).
C.
With the use of a central message broker, the number of connection links will grow as O(n).
D.
With the use of a central message broker, the number of connection links will grow as O(n\(^{2}\)).

A published solution is not available for this question yet.

Report a correction for Q128

Question 129 MSQ · 2.0 marks

Which of the following statement(s) is/are false regarding webhooks?
A.
A webhook uses HTTP protocol.
B.
A webhook uses web socket protocol.
C.
A webhook receiver must be deployed on the same origin as the webhook initiator.
D.
A webhook is supposed to be used for machine to machine communication

A published solution is not available for this question yet.

Report a correction for Q129

Question 130 MSQ · 3.0 marks

Which of the following is correct regarding XSS attacks?
A.
XSS attack is an exploit where an attacker attaches a malicious code into a website.
B.
XSS can be used to steal the user's cookie.
C.
XSS is a client side injection attack.
D.
It can be avoided by validating the user's input.

A published solution is not available for this question yet.

Report a correction for Q130

Question 131 MSQ · 3.0 marks

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?
A.
v-for = “value in obj”
B.
v-for = “(value, name) in obj”
C.
v-for = “(value, name, index) in obj”
D.
None of these

A published solution is not available for this question yet.

Report a correction for Q131

Question 132 MSQ · 3.0 marks

Source diagram or notation
A.Source diagram or notation
B.Source diagram or notation
C.Source diagram or notation
D.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q132

Question 133 MSQ · 3.0 marks

Which of the following statement(s) is/are false regarding long and short polling?
A.
A webhook is the same as short polling.
B.
The short polling can be used to know the state of an asynchronous task, and trigger an action if the task gets completed.
C.
The long polling cannot be achieved using HTTP protocol.
D.
Long Polling can be used to achieve real time communication

A published solution is not available for this question yet.

Report a correction for Q133

Question 134 MSQ · 3.0 marks

Which of the following statement(s) is/are false regarding caching?
A.
It is recommended to cache the social networking apps feed responses for a longer duration.
B.
Caching is primarily done to reduce the load from the origin server.
C.
The shared cache is meant to serve responses to the multiple users.
D.
A browser cannot cache JavaScript corresponding to a web page.

A published solution is not available for this question yet.

Report a correction for Q134

Question 135 MSQ · 3.0 marks

Which of the following statements is true regarding CORS and CSRF?
A.
CORS stands for Cross Origin Resource Sharing.
B.
The CORS reduces chances of malicious code by explicitly saying which URLs can be originators of data.
C.
CSRF stands for Cross Site Request Forgery.
D.
None of these

A published solution is not available for this question yet.

Report a correction for Q135

Question 136 MCQ · 2.0 marks

Which of the following statement(s) is/are true regarding Celery?
A.
A celery system may consist of multiple brokers.
B.
Redis must be used as a message broker for Celery.
C.
The framework does not support periodic scheduling of tasks.
D.
All of these.

A published solution is not available for this question yet.

Report a correction for Q136

Question 137 MCQ · 3.0 marks

Consider the following JavaScript code.
Source diagram or notation
A.
Go Up
B.
Go Down
C.
Number Too Large
D.
None of these.

A published solution is not available for this question yet.

Report a correction for Q137

Question 138 MCQ · 3.0 marks

Consider the following JavaScript code.
Source diagram or notation
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?
A.
Response is not json
B.
Network Error
C.
200
D.
None of these.

A published solution is not available for this question yet.

Report a correction for Q138

Question 139 MCQ · 3.0 marks

Consider the JavaScript code.
Source diagram or notation
Suppose the ‘url’ returns a JSON response with 500 status code. What will be logged on to console?
A.
Response is not json
B.
Network Error
C.
404
D.
500

A published solution is not available for this question yet.

Report a correction for Q139

Question 140 MCQ · 3.0 marks

Consider the following JavaScript code.
Source diagram or notation
What will be logged on to console, if executed?
A.
NaN
B.
500
C.Source diagram or notation
2500
D.
Some Error

A published solution is not available for this question yet.

Report a correction for Q140

Question 141 MCQ · 3.0 marks

Consider the following Vue application with JavaScript “app.js” and markup “index.html” app.js
Source diagram or notation
A.
Success
B.
Failure
C.
NaN
D.
None of these.

A published solution is not available for this question yet.

Report a correction for Q141

Question 142 MCQ · 3.0 marks

Consider the following Vue app with markup “index.html” and JavaScript “app.js”
Source diagram or notation
A.
This is dashboard of User
B.
This is dashboard of 7
C.
Dashboard
D.
Result Not Found

A published solution is not available for this question yet.

Report a correction for Q142

Question 143 MCQ · 3.0 marks

Consider the following Vue application with markup “index.html” and JavaScript “app.js”
Source diagram or notation
A.Source diagram or notation
B.Source diagram or notation
C.Source diagram or notation
D.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q143

Question 144 MCQ · 3.0 marks

Consider the following flask application.
Source diagram or notation
A.
0 seconds
B.
30 seconds
C.
120 seconds
D.
None of these

A published solution is not available for this question yet.

Report a correction for Q144

Question 145 MCQ · 3.0 marks

Source diagram or notation
A.Source diagram or notation
B.Source diagram or notation
C.Source diagram or notation
D.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q145

Question 146 MCQ · 3.0 marks

Consider the below javascript program.
Source diagram or notation
What will be the output of the above program, if executed?
A.Source diagram or notation
B.Source diagram or notation
C.Source diagram or notation
D.Source diagram or notation
E.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q146

Question 147 MCQ · 4.5 marks

Consider the following JavaScript code.
Source diagram or notation
What will be logged on to console, if executed?
A.
NaN
B.
500
C.Source diagram or notation
2500
D.
5000

A published solution is not available for this question yet.

Report a correction for Q147

Question 148 MCQ · 4.5 marks

Consider the following Vue application with JavaScript “app.js” and markup “index.html” app.js
Source diagram or notation
A.
Success
B.
Failure
C.
NaN
D.
None of these.

A published solution is not available for this question yet.

Report a correction for Q148

Question 149 MCQ · 4.5 marks

Consider the following Vue app with markup “index.html” and JavaScript “app.js”
Source diagram or notation
A.
This is dashboard of User
B.
Dashboard
C.
Error
D.
Result Not Found

A published solution is not available for this question yet.

Report a correction for Q149

Question 150 MCQ · 4.5 marks

Consider the following flask application.
Source diagram or notation
A.
0 seconds
B.
30 seconds
C.
120 seconds
D.
None of these

A published solution is not available for this question yet.

Report a correction for Q150

Question 151 MCQ · 4.5 marks

Consider the below javascript program.
Source diagram or notation
What will be the output of the above program, if executed?
A.Source diagram or notation
B.Source diagram or notation
C.Source diagram or notation
D.Source diagram or notation
E.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q151

Question 152 MCQ · 4.5 marks

Consider the below javascript program.
Source diagram or notation
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?
A.Source diagram or notation
B.Source diagram or notation
C.Source diagram or notation
D.Source diagram or notation
E.Source diagram or notation
F.Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q152

Question 153 MCQ · 4.5 marks

Consider the following Vue application with markup “index.html” and javascript file “app.js”.
Source diagram or notation
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?
A.
The app will show an error in the console
B.
Default, Default
C.
IIT, Madras
D.
IIT, IIT
E.
Madras, IIT
F.
None of these

A published solution is not available for this question yet.

Report a correction for Q153

Question 154 MCQ · 4.5 marks

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.
Source diagram or notation
A.Source diagram or notation
B.Source diagram or notation
C.Source diagram or notation
D.Source diagram or notation
      **MLT** **Section Id :** 64065349266 **Section Number :** 7 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 17 **Number of Questions to be attempted :** 17 **Section Marks :** 100 **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 Q154