Coding trivia

More Coding Trivia

Programming languages (Python, Java), syntax, and algorithms.

Coding Mini Quiz

Test your knowledge with these top questions!

Question 1

What does TCP stand for in TCP/IP protocol?

The Transmission Control Protocol (TCP) was designed to ensure data integrity in communication between computers on the internet.

Question 2

What feature does Java provide to reference objects instead of allowing pointer arithmetic like C++?

Java uses object references to access objects, which prevents direct memory access and pointer arithmetic, enhancing safety compared to languages like C++.

Question 3

To enable smooth 3D movement and lighting in early games, Carmack used binary space partitioning. What challenge does this address?

Binary space partitioning (BSP) allows a game engine to quickly determine which surfaces are visible to the player, significantly reducing the number of polygons that need to be rendered.

Question 4

Florence Nightingale's pioneering use of statistical diagrams helped advance which field?

Florence Nightingale used polar area diagrams, now known as "Nightingale roses," to visually demonstrate the causes of mortality in military hospitals.

Question 5

What physical principle allows optical fibers to transmit light signals effectively?

Total internal reflection keeps light signals trapped inside optical fibers - the same phenomenon that creates desert mirages.

Question 6

The P vs NP problem asks if every problem whose solution can be quickly checked is also quickly solvable. What does P stand for?

In computational complexity theory, P denotes the class of decision problems solvable by a deterministic Turing machine in polynomial time, where the runtime is O(n^k) for some constant k.

Question 7

What operating system kernel forms the foundation of the Android OS?

The same Linux kernel powering your Android phone also runs on many of the world's fastest supercomputers and web servers! Talk about versatile.

Question 8

Doom stored level geometry using a data structure that recursively divides space. What is this structure called?

Binary Space Partitioning (BSP) trees enabled Doom to render complex 3D environments efficiently on limited 1990s hardware by quickly determining visible surfaces.

Question 9

Florence Nightingale founded the first secular nursing school at which London hospital?

The Nightingale Training School for Nurses opened at St Thomas' Hospital in 1860, marking the beginning of formalized nursing education worldwide.