Skip to main content
Contents Index
Calc
Dark Mode Prev Up Next Scratch ActiveCode
\(\newcommand{\identity}{\mathrm{id}}
\newcommand{\notdivide}{{\not{\mid}}}
\newcommand{\notsubset}{\not\subset}
\newcommand{\lcm}{\operatorname{lcm}}
\newcommand{\gf}{\operatorname{GF}}
\newcommand{\inn}{\operatorname{Inn}}
\newcommand{\aut}{\operatorname{Aut}}
\newcommand{\Hom}{\operatorname{Hom}}
\newcommand{\cis}{\operatorname{cis}}
\newcommand{\chr}{\operatorname{char}}
\newcommand{\Null}{\operatorname{Null}}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\newcommand{\sfrac}[2]{{#1}/{#2}}
\)
Section 3.22 Expedited Samples
We hack in various interactive Runestone exercise types while PreTeXt markup evolves to cover more of Runestoneโs repertoire. In static output these will just produce a message. In
HTML they may be interactive simply in a browser, or they may require being hosted on a Runestone server in order to perform.
CodeLens for a Python program:
Checkpoint 3.22.1 .
Activity: CodeLens 2 (over_codelens1)
CodeLens for a Java program. Supplied in source with trace data built beforehand on a Runestone server:
Checkpoint 3.22.2 .
Activity: CodeLens 1 (asgn_viz1)