Quiz 3 | F23 Curriculum

Quiz 3 | F23 Curriculum

University

10 Qs

quiz-placeholder

Similar activities

Python Programming Concepts Challenge

Python Programming Concepts Challenge

10th Grade - University

10 Qs

C++ vs Python: A Quiz Introduction

C++ vs Python: A Quiz Introduction

11th Grade - University

10 Qs

Basic of Python

Basic of Python

University

8 Qs

Monday Night Quiz 3/15

Monday Night Quiz 3/15

University

10 Qs

PYTHON - Quizz 1

PYTHON - Quizz 1

University

13 Qs

اولي اعدادي الترم الثاني درس 6

اولي اعدادي الترم الثاني درس 6

7th Grade - University

10 Qs

Python Test1 (If Statement)

Python Test1 (If Statement)

University

10 Qs

Bài tập trắc nghiệm về ngôn ngữ lập trình Python

Bài tập trắc nghiệm về ngôn ngữ lập trình Python

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?