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
You want to create an app where students can log in and download hall tickets. To make this more efficient, you want to have some very quick way to check whether a given user has already downloaded their hall ticket or not. Which kind of database will you prefer?
Solution
Which of the following enables asynchronous communication between client and server without loading the entire web page?
Solution
Consider the following Flask application.


Solution
Consider the following Python code.

Which of the following is the correct output of the above code?
Which of the following is the correct output of the above code?
Solution
A server has a 16-core CPU, 64 GB RAM and 1 Gbps network connection. The server is running a single instance of an app that can generate a maximum of 500 HTML pages per second, each of which results in a 100KB image to be downloaded by the client. What is the maximum number of requests per second that can be handled by this setup?
Solution
A web server is connected to a 5Mbps network line. Each HTTP request contains 4KB of header information and 6KB of payload. What is the maximum number of requests per second the web server can support?(Note: 1KB=1000B, 1MB=1000KB and so on)
Solution
Consider the following HTML/CSS code.

What will be the output when the above HTML file is rendered?
What will be the output when the above HTML file is rendered?
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?
Solution
Which of the following flask routes can take dynamic value in the URL like “/user/55”?
Solution
Consider the following Python Flask code.


Solution
Consider the following HTML and Python Flask code.



Solution
Consider the following HTML code.

What will be the output in the console window when the above HTML doc is rendered on the browser ?
What will be the output in the console window when the above HTML doc is rendered on the browser ?
Solution
Consider the following Python Flask code.

Solution
Consider the following Python Flask RESTful API code.


Solution
Comprehension Passage
Consider the following SQLAlchemy class models.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
Which of the following relationships exists between the “User” and “Profile” models?
Solution
Comprehension Passage
Consider the following SQLAlchemy class models.

Based on the above data, answer the given subquestions.
Based on the above data, answer the given subquestions.
What will be the output if the following commands are executed in the python shell.

Solution
Shape
Thickness [ / ]
3
All colors