Quizzes

This is Words and Buttons Online — a collection of interactive #tutorials, #demos, and #quizzes about #mathematics, #algorithms, and #programming.

Check if your performance intuition still works with CUDA

An interactive quiz about microoptimizations in CUDA. 10 rounds, two pieces of code per each, you get to guess which is the faster.

Challenge your performance intuition with C++ sine

One more interactive quiz. This time, it's all about the sine function. Which one is faster and when?

Yet another alternative to floating-point numbers

This shows how computable intervals written in rational bounds may not only account for the input error but keep computational error under control as well.

Challenge your performance intuition with nanosecond sorting

And yet another interactive quiz where you get to estimate the performance difference between several variants of the same code.

Using logical operators for logical operations is good

This is the follow-up for the “Challenge your intuition with C++ operators”. It shows that despite the occasional gains from a better compilation, using the proper operators is still beneficial in the long run.

Challenge your performance intuition with C++ operators

Another interactive quiz where you get to estimate the performance difference between several variants of the same code.

Can you tell an assembly language when you see one?

An interactive quiz featuring several obscure high-level languages and assembly variants.

Challenge your performance intuition with C++ magic squares

An interactive quiz where you get to estimate the performance difference between several variants of the same code.

So you think you know C?

It's a C test. If you think you know C, take this test. It only has 5 questions.

Learn you a Lisp in 0 minutes

A short quiz to reveal your hidden knowledge of Lisp.