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 369 MCQ · 3.0 marks
Consider the below HTML document.
Suppose you open the “index.html” file in a browser, and click on the table cell with the text “Pihu”.
Which of the following shows the correct sequence of output?
A.
Cell Clicked !!
Table Clicked !!
B.
Table Clicked !!
Cell Clicked !!
C.
Cell Clicked !!
D.
Table Clicked !!
A published solution is not available for this question yet.
Suppose you open the “index.html” file in a browser, and click on the table cell with the text “Pihu”.
Which of the following shows the correct sequence of output?
A.
Cell Clicked !!
Table Clicked !!
B.
Table Clicked !!
Cell Clicked !!
C.
Cell Clicked !!
D.
Table Clicked !!
A published solution is not available for this question yet.
Consider the below Vue application with markup file “index.html” and javascript file “app.js”.
Suppose the application is deployed under a subdirectory named “/myapp/” of a domain named
“https://appdev2-may2023.com”, and you want to navigate to a page that renders “Hello First
Component !!”. What should be the correct URL to get the desired output?
A.B.C.D.
A published solution is not available for this question yet.
Consider the below Vue application with markup file “index.html” and javascript file “app.js”.
Suppose you open the “index.html” file in a browser, and click on the link with the text “Home”.
What will be rendered by the browser except the router links in the navigation menu?
A.
Hello First Component !!
B.
Hello Second Component !!
C.
404
D.
Blank Page
A published solution is not available for this question yet.
Consider the below javascript program, and predict the output, if executed.
A.
Promise Resolved : Promise is resolved
Value received from previous block : undefined
In Finally block : undefined
Value received from previous block : 39
B.
Promise Resolved : Promise is rejected
Value received from previous block : undefined
In Finally block : 34
Value received from previous block : 39
C.
Promise Resolved : Promise is rejected
Value received from previous block : undefined
In Finally block : undefined
Value received from previous block : 34
D.
Promise Rejected : Promise is resolved
Value received from previous block : undefined
In Finally block : undefined
Value received from previous block : 34
A published solution is not available for this question yet.
Which of the following statements is false regarding async and await?
A.
The “await” can be used inside any function.
B.
The “await” keyword is typically used to wait for a promise and get its
fulfilment value.
C.
The “await” keyword pauses the execution of code of the async function till the
promise is in pending state, and executes the code outside the function, in the meantime.
D.
The “await” can only be used inside an async function, except browser console.
A published solution is not available for this question yet.
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 II” in the text box
shown (after removing the previous text, if any), and hard refresh the page once, without clicking
anywhere. What will be the value shown in the text box, and the “age” placeholder, respectively?
A.
Text Box: DefaultDefault
age Placeholder: Default
B.
Text Box: DefaultDefaultDefaultDefault
age Placeholder: Default
C.
Text Box: DefaultDefaultDefaultDefault
age Placeholder: [ "App", "Dev", "II" ]
D.
Text Box: DefaultDefault
age Placeholder: [ "App", "Dev", "II" ]
A published solution is not available for this question yet.
Consider the below flask app, and an HTML file named “index.html”.
Suppose you open the “index.html” in a browser. What will be the approximate time taken by the
second fetch call (i.e., "http://127.0.0.1:5000/endpoint2") to complete and log the data on the
console?
A.
20 seconds
B.
30 seconds
C.
10 seconds
D.
50 seconds
A published solution is not available for this question yet.
Consider the below Vue component and a Vuex store implementation.
You are supposed to invoke the mutation function “update_total_cost” from the method named
“update_store_cost” of the Vue component “product”. The “update_total_cost” mutation function
should update the store data variable “total_cost” with an appropriate value. The cost is the
product of “count” and “price” parameters of the function “update_store_cost”. Assume that both
these parameters are of Numeric type, and need not be typecasted.
Which of the following is/are the possible replacements for “placeholder1” and “placeholder2”?
A.B.C.D.
A published solution is not available for this question yet.
Suppose there are currently 1000 users in the database, and the application is supposed to
generate 1000 HTML reports. Which of the following statement(s) is/are true (assuming there are
more than 1 worker available in the celery system)?
A.
Approach 1 will finish the task in less time than approach 2.
B.
Approach 2 will finish the task in less time than approach 1.
C.
Both the approaches are comparable.
D.
Both the approaches will be comparable if there is only 1 worker available.
A published solution is not available for this question yet.
Which of the following statement is/are true in context of lighthouse?
A.
“First contentful paint” for a webpage is the size of the smallest visible element
on a webpage.
B.
“First contentful paint” for a webpage is the time the browser takes to paint the
first visible content on the webpage.
C.
“Largest contentful paint” for a webpage is the time the browser takes to paint
the largest visible content on the webpage.
D.
“Largest contentfull paint” for a webpage is the size of the largest visible
content on the webpage.
**MLF**
**Section Id :** 64065341318
**Section Number :** 15
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 18
**Number of Questions to be attempted :** 18
**Section Marks :** 50
**Display Number Panel :** Yes
**Section Negative Marks :** 0
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and** Yes
A published solution is not available for this question yet.