Question 1 | MCQ
THIS IS QUESTION PAPER FOR THE SUBJECT"DIPLOMA LEVEL : MODERN APPLICATION DEVELOPMENT 1"
ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT ?
CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECT 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 SUBJECT TO BE WRITTEN.
(IF IT IS NOT THE CORRECT SUBJECT , PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU)
Solution
Consider the URL given below.
http://appdev1.com/sep-22?week=2#MVC
Which of the following options correctly describes each component of the URL given above?

http://appdev1.com/sep-22?week=2#MVC
Which of the following options correctly describes each component of the URL given above?
Solution
Consider the following flask python snippet with all preliminary conditions.

Solution
Which of the following statements is true about the way of adding style in HTML documents?
Solution
Which of the following jinja template snippets correctly implements afor loopfor creating a list of title links for an image?
Solution
A template nameduserinfo.htmlcontains the following line inside the body tag:

Solution
Given the resource below, What is displayed when a user visits“http://localhost:5000/hello”on the browser?

Solution
A server, using the inbuilt http module of Python, is running for a directoryMy_appwhose file structure and content of each file is given below.

Solution
Match the following:

Which of the following is the correct?
Which of the following is the correct?
Solution
Consider the following HTML page with javascript, which is running at the URL http://127.0.0.1:8000, then choose the correct HTML rendering.

Solution
If the given python program is executed using pytest, then identify the status of the test code.
File name: test1.py

File name: test1.py
Solution
Which of the following lines can be used in a template to inherit anotherbase.htmltemplate that provides a basic, uniform layout?
Solution
Which of the following routes binds theindex()function to the application's root URL and renders theindex.htmltemplate?
Solution
In the given HTML template, to correctly embed a URL in the href, the argument "user" in the "url_for" function must be a __________________?

Solution
Read the following statements carefully and mark the correct answer:
Statement 1: Continuous integration is the practice of automating the integration of code changes from multiple contributors into a single software project
Statement 2: Continuous Delivery refers to automated delivery of “release package” on each successful test
Statement 1: Continuous integration is the practice of automating the integration of code changes from multiple contributors into a single software project
Statement 2: Continuous Delivery refers to automated delivery of “release package” on each successful test
Solution
Consider the following constraints for the“student”table:

Solution
Which of the following statement(s) is/are true regarding Git?
Solution
Which of the following statement(s) is/are false regarding database migrations?
Solution
Consider the following Model for User.

Solution
Consider the following Python code snippet:

Solution
Solution
Consider the following Python code snippet.

Solution
Consider the following two tables, user1 and logstable:

Solution
Compute the octal representation of the binary number (01000001)2.
Note: The answer must be an integer. For ex: If the octal representation is (39)8, then you must write 39 only.
Note: The answer must be an integer. For ex: If the octal representation is (39)8, then you must write 39 only.
Solution
Comprehension Passage
Consider the following jinja2 template, and answer the given subquestions

What will be the output on the terminal for:

Solution
Comprehension Passage
Consider the following jinja2 template, and answer the given subquestions

What will be the output on the terminal for:

Solution
Comprehension Passage
Consider the below model definitions, and answer the given subquestions.
Consider the following model classes “Movies” and “Producers” corresponding to tables “movies” and “producers”, respectively, in the SQLite database.

Consider the following model classes “Movies” and “Producers” corresponding to tables “movies” and “producers”, respectively, in the SQLite database.
The tables “movies” and “producers” are related to each other by which of the following relationships?
Solution
Comprehension Passage
Consider the below model definitions, and answer the given subquestions.
Consider the following model classes “Movies” and “Producers” corresponding to tables “movies” and “producers”, respectively, in the SQLite database.

Consider the following model classes “Movies” and “Producers” corresponding to tables “movies” and “producers”, respectively, in the SQLite database.
Solution
Comprehension Passage
Consider the below program, and answer the given subquestions , if the application is running locally on URL: http://127.0.0.1:5000.
Consider the following resource created with help of flask-restful.

Consider the following resource created with help of flask-restful.
If the curl request shown below.

Solution
Comprehension Passage
Consider the below program, and answer the given subquestions , if the application is running locally on URL: http://127.0.0.1:5000.
Consider the following resource created with help of flask-restful.

Consider the following resource created with help of flask-restful.
If the curl request shown below

Solution
Comprehension Passage
Consider the below program, and answer the given subquestions , if the application is running locally on URL: http://127.0.0.1:5000.
Consider the following resource created with help of flask-restful.

Consider the following resource created with help of flask-restful.
What will be the response from the server for the request:

Solution
Comprehension Passage
Consider the below graph, and answer the given subquestions.
The bandwidth vs. time graph for a period of one hour between 12 noon to 1 p.m in the afternoon is shown below. [Use relations: 1 Byte = 8 bits, 1 GB = 1000 MB and so on.]

The bandwidth vs. time graph for a period of one hour between 12 noon to 1 p.m in the afternoon is shown below. [Use relations: 1 Byte = 8 bits, 1 GB = 1000 MB and so on.]
What is the network bandwidth (in Mbps) of the network at exactly 12:30 pm?
Solution
Comprehension Passage
Consider the below graph, and answer the given subquestions.
The bandwidth vs. time graph for a period of one hour between 12 noon to 1 p.m in the afternoon is shown below. [Use relations: 1 Byte = 8 bits, 1 GB = 1000 MB and so on.]

The bandwidth vs. time graph for a period of one hour between 12 noon to 1 p.m in the afternoon is shown below. [Use relations: 1 Byte = 8 bits, 1 GB = 1000 MB and so on.]
What is the total amount of data (in GigaBytes) consumed by the only user connected to the network between 12:15 pm to 12:45 pm? [Assuming that the user is using the entire bandwidth from 12:15 p.m to 12:45 p.m]
Solution
Shape
Thickness [ / ]
3
All colors