MCQs on Django

Ques 1

Django एक ____ framework है?

Django is a ____ framework?

[A] PHP

[B] JavaScript

[C] Python

[D] React

Correct Answer : Python


Ques 2

Django ____ framework है?

Django is ____ framework?

[A] Frontend

[B] Backend

[C] Both A and B

[D] None

Correct Answer : Backend


Ques 3

Django में MVT का मूल सिद्धांत क्या है?

What is the base principle of MVT in Django?

[A] Model, Template, View

[B] Template, Model, View

[C] Model, View, Template

[D] Template, View, Model

Correct Answer : Model, View, Template


Ques 4

Django में प्रयुक्त डिफ़ॉल्ट डेटाबेस क्या है?

What is the default database used in Django?

[A] SQLite

[B] MySQL

[C] Oracle

[D] PostgreSQL

Correct Answer : SQLite


Ques 5

Django किस भाषा में लिखा गया है?

Django is written in which language?

[A] JAVA

[B] PHP

[C] C Programming language

[D] Python

Correct Answer : Python


Ques 6

Django की शुरुआत किसके द्वारा की गई थी?

Django was introduced by whom?

[A] Rasmus Lerdorf

[B] Charls Holis

[C] Adrian Holovaty

[D] Tim beneres

Correct Answer : Adrian Holovaty


Ques 7

Django में प्रयुक्त डिफ़ॉल्ट डेटाबेस क्या है?

What is the default database used in Django?

[A] MySQL

[B] SQLite

[C] PostgreSQL

[D] Oracle

Correct Answer : SQLite


Ques 8

Django ऐप क्या है?

What is a Django App?

[A] An app is a functionality, including models and views, that lives together in a single Python package.

[B] Django app is a python package with its own components.

[C] Django app is an extended package with base package is Django.

[D] All of the above

Correct Answer : All of the above


Ques 9

Django की टेम्प्लेट भाषा का उपयोग किसके लिए किया जाता है?

What is Django's template language used for?

[A] Dynamic HTML generation

[B] URL routing

[C] Object-Relational Mapping

[D] Data Validation

Correct Answer : Dynamic HTML generation


Ques 10

Django में इस टेम्पलेट {# #} का उपयोग किसके लिए किया जाता है?

In Django, this template {# #} is used for?

[A] It will raise an exception.

[B] It is used for business logic.

[C] It is comment in template language.

[D] None of the above

Correct Answer : It is comment in template language.


Ques 11

Django के स्टैटिकफाइल्स ऐप का उपयोग किस लिए किया जाता है?

What is Django's staticfiles app used for?

[A] Storing data in cache

[B] Generating dynamic HTML,

[C] Handling user authentication,

[D] Serving static files like images, CSS, and JavaScript

Correct Answer : Serving static files like images, CSS, and JavaScript


Ques 12

Django की manage.py फ़ाइल का उद्देश्य पहचानें?

Identify the purpose of Django's manage.py file?

[A] run the development server

[B] handle URL routing

[C] manage project-level configuration and tasks

[D] serve static files

Correct Answer : manage project-level configuration and tasks


Latest Updates