What is the = symbol called?
In the line below, which term correctly describes the = symbol?
Start activityTopics / Variables
Names, assignment, and how values persist from one statement to the next.
Generated code is full of names. If students cannot say what a name currently holds, they cannot judge whether a suggestion is safe to accept.
In the line below, which term correctly describes the = symbol?
Start activityIn your own words, what is a variable in programming?
Start activityMatch each term to the definition that fits it. The code is there so you can see what each term refers to; …
Start activityExplain in plain English what this code does. Name the values, not only the syntax.
Start activityThe program should print the total the customer pays: the subtotal plus delivery. Which expression completes the blank?
Start activityA student predicts this program prints 10 and explains: 'b is connected to a, so when a changes, b changes too.' Which …
Start activityThis program prices an order. Extend it so it also applies a 10% discount and prints the discounted total. Use a named …
Start activityThe student wants to swap the values of left and right. An AI suggested the line below. Accept or reject it, and …
Start activity