Cambridge Computer Science: Trace Table Simulator

Master algorithm execution and variable tracking with authentic Cambridge International Pseudocode

Task 1: Pseudocode Algorithm

Algorithm Goal

Processes a series of positive integers, counting how many numbers are even and calculating the total sum of all odd numbers. Execution terminates when -1 is encountered.

OUTPUT CONSOLE:
Press "Step Forward" or "Run to End" to begin tracing.
Trace Table
Line # Num EvenCount OddSum Output
Task 2: Pseudocode Algorithm

Algorithm Goal

Performs a standard Linear Search algorithm on a 1D array of 5 names to find if a specific target value exists, tracking index transformations.

OUTPUT CONSOLE:
Press "Step Forward" or "Run to End" to begin tracing.
Trace Table
Line # Target Index Found MyNames[Index] Output
Task 3: Pseudocode Algorithm

Algorithm Goal

Demonstrates Cambridge built-in string functions (LENGTH, MID, LCASE, UCASE). It processes characters dynamically to form alternating text output cases.

OUTPUT CONSOLE:
Press "Step Forward" or "Run to End" to begin tracing.
Trace Table
Line # InStr NewStr i Chr Output