MauryaHub PYQ Practice

Application Development - 2 · Quiz 2 · Sep 2023

Application Development - 2 · Quiz 2 · Sep 2023

← Course papers · Start practice / exam

This page contains the reliably extracted subset, not the complete original paper.

Questions and published explanations below are available without starting a test. Some questions may not have a published solution yet.

0 / 16 published solutions

Question 162 MCQ · 3.0 marks

Consider the following JavaScript code.
Source diagram or notation
What will be logged on to the console?
A.
56
B.
272
C.Source diagram or notation
360
D.
560

A published solution is not available for this question yet.

Report a correction for Q162

Question 163 MCQ · 3.0 marks

Consider the Vue application with markup index.html and JavaScript app.js
Source diagram or notation
A.
● Home ● Bowling Average
B.
● Home ● Bowling Average ● Batting Average
C.
● Home ● Batting Average ● Strike Rate
D.
● Bowling Average ● Batting Average

A published solution is not available for this question yet.

Report a correction for Q163

Question 164 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 for User1
B.
This is dashboard for User2
C.
This is dashboard for User3
D.
None of these

A published solution is not available for this question yet.

Report a correction for Q164

Question 165 MCQ · 3.0 marks

Consider the following Vue application with JavaScript app.js and markup index.html
Source diagram or notation
Source diagram or notation
A.
Jaspreet: Kuldeep:
B.
Jaspreet: 9 Kuldeep: 10
C.
Rohit: Virat:
D.
Rohit:397 Virat:355

A published solution is not available for this question yet.

Report a correction for Q165

Question 166 MCQ · 3.0 marks

Consider the following Vue application with markup “index.html” and javascript file “app.js”.
Source diagram or notation
Source diagram or notation
If you open the 'index.html' file in a browser, what content will be displayed on the browser screen after the automatic reloading of the browser tab stops?
A.
Black
B.
Blue
C.
Yellow
D.
None of these

A published solution is not available for this question yet.

Report a correction for Q166

Question 167 MCQ · 3.0 marks

Consider the below javascript program, and predict the output assuming the variable “random_num” always has a value greater than 8.
Source diagram or notation
A.
Some Data Came Some Data Lost Some Data Lost
B.
Some Data Came Data Sent Data Sent
C.
Some Data Came Data Sent undefined
D.
Some Data Lost Data Sent undefined
E.
Some Data Lost undefined Data Sent

A published solution is not available for this question yet.

Report a correction for Q167

Question 168 MCQ · 3.0 marks

Consider the below javascript program, and predict the output if executed.
Source diagram or notation
A.
20 100
B.
5 NaN
C.
20 NaN
D.
5 50
E.
undefined 100
F.
undefined 50

A published solution is not available for this question yet.

Report a correction for Q168

Question 169 MCQ · 2.0 marks

Consider the Vue app with markup index.html and script app.js
Source diagram or notation
A.
This is navbar
B.
This is model
C.
This is navbar This is model
D.
None of these

A published solution is not available for this question yet.

Report a correction for Q169

Question 170 MCQ · 2.0 marks

Which of the following statements is false regarding promise in javascript?
A.
A promise has 3 states - pending, fulfilled & rejected.
B.
The promises can be chained to perform dependent tasks.
C.
Promises can have only two states, Fulfilled and Rejected.
D.
A promise constructor accepts an executor function, which in itself received 2 parameters for resolve and reject functions.

A published solution is not available for this question yet.

Report a correction for Q170

Question 171 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 for User1
B.
This is dashboard for User2
C.
This is dashboard for User3
D.
None of these

A published solution is not available for this question yet.

Report a correction for Q171

Question 172 MCQ · 4.5 marks

Consider the following Vue application with JavaScript app.js and markup index.html index.html app.Js mputed: { batsmans () filter ((playe
Source diagram or notation
A.
Jaspreet: Kuldeep:
B.
Jaspreet: 9 Kuldeep: 10
C.
Rohit: Virat:
D.
Rohit:397 Virat:355

A published solution is not available for this question yet.

Report a correction for Q172

Question 173 MCQ · 4.5 marks

Consider the following Vue application with markup “index.html” and javascript file “app.js”.
Source diagram or notation
Source diagram or notation
Suppose you open the file “index.html” in a browser, what will be shown on the browser screen post which browser tab will not be reloaded programmatically? If you open the 'index.html' file in a browser, what content will be displayed on the browser screen after the automatic reloading of the browser tab stops?
A.
JSJS
B.
JSJSJS
C.
JSJSJSJS
D.
NaNNaNNaN
E.
NaNNaN
F.
NaNNaNNaNNaN
G.
None of these

A published solution is not available for this question yet.

Report a correction for Q173

Question 174 MCQ · 4.5 marks

Source diagram or notation
const store = new Vuex.Store({ state : { companies : name : ‘samplel', website : ‘sample1.com', capital : name : website : capital : name : ‘sample3", website : ‘sample3.com', capital : name : ‘sample4', website : ‘sample4.com', capital : a L awardees : [] a mutations : { update_final(state, payload) { for (company of state.companies) hb actions : { send_task : function (context) { const token = get_token();
A.
* }
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 Q174

Question 175 MSQ · 2.0 marks

Which of the following is/are true regarding JSON Web Tokens?
A.
Each token has three components, header, payload and signature
B.
Each token has two components, payload and signature.
C.
Each component of the token is encoded using Base-64.
D.
Components of the token are joined using period.

A published solution is not available for this question yet.

Report a correction for Q175

Question 176 MSQ · 2.0 marks

Which of the following statement(s) is/are true, regarding REST and GraphQL?
A.
GraphQL helps to fetch exactly the same data which is needed, and avoids over fetching as well as under fetching
B.
In general, a GraphQL response always returns 200 status code, with the “error” field containing the errors (if any).
C.
A REST API provides multiple endpoints to access multiple resources.
D.
None of these.

A published solution is not available for this question yet.

Report a correction for Q176

Question 177 MSQ · 3.0 marks

Which of the following statement(s) is/are correct using Vuex?
A.
Vuex is a state management library for Vue.js applications.
B.
Using Vuex always becomes difficult when an application scales.
C.
Vuex provides actions for performing asynchronous operations.
D.
The Vuex getters are not reactive.       **MLT** **Section Id :** 64065348510 **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 **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 Q177