The Immediate and Delayed Memory Task (IMT/DMT), a variant of the Continuous Performance Test (CPT), is a new software package designed to be a flexible research tool for the study of attention, memory, and impulsivity. This package allows researchers to determine the design to be used during a testing session and to manipulate many of the parameters. It features two components: the IMT and the DMT, both of which present sequential 2- to 7-digit stimuli with variable presentation rates and intertrial intervals. Subjects respond to identically matched stimuli presented consecutively, spanning a brief period of time (IMT), or to stimuli spanning a greater period of time (during which intervening stimuli to be ignored appear; DMT). Task complexity can be adjusted to suit applications for both children and adults. Preliminary studies have demonstrated that these laboratory tasks are sensitive to group differences, produce stable baselines of performance, and are sensitive to drug-induced performance decrements.