cs2003_2024T2_Q1_AN.pdf
Application Development - 1 · Quiz 1 · May 2024
← 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.
Question 34 MCQ · 2.0 marks
Which of the following is not a correct perceivable accessibility principle?
Provide text alternatives for non-text content.
Provide captions and other alternatives for multimedia.
Make it easier for users to see and hear content.
Give users enough time to read and use content.
A published solution is not available for this question yet.
Question 35 MCQ · 2.0 marks
Which of the below HTTP status codes represents the client error?
500-599
400-499
300-399
200-299
100-199
A published solution is not available for this question yet.
Question 36 MCQ · 2.0 marks
What will be the output of the following Python code?
[[IMAGE:4825d0f151ae4900_3_1]]

[[IMAGE:4825d0f151ae4900_3_2]]

[[IMAGE:4825d0f151ae4900_3_3]]

[[IMAGE:4825d0f151ae4900_3_4]]

[[IMAGE:4825d0f151ae4900_3_5]]

A published solution is not available for this question yet.
Question 37 MCQ · 2.0 marks
Consider the below table.
[[IMAGE:4825d0f151ae4900_4_6]]
Use the above table. Which of the below match is correct?

i - d, ii - b, iii - a, iv - e, v - c
i - d, ii - c, iii - e, iv - a, v - b
i - c, ii - d, iv - e, iii - a, v - b
i - c, ii - d, iv - e, iii - b, v - a
A published solution is not available for this question yet.
Question 38 MCQ · 3.0 marks
A certain movie with advertisements is being streamed by the client on the internet with a
bandwidth of 5 Mbps. If the total data consumed only in the advertisements is 340 MB and the
advertisements comprises 17% of the total duration of the streamed movie, what can be the size
of the entire movie (in Megabytes) including the advertisements?
20
640
2000
1660
A published solution is not available for this question yet.
Question 39 MCQ · 3.0 marks
[[IMAGE:4825d0f151ae4900_4_7]]

0 bits
1000 bits
4000 bits
5000 bits
A published solution is not available for this question yet.
Question 40 MCQ · 3.0 marks
The following Python code snippet generates the output on the terminal.
[[IMAGE:4825d0f151ae4900_5_8]]
Which of the following is the correct output?

[[IMAGE:4825d0f151ae4900_5_9]]

[[IMAGE:4825d0f151ae4900_5_10]]

[[IMAGE:4825d0f151ae4900_5_11]]

[[IMAGE:4825d0f151ae4900_5_12]]

A published solution is not available for this question yet.
Question 41 MCQ · 3.0 marks
Consider the following HTML document.
[[IMAGE:4825d0f151ae4900_6_13]]

[[IMAGE:4825d0f151ae4900_6_14]]

[[IMAGE:4825d0f151ae4900_6_15]]

[[IMAGE:4825d0f151ae4900_6_16]]

[[IMAGE:4825d0f151ae4900_6_17]]

A published solution is not available for this question yet.
Question 42 MCQ · 3.0 marks
Consider the following Python code snippet.
[[IMAGE:4825d0f151ae4900_7_18]]

[[IMAGE:4825d0f151ae4900_7_19]]

[[IMAGE:4825d0f151ae4900_7_20]]

[[IMAGE:4825d0f151ae4900_7_21]]

[[IMAGE:4825d0f151ae4900_7_22]]

A published solution is not available for this question yet.
Question 43 MCQ · 3.0 marks
Consider the following Python code snippet.
[[IMAGE:4825d0f151ae4900_8_23]]

[[IMAGE:4825d0f151ae4900_8_24]]

[[IMAGE:4825d0f151ae4900_8_25]]

[[IMAGE:4825d0f151ae4900_8_26]]

[[IMAGE:4825d0f151ae4900_8_27]]

A published solution is not available for this question yet.
Question 44 MCQ · 4.5 marks
Consider the following HTML document.
[[IMAGE:4825d0f151ae4900_10_28]]
How will the browser render above HTML file?

[[IMAGE:4825d0f151ae4900_10_29]]

[[IMAGE:4825d0f151ae4900_11_30]]

[[IMAGE:4825d0f151ae4900_11_31]]

[[IMAGE:4825d0f151ae4900_11_32]]

A published solution is not available for this question yet.
Question 45 MCQ · 4.5 marks
Consider a client A that makes a request to server B that fetches the information from Datacenter
C which in turn fetches other required information from the Datacenter D. The distance between
the client A, server B and datacenters C and D within the network and the speed of information in
the medium connecting these nodes is mentioned in the table below.
[[IMAGE:4825d0f151ae4900_11_33]]
Calculate the round trip latency (in milliseconds) of the network?

187
132.5
265
150
A published solution is not available for this question yet.
Question 46 MCQ · 4.5 marks
Consider the following flask app and the bodies of two index.html files shown in the figure below.
[[IMAGE:4825d0f151ae4900_12_34]]

[[IMAGE:4825d0f151ae4900_12_35]]

[[IMAGE:4825d0f151ae4900_12_36]]

[[IMAGE:4825d0f151ae4900_12_37]]

[[IMAGE:4825d0f151ae4900_12_38]]

[[IMAGE:4825d0f151ae4900_13_39]]

A published solution is not available for this question yet.
Question 47 MSQ · 3.0 marks
What can be inferred from the Entity-Relationship Diagram below:
[[IMAGE:4825d0f151ae4900_13_40]]

A student can exist without enrolling to any course
A student can have more than one courses
A student needs to have at least one course
A course must belong to one and only one student
A published solution is not available for this question yet.
Question 48 MSQ · 3.0 marks
Consider the following Flask code.
[[IMAGE:4825d0f151ae4900_14_41]]
Select the command(s) to execute the above code without any error.

[[IMAGE:4825d0f151ae4900_14_42]]

[[IMAGE:4825d0f151ae4900_14_43]]

[[IMAGE:4825d0f151ae4900_14_44]]

[[IMAGE:4825d0f151ae4900_14_45]]

A published solution is not available for this question yet.
Question 49 MSQ · 4.5 marks
Consider the following Python code and HTML document.
[[IMAGE:4825d0f151ae4900_15_46]]

[[IMAGE:4825d0f151ae4900_15_47]]

[[IMAGE:4825d0f151ae4900_15_48]]

[[IMAGE:4825d0f151ae4900_15_49]]

[[IMAGE:4825d0f151ae4900_15_50]]
**MLF**
**Section Id :** 64065359211
**Section Number :** 4
**Section type :** Online
**Mandatory or Optional :** Mandatory
**Number of Questions :** 11
**Number of Questions to be attempted :** 11
**Section Marks :** 40
**Display Number Panel :** Yes
**Section Negative Marks :** 0
**Group All Questions :** No
**Enable Mark as Answered Mark for Review and**
No
**Clear Response :**
**Section Maximum Duration :** 0
**Section Minimum Duration :** 0
**Section Time In :** Minutes
**Maximum Instruction Time :** 0

A published solution is not available for this question yet.