Think Like a Machine
Syntax Sorcery & Bug Busters
Data Tetris
Control Flow Rollercoaster
The Need for Speed & Storage
100

It is the computational thinking process of hiding or removing unnecessary physical details to focus only on the essential data needed to solve a problem.

What is Abstraction?

100

Using methods like .split(), .substring(), or slicing on a large string of comma-separated values performs this fundamental text operation.

What is extracting substrings (or parsing)?

100

The "Undo" feature in a word processor or the "Back" button on a web browser perfectly models this Last-In, First-Out (LIFO) data structure.

What is a Stack?

100

Utilizing relational operators (like < or ==) and Boolean operators (like AND or OR) is essential for branching logic, formally known as this programming construct.  

What is Selection (or a Conditional statement / If-statement)?

100

Opening a sequential text file in this specific mode ensures that any new data is safely written to the end of the file without destroying the existing contents.

What is Append mode (or 'a')?

200

In a standard algorithmic flowchart, encountering this specific geometric shape means the execution flow is about to branch based on a True or False condition.

What is a Diamond (or Decision symbol)?

200

This type of variable exists only in memory while the specific function it belongs to is executing, making it much more memory-efficient than its global counterpart.

What is a local variable?

200

When managing a printer spooler or routing data packets across a network, an operating system will utilize this First-In, First-Out (FIFO) data structure.

 What is a Queue?

200

This collaborative and maintainable programming practice involves breaking a large software project into smaller, reusable functions.

What is Modularization?

200

This highly efficient, divide-and-conquer algorithm operates in O(log n) time, but it is completely useless if the dataset it is searching has not been previously sorted.

What is Binary Search?

300

Serving as a blueprint before any coding begins, this document formally defines the problem statement, goals, inputs, outputs, and evaluation criteria.

What is a Problem Specification?

300

In exception handling, this specific block of code (used alongside try/except) is guaranteed to execute cleanup instructions, like closing a file, regardless of whether a crash occurred.

What is the finally block?

300

Unlike modern dynamic lists, standard arrays are considered this type of data structure, meaning their fixed memory size must be strictly defined at compile time.

What is a Static Data Structure?

300

Attempting to read data from a file on line 10 before executing the code to open the file on line 12 is a fatal failure of this fundamental programming construct.

What is Sequence?

300

If you write an algorithm containing a nested loop that compares every item in a list to every other item in the list, you have created a time complexity represented by this Big O notation.

What is O(n2)(or Quadratic Time)?

400

Taking a massive, complex network security system and splitting it into smaller, manageable modules (like firewalls, encryption, and authentication) is an application of this concept.

What is Decomposition?

400

To manually track down a logic error, a programmer might construct one of these: a grid used to track the values of variables and the output of an algorithm step-by-step.

What is a Trace Table?

400

If you were writing a program to check for balanced parentheses in mathematical equations ( ), you would perform this specific operation on your stack every time you iterate over a closing bracket ).

What is a pop operation?

400

A logic error where the variables evaluated in a while loop's condition are never updated within the loop's body will result in this system-crashing phenomenon.


What is an Infinite Loop?

400

During one pass of this specific sorting algorithm, adjacent pairs of elements are compared and immediately swapped if they are in the wrong order.

What is a Bubble Sort?

500

By analyzing historical network traffic logs, a machine learning algorithm can identify the signature of a DDOS attack to automatically block it, utilizing this fundamental CT concept.

What is Pattern Recognition?

500

When user input is unexpectedly requested as an integer but the user types "five", wrapping the code in this specific construct prevents the resulting ValueError from fatally crashing the program.

What is a try/catch (or try/except) block?

500

While dynamic data structures are highly flexible for unpredictable datasets, they require more of this invisible "cost" to constantly allocate new memory and resize themselves during runtime.

What is CPU overhead (or computational cost)?

500

In the following conditional loop: x = 10 followed by while (x > 0 AND x != 5): x = x - 1, this is the exact value x will hold immediately after the loop terminates.

What is 5?

500

In file processing, if a variable holding a system file resource falls out of scope before this critical, final operation is executed, it can result in locked files or memory leaks.

What is closing the file (or close())?

M
e
n
u