FullStack Django - [26 Apr 24] TEST - 2

FullStack Django - [26 Apr 24] TEST - 2

University

45 Qs

quiz-placeholder

Similar activities

IP MIDTERM

IP MIDTERM

University

45 Qs

Introduction to Multimedia

Introduction to Multimedia

University

45 Qs

ข้อสอบปลายภาควิชาพื้นฐานธุรกิจดิจิทัล 1/2564

ข้อสอบปลายภาควิชาพื้นฐานธุรกิจดิจิทัล 1/2564

University

40 Qs

I/O devices

I/O devices

University

44 Qs

object oriented analysis and design test2

object oriented analysis and design test2

University

50 Qs

AP CS P 5.1

AP CS P 5.1

10th Grade - University

50 Qs

Topic 1 Introduction to Computer System

Topic 1 Introduction to Computer System

University

40 Qs

Data Communication and Network

Data Communication and Network

11th Grade - University

50 Qs

FullStack Django - [26 Apr 24] TEST - 2

FullStack Django - [26 Apr 24] TEST - 2

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Lilesh Pathe

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

45 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What are Migrations in Django?

Migrations are files where Django stores changes to your models.

They are files saved in migrations directory.

They are created when you run makemigrations command.

All of the above

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which Django functions are used to take http requests and return http responses?

  1. Django views

  1. Django templates

  1. Django request() and response()

  1. Both A and C

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In Django, data is created in ____.

  1. tables

  1. templates

  1. views

objects

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

In Django, data is created in objects, what are these objects called ____.

database

  1. templates

  1. models

views

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which is the correct statement to import models in the Django project?

  1. from django import models

  1. from django.models import models

  1. from django.db import models

None of the above

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the correct syntax to use a variable in the Django template?

  1. < variable_name >

  1. {{ variable_name }}

  1. " variable_name "

  1. << variable_name >>

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How you can turn off the debugging in Django's configuration file?

  1. DEBUGOFF = True

  1. DEBUG = FALSE

  1. DEBUG = False

  1. DEBUG = false

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?