Quiz Space

Modern Application Development I · End Term · 30 Apr 2023 · January 2023 term · Set QPD1-S2

Question 11: Consider the following users list. An ordered HTML list …

Question 11

+3 marksOne or more correct options

Consider the following users list.

python
users = [{ "id":1, "name": "user_1", "role": "manager"},
{ "id":2, "name": "user_2", "role": "manager"},
{ "id":3, "name": "user_3", "role": "manager"}]

An ordered HTML list is to be created for users where every list item should have a clickable “name” attribute redirecting to the endpoint “/show_users/<id>” where “id” is the “id” attribute of the same user dictionary. The correct way of doing it with jinja and HTML is ________.

Select all that apply.

  1. A
  2. B
  3. C
  4. D
Show answer

Correct answers

  • A
  • B
  • C
  • D

Question 11 of 32 in the IIT Madras BS Modern Application Development I (MAD 1) End Term paper sat on 30 Apr 2023, in the January 2023 term (IIT M DIPLOMA ET1 EXAM QPD1 S2 30 Apr 2023). It carries 3 marks.

More questions from this paper

  1. Q1Figure question
  2. Q2Figure question
  3. Q3Consider the following two statements and select the correct option.\ Statement 1: Server-level logging can only indica…
  4. Q4Consider the following statements about HTML4 and HTML5 and select the correct option. Statement 1: The HTML gets separ…
  5. Q5Consider the following statements and select the correct option.\ Statement 1: Replication is used to improve performan…
  6. Q6Read the following statements regarding web accessibility principles and choose the correct option.\ Statement 1: Under…
  7. Q7Figure question
  8. Q8Figure question
  9. Q9Consider the following code snippet. Assume the database has a "User" table which has a TEXT column "username". If we w…
  10. Q10Consider the following flask application running on the base URL and is accessed through a browser. Select the correct …
  11. Q12Consider the following code snippet. Test: Which of the following is correct regarding the coverage of the test?
  12. Q13Figure question
  13. Q14Consider the following HTML file and select the correct option.
  14. Q15Consider a discourse forum where a user unlocks the ability to post images once he makes more than 25 posts. What kind …
  15. Q16Figure question
  16. Q17Consider the following statements regarding Continuous Integration and Continuous Deployment and select the correct opt…
  17. Q18Figure question
  18. Q19Figure question
  19. Q20Figure question
  20. Q21Consider the following Python code snippet. What will the output if the above Python code is run on the terminal?
  21. Q22Figure question
  22. Q23Consider a function remainder, and a set of test cases given below. Filename: test_file.py What will be the output on t…
  23. Q24Consider the following models Library and Book corresponding to tables library and book in SQLite database. Based on th…
  24. Q25Consider the <span> element and the styling given to it in <style> tag using element selector in the HTML file below. W…
  25. Q26Figure question
  26. Q27Consider the following Python code snippet. How will the browser render the output of the above given Python code?
  27. Q28At what distance (kms) should the router be placed from the client so that round-trip latency of the network remains as…
  28. Q29What will be the round-trip latency (milliseconds) of the network if the router is placed at exactly midway from the cl…
  29. Q30Consider the Amazon Alexa device. Which of the following would constitute the view of the application behind such a dev…
  30. Q31Consider the following resource API created with help of flask_restful. If the above application is running locally on …
  31. Q32Consider the following resource API created with help of flask_restful. If the above application is running locally on …