Web Dev Quiz
Programming languages, frameworks, HTTP codes and assorted web-dev trivia.
Identify Logos
- Which language was named after Monty Python's Flying Circus?
- Python
- Named after "Monty Python's Flying Circus" — now dominant in AI / data science.
- Which language pairs C-level performance with memory safety?
- Rust
- Created at Mozilla 2010 — C/C++ performance with memory safety. Now entering the Linux kernel.
- Which tool revolutionized container technology?
- Docker
- Since 2013 — apps + dependencies in one portable "box". Now de facto standard.
- Which orchestrator's name is Greek for "helmsman"?
- Kubernetes
- Born at Google (based on "Borg"). Greek for "helmsman" — hence the ship's wheel.
- Which version-control system was written by Linus Torvalds?
- Git
- Written by Linus Torvalds in a few weeks in 2005.
- Which code platform has the Octocat as mascot?
- GitHub
- Acquired by Microsoft in 2018 for $7.5 billion. Mascot: Octocat.
- Which language did Brendan Eich write in 10 days?
- JavaScript
- Brendan Eich, 1995, in 10 days — now the most-used language in the world.
- Which UI framework did Facebook open-source?
- React
- Open-sourced by Facebook (Meta) in 2013. Made UIs declarative.
- Which frontend framework did Evan You start alone?
- Vue.js
- Started 2014 as a one-man project by Evan You (ex-Google).
- Which operating system has a penguin as mascot?
- Linux
- Tux = "tuxedo penguin". Linus Torvalds was supposedly bitten by one at a zoo.
- Which cloud provider launched with S3 and EC2?
- AWS (Amazon Web Services)
- Largest cloud provider, started 2006 with S3 and EC2.
Web Dev Trivia
- Which HTTP status code means "page not found"?
- 404 Not Found
- 4xx = client error, 5xx = server error. Myth: "404" was a room number at CERN — debunked.
- Which HTTP method is typically used to create new resources?
- POST
- PUT is idempotent and replaces; POST creates new — the REST convention.
- How many layers make up the CSS box model?
- Four — content, padding, border, margin
- `box-sizing: border-box` only changes whether padding+border are included in width.
- Which format is today's de-facto standard for REST APIs?
- JSON
- Popularized by Douglas Crockford in 2001 — more compact than XML, native to JS.
- Which Git command rewrites the last commit's message without creating a new one?
- `git commit --amend`
- Note: it changes the commit hash. Never on already-pushed public commits.
- What's the main difference between cookies and server sessions?
- Cookies live on the client; sessions on the server
- Session data lives on the server — the client only carries a session ID (usually via cookie).
- What's the cleanest way to create a [0,1,2,...,n-1] array in JavaScript?
- `Array.from({length:n}, (_,i)=>i)` or `[...Array(n).keys()]`
- `new Array(n)` creates "empty slots" with no values — `map` over them does nothing.
- Which Microsoft language adds static typing to JavaScript?
- TypeScript
- Anders Hejlsberg (creator of C#) started TS in 2012. Compiles to plain JS.