MauryaHub PYQ Practice

Application Development - 1 · End Term · May 2023 · AN

Application Development - 1 · End Term · May 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 118 MCQ · 3.0 marks

Consider the following snippet of HTML and its output rendered on the browser:
Source diagram or notation
A.
GET
B.
POST
C.Source diagram or notation
PUT
D.
DELETE

A published solution is not available for this question yet.

Report a correction for Q118

Question 119 MCQ · 3.0 marks

A 6000 rpm magnetic disk is being used to store data. The disk can only spin in one direction and is operating at 6000 revolutions per minute. If the operating system sends a request to the disk controller to fetch data from the disk, but by the time the request reached the disk controller, the information had already moved 35 degrees passed the reader, what will be the latency (in milliseconds) before it can start retrieving data?
A.
0.97
B.
9.03
C.
90.3
D.
97

A published solution is not available for this question yet.

Report a correction for Q119

Question 120 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 Q120

Question 121 MCQ · 3.0 marks

Consider the following function to be tested and test functions given in the Python code snippet below.
Source diagram or notation
On running this file on the terminal using pytest, the summary of the output is;
Source diagram or notation
What command will result into the outcome given above?
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 Q121

Question 122 MCQ · 3.0 marks

Source diagram or notation
A.
C048 A865
B.
C0A8 4865
C.
C0A8 6548
D.
C065 A848

A published solution is not available for this question yet.

Report a correction for Q122

Question 123 MCQ · 3.0 marks

An HTML code and CSS code is given below. Which of the following correctly represents its rendered output?
Source diagram or notation
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 Q123

Question 124 MCQ · 3.0 marks

Source diagram or notation
A.
Many-to-Many
B.
One-to-Many
C.
One-to-One
D.
The tables are not at all related

A published solution is not available for this question yet.

Report a correction for Q124

Question 125 MCQ · 3.0 marks

Consider the following Python code snippet.
Source diagram or notation
A.
Only 2 and 4
B.
Only 4
C.
Only 3 and 4
D.
Only 3

A published solution is not available for this question yet.

Report a correction for Q125

Question 126 MCQ · 3.0 marks

Consider the code below and match the conditions in Column A with respect to the coverage types in Column B.
Source diagram or notation
A.
1-d, 2-a, 3-b, 4-c
B.
1-c, 2-d, 3-b, 4-a
C.
1-c, 2-d, 3-a, 4-b
D.
1-b, 2-d, 3-c, 4-a

A published solution is not available for this question yet.

Report a correction for Q126

Question 127 MCQ · 3.0 marks

Match the following types of testing with their functionality.
Source diagram or notation
Which of the following is the correct matching?
A.
A → 1, B → 2, C → 3, D → 4
B.
A → 4, B → 3, C → 2, D → 1
C.
A → 3, B → 2, C → 1, D → 4
D.
A → 4, B → 1, C → 2, D → 3

A published solution is not available for this question yet.

Report a correction for Q127

Question 128 MCQ · 3.0 marks

Consider the following table “emp” created in SQLite database corresponding to model class “Employee” using flask_sqlalchemy.
Source diagram or notation
Which of the following code snippets will change the designation of male teachers to professor and will increase their salaries to 6000 correctly when typed in the Python console?
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 Q128

Question 129 MCQ · 3.0 marks

Consider the following python code snippet app.py, the html files, base.html and home.html residing in “templates” folder.
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 Q129

Question 130 MCQ · 3.0 marks

Consider the following SQL create statement.
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 Q130

Question 131 MCQ · 2.0 marks

Consider the following statements and select the correct option. **Statement 1**: It is not necessary to implement server-side validation if client-side validation has been implemented. **Statement 2**: Client-side validation can be implemented with HTML5.
A.
Statement 1 is true while statement 2 is false
B.
Statement 2 is true while statement 1 is false
C.
Both statements are true
D.
Both statements are false

A published solution is not available for this question yet.

Report a correction for Q131

Question 132 MCQ · 2.0 marks

Consider the following statements and select the correct answer. **Statement 1**: In PaaS, developers are provided with an up-to-date development environment with the languages and frameworks of their choice. **Statement 2**: Microsoft Azure provides IaaS as well as PaaS services.
A.
Statement 1 is true, but statement 2 is false
B.
Statement 2 is true, but statement 1 is false
C.
Both statements are false
D.
Both statements are true

A published solution is not available for this question yet.

Report a correction for Q132

Question 133 MCQ · 2.0 marks

Consider the following statements and choose the correct option. **Statement 1**: If we submit the form using the GET method, then the form data is appended inside the body of the HTTP request. **Statement 2**: Never use GET method in form to send sensitive data while it is good for non-secure data, like query strings in Google
A.
Both statements 1 and 2 are true, and statement 2 is a correct explanation of statement 1
B.
Both statements 1 and 2 are true, but statement 2 is not a correct explanation of statement 1
C.
Statement 1 is true and statement 2 is false
D.
Statement 2 is true and statement 1 is false

A published solution is not available for this question yet.

Report a correction for Q133

Question 134 MCQ · 2.0 marks

Which of the following git command will remove a file from the staged area but keeps the file in the directory?
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 Q134

Question 135 MSQ · 3.0 marks

Consider the following python code snippet.
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 Q135

Question 136 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 Q136

Question 137 MSQ · 2.0 marks

Which of the statements are true?
A.
HTML5 is based on SGML
B.
XHTML is based on XML which in turn is based on SGML
C.
HTML5 is not backwards compatible with older versions of HTML
D.
XML is both human and machine-readable

A published solution is not available for this question yet.

Report a correction for Q137

Question 138 MSQ · 2.0 marks

Choose the correct code snippet to implement logging by importing python logging module
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 Q138

Question 139 MSQ · 2.0 marks

Consider a typical Amazon Alexa device. Which of the following would constitute the view of the application behind such a device?
A.
The AI voice
B.
The body of the device
C.
The LED light around the device
D.
None of these

A published solution is not available for this question yet.

Report a correction for Q139

Question 140 MSQ · 2.0 marks

Which of the following is true of “cold storage” like Amazon Glacier?
A.
They have low cost and high durability.
B.
They have high cost and low durability.
C.
Latency of retrieval is very low.
D.
Latency of retrieval is very high.

A published solution is not available for this question yet.

Report a correction for Q140

Question 141 MCQ · 4.5 marks

Consider the following graph that represents the variation in bandwidth of a network for an entire day (24 hours). Three users were connected to the network at three different times of the day. Which user has consumed the highest amount of data?
Source diagram or notation
A.
User 1
B.
User 2
C.
User 3
D.
All the three users consumed same amount of data

A published solution is not available for this question yet.

Report a correction for Q141

Question 142 MCQ · 4.5 marks

Consider the following restful implementation using flask.
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 Q142

Question 143 MCQ · 4.5 marks

Consider the following python code snippet. What will be the rendered output?
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 · 4.5 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 Q144

Question 145 MCQ · 4.5 marks

What will be the output of the following Python code snippet?
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 · 4.5 marks

Consider the following flask application.
Source diagram or notation
A.
a-2, b-1, c-5, d-6
B.
a-5, b-3, c-2, d-4
C.
a-5, b-1, c-2, d-6
D.
a-2, b-3, c-4, d-6

A published solution is not available for this question yet.

Report a correction for Q146

Question 147 MCQ · 4.5 marks

Consider the following sorting algorithm which sorts any given unsorted array of numbers in ascending order. What would be its time complexity? (Assume appending and deleting an element from an array does not affect time complexity) Step 1: Create an empty array. Step 2: Find the element in the unsorted array with the minimum value. Step 3: Append this element to the array created in step 1. Step 4: Delete this element from the unsorted array. Step 5: Repeat steps 1 to 4 until the unsorted array is empty.
A.
O(N\(^{2}\))
B.
O(N)
C.
O(logN)
D.
O(NlogN)

A published solution is not available for this question yet.

Report a correction for Q147

Question 148 NAT · 3.0 marks

Consider the following flask application.
Source diagram or notation

A published solution is not available for this question yet.

Report a correction for Q148

Question 149 MSQ · 4.5 marks

Follow the code given below
Source diagram or notation
A.Source diagram or notation
B.Source diagram or notation
C.Source diagram or notation
D.Source diagram or notation
      **TDS** **Section Id :** 64065341310 **Section Number :** 7 **Section type :** Online **Mandatory or Optional :** Mandatory **Number of Questions :** 62 **Number of Questions to be attempted :** 62 **Section Marks :** 70 **Display Number Panel :** Yes **Section Negative Marks :** 0

A published solution is not available for this question yet.

Report a correction for Q149