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 client sends a signal to a satellite 36,000 km above Earth. Speed of electromagnetic waves in vacuum = 3 × 108m/s. Compute RTT for client ↔ satellite.
Solution
Consider the following flask app.

What will be the output if you visit127.0.0.1:5000/hello?
What will be the output if you visit127.0.0.1:5000/hello?
Solution
Consider the following flask app.

If a POST request is sent to127.0.0.1:5000/data/5, what will be the output on the browser?
If a POST request is sent to127.0.0.1:5000/data/5, what will be the output on the browser?
Solution
Consider the following flask app.

What will be the output on the browser, if you visit127.0.0.1:5000/post/23?
What will be the output on the browser, if you visit127.0.0.1:5000/post/23?
Solution
Consider the following code:
app.py

You are running a Flask web application locally using the command: python app.py. On which URL
will the application be accessible in the browser?
app.py
You are running a Flask web application locally using the command: python app.py. On which URL
will the application be accessible in the browser?
Solution
Match theFlask-RESTful componentswith their correctdescription/role:

Solution
What happens if you don’t return a proper dictionary/JSON in Flask-Restful API methods?
Solution
Consider the following table.

Which of the following matches is correct?
Which of the following matches is correct?
Solution
Consider the following Flask SQLalchemy code.

What istrueabout thecreditscolumn?
What istrueabout thecreditscolumn?
Solution
Consider the following Flask code:

Solution
Consider the following Flask code:

Solution
Consider the URL:
https://example.com:8080/index.html?user=admin#section2
Which of the following is/are True?
https://example.com:8080/index.html?user=admin#section2
Which of the following is/are True?
Solution
Match theJavaScript event binding methodwith its correctdescription:

Solution
Consider the following JavaScript output methods. Which of these statements is/aretrue?
Solution
You are building a Flask-RESTful API with the following code:

Which of the following statements is/are true?(Select all that apply)
Which of the following statements is/are true?(Select all that apply)
Solution
Consider the following table students:

Which of the following SQL queries will return thenames of students who are 20 years old and have grade 'A'?
Which of the following SQL queries will return thenames of students who are 20 years old and have grade 'A'?
Solution
Shape
Thickness [ / ]
3
All colors