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)
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
A certain text document consisting of only alphanumeric characters (including spaces) takes 320000 bits, when encoded with UCS-2 encoding. How many bits will the same document take if encoded with ASCII 7-bit encoding?
Solution
Which of the following is true about the term “stateful” in the client-server model?
Solution
Consider the following git branches for a remote repository.

Solution
The Quiz Master application at IITM BS allows students to attempt quizzes online. To prevent automated bots from mass-submitting quiz answers and ensure fair participation, the admin decides to implement aCAPTCHA verification systembefore allowing users to start a quiz. The admin decides to integrate Google reCAPTCHA into the Quiz Master app using Flask. Which Flask extension is best suited for implementing reCAPTCHA verification?
Solution
A mobile client starts from and is cruising away continuously at 120 kmph from the network tower whose network range is 80 km and bandwidth is 240 Mbps. How much data (in Gigabytes) will be consumed by the client who is continuously using the entire bandwidth before completely moving out of the network?
[Take 1 Byte = 8 bits, 1 KB = 1000 Bytes, 1 MB = 1000 Kilobytes and so on.]
[Consider the speed of light in air to be 3 x 108m/sec.]
[Take 1 Byte = 8 bits, 1 KB = 1000 Bytes, 1 MB = 1000 Kilobytes and so on.]
[Consider the speed of light in air to be 3 x 108m/sec.]
Solution
Solution
Solution
Consider the following statements and choose the correct option
Statement 1:It is always mandatory to implement server-side validations and client-side validations to create web applications.
Statement 2:Server-side validations can be implemented using HTML5.
Statement 1:It is always mandatory to implement server-side validations and client-side validations to create web applications.
Statement 2:Server-side validations can be implemented using HTML5.
Solution
Solution
Consider the following example:

Solution
Solution
Solution
Consider the following Python code.

Solution
Solution
Consider the schema for the Class Student.

Solution
Solution
Solution
A client machine and a server machine located 120 kilometers apart start moving towards each other along a straight line at 400 kmph and 800 kmph respectively. At the same time, the client starts sending requests to the server and the server sends back the response to the client. This client-server network continues to send requests and receive responses (with a new request being sent only after the response is received by the client for the previous one) until both the server and the client collide with each other. Calculate the total distance travelled (in kms) by the request data and the response data together before the two machines collide with each other?(assume the speed of request and response to be 3x108m/s )
Solution
Which of the following are benefits of using the MVC (Model-View-Controller) architecture?
Solution
Solution
Which of the following statements about server architectures, Apache and Nginx, is/are correct?
Solution
Solution
Consider the following HTML code.

Solution
Solution
Solution
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Which type of relationship best represents the association betweenstudents and hostelsin the given scenario?
Solution
Comprehension Passage
Based on the above data, answer the given subquestions.
Which SQLAlchemy relationship should be used to model themany-to-manyrelationship between students and events in the Paradox ?
Solution
Comprehension Passage
The students ofIITM BSchallenged theirinstructorsto a cricket match. A Flask web application is built to track the scores. Below is theFlask app codethat defines multiple routes for fetching scores dynamically.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
What will be the output when the following URL is accessed?

Solution
Comprehension Passage
The students ofIITM BSchallenged theirinstructorsto a cricket match. A Flask web application is built to track the scores. Below is theFlask app codethat defines multiple routes for fetching scores dynamically.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
What will happen if we access the following URL?

Solution
Comprehension Passage
A college counseling system is designed to store and retrieve student records efficiently. The system uses different types of storage based on latency, throughput, and density. During peak counseling sessions, thousands of students access their academic records, appointment schedules, and previous counseling notes. The system needs to optimize storage selection for different types of data:
1. Frequently accessed small data (e.g., currently active student records)
2. Large archives of past counseling records (rarely accessed but need long-term storage)
3. Temporary session data that needs to be quickly read and updated during counseling sessions
Based on the above data, answer the given subquestions.
1. Frequently accessed small data (e.g., currently active student records)
2. Large archives of past counseling records (rarely accessed but need long-term storage)
3. Temporary session data that needs to be quickly read and updated during counseling sessions
Based on the above data, answer the given subquestions.
Which of the following storage types should be used for storingfrequently accessed small student recordsthat needlow latency and high-speed access?
Solution
Comprehension Passage
A college counseling system is designed to store and retrieve student records efficiently. The system uses different types of storage based on latency, throughput, and density. During peak counseling sessions, thousands of students access their academic records, appointment schedules, and previous counseling notes. The system needs to optimize storage selection for different types of data:
1. Frequently accessed small data (e.g., currently active student records)
2. Large archives of past counseling records (rarely accessed but need long-term storage)
3. Temporary session data that needs to be quickly read and updated during counseling sessions
Based on the above data, answer the given subquestions.
1. Frequently accessed small data (e.g., currently active student records)
2. Large archives of past counseling records (rarely accessed but need long-term storage)
3. Temporary session data that needs to be quickly read and updated during counseling sessions
Based on the above data, answer the given subquestions.
The college wants to storearchived counseling recordsfrom past students for future reference. These records arerarely accessed, but cost efficiency and storage density are important. Which storage type is best suited?
Solution
Shape
Thickness [ / ]
3
All colors