Grade 8 Cambridge Curriculum
Click on the card to flip it and see the definition.
Click to flip
A named storage location in memory that holds a value
Card 1 of 30
Test your knowledge with these coding questions.
What will be the output of the following code?
What will this code output?
What will this function return when called with calculate_area(4, 5)?
What will be the value of my_list after this code executes?
Completed: 0/4
Find and fix the errors in these code snippets.
The following code should calculate the area of a rectangle, but it contains an error. Identify and fix it.
What's wrong with this code?
This while loop should print numbers from 1 to 5, but it runs forever. Fix the code.
What's missing in this code?
This code tries to access an element in a list, but it causes an error.
What's the problem with this code?
This code has a syntax error. Find and fix it.
What's missing in this code?
Completed: 0/4
Track your learning progress across all sections.
Overall Progress: 0%