CW code information
zyBooks Training
Created on October 15, 2024
More creations to inspire you
SLYCE DECK
Personalized
LET’S GO TO LONDON!
Personalized
ENERGY KEY ACHIEVEMENTS
Personalized
HUMAN AND SOCIAL DEVELOPMENT KEY
Personalized
CULTURAL HERITAGE AND ART KEY ACHIEVEMENTS
Personalized
DOWNFALLL OF ARAB RULE IN AL-ANDALUS
Personalized
ABOUT THE EEA GRANTS AND NORWAY
Personalized
Transcript
Global (all levels) is code that is accessible to all levels of the CA. Any code that can be shared across levels should be added to this section.
Global (this level) is code that is accessible to only the current level of the CA. Commonly, this code window contains import statements, functions, constants, and data structures.
The Meaningful code window contains a function that has no parameters and returns a Python dictionary containing randomized values that are considered to be meaningful.
The Distractor code window contains a function that has one parameter, the dictionary returned from the function defined in Meaningful, and returns a Python dictionary containing randomized values that are considered to be distractors.
The Test code window contains a function that has two parameters, the dictionaries returned from the functions defined in Meaningful and Distractor, and returns a Python dictionary containing randomized values to be used as inputs for tests.