Search Header Logo

Final Quiz SEB-72

Authored by Lay Jones

Computers

Professional Development

Used 4+ times

Final Quiz SEB-72
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is a Foreign Key in SQL?

a field in one table, that refers to the Primary Key in another table

The Primary Key in a table

A key that is used to create a new table

A magical key that unlocks a door to a new world

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

To use a Django variable named firstname in a Django template, use this syntax:

{{ firstname }}
{firstname}
{% firstname %}

-- firstname --

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the {% csrf_token %}

generates a token that checks against the session to log a user in

A type of token that allows all of your words to have their first letter capitalized

generates a token and ensures that any requests coming back in are cross-checked against that token. Prevents malicious attacks

Gives a tab worth of blank space in html

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In a Many to Many relationship it matters which model you put the relationship into?

True

False

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does super() do in Python?

Calls the parent (Superclass) class method

Initializes a new instance of the class
Calls the child class method
Returns the current class instance

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Django comes with a built-in user interface that allows you to administrate your data. To access this interface you have to create a user name and password. What is a correct syntax to create such user?

python manage.py adduser

python manage.py superuser

python manage.py createsuperuser

python manage.py createuser

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is environ?

A Python package that allows you to configure Environment Variables

A Python package that allows you improve Django app performance and monitor workflow

A Python package that allows you process asynchronous tasks

A Python package that allows for easy filtering of query sets

Access all questions and much more by creating a free account

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

Already have an account?