AppDev2 8
AppDev2 8
What is the recall of the model in predicting the “Positive class”? (Note: Give your answer in
DECIMAL Values rounded to two digits. For example, if your answer is “0.256”, then enter it as “0.26”)
Possible Answers :
0.89 to 0.91
AppDev2
Section Id : 64065341317
Section Number : 14
Number of Questions : 33
Sub-Section Number : 1
Sub-Section Id : 64065388116
Correct Marks : 0
THIS IS QUESTION PAPER FOR THE SUBJECT "DIPLOMA LEVEL : MODERN APPLICATION
DEVELOPMENT 2 (COMPUTER BASED EXAM)"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS
REGISTERED BY YOU)
Options :
6406532041489. YES
6406532041490. NO
Sub-Section Number : 2
Sub-Section Id : 64065388117
Correct Marks : 3
Options :
Correct Marks : 3
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?
Options :
Correct Marks : 3
Consider the following JavaScript program, and predict the output if executed.
Options :
Correct Marks : 3
Options :
Correct Marks : 3
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?
Options :
6406532041519.
6406532041520.
6406532041521.
6406532041522.
Correct Marks : 3
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?
Options :
6406532041525. 404
6406532041526. Blank Page
Correct Marks : 3
Consider the below javascript program, and predict the output, if executed.
Options :
Correct Marks : 3
Options :
6406532041575. The server does not close the connection until it has a message to send.
6406532041576. The server sends the response immediately, even if the requested data is not
available.
6406532041577. The server will always close the connection if the response data is not
available.
Correct Marks : 3
6406532041587. 50 Seconds
6406532041588. 60 Seconds
6406532041589. 0 Seconds
Correct Marks : 3
Options :
6406532041596. Promoted
6406532041598. Promoted
Job Done
Question Number : 379 Question Id : 640653611326 Question Type : MCQ Is Question
Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0
Correct Marks : 3
Consider the below Vue application with markup file “index.html” and javascript file “app.js”.
Options :
6406532041603.
6406532041604.
6406532041605.
6406532041606.
Correct Marks : 3
Consider the below Vue application with markup file “index.html” and javascript file “app.js”.
Options :
Sub-Section Number : 3
Sub-Section Id : 64065388118
Options :
Options :
6406532041547. As an application developer, it is not possible to hide javascript from the user.
6406532041548. “Denail of Service” is an attack that injects malicious client side scripts.
6406532041550. The terms “privacy” and “security” are the same when it comes to web
applications.
Which of the following statement(s) is/are correct regarding the execution context in JavaScript?
Options :
6406532041555. All the code that is not inside any function is run inside Global execution
context.
Which of the following statements is/are correct regarding the prototype in javascript?
Options :
Which of the following statements is/are true regarding the celery in python?
Options :
Sub-Section Number : 4
Sub-Section Id : 64065388119
Correct Marks : 2
Options :
6406532041512. The “await” keyword is typically used to wait for a promise and get its
fulfilment value.
6406532041513. 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.
6406532041514. The “await” can only be used inside an async function, except browser console.
Correct Marks : 2
Which of the following statements is false regarding HTTP and fetch API?
Options :
6406532041544. The “Accept” HTTP header is used by HTTP clients to tell the server which type
of content they expect/prefer as response.
6406532041545. The HTTP headers “Accept” and “Content-Type” are essentially the same.
6406532041546. A fetch call allows a developer to add custom headers in the request.
Sub-Section Number : 5
Sub-Section Id : 64065388120
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?
Options :
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?
Options :
6406532041531. 20 seconds
6406532041532. 30 seconds
6406532041533. 10 seconds
6406532041534. 50 seconds
6406532041591. 30 Seconds
6406532041592. 40 Seconds
6406532041593. 0 Seconds
Consider the below Vue application with markup file “index.html” and javascript file “app.js”.
Options :
6406532041602. False
Consider the below Vue application with markup file “index.html” and javascript file “app.js”.
Options :
6406532041609. std1
std3
6406532041610. std1
std2
std3
Consider the below Vue application with markup file “index.html” and javascript file “app.js”.
Options :
6406532041614. std1
std2
std3
Sub-Section Number : 6
Sub-Section Id : 64065388121
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”?
Options :
6406532041527.
6406532041528.
6406532041529.
6406532041530.
Options :
6406532041535. Approach 1 will finish the task in less time than approach 2.
6406532041536. Approach 2 will finish the task in less time than approach 1.
6406532041538. Both the approaches will be comparable if there is only 1 worker available.
Sub-Section Number : 7
Sub-Section Id : 64065388122
Which of the following statement(s) is/are true regarding flask_caching and caching in general?
Options :
6406532041539. The cache decorator does not include the function parameters in the cache
key.
6406532041540. The memoize decorator does not include the function parameters in the cache
key.
6406532041541. The requests without request bodies are generally not cacheable.
6406532041542. Hard refreshing a web page clears the browser cache for that specific web
page.
Options :
6406532041563.
6406532041564.
6406532041565.
6406532041566.
Options :
Options :
6406532041579. “First contentful paint” for a webpage is the size of the smallest visible element
on a webpage.
6406532041580. “First contentful paint” for a webpage is the time the browser takes to paint the
first visible content on the webpage.
6406532041581. “Largest contentful paint” for a webpage is the time the browser takes to paint
the largest visible content on the webpage.
6406532041582. “Largest contentfull paint” for a webpage is the size of the largest visible
content on the webpage.
MLF
Section Id : 64065341318
Section Number : 15
Number of Questions : 18
Section Marks : 50