Quantcast
Channel: Planet MySQL
Viewing all articles
Browse latest Browse all 18823

Django Quiz 2016

$
0
0

Ponies in field

I realized I’ve posted the 2017 and 2018 editions of the London Django Meetup December quizzes on my blog, but forgot to post the first one in 2016. So here it is reproduced below, if you’d like to play at home or scroll through to the answers to pick up on some more Django trivia.

Part 1: Multiple Choice

1. In which city in Kansas was Django conceived?

  1. Newton
  2. Lawrence
  3. Pittsburg

2. In what year was Django first released?

  1. 1999
  2. 2001
  3. 2005

3. Where was Djangocon EU 2016 held?

  1. Cardiff
  2. Budapest
  3. Bucharest

4. When does Python 2.7 stop being supported?

  1. 1 Jan 2018
  2. 2020
  3. April 12 2020

5. Which version of Django will drop Python 2 compatibility?

  1. 1.12
  2. 2.0
  3. 2.1

6. Which of these popular sites does not run on Django?

  1. Instagram
  2. Slideshare
  3. Bitbucket
  4. Disqus

7. What is i18n short for?

  1. Internationalization
  2. International Code 18
  3. Internal operation

8. Which official Django project offers websocket and asynchronous task support?

  1. Inputs
  2. Transmissions
  3. Channels

9. What does SQL stand for?

  1. Standard Query Language
  2. Structured Query Language
  3. SQL’s a Query Language

Part 2: Freeform answers

1. Which database servers does Django core include backends for?

One point each, but minus one for each wrong.

2. Which famous person is Django named after?

Full name and profession each worth one point.

3. What does ORM stand for?

4. What is the name of the single Django fellow working in 2016?

5. What does Django use the SECRET_KEY setting for?

1 point for each use listed in the docs.

ANSWERS

But first, some vertical space.

A

N

S

W

E

R

S

B

E

L

O

W

Part 1: Multiple Choice

1. In which city in Kansas was Django conceived?

Lawrence, Kansas, as explained in the Django FAQ “Who’s behind this?”

2. In what year was Django first released?

2005, as per the Django FAQ “Why does this project exist?”

3. Where was Djangocon EU 2016 held?

Budapest, see its site.

4. When does Python 2.7 stop being supported?

2020, as per PEP 0373. No day in the year is specified, though presumably it will be January 1st.

5. Which version of Django will drop Python 2 compatibility?

Django 2.0 dropped support for Python 3, as per its release notes.

6. Which of these popular sites does not run on Django?

Only Slideshare doesn’t - Instagram, Bitbucket, and Disqus are all Django applications!

7. What is i18n short for?

Internationalization - the 18 stands for “18 removed letters”.

8. Which official Django project offers websocket and asynchronous task support?

Channels.

9. What does SQL stand for?

Structured Query Language.

Part 2: Freeform answers

1. Which database servers does Django core include backends for?

The four included backends are:

  1. PostgreSQL
  2. SQLite
  3. MySQL
  4. Oracle

2. Which famous person is Django named after?

The famous person was Jean “Django” Reinhardt, and he was a Jazz Guitarist.

3. What does ORM stand for?

Object-Relational Mapping/Mapper.

4. What is the name of the single Django fellow working in 2016?

Tim Graham, who recently decided to step down after many years of contributing. We’ll miss you Tim!

5. What does Django use the SECRET_KEY setting for?

The four listed uses are:

  1. Cryptographic signing
  2. Sessions
  3. Messages
  4. Password reset tokens

Fin

Hope you enjoyed doing/reading/skimming this quiz, and learned something!


Viewing all articles
Browse latest Browse all 18823


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>