Quiz 3 | F23 Curriculum

Quiz 3 | F23 Curriculum

University

10 Qs

quiz-placeholder

Similar activities

Bahasa Pemrograman Python

Bahasa Pemrograman Python

University

10 Qs

CR1-Introducción a la Programación con Python

CR1-Introducción a la Programación con Python

University

10 Qs

PYTHON UNIT I MCQS

PYTHON UNIT I MCQS

University

15 Qs

python basics

python basics

11th Grade - University

15 Qs

Python Basics

Python Basics

KG - University

15 Qs

Python Training Day-1 Quiz-1

Python Training Day-1 Quiz-1

University

10 Qs

CO - 1 Quiz - 1-DB_Python Basic

CO - 1 Quiz - 1-DB_Python Basic

10th Grade - University

15 Qs

Класи початок з pygame

Класи початок з pygame

University

10 Qs

Quiz 3 | F23 Curriculum

Quiz 3 | F23 Curriculum

Assessment

Quiz

Computers

University

Medium

Created by

Hallie Faust

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does it mean when we say an app is "pluggable"?

The app has multiple models

The app is complete

The app must be plugged in

The app can be installed in multiple projects

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

We add a reference to an apps configuration class to the INSTALLED_APPS setting for it to be included in our project

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command is used to store changes to models?

change

makemigrations

migrate

save

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why are migrations important in Django?

Lets you move data from one project to another

Lets you create new models

Lets you make changes to your models without losing data

Lets you easily post data to your database

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The sqlmigrate command runs the SQL from your migration

True

False

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What can we do in our shell when playing with the API?

Add choices for our question

Edit our models

Create a new question

Search our question set

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How do we add a string method to our model?

def str(self): return self.choice_text

def __str__(self): return self.choice_text

def __str__(self): return self.question_text

def str(self): return self.question_text

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?