Sample web-native activities to engage students and enhance learning.
Animation sample
Question set samples
Num | Question | Your Answer | Result | Explanation |
A bit is a 0 or 1, interpreted from voltage. | True False | 1 is usually a higher voltage (e.g., 2.0 V), 0 is usually a lower voltage (e.g., 0 V). | ||
An assembler translates high-level language programs to a processor's assembly instructions. | True False | A compiler performs such translation. An assembler translates from assembly instructions to machine instructions (0s and 1s). | ||
A processor is a circuit that executes a list of instructions. | True False | And the list of instructions is called a program. | ||
A memory is a circuit that stores one machine instruction. | True False | A memory stores 0s and 1s, which may be instructions or data. Also, memory can store many more than just one instruction. |
Convert the multiple cout statements into a single cout statement, combining string literals where appropriate too. (For the auto-check of this problem, use exactly one space before and after the "<<" operators.)
Num | Question | Your Answer | Hint/Explanation | Show |
cout << "You are "; cout << age; cout << " years."; |
![]() |
|||
cout << n; cout << " eggs cost $"; cout << p; cout << ".\n"; |
![]() |
|||
cout << "Count"; cout << " 1"; cout << " 2"; cout << "\n"; |
![]() |
Select and drag each term up or down to its matching definition.
Terms | Definitions |
|
|
Tinkering sample
Set each binary digit for the unsigned binary number below to 1 or 0 to obtain the decimal equivalents of 9, then 50, then 212, then 255. Note also that 255 is the largest integer that the 8 bits can represent.
0 | (decimal value) | ||||||||
128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 | ||
27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 |
Game sample
If a new maximum value is seen, click "Store value". Try again to get your best time.
|
![]() |