Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT"DIPLOMA LEVEL : MODERN APPLICATION
DEVELOPMENT I (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)
DEVELOPMENT I (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)
Solution
Which of the following statements about Git conflict resolution are TRUE?
Solution
Consider the following Python code.

Assume that the above code is executed using the command “pytest -v test_fixture.py”. What is the output of the tested code? (Assume tests run in the same session and global state is preserved. )
Assume that the above code is executed using the command “pytest -v test_fixture.py”. What is the output of the tested code? (Assume tests run in the same session and global state is preserved. )
Solution
Consider the following HTML templates and Python Flask code.

Assume that the Flask app is running at
. What will be rendered for the URL request
?
Assume that the Flask app is running at
Solution
Consider the following HTML and CSS code targeting a specific paragraph element on a webpage.

Solution
Consider the following Python code.

Solution
Consider the following Python Flask code.

Solution
Consider the following data model for a Music Streaming App:

Solution
Consider the following Python Flask code.

Solution
Solution
You have a DRAM module with bus width of 64 bits, clock speed of 1 GHz, and operating in DDR (double-data-rate or two values per clock cycle) mode. What is the maximum bandwidth (in Giga-
bytes per second) of data transfer achievable with this module?
bytes per second) of data transfer achievable with this module?
Solution
Examine the following Python test file:


Solution
Which of the following statements is/are correct?
Statement 1:A single physical machine can simultaneously run software performing the roles of a client, web server, and database server.
Statement 2:The termsclientandserverdescribe logical software roles rather than requiring separate physical machines.
Statement 1:A single physical machine can simultaneously run software performing the roles of a client, web server, and database server.
Statement 2:The termsclientandserverdescribe logical software roles rather than requiring separate physical machines.
Solution
In a standard web-based MVC implementation, what is the typical flow when an end-user submits a web form to update their profile information?
Solution
When constructing an HTML5 form, which
element correctly uses native browser validation to require an email address and displays a hint inside the empty field?
Solution
Sessions are used primarily to:
Solution
Solution
Comprehension Passage
Consider the following Flask-SQLAlchemy models and data.



Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
What does theresultrepresent when the following code is executed?

Solution
Comprehension Passage
Consider the following Flask-SQLAlchemy models and data.



Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Which of the following statements is/are correct when the following code is executed?

Solution
Comprehension Passage
Consider the following Python Flask code.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Solution
Comprehension Passage
Consider the following Python Flask code.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Solution
Consider the following Python Flask code.

Solution
Solution
Solution
Inscript
A passenger ferry departs from a port terminal equipped with a maritime Wi-Fi transmitter having a line-of-sight range of 9 kilometers and a constant throughput of 4 Mbps. The ferry leaves the port terminal and travels directly out to sea at a steady speed of 36 km/h. Assuming a passenger on board continuously streams video using the full available bandwidth, how much data (in Megabytes) will be transferred before the connection drops? (Assume 8 bits = 1 Byte, 1000 Bytes = 1 KB, 1000 KB = 1 MB).
A passenger ferry departs from a port terminal equipped with a maritime Wi-Fi transmitter having a line-of-sight range of 9 kilometers and a constant throughput of 4 Mbps. The ferry leaves the port terminal and travels directly out to sea at a steady speed of 36 km/h. Assuming a passenger on board continuously streams video using the full available bandwidth, how much data (in Megabytes) will be transferred before the connection drops? (Assume 8 bits = 1 Byte, 1000 Bytes = 1 KB, 1000 KB = 1 MB).
Solution
Inscript

Solution
Inscript
A magnetic disk operating at 7200 rpm is being used to store data. The disk can only spin in one
direction at a constant speed of 7200 revolutions per minute. If the operating system sends a request to the disk controller to fetch data from the disk, what is the worst case latency (in msec) before it can start retrieving data?
A magnetic disk operating at 7200 rpm is being used to store data. The disk can only spin in one
direction at a constant speed of 7200 revolutions per minute. If the operating system sends a request to the disk controller to fetch data from the disk, what is the worst case latency (in msec) before it can start retrieving data?
Solution
Inscript

Solution
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Solution
Suppose you have an HTML element withid="box". Which of the following JavaScript statements will successfully change the background color of the element to blue?
Solution
Solution
Shape
Thickness [ / ]
3
All colors