Quiz Space

Modern Application Development I · End Term · 3 Sept 2023 · May 2023 term · Set QPD1-S2

Question 16: Consider the following statements and choose the correct…

Question 16

+2 marksOne correct option

Consider the following statements and choose the correct option.
Statement 1: If we submit the form using the GET method, then the form data is appended inside the body of the HTTP request.
Statement 2: Never use GET method in form to send sensitive data while it is good for non-secure data, like query strings in Google

  1. A

    Both statements 1 and 2 are true, and statement 2 is a correct explanation of statement 1

  2. B

    Both statements 1 and 2 are true, but statement 2 is not a correct explanation of statement 1

  3. C

    Statement 1 is true and statement 2 is false

  4. D

    Statement 2 is true and statement 1 is false

Show answer

Correct answer

  • D

    Statement 2 is true and statement 1 is false

Question 16 of 32 in the IIT Madras BS Modern Application Development I (MAD 1) End Term paper sat on 3 Sept 2023, in the May 2023 term (IIT M DIPLOMA ET1 EXAM QPD1 S2 03 Sep). It carries 2 marks.

More questions from this paper

  1. Q1Consider the following snippet of HTML and its output rendered on the browser:
  2. Q2A 6000 rpm magnetic disk is being used to store data. The disk can only spin in one direction and is operating at 6000 …
  3. Q3Consider the following flask resource created using flask_restful. If the application is running locally on http://127.…
  4. Q4Consider the following function to be tested and test functions given in the Python code snippet below. test_file.py On…
  5. Q5Figure question
  6. Q6An HTML code and CSS code is given below. Which of the following correctly represents its rendered output? HTML Code:
  7. Q7Consider the following models Student and Project corresponding to tables student and project in SQLite database. Based…
  8. Q8Consider the following Python code snippet. If this application is running locally on http://127.0.0.1:5000, which of t…
  9. Q9Consider the code below and match the conditions in Column A with respect to the coverage types in Column B.
  10. Q10Match the following types of testing with their functionality. Which of the following is the correct matching?
  11. Q11Consider the following table “emp” created in SQLite database corresponding to model class “Employee” using flask_sqlal…
  12. Q12Consider the following python code snippet app.py, the html files, base.html and home.html residing in “templates” fold…
  13. Q13Consider the following SQL create statement. Which of the following flask_sqlalchemy models will create exactly the sam…
  14. Q14Consider the following statements and select the correct option.\ Statement 1: It is not necessary to implement server-…
  15. Q15Consider the following statements and select the correct answer.\ Statement 1: In PaaS, developers are provided with an…
  16. Q17Which of the following git command will remove a file from the staged area but keeps the file in the directory?
  17. Q18Consider the following python code snippet. Which of the following statements, when substituted in place of === OUTPUT …
  18. Q19Consider the following TodoSimple resource class created using flask_restful. Which of the following statements given b…
  19. Q20Which of the statements are true?
  20. Q21Choose the correct code snippet to implement logging by importing python logging module
  21. Q22Consider a typical Amazon Alexa device. Which of the following would constitute the view of the application behind such…
  22. Q23Which of the following is true of “cold storage” like Amazon Glacier?
  23. Q24Consider the following graph that represents the variation in bandwidth of a network for an entire day (24 hours). Thre…
  24. Q25Consider the following restful implementation using flask. If the above application is running on “http://127.0.0.1:500…
  25. Q26Consider the following python code snippet. What will be the rendered output?
  26. Q27Consider a function func, and a set of test cases given below. Filename: test_file.py What will be the output on the te…
  27. Q28What will be the output of the following Python code snippet?
  28. Q29Consider the following flask application.
  29. Q30Consider the following sorting algorithm which sorts any given unsorted array of numbers in ascending order. What would…
  30. Q31Consider the following flask application. If this flask app is running locally on http://localhost:5000, what is the ou…
  31. Q32Follow the code given below What code should be written in place of #== Resource Class Here ==, so that we get; as outp…