0% found this document useful (0 votes)
1K views39 pages

AppDev2 8

App

Uploaded by

gladstone1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views39 pages

AppDev2 8

App

Uploaded by

gladstone1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 39

Question Label : Short Answer Question

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”)

Response Type : Numeric

Evaluation Required For SA : Yes

Show Word Count : Yes

Answers Type : Range

Text Areas : PlainText

Possible Answers :

0.89 to 0.91

AppDev2
Section Id : 64065341317

Section Number : 14

Section type : Online

Mandatory or Optional : Mandatory

Number of Questions : 33

Number of Questions to be attempted : 33

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

Sub-Section Number : 1

Sub-Section Id : 64065388116

Question Shuffling Allowed : No

Is Section Default? : null


Question Number : 368 Question Id : 640653611297 Question Type : MCQ Is Question
Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 0

Question Label : Multiple Choice Question

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

Question Shuffling Allowed : Yes

Is Section Default? : null

Question Number : 369 Question Id : 640653611298 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 3

Question Label : Multiple Choice Question

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?

Options :

6406532041491. Cell Clicked !!


Table Clicked !!

6406532041492. Table Clicked !!


Cell Clicked !!

6406532041493. Cell Clicked !!

6406532041494. Table Clicked !!

Question Number : 370 Question Id : 640653611299 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 3

Question Label : Multiple Choice Question

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?

Options :

6406532041495. Cell Clicked !!


Table Clicked !!

6406532041496. Table Clicked !!


Cell Clicked !!

6406532041497. Cell Clicked !!

6406532041498. Table Clicked !!

Question Number : 371 Question Id : 640653611300 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 3

Question Label : Multiple Choice Question

Consider the following JavaScript program, and predict the output if executed.

Options :

6406532041499. Function Invoked !!


1

6406532041500. Function Invoked !!


2

6406532041501. Function Invoked !!


3
6406532041502. The program will cause an infinite loop and keep printing the message
“Function Invoked !!”

Question Number : 372 Question Id : 640653611302 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 3

Question Label : Multiple Choice Question

Match the Vue directives / constructs with their function.

Options :

6406532041507. 1-A, 2-B, 3-C, 4-D

6406532041508. 1-C, 2-B, 3-D, 4-A

6406532041509. 1-C, 2-D, 3-A, 4-B

6406532041510. 1-C, 2-B, 3-A, 4-D

Question Number : 373 Question Id : 640653611305 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 3

Question Label : Multiple Choice Question


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?
Options :

6406532041519.

6406532041520.

6406532041521.

6406532041522.

Question Number : 374 Question Id : 640653611306 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 3

Question Label : Multiple Choice Question

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 :

6406532041523. Hello First Component !!

6406532041524. Hello Second Component !!

6406532041525. 404
6406532041526. Blank Page

Question Number : 375 Question Id : 640653611313 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 3

Question Label : Multiple Choice Question

Consider the below javascript program, and predict the output, if executed.

Options :

6406532041551. Promise Resolved : Promise is resolved


Value received from previous block : undefined
In Finally block : undefined
Value received from previous block : 39

6406532041552. Promise Resolved : Promise is rejected


Value received from previous block : undefined
In Finally block : 34
Value received from previous block : 39

6406532041553. Promise Resolved : Promise is rejected


Value received from previous block : undefined
In Finally block : undefined
Value received from previous block : 34

6406532041554. Promise Rejected : Promise is resolved


Value received from previous block : undefined
In Finally block : undefined
Value received from previous block : 34

Question Number : 376 Question Id : 640653611319 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 3

Question Label : Multiple Choice Question

Which of the following statements is true regarding long polling?

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.

6406532041578. None of these.

Question Number : 377 Question Id : 640653611322 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 3

Question Label : Multiple Choice Question

Consider the following flask application.


Options :

6406532041587. 50 Seconds

6406532041588. 60 Seconds

6406532041589. 0 Seconds

6406532041590. None of these

Question Number : 378 Question Id : 640653611324 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 3

Question Label : Multiple Choice Question

What will be the output of the following javascript code.

Options :

6406532041595. Not Promoted

6406532041596. Promoted

6406532041597. Not Promoted


Job Done

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

Question Label : Multiple Choice Question

Consider the below Vue application with markup file “index.html” and javascript file “app.js”.

Options :

6406532041603.

6406532041604.

6406532041605.
6406532041606.

Question Number : 380 Question Id : 640653611329 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 3

Question Label : Multiple Choice Question

Consider the below Vue application with markup file “index.html” and javascript file “app.js”.
Options :

6406532041615. Name: std1, Course: mad1

6406532041616. Name: std2, Course: mad2

6406532041617. Name: std3, Course: mad1

6406532041618. Not Found

Sub-Section Number : 3

Sub-Section Id : 64065388118

Question Shuffling Allowed : Yes

Is Section Default? : null

Question Number : 381 Question Id : 640653611301 Question Type : MSQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 2 Max. Selectable Options : 0

Question Label : Multiple Select Question

Which of the following is/are not the example(s) of ephemeral state?

Options :

6406532041503. Currently selected tab/page in a multi page/tab document

6406532041504. User Preferences

6406532041505. Loading Icons

6406532041506. Shopping Cart

Question Number : 382 Question Id : 640653611312 Question Type : MSQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 2 Max. Selectable Options : 0

Question Label : Multiple Select Question

Which of the following statement(s) is/are true in general?

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.

6406532041549. CORS is a mechanism used to control and manage cross-origin requests in a


web application.

6406532041550. The terms “privacy” and “security” are the same when it comes to web
applications.

Question Number : 383 Question Id : 640653611314 Question Type : MSQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0
Correct Marks : 2 Max. Selectable Options : 0

Question Label : Multiple Select Question

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.

6406532041556. A global execution context is created when a function is called.

6406532041557. A function execution context is created when the function is called.

6406532041558. All of these

Question Number : 384 Question Id : 640653611315 Question Type : MSQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 2 Max. Selectable Options : 0

Question Label : Multiple Select Question

Which of the following statements is/are correct regarding the prototype in javascript?

Options :

6406532041559. Prototype is used by objects to inherit features.

6406532041560. Prototype of an object can be null.

6406532041561. Inheritance is not possible in JavaScript.

6406532041562. Every object may not have a prototype.

Question Number : 385 Question Id : 640653611317 Question Type : MSQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 2 Max. Selectable Options : 0

Question Label : Multiple Select Question

Which of the following statements is/are correct?


Options :

6406532041567. Caching can reduce the number of calls to the database

6406532041568. CDN is a group of servers that cache content

6406532041569. Caching can only be done at the browser level

6406532041570. All of these

Question Number : 386 Question Id : 640653611321 Question Type : MSQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 2 Max. Selectable Options : 0

Question Label : Multiple Select Question

Which of the following statements is/are true regarding the celery in python?

Options :

6406532041583. Celery stores the result of a task in a result backend.

6406532041584. Celery typically runs the tasks asynchronously.

6406532041585. Celery beat is used to schedule tasks.

6406532041586. None of these.

Sub-Section Number : 4

Sub-Section Id : 64065388119

Question Shuffling Allowed : Yes

Is Section Default? : null

Question Number : 387 Question Id : 640653611303 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 2

Question Label : Multiple Choice Question


Which of the following statements is false regarding async and await?

Options :

6406532041511. The “await” can be used inside any function.

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.

Question Number : 388 Question Id : 640653611311 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 2

Question Label : Multiple Choice Question

Which of the following statements is false regarding HTTP and fetch API?

Options :

6406532041543. A fetch call is capable of sending image data.

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

Question Shuffling Allowed : Yes

Is Section Default? : null

Question Number : 389 Question Id : 640653611304 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 4.5

Question Label : Multiple Choice Question

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 :

6406532041515. Text Box: DefaultDefault


age Placeholder: Default

6406532041516. Text Box: DefaultDefaultDefaultDefault


age Placeholder: Default

6406532041517. Text Box: DefaultDefaultDefaultDefault


age Placeholder: [ "App", "Dev", "II" ]

6406532041518. Text Box: DefaultDefault


age Placeholder: [ "App", "Dev", "II" ]

Question Number : 390 Question Id : 640653611308 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 4.5

Question Label : Multiple Choice Question

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

Question Number : 391 Question Id : 640653611323 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 4.5

Question Label : Multiple Choice Question

Consider the flask application.


Options :

6406532041591. 30 Seconds

6406532041592. 40 Seconds

6406532041593. 0 Seconds

6406532041594. None of these

Question Number : 392 Question Id : 640653611325 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 4.5

Question Label : Multiple Choice Question

Consider the below Vue application with markup file “index.html” and javascript file “app.js”.

Options :

6406532041599. On the circle

6406532041600. Not on the circle


6406532041601. true

6406532041602. False

Question Number : 393 Question Id : 640653611327 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 4.5

Question Label : Multiple Choice Question

Consider the below Vue application with markup file “index.html” and javascript file “app.js”.
Options :

6406532041607. Name: std1, Course: mad1

6406532041608. Name: std2, Course: mad2

6406532041609. std1
std3

6406532041610. std1
std2
std3

Question Number : 394 Question Id : 640653611328 Question Type : MCQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0
Correct Marks : 4.5

Question Label : Multiple Choice Question

Consider the below Vue application with markup file “index.html” and javascript file “app.js”.
Options :

6406532041611. Name: std1, Course: mad1

6406532041612. Name: std2, Course: mad2

6406532041613. Name: std3, Course: mad1

6406532041614. std1
std2
std3

Sub-Section Number : 6

Sub-Section Id : 64065388121

Question Shuffling Allowed : Yes

Is Section Default? : null


Question Number : 395 Question Id : 640653611307 Question Type : MSQ Is Question
Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 4.5 Max. Selectable Options : 0

Question Label : Multiple Select Question

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”?

Options :

6406532041527.

6406532041528.

6406532041529.

6406532041530.

Question Number : 396 Question Id : 640653611309 Question Type : MSQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 4.5 Max. Selectable Options : 0

Question Label : Multiple Select Question

Consider the given 2 implementations.


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)?

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.

6406532041537. Both the approaches are comparable.

6406532041538. Both the approaches will be comparable if there is only 1 worker available.

Sub-Section Number : 7

Sub-Section Id : 64065388122

Question Shuffling Allowed : Yes

Is Section Default? : null

Question Number : 397 Question Id : 640653611310 Question Type : MSQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 3 Max. Selectable Options : 0

Question Label : Multiple Select Question

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.

Question Number : 398 Question Id : 640653611316 Question Type : MSQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 3 Max. Selectable Options : 0


Question Label : Multiple Select Question

Which of the following statements is/are true?

Options :

6406532041563.

6406532041564.

6406532041565.

6406532041566.

Question Number : 399 Question Id : 640653611318 Question Type : MSQ Is Question


Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 3 Max. Selectable Options : 0

Question Label : Multiple Select Question

Options :

6406532041571. Caching all the players of a country on a backend server.

6406532041572. Caching all the players of a country in the user's browser.

6406532041573. Caching will not improve the performance.

6406532041574. None of these.


Question Number : 400 Question Id : 640653611320 Question Type : MSQ Is Question
Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction
Time : 0

Correct Marks : 3 Max. Selectable Options : 0

Question Label : Multiple Select Question

Which of the following statement is/are true in context of lighthouse?

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

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

You might also like