Menu mobile
Home
Programming
Python Tutorial
Java Tutorial
C Tutorial
C++ Tutorial
Web Technology
HTML
CSS
Java Script
PHP
React JS
Node JS
Assignment
MS Office
HTML
CSS
Bootstrap
Java Script
JQuery
AngularJs
Project
Blog
QUIZ ON : django - THE DJANGO TEMPLATE SYSTEM
THE DJANGO TEMPLATE SYSTEM
00:00:00
English
Hindi
Question No# :
01
out of 9
What does {{ name }} this mean in Django Templates?
What does {{ name }} this mean in Django Templates?
A.
{{ name }} will be the output.
{{ name }} will be the output.
B.
It will be displayed as name in HTML.
It will be displayed as name in HTML.
C.
The name will be replaced with values of Python variable.
The name will be replaced with values of Python variable.
D.
None of the above
None of the above
Question No# :
02
out of 9
What is the Django shortcut method to more easily render an html response?
What is the Django shortcut method to more easily render an html response?
A.
render_to_html
render_to_html
B.
render_to_response
render_to_response
C.
response_render
response_render
D.
render
render
Question No# :
03
out of 9
Which filter will truncate the string, so you will see only the first 80 words?
Which filter will truncate the string, so you will see only the first 80 words?
A.
{{string|truncatewords}}
{{string|truncatewords}}
B.
{{string|truncate:80}}
{{string|truncate:80}}
C.
{{string|truncate}}
{{string|truncate}}
D.
{{string|truncatewords:80}}
{{string|truncatewords:80}}
Question No# :
04
out of 9
Render function takes ___________ parameters.
Render function takes ___________ parameters.
A.
1
1
B.
2
2
C.
3
3
D.
4
4
Question No# :
05
out of 9
What are the advantages of using Django for web development?
What are the advantages of using Django for web development?
A.
It facilitates you to divide code modules into logical groups to make it flexible to change
It facilitates you to divide code modules into logical groups to make it flexible to change
B.
It provides auto-generated web admin to make website administration easy
It provides auto-generated web admin to make website administration easy
C.
It provides pre-packaged API for common user tasks
It provides pre-packaged API for common user tasks
D.
All of the above
All of the above
Question No# :
06
out of 9
What are some valid forloop attributes of Django Template System?
What are some valid forloop attributes of Django Template System?
A.
forloop.lastitem
forloop.lastitem
B.
forloop.counter
forloop.counter
C.
forloop.firstitem
forloop.firstitem
D.
forloop.reverse
forloop.reverse
Question No# :
07
out of 9
A variable in django looks like this: _________________.
A variable in django looks like this: _________________.
A.
((variable))
((variable))
B.
{{variable}}
{{variable}}
C.
[[variable]]
[[variable]]
D.
[{variable}]
[{variable}]
Question No# :
08
out of 9
Which of the following is a valid forloop attributes of Django Template System?
Which of the following is a valid forloop attributes of Django Template System?
A.
forloop.reverse
forloop.reverse
B.
forloop.firstitem
forloop.firstitem
C.
forloop.counter0
forloop.counter0
D.
forloop.lastitem
forloop.lastitem
Question No# :
09
out of 9
Django is based on which framework?
Django is based on which framework?
A.
MVC
MVC
B.
MVVM
MVVM
C.
MVT
MVT
D.
None of the above
None of the above
Latest Current Affairs 2024
Online Exam Quiz for One day Exam
Online Typing Test
CCC Online Test 2024
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
Best Java Training Institute in Prayagraj (Allahabad)
Best Python Training Institute in Prayagraj (Allahabad)
O Level Online Test in Hindi
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Naukari Notification
Best Website and Software Company in Allahabad
Sarkari Exam Quiz